Chains
BNB Beacon Chain
BNB ecosystem’s staking & governance layer
Developers
Ecosystem
Staking
Earn BNB and rewards effortlessly
Tokenization Solutions
Get Your Business Into Web3
Community
Note: This is an updated version of a blog previously published on August 9th, 2023.
This hard fork aims to add the PreContract hard fork, which updates the pre-deployed contract WBNB. The address of the WBNB contract is 0x4200000000000000000000000000000000000006, and it involves changes to the contract's name and symbol. Additionally, the pre-deployed contract GovernanceToken, with the address 4200000000000000000000000000000000000042, will be removed.
The hard fork block height is 5805494, expected to occur on Aug 22, 2023, at 06:00:00 AM UTC. If you are running a full node of opBNB, you must complete the upgrade before the specified time. Failing to do so will result in running a forked chain instead of the canonical chain. This will cause incorrect data queries from the node and transactions sent via the node may fail to be included in the block. You may need to clear the data and run the node again to recover it.
reference PR: feat:add preDeployedContract hardfork
curl -X POST --data '{"jsonrpc":"2.0","method":"admin_nodeInfo","params":[],"id":1}' -H "Content-Type: application/json" http://localhost:8545
The response should include the preContractForkBlock parameter with a value of 5805494. If the transaction fails, enable the HTTP admin API.
Website | Twitter | Twitter (Devs) | Telegram | dApp Store | YouTube | Discord | LinkedIn | Build N' Build Forum | Dev Community|