Skip to content

Commit

Permalink
repair erc20-transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
eldargab committed Dec 1, 2023
1 parent d954cbd commit 3b8e4f4
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions test/erc20-transfers/src/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 3b8e4f4

Please sign in to comment.