github ethereum-optimism/optimism op-deployer/v0.10.0
op-deployer v0.10.0

latest releases: op-batcher/v1.19.1-rc.1, op-deployer/v0.10.1, kona-node/v1.14.0-rc.1...
6 days ago

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 implementations replaced by bounds (#23215, #23252). --proof-maturity-delay-seconds, --dispute-game-finality-delay-seconds and --withdrawal-delay-seconds are 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 implementations now always deploys ZKDisputeGame and SP1PlonkAdapter. On any L1 other than Ethereum mainnet and Sepolia, pass --sp1-verifier-address (DEPLOYER_SP1_VERIFIER_ADDRESS), or globalDeployOverrides.sp1Verifier in the intent; op-deployer errors without it. The ZK_DISPUTE_GAME dev feature bit (0x1000000) is retired: remove it from devFeatureBitmap, since any non-zero bitmap still blocks a Mainnet deployment.
  • calldata and noop deployment targets and manage removed (#23663). apply --deployment-target calldata|noop and manage add-game-type-v2 no longer exist, and state.json no longer records DeploymentCalldata (older state files still load). To produce upgrade calldata, encode the OPContractsManagerV2.upgrade call with cast or a superchain-ops task.
  • inspect l2-semvers removed (#23530). Call version() on the predeploys against an L2 node instead.
  • inspect l1 output reshaped (#23552). The OPCM implementation addresses move under a lowercase implementations key: read .implementations.SystemConfigImpl instead of .SystemConfigImpl, and likewise every Opcm*Impl, DelayedWethImpl and MipsImpl. The top-level FaultDisputeGameImpl, PermissionedDisputeGameImpl, SuperFaultDisputeGameImpl and SuperPermissionedDisputeGameImpl now 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: 0x91c167c7afbd0d0acc0aa7e4525e90b5cccb76a7 on Sepolia and 0x7d060b2f703c7a32bb0d3775da2e6c4cc0cddd56 on 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 in globalDeployOverrides keep working. inspect deploy-config now reports the actual faultGameWithdrawalDelay of 302400 instead of a hardcoded 604800 (#23215, #23252)
  • The default --genesis-time-offset (DEPLOYER_GENESIS_TIME_OFFSET) for prepare is now 0, so genesis starts at the L1 anchor block's timestamp and the chain is usable as soon as continue finishes; the sequencer produces catch-up blocks for the elapsed time. The 3600-second minimum is gone; set a positive offset to schedule a launch. prepare and continue now warn instead of failing when genesis is more than an hour in the past (#22965)
  • apply and prepare read an existing superchain or OPCM deployment with eth_calls over the L1 RPC instead of running Solidity read scripts, and a wrong OPCM address now fails before anything is sent (#23880)
  • verify now finds the ZKDisputeGame artifact, 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.json is now written with op-core's encoding. Genesis hashes and allocations are unchanged; the chain config of a chain that activates Karst now also carries osakaTime (#23359, #23194, #23603)

Full Changelog: op-deployer/v0.9.0...op-deployer/v0.10.0

🚢 Docker Image:

Don't miss a new optimism release

NewReleases is sending notifications on new releases.