ganache icon indicating copy to clipboard operation
ganache copied to clipboard

Set default network hardfork for each network instead of for the entire application

Open tenthirtyone opened this issue 2 years ago • 1 comments

The latest hardfork to land on mainnet, gray glacier, does not exist on any testnet. Setting the default hardfork in ganache to gray glacier breaks testnet forking unless a valid hardfork, e.g. london is supplied at startup.

tenthirtyone avatar Sep 07 '22 21:09 tenthirtyone

To expand on this, if a user starts ganache with ganache --fork mainnet, the default hardfork should be grayGlacier. However, if ganache --fork sepolia is used, the default hardfork should be london (because grayGlacier has not been implemented on any of the testnets).

MicaiahReid avatar Sep 15 '22 20:09 MicaiahReid