Overview
Important
This is the op-deployer release for op-contracts/v10.0.0 (Upgrade 22). It deploys op-contracts/v10.0.0. It contains per-chain withdrawal delay settings, the ZK dispute game in every implementations deployment, a zero default genesis time offset for prepare, and the removal of the calldata and noop deployment targets, manage and inspect l2-semvers.
Breaking changes
- Withdrawal delay flags on
bootstrap implementationsreplaced by bounds (#23215, #23252).--proof-maturity-delay-seconds,--dispute-game-finality-delay-secondsand--withdrawal-delay-secondsare replaced by--min-and--max-variants of each, for example--min-proof-maturity-delay-seconds(DEPLOYER_MIN_PROOF_MATURITY_DELAY_SECONDS). Replace the old flags before upgrading. The standard defaults are unchanged. - SP1 verifier required outside Ethereum and Sepolia (#23868).
bootstrap implementationsnow always deploysZKDisputeGameandSP1PlonkAdapter. On any L1 other than Ethereum mainnet and Sepolia, pass--sp1-verifier-address(DEPLOYER_SP1_VERIFIER_ADDRESS), orglobalDeployOverrides.sp1Verifierin the intent; op-deployer errors without it. TheZK_DISPUTE_GAMEdev feature bit (0x1000000) is retired: remove it fromdevFeatureBitmap, since any non-zero bitmap still blocks a Mainnet deployment. calldataandnoopdeployment targets andmanageremoved (#23663).apply --deployment-target calldata|noopandmanage add-game-type-v2no longer exist, andstate.jsonno longer recordsDeploymentCalldata(older state files still load). To produce upgrade calldata, encode theOPContractsManagerV2.upgradecall withcastor a superchain-ops task.inspect l2-semversremoved (#23530). Callversion()on the predeploys against an L2 node instead.inspect l1output reshaped (#23552). The OPCM implementation addresses move under a lowercaseimplementationskey: read.implementations.SystemConfigImplinstead of.SystemConfigImpl, and likewise everyOpcm*Impl,DelayedWethImplandMipsImpl. The top-levelFaultDisputeGameImpl,PermissionedDisputeGameImpl,SuperFaultDisputeGameImplandSuperPermissionedDisputeGameImplnow report the chain's own games; previously the OPCM's values silently replaced them. Superchain and chain proxy keys are unchanged.
Other changes
Deploy
init --intent-type standard*and the standard intent checks now target the op-contracts/v10.0.0 OPCM from the superchain registry:0x91c167c7afbd0d0acc0aa7e4525e90b5cccb76a7on Sepolia and0x7d060b2f703c7a32bb0d3775da2e6c4cc0cddd56on Mainnet. The embedded contract artifacts are the op-contracts/v10.0.0 build (#24388)- The proof maturity delay, dispute game finality delay and DelayedWETH withdrawal delay can now be set per chain in
deployOverrides(proofMaturityDelaySeconds,disputeGameFinalityDelaySeconds,faultGameWithdrawalDelay), within bounds fixed by the implementations. Values set inglobalDeployOverrideskeep working.inspect deploy-confignow reports the actualfaultGameWithdrawalDelayof 302400 instead of a hardcoded 604800 (#23215, #23252) - The default
--genesis-time-offset(DEPLOYER_GENESIS_TIME_OFFSET) forprepareis now 0, so genesis starts at the L1 anchor block's timestamp and the chain is usable as soon ascontinuefinishes; the sequencer produces catch-up blocks for the elapsed time. The 3600-second minimum is gone; set a positive offset to schedule a launch.prepareandcontinuenow warn instead of failing when genesis is more than an hour in the past (#22965) applyandprepareread an existing superchain or OPCM deployment witheth_calls over the L1 RPC instead of running Solidity read scripts, and a wrong OPCM address now fails before anything is sent (#23880)verifynow finds theZKDisputeGameartifact, so verifying an op-contracts/v10.0.0 implementations deployment no longer fails on it (#23844)
Genesis
- Genesis generation (
apply,inspect genesis) now refuses OP Mainnet's chain ID, 10, for a new L2 (#23450) genesis.jsonis now written with op-core's encoding. Genesis hashes and allocations are unchanged; the chain config of a chain that activates Karst now also carriesosakaTime(#23359, #23194, #23603)
Full Changelog: op-deployer/v0.9.0...op-deployer/v0.10.0
🚢 Docker Image: