Optimism Upgrade 21 is live on Ethereum: ETHLockbox, retryable withdrawals and a bigger L1 gas reserve

Upgrade 21 upgraded the L1 bridge contracts of OP Mainnet, Ink, Soneium and Unichain on 16 November. L2 fees are unaffected; L2-to-L1 messages now reserve about 105,000 more gas, which costs cents at today's base fee.

Glowing secure vault above bridges linking floating layer-2 islands to a central Ethereum crystal platform

Optimism's Upgrade 21 is now live on Ethereum. The signed L1 transaction upgraded the bridge contracts of OP Mainnet, Ink, Soneium and Unichain on 16 November: the OP Mainnet OptimismPortal proxy switched to a new implementation in block 26,430,859 at 23:23 UTC, as recorded by Gliese Watch, and the operations repo marked the mainnet task as executed the same day.

Unlike a typical network upgrade, U21 is a contracts-only change on Ethereum L1. There is no L2 hard fork and no activation timestamp, and regular users and node operators do not need to do anything. It passed Optimism governance as an optimistic approval: by the end of the veto window on 11 November only 0.43% of votable OP had voted against, far below the 20% needed to block it, according to the voting page.

What changed

  • ETHLockbox on every chain. Each OP Stack chain now holds bridged ETH in an ETHLockbox, which also becomes the only identifier for a chain-specific pause. Chains whose ETH still sat in the OptimismPortal had it moved into the lockbox in the upgrade transaction (Optimism docs).
  • Retryable withdrawals. If relaying an L2-to-L1 message into the L1CrossDomainMessenger fails, finalization now reverts and the withdrawal stays retryable, instead of being finalized as failed.
  • Proof cleanup. Anyone can now delete a withdrawal proof whose dispute game resolved for the challenger or was blacklisted.
  • Interop groundwork. The release ships the L1 contracts that future interop needs, including a one-way migrate() path, but U21 does not activate interop.
  • Glamsterdam prep. The op-contracts v9.0.0 release notes say U21 already contains the Glamsterdam gas-constant changes for OptimismPortal2, SafeCall and the cross-domain messengers.

The gas detail integrators should notice

To make failed relays replayable, the L1 messenger now keeps more gas in reserve. According to the release notes, L1CrossDomainMessenger reserves 135,000 gas after the relay call (up from 40,000) and uses a 15,000-gas check buffer (up from 5,000), so the baseGas for L2-to-L1 messages is higher. Integrators that hard-code gas limits for these messages should switch to baseGas. Relayers and finalizers must also handle the new OptimismPortal_L1CDMCallFailed revert and retry with more gas. L2 messenger values are unchanged.

That is the same lesson Ethereum core developers are learning with Glamsterdam: hard-coded gas numbers break when the protocol reprices operations. The OP Stack bridge is switching to the new constants before the L1 fork, not after it.

Gas impact

For L2 users: practically none. U21 changes only L1 contracts, so OP Mainnet, Ink, Soneium and Unichain transaction fees, which mostly reflect L2 execution plus the blob fees chains pay to post data on Ethereum, are not affected.

For withdrawals to L1: a slightly higher gas requirement. The extra reserve and buffer add up to about 105,000 gas that a finalization may need to have available. Unused gas is refunded, so this is an upper bound, not a guaranteed cost. Even so, the numbers are small at current prices. Over the past seven days the median L1 base fee was 0.137 gwei (our calculation from eth_feeHistory on a public Ethereum RPC, 16–23 November). At ETH around $1,735, 105,000 gas comes to about $0.025. During the 20 November spike, when the base fee briefly reached 22.45 gwei, the same amount would have been about $4. Withdrawals are worth timing to quiet hours, not avoiding.

For Ethereum L1: neutral. One-off upgrade transactions do not change demand for block space. Since OPCM v9.0.0 lowers the gas needed for batched multi-chain upgrades (governance post), future Superchain upgrades should take a little less L1 gas.

Context

The upgrade lands as L2 balances shrink with the market. Data from ETHBEAT (formerly L2BEAT), cited by IT Times, put total value secured on Ethereum rollups at $27.25 billion on 22 November, down 3.74% in a week. OP Mainnet held $1.28 billion, down 6.42%.