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

[core] Set the no_more_fragments correctly #2715

Merged
merged 5 commits into from
Jun 29, 2022
Merged

Conversation

gdanezis
Copy link
Collaborator

We currently set the no_more_fragments flag only when there is no current proposal in a location where this may never happen, and do not set it when the checkpoint reconstruction succeeds but does not include this validator. In this fix, we now set the no_more_fragments if our two strategies for recovering the checkpoint fail.

@lxfind
Copy link
Contributor

lxfind commented Jun 25, 2022

Thanks! Is there a test that can trigger the no_more_fragments case?

@gdanezis
Copy link
Collaborator Author

Good point -- will add a test!

@gdanezis gdanezis force-pushed the fix-reconstruct-contents branch from 55f1291 to 24ab113 Compare June 29, 2022 08:29
@gdanezis gdanezis merged commit 5c85bef into main Jun 29, 2022
@gdanezis gdanezis deleted the fix-reconstruct-contents branch June 29, 2022 13:06
punwai pushed a commit that referenced this pull request Jun 30, 2022
* Set the `no_more_fragments` correctly
* Added test

Co-authored-by: George Danezis <george@danez.is>
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.

2 participants