0%
Overview page background
HomeOverviewsLayer 2
Optimism Bedrock Testnet Migration Guide (2023)

Optimism Bedrock Testnet Migration Guide (2023)

Written by Tau

Brady Werkheiser headshot

Reviewed by Brady Werkheiser

Published on January 12, 20234 min read

Optimism is a layer 2 blockchain that uses optimistic rollups to help Ethereum scale. Optimism is undergoing a network upgrade to Optimism Bedrock, which introduces a series of performance improvements from its existing rollup architecture design. 

This article explains Optimism Bedrock, how it works, and what developers can expect when Optimism upgrades their Goerli testnet on Thursday, January 12th at approximately 10 AM PT, and when the mainnet is planned for upgrade in the weeks to follow.

Optimism Bedrock is a network-wide upgrade for Optimism nodes that is designed to be the cheapest, fastest, and most advanced rollup architecture available, with support for multiple fault-proof and client implementations.

Optimism Bedrock is expected to bring a number of improvements to the Optimism mainnet. Some of the main changes and improvements that have been mentioned include:

Optimism Bedrock will significantly reduce the time required for deposit transactions to 2.5 minutes due to a smaller confirmation depth of 10-12 L1 blocks. This reduces the currently estimated deposit time which is roughly 10 minutes.

Optimism Bedrock introduces new changes to lower gas fees. Optimism Bedrock’s projected transaction fee reduction (20%) is a result of calldata compression and sending transactions to Ethereum using a “non-contract address,.” Besides lowering gas fees, Optimism will also mirror Ethereum’s gas fee design by Supporting EIP-1559.

Optimism Bedrock is expected to produce blocks every two seconds, compared to the current block production rate of 1 block per transaction, the same way Ethereum uses fixed block times.

Ethereum Equivalence means Optimism Bedrock is designed to be the most seamless rollup possible by dovetailing all of Ethereum's “code, infrastructure, and design patterns,” into the design of Bedrock.

For example, some Ethereum Equivalents in Bedrock include:

The Optimism Bedrock upgrade involves several steps:

  1. First, deposits and withdrawals will be paused on the legacy network

  2. The legacy sequencer will start rejecting transactions

  3. Then, the smart contracts on L1 will be upgraded and an irregular state transition will be performed on L2

  4. Next, the Bedrock sequencer will be started up.

  5. Finally, deposits and withdrawals will be re-enabled.

The upgrade is expected to result in significantly reduced transaction fees, faster node synchronization, and improved block production. It is not expected to affect everyday users of Optimism, but a mainnet upgrade proposal will be submitted to the Token House for approval after a successful testnet migration.

During both the testnet and mainnet upgrades there will be some downtime from infrastructure providers to upgrade nodes, however transaction history will be maintained.

During a network-wide migration, developers should:

Deposits, withdrawals, and transactions in general will be paused during the upgrade process. Developers should plan for this downtime and ensure that their applications can handle it.

The Bedrock upgrade will introduce some changes to the way that transactions are processed, including the use of address aliasing for contract deposits. Developers should familiarize themselves with these network-wide changes and ensure that their applications are compatible once the Opt-Goerli testnet is upgraded to Bedrock.

By testing applications on the Bedrock Goerli testnet, developers can ensure their applications will operate as designed when the Optimism Mainnet is upgraded to Bedrock in February.

The Bedrock upgrade is expected to significantly reduce transaction fees and improve the speed of the network. The upgrade may also introduce new features and capabilities that developers can leverage in their applications. 

The Optimism team created upgrade guides based on application type, which explains the expected impact Bedrock will have on each product type including wallets, frontend/backend engineers, infrastructure providers like Alchemy, and bridge developers.

Here are the most frequently asked questions about the Optimism Bedrock upgrade.

If you’re an application developer, there is nothing you need to upgrade. If you are an infrastructure provider, or if you run your own Optimism nodes, follow the Bedrock documentation instructions for infrastructure companies

No, if you use Alchemy's Optimism RPC endpoint there is nothing you need to do during the Optimism Bedrock upgrade. Our team of infrastructure specialists will be managing both the testnet upgrade and mainnet upgrades for you.

There will be a 1-hour service pause on Thursday, January 12th, 2023 where the Optimism Goerli testnet will not be able to accept transactions for roughly one hour beginning at 10:00 AM PT while the Optimism team performs the upgrade. To follow along with the network upgrade, visit the Optimism Status page.

Alchemy’s JSON-RPC endpoints for Optimism Goerli will remain the same after the upgrade. You can find the full details on the chain-level changes in Optimism’s Bedrock documentation.

Some JSON-RPC calls will be deprecated during the Bedrock upgrade including: eth_getBlockRange and rollup_gasPrices. Instead, Optimism developers are encouraged to use eth_getBlockByNumber and eth_gasPrice instead. Lastly, rollup_getInfo will no longer return information on Bedrock.

If your Optimism dapps don’t use the aforementioned JSON-RPC calls, your existing smart contracts and applications should continue to work as normal after the Bedrock upgrade. Before Optimism upgrades their main network, it is always best to validate dapp functionality on the Bedrock Goerli testnet.

Overview cards background graphic
Section background image

Build blockchain magic

Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.

Get your API key