From 3b8e4f4e0274bc2dd55682f395c3a8dfcffb8ae2 Mon Sep 17 00:00:00 2001 From: Eldar Gabdullin Date: Fri, 1 Dec 2023 18:55:28 +0400 Subject: [PATCH] repair erc20-transfers --- test/erc20-transfers/src/processor.ts | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/test/erc20-transfers/src/processor.ts b/test/erc20-transfers/src/processor.ts index c79becc52..a5d2c8ee0 100644 --- a/test/erc20-transfers/src/processor.ts +++ b/test/erc20-transfers/src/processor.ts @@ -8,28 +8,17 @@ const CONTRACT = '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9'.toLowerCase() const processor = new EvmBatchProcessor() - // .setArchive('https://v2.archive.subsquid.io/network/arbitrum-one') + .setArchive('https://v2.archive.subsquid.io/network/arbitrum-one') .setRpcEndpoint(process.env.ARB_NODE_WS) .setFinalityConfirmation(500) - .setBlockRange({from: 153004199, to: 153004199}) + .setBlockRange({from: 153000000}) .setFields({ - log: {transactionHash: true}, - trace: { - error: true, - revertReason: true, - callFrom: true, - callInput: true, - callSighash: true, - callResultOutput: true - } + log: {transactionHash: true} }) .addLog({ address: [CONTRACT], topic0: [erc20.events.Transfer.topic] }) - .addTrace({ - callTo: [CONTRACT] - }) processor.run(new TypeormDatabase({supportHotBlocks: true}), async ctx => {