Skip to content

Commit

Permalink
feat: add snow hardfork mainnet time (ethereum-optimism#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-reorg authored Apr 1, 2024
1 parent 666140a commit d5eb70e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Changelog

## v0.3.1

This is a hardfork release for the opBNB Mainnet called Snow. It will be activated at April 9, 2024, at 6 AM UTC.
All mainnet nodes must upgrade to this release before the hardfork.

### User Facing Changes

- The L1 gas price of all L2 transactions will be optimized after the snow hardfork. The price will be calculated based on the median of the last 21 blocks' gas prices on BSC. The L1 gas price for the opBNB Mainnet is expected to be decreased to 1 Gwei after the hardfork. And it will adjust automatically if the gas price on BSC changes.

### Partial Changelog

- #169: feat: optimize l1 gas price calculation after snow hardfork

### Docker Images

- ghcr.io/bnb-chain/op-node:v0.3.1
- ghcr.io/bnb-chain/op-batcher:v0.3.1
- ghcr.io/bnb-chain/op-proposer:v0.3.1

### Full Changelog

https://github.com/bnb-chain/opbnb/compare/v0.3.0...v0.3.1

## v0.3.0

This is a recommended release for op-node. This release brings in upstream updates, see https://github.com/bnb-chain/opbnb/pull/121 for the contents. This is also a ready release for the next planed fork, which will bring in canyon fork from upstream as well.
Expand Down
3 changes: 1 addition & 2 deletions op-node/chaincfg/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ var OPBNBMainnet = rollup.Config{
L1SystemConfigAddress: common.HexToAddress("0x7ac836148c14c74086d57f7828f2d065672db3b8"),
RegolithTime: u64Ptr(0),
Fermat: big.NewInt(9397477), // Nov-28-2023 06 AM +UTC
// TODO update timestamp
SnowTime: nil,
SnowTime: u64Ptr(1712642400), // Apr-09-2024 06 AM +UTC
}

var OPBNBTestnet = rollup.Config{
Expand Down

0 comments on commit d5eb70e

Please sign in to comment.