Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with Web3 provider in browser #13

Open
Macket opened this issue Jul 7, 2021 · 1 comment
Open

Doesn't work with Web3 provider in browser #13

Macket opened this issue Jul 7, 2021 · 1 comment

Comments

@Macket
Copy link

Macket commented Jul 7, 2021

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
Copy link
Author

Macket commented Jul 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant