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

Store upgrade certificate on decide and load on restart #3679

Merged
merged 8 commits into from
Sep 25, 2024

Conversation

ss-es
Copy link
Contributor

@ss-es ss-es commented Sep 16, 2024

This PR:

  • Adds a new method to Storage which the sequencer will be required to implement, allowing us to store upgrade certificates persistently through restarts.
  • Requires the sequencer provide the stored certificate to us in the HotShotInitializer, which we will then load into consensus (if it is valid for our version of HotShot).

This PR does not:

Key places to review:

@ss-es ss-es marked this pull request as ready for review September 20, 2024 16:02
@ss-es ss-es requested a review from bfish713 as a code owner September 20, 2024 16:02
@ss-es ss-es enabled auto-merge (squash) September 20, 2024 16:12
@lukaszrzasik
Copy link
Contributor

Looks good to me. Should we retry the tests or something is really wrong?

@ss-es
Copy link
Contributor Author

ss-es commented Sep 23, 2024

Looks good to me. Should we retry the tests or something is really wrong?

Running the failed tests again! I'm not particularly worried since they were different tests, and one of them was fixed in a separate PR (lowering the nonempty block threshold from 90% to 80%). The other one was a failure that I've seen on a few PRs, but since only the tokio dependency-tasks version failed I think it's just a timing issue

@ss-es ss-es merged commit 735c71b into main Sep 25, 2024
35 of 36 checks passed
@ss-es ss-es deleted the ss/upgrade-restart-fix branch September 25, 2024 16:11
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