Skip to content

ensure approval is sent by approving node - #597

Merged
yacovm merged 1 commit into
mainfrom
568
Sep 15, 2026
Merged

yacovm merged 1 commit into
mainfrom
568

Conversation

@samliok

@samliok samliok commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Issue #567 saysmaybePruneApprovals removed the oldest sent approval. But malicious nodes can replay previous approvals sending our validator stale approvals and making us evict legit ones.

This solution ensures that the approvals cannot be replayed because validators will only accept approvals sent by the node creating them.

Closes #567

@yacovm
yacovm merged commit 0383315 into main Sep 15, 2026
7 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.

Replayed stale approvals evict a validator's current approval from the approval store

2 participants