In an exciting development, OP Goerli has been successfully running Bedrock since January. This significant milestone marks a major upgrade for Testnet, and the team at OP Labs has now set their sights on bringing Bedrock Upgrade to OP Mainnet. The upgrade is scheduled to take place on June 6th, 2023, at 16:00 UTC.
What is Bedrock Upgrade?
The Bedrock release is a complete re-write of the entire rollup stack and is considered the largest upgrade ever released on OP Mainnet. It refers to the implementation of the Bedrock protocol on the OP Mainnet. Bedrock is a significant milestone and a major upgrade for the Testnet, and the goal is to bring these advancements and improvements to the production-ready OP Mainnet.
Bedrock upgrade introduces several enhancements in terms of security, stability, and performance to the OP Mainnet network. It involves upgrades to the smart contracts on Layer 1 (L1) and an irregular state transition on Layer 2 (L2). These upgrades are designed to enhance the overall functionality and reliability of the network.
During the upgrade, transactions, deposits, and withdrawals will be temporarily unavailable, and the OP Mainnet chain will not be progressing. For node operators, it is recommended to familiarize themselves with the Node Operator Guide and follow the provided instructions to set up new infrastructure using the upgraded genesis state.
It’s worth mentioning that historic chain data will still be accessible after the Bedrock upgrade, and a “regenesis” will not be required.
What to Expect during the Bedrock Upgrade
The upgrade process on upgrade day will follow these steps:
- Deposits and withdrawals on the legacy network will be paused.
- Transactions on the legacy sequencer will no longer be accepted.
- Upgrades will be made to the smart contracts on L1, accompanied by an irregular state transition on L2.
- Distribution of contract addresses, binaries, and data directories required for operating nodes on the new network.
- After 2-4 hours, the Bedrock sequencer will start up.
- Deposits and withdrawals will be re-enabled.
Backwards compatibility is one of the key design goals of this upgrade, and potential incompatibilities and their workarounds are outlined in the provided documentation.
Preparing for the Upgrade
Node operators should familiarize themselves with the Node Operator Guide provided by OP Labs. On upgrade day, rather than upgrading legacy infrastructure, node operators will be setting up entirely new infrastructure to run the Bedrock network. The required information and resources, including images, binaries, and data directories, are provided by OP Labs. Node operators will need to initialize op-geth’s data directory using the upgraded genesis state, specify the network, and follow additional steps if running an archive node.
For app and wallet developers, it is crucial to inform users about the upcoming upgrade. Deposits, withdrawals, and transactions to the sequencer will be paused for approximately 2-4 hours during the upgrade. Once the upgrade is complete, everything should be identical to how it was before. The new network is EVM-equivalent, ensuring compatibility with existing Ethereum tooling.
Upgrade Criteria and Progress
The decision to upgrade OP Mainnet to Bedrock was made following extensive evaluations and approvals. Several criteria were established, including successful upgrades of OP Goerli, Sherlock audits, internal rehearsals, and testnet stability. OP Labs diligently met these criteria, with the upgrade announcement made on May 15th, 2023.
Throughout the process, updates and progress have been logged. A timeline of events showcases the completion of audit competitions, achievement of consensus and feature freeze, stability on OP Goerli, internal rehearsals of the migration, and the official announcement of the upgrade date.
Benefits and Conclusion
The Bedrock upgrade represents the most significant release on OP Mainnet to date. While the downtime during the upgrade is inevitable, the improvements and advancements brought by Bedrock are expected to enhance the overall security and stability of the network.
The Bedrock upgrade aims for backward compatibility, ensuring that existing balances, contract addresses, transaction data, block data, and historical execution traces are preserved. The new network will remain EVM-equivalent, enabling seamless integration with existing Ethereum tooling.
Throughout the upgrade process, OP Labs has diligently met various criteria set forth by the Optimism Foundation and the Token House. This includes successful upgrades of OP Goerli to the “Regolith” release, followed by a Sherlock audit competition to address identified issues. Additionally, internal rehearsals were conducted to ensure a smooth and secure migration, leading up to the final announcement of the upgrade date.
Frequently Asked Questions (FAQs)
- What is the date for OP Mainnet’s upgrade to Bedrock?
The upgrade is scheduled for June 6, 2023, at 16:00 UTC. It is important to note that the upgrade will be triggered at a timestamp, rather than a block number.
- Is this a hard fork or a new network?
This upgrade is a hard fork, meaning the network will retain the same chain ID, transaction history, and state.
- How long will the upgrade take?
The upgrade is expected to take between 2-4 hours.
- Will withdrawals be affected?
Withdrawals that have not completed their 1-week finalization period or have not been claimed on L1 will have their finalization period reset after the Bedrock upgrade.
- What is Bedrock Upgrade?
The Bedrock release is a complete re-write of the entire rollup stack and is considered the largest upgrade ever released on OP Mainnet.