Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add snow hardfork mainnet time #174

Merged
merged 2 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading