Open raparri01 opened 1 year ago
I am currently running into this error when await-ing the result of a multicall.all() call.
ethers-multicall: ^0.2.3 ethers: ^5.7.2
Below is the relevant code:
const multicallProvider = new Provider(provider, 1); //Provider is an AlchemyProvider const call1 = new Contract(address, abi).liquidity; // ethers-multicall contract const call2 = new Contract(address, abi).protocolFees; //ethers-multicall-contract await multicallProvider.all([call1, call2]) //Fails and throws error
Thanks!
hello, you resolved i have this other error like yours: Possible Unhandled Promise Rejection (id: 56): "undefined is not an object (evaluating 'inputs_1.length')"
Possible Unhandled Promise Rejection (id: 56): "undefined is not an object (evaluating 'inputs_1.length')"
I am currently running into this error when await-ing the result of a multicall.all() call.
ethers-multicall: ^0.2.3 ethers: ^5.7.2
Below is the relevant code:
Thanks!