Skip to content

AZIP-14: Multiple Roots per Epoch in Outbox#33

Open
spalladino wants to merge 1 commit into
AztecProtocol:mainfrom
spalladino:spl/azip-14
Open

AZIP-14: Multiple Roots per Epoch in Outbox#33
spalladino wants to merge 1 commit into
AztecProtocol:mainfrom
spalladino:spl/azip-14

Conversation

@spalladino
Copy link
Copy Markdown
Contributor

This AZIP modifies the L1 Outbox contract so that each epoch can accumulate multiple L2-to-L1 message roots rather than overwriting a single root every time a partial epoch proof is submitted. The nullifier bitmap that tracks consumed messages remains a single bitmap per epoch and is shared across all roots of that epoch. This eliminates a race condition in which a user's L1 exit transaction, built against a partial-proof root, reverts because a later proof for the same epoch has overwritten that root before the user's transaction is mined.

@spalladino spalladino requested a review from a team May 20, 2026 13:36
This AZIP modifies the L1 `Outbox` contract so that each epoch can accumulate multiple L2-to-L1 message roots rather than overwriting a single root every time a partial epoch proof is submitted. The nullifier bitmap that tracks consumed messages remains a single bitmap per epoch and is shared across all roots of that epoch. This eliminates a race condition in which a user's L1 exit transaction, built against a partial-proof root, reverts because a later proof for the same epoch has overwritten that root before the user's transaction is mined.
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.

1 participant