support ganache v7
See original GitHub issueEnvironment information
brownie
Version: 1.17.0ganache-cli
ganache
Version: 7.0.0
What was wrong?
$ npm uninstall --global ganache-cli ganache-core
removed 101 packages, and audited 1 package in 680ms
found 0 vulnerabilities
$ npm install --global ganache
added 29 packages, and audited 30 packages in 1m
found 0 vulnerabilities
$ ganache --version
ganache v7.0.0 (@ganache/cli: 0.1.1, @ganache/core: 0.1.1)
$ brownie console
Brownie v1.17.0 - Python development framework for Ethereum
Generating interface ABIs...
*** is the active project.
Launching 'ganache-cli --fork https://mainnet.infura.io/v3/*** --port 8545 --chainId 1 --hardfork istanbul'...
File "brownie/_cli/__main__.py", line 64, in main
importlib.import_module(f"brownie._cli.{cmd}").main()
File "brownie/_cli/run.py", line 44, in main
network.connect(CONFIG.argv["network"])
File "brownie/network/main.py", line 50, in connect
rpc.launch(active["cmd"], **active["cmd_settings"])
File "brownie/network/rpc/__init__.py", line 93, in launch
raise RPCProcessError(cmd, uri)
RPCProcessError: Unable to launch local RPC client.
Command: ganache-cli
URI: http://127.0.0.1:8545
npm uninstall --global ganache
removed 29 packages, and audited 1 package in 636ms
found 0 vulnerabilities
$ npm install --global ganache-cli
npm WARN deprecated ganache-cli@6.12.2: ganache-cli is now ganache; visit https://trfl.io/g7 for details
added 1 package, and audited 102 packages in 4s
$ ganache-cli --version
Ganache CLI v6.12.2 (ganache-core: 2.13.2)
$ brownie console
Brownie v1.17.0 - Python development framework for Ethereum
*** is the active project.
Launching 'ganache-cli --fork https://mainnet.infura.io/v3/*** --port 8545 --chainId 1 --hardfork istanbul'...
Brownie environment is ready.
>>>
How can it be fixed?
obviously starting v7 ganache-cli
got renamed to ganache
, but i do not know if there are any other breaking changes. there is an official upgrade guide here: https://github.com/trufflesuite/ganache/blob/develop/UPGRADE-GUIDE.md
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Ganache 7 Ethereum Simulator - Building on Web3 is now ...
Ganache v7 has a native integration with Infura which enables free access to ... Run the command ganache --help for a list of...
Read more >Releases · trufflesuite/ganache
With all that in mind, we released Ganache v7.4.4-alpha.0 back in September with support for the Merge. This PR brings that set of...
Read more >Ganache V7 is 30x faster | Must-have tools for all ... - YouTube
GANACHE LINKS More details about Ganache 7: https://cutt.ly/9INjiCs Github Ganache v7.0.0: https://cutt.ly/oINjjeJ Disclaimer: This ...
Read more >ganache
Features · console.log in Solidity · Zero-config Mainnet Forking · Fork any Ethereum network without waiting to sync · Ethereum JSON-RPC support ·...
Read more >Ganache v7 and expectRevert @openzeppelin/test-helpers
However, I made a upgrade to Ganache v7.0.1 and now my tests fail. ... Ganache v7 and expectRevert @openzeppelin/test-helpers · Support.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Support for ganache v7 is added in the
v1.18.0
releaseI found this PR which should address this issue: https://github.com/eth-brownie/brownie/pull/1410