ethcall
ethcall copied to clipboard
Doesn't work with Web3 provider in browser
I'm getting this error:
Unhandled Rejection (Error): call revert exception (method="aggregate((address,bytes)[])", errorSignature=null, errorArgs=[null], reason=null, code=CALL_EXCEPTION, version=abi/5.1.0)
This is because MetaMask mistakenly assumes all networks in http://localhost:8545 to have a chain id of 1337
https://hardhat.org/metamask-issue.html