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

Support ganache 7 cli flags #1410

Merged
merged 1 commit into from
Feb 5, 2022

Conversation

danhper
Copy link
Contributor

@danhper danhper commented Jan 26, 2022

What I did

Ganache changed their CLI flags in version 7, which breaks Brownie, especially because --chainId is not a thing anymore, it's now --chain.chainId.

How I did it

We now check the current version of ganache and use the appropriate flags.

How to verify it

Installing Ganache 7 and running a console in non-development network should do it

brownie console --network mainnet-fork

Checklist

  • I have confirmed that my PR passes all linting checks
  • I have included test cases
  • I have updated the documentation
  • I have added an entry to the changelog

@iamdefinitelyahuman iamdefinitelyahuman merged commit 3895c0b into eth-brownie:master Feb 5, 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.

3 participants