Skip to content

Conversation

@frisitano
Copy link
Collaborator

@frisitano frisitano commented Dec 23, 2025

Overview

This PR introduces a feature that allows the node operator to revert the state of the rollup node to a specified L1 block number via an RPC invocation rollupNodeAdmin_revertToL1Block. This is useful if the rollup node database has entered an invalid state. Reverting to the specified L1 block number will put the rollup node back into syncing status, it will revert the safe block in the fork choice state, but it will not revert the chain head and instead will enter into optimistic mode. Once the watcher has resynced to the L1 chain tip from the specified block, the chain orchestrator will then complete consolidation again and reconcile the optimistic chain with the indexed data.

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 23, 2025

CodSpeed Performance Report

Merging #463 will not alter performance

Comparing feat/unwind-l1-block (d15b533) with main (c4927d6)

Summary

✅ 2 untouched

@frisitano frisitano merged commit 6f497e8 into main Dec 24, 2025
15 checks passed
@frisitano frisitano deleted the feat/unwind-l1-block branch December 24, 2025 15:32
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