Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

v2.5.1 - Petersburg fork & More! ⋔

Compare
Choose a tag to compare
@davidmurdoch davidmurdoch released this 28 Feb 01:40
· 812 commits to develop since this release
v2.5.1
b9bf54b

v2.5.1 - Petersburg fork & More! ⋔

The Petersburg hardfork is scheduled to go live on mainnet on block number 7,280,000, estimated to occur on February 28th. This hardfork removes the reentrancy attack vector introduced in the Constantinople hardfork (which also goes live on mainnet on block 7,280,000). This release includes ethereumjs-vm@2.6.0 which includes support for the Petersburg hardfork. Also: bug fixes!

Release Highlights

The default hardfork in ganache-core and ganache-cli is now petersburg. We also fixed lots of bugs and paid off some technical debt!

New Features:

  • Add support for the Petersburg fork (#323)

Bug Fixes:

This release also contains some bug fixes!

  • Make sure miner_start and miner_stop are asynchronous (#322)
  • Fix bug for transaction receipts with multiple transactions in one block (#268)
  • Handle invalid block numbers in eth_getTransactionCount (#291)
  • Return correct transaction and receipt trie roots (#231 and #331)
  • Fix contract storage access issue when using snapshot and revert (#329)
  • Fix bug when accessing storage state in debug_traceTransaction (#330)
  • Fix regression causing fork_block_number option to be ignored (#342)

Maintenance and Testing:

  • Refactor gas tests (#289)
  • Enable process listeners for uncaught exceptions in tests (#301)
  • Remove extra test run from coverall support (#299)
  • Update lodash (#303)
  • Add tests for external library function calls (#225)
  • Improve websocket test coverage (#310)
  • Update ethers test and ethers.js in package.json so the tests work again (#345)

Documentation:

  • Clarify evm_snapshot behavior in README.md (#284)

More steady releases to come in the future so keep on filing issues and submitting PRs!

💖 The Truffle Team

Related Releases