bnb-chain / opbnb

MIT License
403 stars 163 forks source link

feat(op-chain-ops): add Wright fork config into genesis file generation code #226

Closed welkin22 closed 3 months ago

welkin22 commented 3 months ago

Description

This PR is made in conjunction with https://github.com/bnb-chain/op-geth/pull/130. A new Wright hard fork has been introduced in op-geth. Whenever there is a new hard fork, we need to make corresponding changes in the genesis file generation code to support the activation of the hard fork through the configuration file.

Rationale

This modification allows us to configure when to activate the hard fork through the configuration file, which is beneficial for both Devnet and Qanet.

Example

none

Changes

Notable changes:

welkin22 commented 3 months ago

Please do not merge this PR yet. We will merge it after the official release of op-geth.