Skip to content

op-supernode: never rewind over finalized head#19109

Merged
geoknee merged 3 commits intodevelopfrom
gk/panic-on-rewind-of-finalized
Feb 9, 2026
Merged

op-supernode: never rewind over finalized head#19109
geoknee merged 3 commits intodevelopfrom
gk/panic-on-rewind-of-finalized

Conversation

@geoknee
Copy link
Contributor

@geoknee geoknee commented Feb 6, 2026

Closes #19066

Instead of a panic, this condition actually triggers a sentinel critical error. This means that the virtual node will effectively crash (or refuse to come back up), while the rest of the supernode can continue running.

@geoknee geoknee added the A-op-supernode Area: op-supernode label Feb 6, 2026
@geoknee geoknee self-assigned this Feb 6, 2026
@geoknee geoknee changed the title Update RewindFinalizedHeadBackward test to expect panic op-supernode: panic instead of rewinding over finalized head Feb 6, 2026
@geoknee geoknee changed the title op-supernode: panic instead of rewinding over finalized head op-supernode: never rewind over finalized head Feb 6, 2026
@geoknee geoknee marked this pull request as ready for review February 6, 2026 11:35
@geoknee geoknee requested review from a team as code owners February 6, 2026 11:35
@geoknee geoknee requested review from axelKingsley and mds1 February 6, 2026 11:35
Copy link
Contributor

@axelKingsley axelKingsley left a comment

Choose a reason for hiding this comment

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

lgtm

@axelKingsley axelKingsley added this pull request to the merge queue Feb 6, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 6, 2026
* Update RewindFinalizedHeadBackward test to expect panic

* Fix rewind test finalized block reference

* Use error handling instead of panic
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 6, 2026
@geoknee geoknee added this pull request to the merge queue Feb 6, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 6, 2026
@geoknee geoknee added this pull request to the merge queue Feb 9, 2026
Merged via the queue into develop with commit 68b81dd Feb 9, 2026
79 checks passed
@geoknee geoknee deleted the gk/panic-on-rewind-of-finalized branch February 9, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-op-supernode Area: op-supernode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

op-supervisor: consider panic if rewind would affect finalized

2 participants