Skip to content

Conversation

@samliok
Copy link
Collaborator

@samliok samliok commented Jan 5, 2026

After merging in the replication code we updated our handleNotarizationMessage to accept messages for previous rounds. This can be dangerous because handleNotarization processes the notarization and can call startRound in doNotarization. This is problematic because if we have already called startRound we may run into idompotency issues such as

-- calling monitorProgress twice on a round, potentially causing us to save many duplicate empty votes & empty notarizations to the wal.
-- calling build block twice(not an issue since we guard for this when trying to persist the block, but we do end up building two blocks)

@yacovm yacovm merged commit 6251b6b into main Jan 5, 2026
5 checks passed
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.

3 participants