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

Removed hardhat-local-networks-config plugin #102

Merged
merged 2 commits into from
May 6, 2022
Merged

Conversation

pdyraga
Copy link
Member

@pdyraga pdyraga commented May 3, 2022

After an update in deepmerge library, hardhat-local-networks-config
stopped working and that lead to our system tests failing with a
mysterious TypeError: config.chains.has is not a function error.

Until the problem is not fixed in hardhat-local-networks-config, the
plugin is removed. It was here for convenience and all tests are passing
without it.

See NomicFoundation/hardhat#2630

To test this change, try running system tests on main:

FORKING_URL=... yarn test:system --verbose

Then, try doing the same on this branch.

After an update in `deepmerge` library, `hardhat-local-networks-config`
stopped working and that lead to our system tests to fail with a
mysterious `TypeError: config.chains.has is not a function` error.

Until the problem is not fixed in `hardhat-local-networks-config`, the
plugin is removed. It was here for convenience and all tests are passing
without it.

See NomicFoundation/hardhat#2630
hardhat.config.ts Show resolved Hide resolved
We had to remove hardhat-local-networks plugin due to a problem with
forking mainnet state for tests (see previous commit).
@nkuba nkuba enabled auto-merge May 6, 2022 10:59
@nkuba nkuba merged commit eb13894 into main May 6, 2022
@nkuba nkuba deleted the fix-system-tests branch May 6, 2022 11:06
@pdyraga pdyraga added this to the v1.2.0 milestone Sep 29, 2022
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.

None yet

2 participants