-
Notifications
You must be signed in to change notification settings - Fork 85
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] Bump HotShot #2344
Conversation
QuentinI
commented
Dec 2, 2024
•
edited by sveitser
Loading
edited by sveitser
- Updates HotShot with epoch related changes, incleading new Leaf2 and QuorumProposal2 types.
- Moves the Marketplace upgrade to version 0.99 to make room for the Epoch upgrade which will be carried out first.
37a5d77
to
fda4934
Compare
}, | ||
}, | ||
) { | ||
if let Err(err) = consensus.update_leaf(leaf, Arc::clone(&state), delta) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update_saved_leaves
and update_validated_state_map
are now private. I figured update_leaf
should cover the need for both of those
types/src/v0/traits.rs
Outdated
@@ -498,6 +503,7 @@ pub trait SequencerPersistence: Sized + Send + Sync + 'static { | |||
// starting in a view in which we had already voted before the restart, and prevents | |||
// unnecessary catchup from starting in a view earlier than the anchor leaf. | |||
let view = max(highest_voted_view, leaf.view_number()); | |||
let epoch = todo!(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No idea where this should come from. I'd expect there to be Leaf2::epoch_number()
, but that's not a thing.
The tests still hang: block hight is stuck when upgrade happens around view 110.
…-move-marketplace-version
The .git suffix isn't necessary and inconsistency seems to cause Cargo.lock to change in some cases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks okay now. Since many collaborated should have more than a single approval though.
Cargo.toml
Outdated
hotshot-query-service = { git = "https://github.com/EspressoSystems/hotshot-query-service", tag = "0.1.74" } | ||
hotshot-stake-table = { git = "https://github.com/EspressoSystems/hotshot", tag = "0.5.81" } | ||
hotshot-builder-api = { git = "https://github.com/EspressoSystems/hotshot", tag = "rc-0.5.82" } | ||
hotshot-builder-core = { git = "https://github.com/EspressoSystems/marketplace-builder-core", branch = "hotshot/0.5.82" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
point to tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good on the whole, just left some comments
@@ -1265,22 +1249,26 @@ mod api_tests { | |||
&ValidatedState::default(), | |||
&NodeState::mock(), | |||
) | |||
.await, | |||
.await | |||
.to_qc2(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too