ethcall icon indicating copy to clipboard operation
ethcall copied to clipboard

Doesn't work with Web3 provider in browser

Open Macket opened this issue 3 years ago • 1 comments

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)

image

Macket avatar Jul 07 '21 12:07 Macket

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

Macket avatar Jul 07 '21 14:07 Macket