op-contracts/v10.0.0 and activates the Lagoon hardfork.
Lagoon turns on interop between OP Mainnet and Unichain, with OP Sepolia and Unichain Sepolia as the testnet pair.
Ink and Soneium (and Ink Sepolia and Soneium Minato) activate Lagoon at the same timestamps, without interop.
Lagoon also enables Sequencer Defined Metering, and Unichain will introduce a refund policy that makes swaps cheaper for users.
Upgrade 22 also adds the ZK dispute game, which OP Mainnet and Unichain plan to adopt as their respected game type shortly after activation.
OP Mainnet and Unichain (and their Sepolia counterparts) are upgraded in two steps:
- An L1 contract upgrade, which on OP Mainnet and Unichain includes
OPContractsManagerV2.migrate. The migration moves both chains onto shared dispute contracts. - The Lagoon hardfork, which activates at a timestamp. Every node on a chain that activates Lagoon must run a Lagoon release before that timestamp.
This notice is provisional.
Mainnet dates depend on Optimism Governance approval.
Node releases are published. Fault proof and proposer component versions and prestate hashes will be added when those releases are published.
What’s included
Interop between OP Mainnet and Unichain
At the Lagoon activation timestamp, OP Mainnet and Unichain form a two-chain dependency set, as do OP Sepolia and Unichain Sepolia. Each chain can then execute messages initiated on the other. The dependency sets are recorded in the superchain-registry chain configs for OP Mainnet and Unichain. Ink and Soneium have no interop dependencies, so Lagoon does not turn on cross-chain messaging for them. Node operators on OP Mainnet, Unichain, OP Sepolia, and Unichain Sepolia must move to the supernode topology before activation. The Interop activation prep notice is the checklist for that change; this notice does not repeat it.Shared dispute contracts
Before Lagoon activates,OPContractsManagerV2.migrate merges OP Mainnet and Unichain into one interop set in a single L1 transaction.
It deploys a shared ETHLockbox, DisputeGameFactory, and AnchorStateRegistry, moves each chain’s ETH into the shared lockbox, and points each OptimismPortal at the shared contracts.
New proposals are super-root claims on the shared DisputeGameFactory.
The shared dispute game runbook describes the full flow.
After the migration, OptimismPortal2 only accepts dispute games registered in the shared factory.
A withdrawal proven against a game from a chain’s old factory can no longer be finalized and must be proven again.
Message expiry
L2ToL2CrossDomainMessenger can mark an interop message as expired when it stays undelivered for 8 days.
The new UndeliveredMessageExporter predeploy (0x4200000000000000000000000000000000000030) and L1CrossDomainMessenger.relayUndeliveredMessage carry the expiry back to the source chain, and SuperchainETHBridge.refundETH returns the ETH of an expired send to its sender.
See Message expiration for how it works and its known limitations.
L2 pause for the interop ETH bridge
The pause functionality now applies toETHLiquidity.
Anyone can call L1CrossDomainMessenger.syncETHLiquidityPause() to copy the L1 pause state to L2, and while paused, ETHLiquidity blocks burn and mint.
Post-execution transactions and Sequencer Defined Metering
Lagoon adds the post-execution transaction, an EIP-2718 transaction type0x7D that a sequencer appends as the last transaction in a block.
Its first use is sequencer defined metering (SDM), which lets a sequencer rebate gas to transactions in the block.
From activation, a block may end in a 0x7D transaction, and receipts gain an opGasRefund JSON-RPC field.
A sequencer only issues rebates after its operator opts in.
Unichain will be the first chain to adopt SDM, with a refund policy that makes swaps on the Uniswap protocol cheaper.
BLS12-381 precompile input limits
The maximum input sizes of the BLS12-381 precompiles are reduced:Per-chain withdrawal delays
The withdrawal delays are now stored per chain instead of being fixed in the contract implementations. After the upgrade, a chain’s L1 ProxyAdmin owner can change each delay within these bounds:- The upgrade carries each chain’s current delays into the new contracts unchanged. Only these setters change them afterwards.
- A new value applies at once to withdrawals that are already proven and to games that have already resolved.
- On OP Mainnet and Unichain, the shared
AnchorStateRegistryandDelayedWETHhold one finality delay and one bond withdrawal delay for both chains. Each chain’sOptimismPortal2keeps its own proof maturity delay. - A shorter proof maturity delay does not make every withdrawal faster: a withdrawal also waits for its dispute game to resolve and for the finality delay.
Other contract changes
L2ERC721Bridgeaccepts all pastOptimismMintableERC721interface IDs. Deposits into older L2 NFT tokens that failed before can now be replayed.
op-contracts/v10.0.0 release notes for the full list and contract versions.
ZK proofs on OP Mainnet and Unichain
After Lagoon activates, OP Mainnet and Unichain are planned to move to the ZK dispute game (ZK_DISPUTE_GAME, game type 10) as their respected game type.
This is a separate L1 upgrade from the hardfork and the migration.
It is planned for Friday, December 11, 2026 on OP Sepolia and Unichain Sepolia, and Thursday, January 14, 2027 on OP Mainnet and Unichain. See Upgrade timing.
See the ZK proofs explainer for how optimistic ZK proofs secure withdrawals.
Withdrawals do not need to be proven again for the switch.
Games created before it keep their original implementation and resolve as before, and withdrawals proven against them stay valid.
Third-party op-challenger operators on OP Mainnet and Unichain add the zk game type when the switch executes and keep super-cannon-kona in --game-types until every earlier game has resolved.
See Configure op-challenger for ZK dispute games and Migrate to ZK proofs.
Required actions
Users
If you have a withdrawal from OP Mainnet or Unichain (or OP Sepolia or Unichain Sepolia) that is proven but not finalized when the migration executes, prove it again after the migration and wait the proof maturity delay again before finalizing. The delay counts from the new proof, not the original one. You can prove it again once the sharedDisputeGameFactory has a game that covers it.
The first game on the shared factory must propose a later timestamp than the migration’s starting anchor, so there can be a short gap after the migration while the new proposer starts.
A withdrawal finalized before the migration is not affected.
Withdrawals started after the migration are not affected.
Ink and Soneium withdrawals are not affected.
App developers and infrastructure integrators
Update an integration if it does any of the following:- Proves or finalizes withdrawals from OP Mainnet or Unichain. After the migration, read the dispute game factory from
OptimismPortal2.disputeGameFactory()rather than a stored address, and prove against super-root games on the shared factory, usingrootClaimByChainId(uint256)to get the chain’s output root. Prompt users with unfinalized proofs from before the migration to prove again. - Uses
viem/op-stackfor withdrawals. Upgrade to[email protected]or later before the migration on your network. It reads the dispute game factory from the portal, treats the ZK dispute game (game type10) as a super-root game, and formats theopGasRefundreceipt field. Earlier versions keep looking for games on the old per-chain factory, sowaitToProvenever resolves after the migration. Stop passing a hardcodeddisputeGameFactoryAddressto viem’s withdrawal actions: an explicit address overrides the one viem reads from the portal, so a stored per-chain factory address keeps pointing at the old factory after the migration. viem does not yet type transaction type0x7D. - Parses blocks, transactions, or receipts. Handle transaction type
0x7Das the last transaction of a block, and theopGasRefundreceipt field. See What changes at Lagoon for the transaction’s shape. - Shows withdrawal wait times. Read
proofMaturityDelaySeconds()fromOptimismPortal2anddisputeGameFinalityDelaySeconds()from theAnchorStateRegistryinstead of assuming 7 days and 3.5 days. The values can differ between chains and can change for withdrawals that are already proven. TheProofMaturityDelaySecondsSetandDisputeGameFinalityDelaySecondsSetevents signal a change. viem’sgetTimeToFinalizealready reads both values onchain. - Calls the BLS12-381 precompiles with inputs above the new limits.
- Sends interop messages or ETH between OP Mainnet and Unichain. Handle expiry with
expiredMessages(messageHash)or theMessageExpiredevent, and refund expired ETH sends withSuperchainETHBridge.refundETH.
Node operators
Upgrade every node on a chain that activates Lagoon to a Lagoon release before the activation timestamp. On OP Mainnet, Unichain, OP Sepolia, and Unichain Sepolia, also complete the Interop activation prep checklist: run op-supernode for both chains and run every op-node as a Light CL that follows it.Chain operators
Upgrade your sequencer and other nodes to the Lagoon releases listed in Node operators, and these chain-operator components:- To issue SDM rebates after activation, follow the SDM operator guide.
- To change a withdrawal delay after the upgrade, have the L1 ProxyAdmin owner call the setters listed in Per-chain withdrawal delays. The
StandardValidatoraccepts any value within the bounds. On OP Mainnet and Unichain, the finality and bond withdrawal delays are shared by both chains. - Lagoon is scheduled per chain in the superchain-registry and is not a superchain-wide default. Chains other than those named in this notice are not scheduled to activate Lagoon with Upgrade 22.
For permissionless fault proof chains
Lagoon changes the fault proof program, so every permissionless chain that activates Lagoon needs a new absolute prestate built from a Lagoonkona-client release.
The hardfork does not change the respected game type. OP_PROPOSER_GAME_TYPE stays 9 (SUPER_CANNON_KONA) on a permissionless chain.
-
OP Mainnet and Unichain move to the shared
DisputeGameFactoryat the migration. Optimism sets the interop prestate onchain as part of the governed upgrade. Third-partyop-challengerandop-dispute-monoperators run two sets of instances after the migration:- Keep one of each per chain on that chain’s old factory. The migration clears the old factories’ game implementations, so no new games are created there, but games already in flight still resolve and pay bonds through the old
AnchorStateRegistryandDelayedWETH. Set--game-factory-addressto the old factory, and point--superroot-rpcat the op-supernode’s/<chainID>path. Do not use a Light CL op-node as the source: it records safe heads without the L1 block they were derived from, so the challenger cannot tell which roots were derivable at a game’s L1 head. Do not use the op-supernode’s root endpoint for these instances, because it returns a super root for both chains. Retire them once their games are resolved and bonds claimed; see Drain Pre-Migration Games and Reclaim Bonds and Tear Down After the Drain. - Add one of each on the shared factory. Read its address from
OptimismPortal2.disputeGameFactory()once the migration has executed, set--game-factory-addressto it, and point--superroot-rpcat the op-supernode’s root endpoint, which derives both chains.
- Keep one of each per chain on that chain’s old factory. The migration clears the old factories’ game implementations, so no new games are created there, but games already in flight still resolve and pay bonds through the old
-
Other permissionless chains in the superchain registry use the standard
cannon64-kona-interopprestate for the Lagoonkona-clientrelease.SUPER_CANNON_KONAgames use the interop prestate even on chains without interop; do not use thecannon64-konahash. Updateop-challengerand confirm it can fetch the new prestate. -
Permissionless chains outside the superchain registry that adopt Lagoon need a custom prestate. Build it, host it for
op-challenger, and set it onchain in your OPCM upgrade by following the steps below.
1
Build or verify the absolute prestate
- Standard chain configuration
- Custom chain configuration
The standard
cannon64-kona-interop prestate hash for the Lagoon kona-client release will be listed here and in standard-prestates.toml when the release is published.Check out the Lagoon kona-client tag in the monorepo, reproduce the prestate, and confirm the hash matches the published value:2
Upload the new preimage file
Upload the preimage file, named after the prestate hash (for example
0x<hash>.bin.gz), to the location --cannon-kona-prestates-url points at.
Keep the Upgrade 21 prestate file in place so op-challenger can finish games created before the upgrade.3
Update op-challenger
Update
op-challenger to the Lagoon release before the activation timestamp.
If you do not use the standard OP Labs op-challenger Docker image, set --cannon-kona-server (OP_CHALLENGER_CANNON_KONA_SERVER) to a kona-host binary built from the same release as the prestate.4
Set the new prestate onchain
Pass your new hash as the
absolutePrestate in the dispute game configuration of your OPCM upgrade input.
Simulate and validate the expected output before executing the transaction.Upgrade timing
The activation timestamps are set per chain in the superchain-registry, for example
sepolia/op.toml and mainnet/op.toml.
The mainnet contract upgrade, migration, and ZK switch depend on Optimism Governance approval, so these dates can move.
The Governance proposal will be linked here when it is published.
OP Enterprise Fully Managed chains follow this timeline.
OP Enterprise Self Managed chains can reach out to their Optimism point of contact if they need any support.
Verify readiness
Before your network’s activation timestamp:- Confirm every node runs a Lagoon release. On op-node, the
Rollup Configline logged at startup showslagoon_timeset to your network’s activation timestamp. - On OP Mainnet and Unichain, run the checks in Verify your setup before activation.
- Run integration tests that parse a block ending in a
0x7Dtransaction, if your tooling decodes blocks.
- Confirm your withdrawal tooling proves against games on the shared
DisputeGameFactory.