mev-flood
mev-flood copied to clipboard
Spam fails on ```getReserves()``` call
When trying to call yarn script.spam --mempool
or ./bin/run spam -l deployment.json
after successful deployment
I receive the following error in both cases:
/Users/shimonchick/Repos/devnet/mev-flood/core/node_modules/@ethersproject/logger/src.ts/index.ts:269
const error: any = new Error(message);
^
Error: call revert exception [ See: https://links.ethers.org/v5-errors-CALL_EXCEPTION ] (method="getReserves()", data="0x", errorArgs=null, errorName=null, errorSignature=null, reason=null, code=CALL_EXCEPTION, version=abi/5.7.0)
at Logger.makeError (/Users/shimonchick/Repos/devnet/mev-flood/core/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
at Logger.throwError (/Users/shimonchick/Repos/devnet/mev-flood/core/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
at Interface.decodeFunctionResult (/Users/shimonchick/Repos/devnet/mev-flood/core/node_modules/@ethersproject/abi/src.ts/interface.ts:427:23)
at Object.<anonymous> (/Users/shimonchick/Repos/devnet/mev-flood/core/node_modules/@ethersproject/contracts/src.ts/index.ts:400:44)
at step (/Users/shimonchick/Repos/devnet/mev-flood/core/node_modules/@ethersproject/contracts/lib/index.js:48:23)
at Object.next (/Users/shimonchick/Repos/devnet/mev-flood/core/node_modules/@ethersproject/contracts/lib/index.js:29:53)
at fulfilled (/Users/shimonchick/Repos/devnet/mev-flood/core/node_modules/@ethersproject/contracts/lib/index.js:20:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
reason: null,
code: 'CALL_EXCEPTION',
method: 'getReserves()',
data: '0x',
errorArgs: null,
errorName: null,
errorSignature: null,
address: '0x46Beb76223ca5065a7cc62069E2267E9eF49D326',
args: [],
transaction: {
data: '0x0902f1ac',
to: '0x46Beb76223ca5065a7cc62069E2267E9eF49D326'
}
}
I traced the error to the daiWethB
contract. Additional suggestions are greatly appreciated