Skip to content

@ethereumjs/common v3.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@holgerd77 holgerd77 released this 11 Aug 15:30
· 1358 commits to master since this release
8c1d34d

Beta 3 release for the upcoming breaking release round on the EthereumJS monorepo libraries, see the Beta 1 release notes for the main long change set description as well as the Beta 2 release notes for notes on some additional changes (CHANGELOG).

Merge Hardfork Default

Since the Merge HF is getting close we have decided to directly jump on the Merge HF (before: Istanbul) as default for the Common library and skip the London default HF as we initially intended to set (see Beta 1 CHANGELOG), see PR #2087.

If you want instantiate the library with an explicit HF set you can do:

import { Common, Chain, Hardfork } from '@ethereumjs/common'

const common = new Common({ chain: Chain.Mainnet, hardfork: Hardfork.London })

Other Changes

  • Breaking: renamed td (terminal total difficulty for the Merge HF) HF parameter in HF JSON files to ttd, PR #2075
  • Breaking: renamed hardforkTD() method to hardforkTTD(), PR #2075
  • Breaking: renamed td parameter in HardforkConfig interface to ttd, PR #2075
  • Set goerli Merge TTD to 10790000, PR #2079
  • Update mergeForkIdTransition Merge transition HF (separate "artificial" HF construct only for networking layer) for sepolia, PR #2098