Skip to content

Cherry Pick: Create override flag for sov mode#2086

Open
elliothllm wants to merge 1 commit into
zkevmfrom
feat/sov-mode-override-flag
Open

Cherry Pick: Create override flag for sov mode#2086
elliothllm wants to merge 1 commit into
zkevmfrom
feat/sov-mode-override-flag

Conversation

@elliothllm

Copy link
Copy Markdown

Copilot AI review requested due to automatic review settings February 4, 2026 14:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR cherry-picks a commit that creates an override flag for sovereign mode, allowing operators to manually specify the block number at which sovereign mode should be enabled. Sovereign mode is a feature for sovereign chains that disables IBS (Intra Block State) interactions for info tree, GER (Global Exit Root), and related components.

Changes:

  • Added OverrideSovereignModeBlockFlag CLI flag to allow manual override of the sovereign mode activation block
  • Extended genesis override functionality to support sovereign mode block configuration
  • Improved logging for sovereign mode and GER operations with clearer tags and messages

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
cmd/utils/flags.go Defined the new CLI flag and integrated it into the config setup
turbo/cli/default_flags.go Registered the new flag in the default flags list
core/types/genesis.go Added OverrideSovereignModeBlock field to GenesisOverrides struct
core/genesis_write.go Applied the sovereign mode block override during genesis writing
core/state/intra_block_state_zkevm.go Enhanced logging for sovereign mode operations and cleaned up debug tags

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants