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

Unrealized justification #10659

Merged
merged 39 commits into from
May 27, 2022
Merged

Unrealized justification #10659

merged 39 commits into from
May 27, 2022

Conversation

potuz
Copy link
Contributor

@potuz potuz commented May 8, 2022

This PR implements the core changes to compute unrealized justification and finalization checkpoints.

@potuz potuz requested a review from a team as a code owner May 8, 2022 16:47
@potuz potuz requested review from kasey, rauljordan and terencechain May 8, 2022 16:47
@potuz potuz requested review from rkapka and nisdas as code owners May 19, 2022 20:45
@potuz potuz changed the title [WIP] Unrealized justification Unrealized justification May 20, 2022
return nil, err
}

if err := state.SetPreviousJustifiedCheckpoint(state.CurrentJustifiedCheckpoint()); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line makes me uncomfortable for some reason. The big change with how the spec does it might be why it feels that way. I know technically ComputeCheckpoints is stateless, but I have to think a lot more on if anything breaks with changing the ordering like this.

@prylabs-bulldozer prylabs-bulldozer bot merged commit 3cf385f into develop May 27, 2022
@delete-merged-branch delete-merged-branch bot deleted the unrealized_justification branch May 27, 2022 16:38
@prestonvanloon prestonvanloon mentioned this pull request Nov 18, 2022
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.

4 participants