feat(op-deployer): source permissionless deploy inputs from chain state#21610
Draft
lumoswiz wants to merge 3 commits into
Draft
feat(op-deployer): source permissionless deploy inputs from chain state#21610lumoswiz wants to merge 3 commits into
lumoswiz wants to merge 3 commits into
Conversation
This was referenced Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Sources permissionless deploy prestate and starting anchor root from chain state. Adds state fields, setters, and shared permissionless game type detection. Permissioned deploys keep the existing defaults and override behavior.
Tests
Added coverage for the new state fields, permissionless Cannon and Cannon-Kona deploy inputs, missing state errors, and unchanged permissioned deploy behavior.
Additional context
This assumes the
prestatecommand (#20911) and planned genesis output root stage (#20910) populate chain state before deploy runs. Permissionless deploys intentionally read these committed state values only, so intent overrides cannot change the deployed prestate or starting anchor root.The
ChainState.Prestatefield andSetChainPrestateoverlap with #20911 and now carry the same enrich-only semantics as #21611. During rebase, keep #21611's copy. Contract-storage integration coverage will follow after #21560 lands. This PR is stacked on #21588 and should rebase ontodevelopafter it merges.Metadata
Closes #20912