diff --git a/CHANGELOG.md b/CHANGELOG.md index 0142e56dcb..e55dead2e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,12 +3,13 @@ ## v0.2.0 This is a hardfork release for the opBNB Testnet called Fermat. -It will be activated at block height #TBD, expected to occur at #TBD. +It will be activated at block height #13063000, expected to occur on November 14, 2023, at 6 AM UTC. ### User Facing Changes - The L1 gas price of all L2 transactions will be fixed(3 Gwei by default and 5 Gwei for Testnet). - Introduce a new type of RPC kind called `bsc_fullnode`. To enable it, include the parameter `--l1.rpckind=bsc_fullnode` if the layer 1 endpoint supports the `eth_getTransactionReceiptsByBlockNumber` API. This will significantly enhance the performance of retrieving L1 receipts (#63). +- The rollup configuration for opBNB Mainnet and Testnet has been added to the code. You can now use the `--network=opBNBTestnet` or `--network=opBNBMainnet` flag instead of `--rollup.config=./rollup.json` to specify the rollup configuration for the op-node. (#7) - Allow the addition of multiple L1 endpoints in the configuration. For example: `--l1=https://data-seed-prebsc-1-s1.binance.org:8545,https://data-seed-prebsc-2-s2.binance.org:8545,https://data-seed-prebsc-2-s3.binance.org:8545`. By default, it will use the first endpoint, and if it's unavailable, it will automatically switch to the next one (#55). - Enable the layer 2 sync mechanism for opBNB by adding `--l2.engine-sync=true` flag on the op-node. Additionally, a new flag l2.skip-sync-start-check is introduced to allow users to skip the sanity check of L1 origins for unsafe L2 blocks when determining the sync-starting point. (#62) diff --git a/op-node/chaincfg/chains.go b/op-node/chaincfg/chains.go index 7293db6894..1de75931d7 100644 --- a/op-node/chaincfg/chains.go +++ b/op-node/chaincfg/chains.go @@ -130,8 +130,7 @@ var OPBNBTestnet = rollup.Config{ DepositContractAddress: common.HexToAddress("0x4386c8abf2009ac0c263462da568dd9d46e52a31"), L1SystemConfigAddress: common.HexToAddress("0x406ac857817708eaf4ca3a82317ef4ae3d1ea23b"), RegolithTime: u64Ptr(0), - // TODO update block number - Fermat: nil, + Fermat: big.NewInt(13063000), // Nov-14-2023 06 AM +UTC } var OPBNBDevnet = rollup.Config{