trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 678 forks source link

fix: set default hardfork for each network #3853

Closed satyajeetkolhapure closed 1 year ago

satyajeetkolhapure commented 1 year ago

fixes https://github.com/trufflesuite/ganache/issues/3631 depending on the network hardfork default value should be set.

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.