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

[ZKS-04] Do not perform GC on bootup #3144

Merged
merged 1 commit into from Mar 4, 2024
Merged

Conversation

raychu86
Copy link
Contributor

@raychu86 raychu86 commented Mar 4, 2024

Motivation

This PR just updates the commit_leader_certificate function to not perform GC during the bootup sync, as it should only be performing garbage collection during actual BFT consensus.

Audit Finding: [zksecurity 04] Garbage Collection Can Block Commits From Happening

@howardwu
Copy link
Member

howardwu commented Mar 4, 2024

Please note that this one-liner is an addendum to PR #3117.

@howardwu howardwu merged commit 82f7518 into mainnet Mar 4, 2024
0 of 24 checks passed
@howardwu howardwu deleted the fix/no-gc-on-bootup branch March 4, 2024 00:10
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.

None yet

2 participants