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.6k stars 676 forks source link

fix: resolve hardfork for blocks by blocknumber and timestamp #4455

Closed jeffsmale90 closed 1 year ago

jeffsmale90 commented 1 year ago

Starting with Shanghai, hardforks are determined by timestamp, rather than block number. When resolving the hardfork to use for a given block, we now consider the blocknumber and the timestamp.

fixes: #4450 (in that the correct hardfork is now resolved, which is not mergeForkIdTransition)

See #4463

cloudflare-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8fd2a6c
Status: ✅  Deploy successful!
Preview URL: https://8392f08b.ganache.pages.dev
Branch Preview URL: https://fix-hardforkbytimestamp.ganache.pages.dev

View logs