We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8283a71 commit 669789cCopy full SHA for 669789c
packages/subgraph/hardhat.config.ts
@@ -23,7 +23,7 @@ const config: HardhatUserConfig = {
23
},
24
25
mocha: {
26
- timeout: 1000000,
+ timeout: 500000,
27
28
};
29
packages/subgraph/test/helpers/helpers.ts
@@ -211,7 +211,8 @@ export const waitUntilBlockIndexed = async (txnBlockNumber: number) => {
211
let currentBlock: number;
212
do {
213
currentBlock = await getCurrentBlockNumber();
214
- await asleep(50);
+ console.log(`Waiting for subgraph... Current: ${currentBlock}, Target: ${txnBlockNumber}`);
215
+ await asleep(500);
216
} while (txnBlockNumber > currentBlock);
217
218
0 commit comments