Skip to content

Commit f75f43d

Browse files
committed
removed debug logs
1 parent ce4b946 commit f75f43d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/subgraph/test/helpers/helpers.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ export const beforeSetup = async (tokenAmount: number) => {
4141
const users = signers.map((x) => x.address);
4242
let totalSupply = 0;
4343
const chainId = (await Deployer.provider!.getNetwork()).chainId;
44-
45-
console.log(`Creating Superfluid Framework (chainId: ${chainId})...`);
4644
const sf = await Framework.create({
4745
chainId,
4846
protocolReleaseVersion: "test",
@@ -53,7 +51,6 @@ export const beforeSetup = async (tokenAmount: number) => {
5351
const resolver = sf.contracts.resolver.connect(Deployer);
5452

5553
console.log("\n");
56-
console.log("Loading Super Token fDAIx...");
5754
const fDAIx = await sf.loadWrapperSuperToken("fDAIx");
5855

5956
// types not properly handling this case
@@ -68,7 +65,6 @@ export const beforeSetup = async (tokenAmount: number) => {
6865
const amount = tokenAmount.toFixed(0);
6966

7067
for (let i = 0; i < signers.length; i++) {
71-
console.log(`Processing user ${i + 1}/${signers.length}: ${signers[i].address}`);
7268
const stringBigIntAmount = ethers.utils.parseUnits(amount).toString();
7369
await fDAI
7470
.connect(signers[0])
@@ -86,14 +82,11 @@ export const beforeSetup = async (tokenAmount: number) => {
8682

8783
// NOTE: although we already set this in initialization, we need to reset it here to ensure
8884
// we wait for the indexer to catch up before the tests start
89-
console.log("Setting resolver key...");
9085
const txn = await resolver.set("supertokens.test.fDAIx", fDAIx.address);
9186
const receipt = await txn.wait();
9287

93-
console.log(`Waiting for block ${receipt.blockNumber} to be indexed...`);
9488
await waitUntilBlockIndexed(receipt.blockNumber);
9589
const resolverFDAIxAddress = await resolver.get("supertokens.test.fDAIx");
96-
9790
if (resolverFDAIxAddress !== fDAIx.address) {
9891
throw new Error("fDAIx not set properly in resolver.");
9992
}

0 commit comments

Comments
 (0)