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

Fix: Mainnet fork not working due to outdated hardhat #41

Merged
merged 2 commits into from
Sep 19, 2021

Conversation

Turupawn
Copy link
Contributor

npx hardhat node errors while trying to fork mainnet on local hardhat the following way:

    networks: {
        hardhat: {
            forking: {
              url: MAINNET_RPC_URL
            }
        },

This is because older versions of Hardhat are not compatible with london hardfork. Luckly, Hardhat 2.6.4 is compatible so upgrading fixes this issue.

@PatrickAlphaC
Copy link
Contributor

Thanks for this PR! I added some stuff cleaning up yarn and package.lock as well. Thanks!

@PatrickAlphaC PatrickAlphaC merged commit c74e0f5 into smartcontractkit:main Sep 19, 2021
@Turupawn
Copy link
Contributor Author

Ah right I also had trouble with Polygon and Mumbai on the truffle config. Thanks for fixing that.

Cheers!

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

Successfully merging this pull request may close these issues.

2 participants