Cherry Pick: Create override flag for sov mode#2086
Open
elliothllm wants to merge 1 commit into
Open
Conversation
elliothllm
requested review from
eduadiez,
mandrigin and
revitteth
as code owners
February 4, 2026 14:56
There was a problem hiding this comment.
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
OverrideSovereignModeBlockFlagCLI 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.
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.
78a1417