Chains

BNB Smart Chain

Build Web3 dApps effortlessly

BNB Beacon Chain

Sunset soon

BNB Chain ecosystem’s staking & governance layer

DocumentationGitHubFaucetStake BNBBscScanBSCTraceDev ToolsLearn more about FusionDocumentationBeacon Chain ExplorerStake BNBDocumentationGitHubFaucetBridgeGreenfieldScanDCellarDev ToolsDocumentationGitHubFaucetBridgeopBNBScanDev ToolsDocumentationGitHubFaucetBridgezkBNBScanMarketplace

Developers

Developers

Start building on BNB Chain

Start Building
Developers
BNB Smart ChainBNB Beacon ChainBNB GreenfieldopBNBzkBNBDAU Incentive ProgramTVL Incentive ProgramKickstartMVB Accelerator ProgramBuilder GrantsSpace BMEME Innovation ProgramSee All Programs
Contact UsStart Building
Contact UsStart Building

Announcement for Community Developers: Upgrade to opNode v0.2.2 and opGeth v0.2.1 Before the Fermat Hardfork for opBNB Mainnet

2023.11.14  •  2 min read
Blog post image.

Attention BNB Chain Developers!

The Fermat Hardfork of opBNB is paving the Way for Interoperability with Greenfield and Stabilizing L1 Gas Prices.

The opBNB Mainnet hardfork Fermat is scheduled for activation at block height 9397477, expected to occur on November 28, 2023, at 6 AM UTC. This hardfork will lay the foundation for interoperability between opBNB and BNB Greenfield by adding new pre-compiled contracts that enable BLS signatures verification and cometBFT light client verification.

Additionally, Fermat will stabilize the L1 gas price for L1 data costs of opBNB Layer 2 transactions.

What does this mean for community developers?

Community developers should upgrade to opNode v0.2.2 and opGeth v0.2.1 before the hardfork time. This will ensure that their nodes are compatible with the new pre-compiled contracts and that they can continue to operate smoothly after the hardfork.

Benefits of the Fermat Hardfork

The Fermat Hardfork offers a number of benefits for the opBNB community, including:

  • Interoperability with BNB Greenfield: The new pre-compiled contracts will enable interoperability between opBNB and Greenfield, which will open up new opportunities for collaboration and innovation.
  • Stabilized L1 gas prices: The stabilized L1 gas price will make it easier for developers to estimate the costs of their transactions and will also help to improve the efficiency of opBNB Layer 2 transactions.

Change logs:

opNode v0.2.2 Changes

  • Fixed L1 gas price to 3 Gwei 
  • New RPC kind bsc_fullnode to improve performance of retrieving L1 receipts
  • Allow multiple L1 endpoints in the configuration
  • Enable L2 sync mechanism for opBNB with “--l2.engine-sync=true” flag

opGeth v0.2.1 Changes

  • Two new precompiled contracts:
    • blsSignatureVerify to verify BLS signatures in smart contracts
    • cometBFTLightBlockValidate to validate cometBFT light blocks
  • Rollup configuration for opBNB Mainnet added, you can now use the `--network=opBNBMainnet` flag instead of `--rollup.config=./rollup.json` to specify the rollup configuration for the op-node.
  • Enable L2 sync mechanism for opBNB

Upgrade Instructions

To upgrade to opNode v0.2.2 and opGeth v0.2.1, please follow these steps:

  1. Download the latest opNode and opGeth docker images (URL provided below) or you can compile the binary from source code(repo provided below).
  2. Stop your current opNode and opGeth instances.
  3. Start your new opNode and opGeth instances with the appropriate flags.

For more detailed instructions, please refer to the opNode and opGeth documentation.

Important Notes

  • It is important to upgrade to opNode v0.2.2 and opGeth v0.2.1 before the hardfork time. Failure to do so may result in your node being unable to connect to the network after the hardfork.
  • If you are running an op-node in production, we recommend that you upgrade to a test environment first to ensure a smooth transition.
  • If you have any questions or concerns, please do not hesitate to contact us on the BNBChain Discord server.

Docker Images

- ghcr.io/bnb-chain/op-geth:v0.2.1

- ghcr.io/bnb-chain/op-node:v0.2.2

- ghcr.io/bnb-chain/op-batcher:v0.2.2

- ghcr.io/bnb-chain/op-proposer:v0.2.2

Github Repository

https://github.com/bnb-chain/op-geth

https://github.com/bnb-chain/opbnb

Thank you for your continued support of the opBNB network.

Follow us to stay updated on everything BNB Chain

Website | Twitter | Telegram | Facebook | dApp Store | YouTube | Discord | LinkedIn | Build N' Build Forum

Share