Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interop: check reorgs #11693

Open
protolambda opened this issue Aug 30, 2024 · 0 comments
Open

Interop: check reorgs #11693

protolambda opened this issue Aug 30, 2024 · 0 comments
Labels
A-interop Area: interop

Comments

@protolambda
Copy link
Contributor

protolambda commented Aug 30, 2024

When an L2 block has cross-L2 dependencies, and any of those dependencies is cross-verified but does not match the expected executed message, then we need to reorg.

The local-safe and cross-safe DBs should be rewound to drop the invalidated L1 blocks.
The events DB should rewind such that the remaining L2 blocks are consistent with the local-safe DB (i.e. all history matches the post-reorg local-safe DB, or it's ahead of the last known local-safe L2 block).

The effects of this reorg should be picked up by the op-node, which will also have to follow the reorg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-interop Area: interop
Projects
Status: Backlog
Development

No branches or pull requests

2 participants