Skip to content

ops: support OPCM v2 import state#1267

Open
jelias2 wants to merge 1 commit into
mainfrom
codex/opcm-v2-import
Open

ops: support OPCM v2 import state#1267
jelias2 wants to merge 1 commit into
mainfrom
codex/opcm-v2-import

Conversation

@jelias2

@jelias2 jelias2 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • read implementationsDeployment.OpcmV2Impl when importing newer op-deployer state
  • accept bare/prerelease op-deployer versions like 0.7.0-rc.1
  • accept quoted chain_id values in devnet manifests

Verification

  • go test ./internal/deployer -run 'Test(ReadOpcmImplSupportsV2State|GetStateMergerAcceptsBareReleaseCandidate|VersionedBinaryPathAcceptsBareVersion|MergeState|AutodetectBinary|VersionsMapInitialization)'\n- go run ./cmd/import_devnet/main.go --state-filename /Users/jacobelias/workspace/ethereum-optimism/devnets-private/stg/sepolia-dev-1/op-deployer/state.json --manifest-path /Users/jacobelias/workspace/ethereum-optimism/devnets-private/stg/sepolia-dev-1/manifest.yaml --op-deployer-version=0.7.0-rc.1 --l1-contracts-version=op-contracts/v7.0.0-rc.4

@jelias2 jelias2 requested a review from a team as a code owner June 26, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant