链

主链

BNB 智能链

快速、经济、EVM 兼容

BNB 信标链

已完成停服

BNB 生态的质押与治理层

塑造链

质押

通过保障网络安全赚取奖励

文档水龙头BscScanBSCTrace文档水龙头跨链桥opBNBScan文档水龙头跨链桥GreenfieldScanDCellar了解 Fusion 详情代币恢复工具Beacon Chain 浏览器原生质押流动性质押

构建

入门指南

提交去中心化应用

探索

加速

查看全部计划

连接

加入我们

职业机会🔥

探索 BNB Chain 上的机会

BNB Chain 职业生态职位

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 分钟阅读
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

分享