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

[WEEKLY RELEASE] HotShot - rc-0.5.77 #2109

Merged
merged 13 commits into from
Oct 8, 2024
Merged

[WEEKLY RELEASE] HotShot - rc-0.5.77 #2109

merged 13 commits into from
Oct 8, 2024

Conversation

lukeiannucci
Copy link
Contributor

@lukeiannucci lukeiannucci commented Oct 3, 2024

Weekly Release

This PR:

Weekly merge include:
1.) File changes for the Vote Commitment for UTs to pass (see #2111)
2.) Libp2p refactoring
3.) Adding table to store upgrade certificate that hotshot is able to load after a restart. Add a test to ensure we can store/load the upgrade certificate.

This PR does not:

Key places to review:

@lukeiannucci lukeiannucci changed the title start [WEEKLY RELEASE] HotShot - rc-0.5.77 Oct 3, 2024
Copy link
Contributor

@ss-es ss-es left a comment

Choose a reason for hiding this comment

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

After adding the methods to the SequencerPersistence trait, I think you'll just need to update sequencer/src/persistence/ to implement them. Someone from the sequencer could probably help with this

types/src/v0/traits.rs Outdated Show resolved Hide resolved
types/src/v0/traits.rs Outdated Show resolved Hide resolved
@lukeiannucci lukeiannucci marked this pull request as ready for review October 7, 2024 21:17
))
}

async fn store_upgrade_certificate(
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should add some tests for this:

  1. to verify that storing and loading works
  2. to verify that we store at most 1 upgrade certificate
  3. to verify that cleanup works

@imabdulbasit can you advise @lukeiannucci on how to add these tests.

@lukeiannucci lukeiannucci merged commit 05800f0 into main Oct 8, 2024
16 checks passed
@lukeiannucci lukeiannucci deleted the hotshot/rc-0.5.77 branch October 8, 2024 22:53
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.

5 participants