Closed T1murKO closed 1 year ago
Running multi call query to local ganache chain raises
ContractLogicError: execution reverted: Incorrect number of arguments. Method 'eth_call' requires exactly 2 arguments. Request specified 3 arguments:
Common public BSC url works well. Single call works well with local ganache.
Command to run ganache:
ganache-cli -f https://bsc-dataseed.binance.org --chainId 56
At first I suggested the problem is somewhere with ganache, but I've managed to perform multicall with https://github.com/NFEL/eth_muticall repo using local ganache.
Solved. Had to specify state_override_code param to remove extra argument.
Running multi call query to local ganache chain raises
Common public BSC url works well. Single call works well with local ganache.
Command to run ganache:
At first I suggested the problem is somewhere with ganache, but I've managed to perform multicall with https://github.com/NFEL/eth_muticall repo using local ganache.