Skip to content

Commit 4f380b0

Browse files
committed
fix
1 parent a217c59 commit 4f380b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/eth-rpc-adapter/src/__tests__/e2e/endpoint.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ describe('endpoint', () => {
265265
describe('eth_getLogs', () => {
266266
const ALL_BLOCK_RANGE_FILTER = { fromBlock: 'earliest' };
267267

268+
beforeAll(async () => {
269+
await sleep(8000); // give subql a couple seconds to sync
270+
});
271+
268272
describe.concurrent('when no filter', () => {
269273
it('returns all logs from latest block', async () => {
270274
const res = (await eth_getLogs([{}])).data.result;

0 commit comments

Comments
 (0)