-
Notifications
You must be signed in to change notification settings - Fork 53
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
Integrate VID Vote and Cert #2004
Conversation
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.
Only a nit comment.
crates/task-impls/src/network.rs
Outdated
MessageKind::<TYPES, I>::from_consensus_message(SequencingMessage(Right( | ||
CommitteeConsensusMessage::VidVote(vote.clone()), | ||
))), | ||
TransmitType::Direct, | ||
Some(membership.get_leader(vote.get_view())), // TODO who is VID leader? https://github.com/EspressoSystems/HotShot/issues/1699 | ||
Some(membership.get_leader(vote.get_view_number())), // TODO who is VID leader? https://github.com/EspressoSystems/HotShot/issues/1699 |
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.
Nit: We could remove this TODO since the linked issue has been closed.
.unwrap() | ||
.unwrap(); | ||
let vid_vote = vid_exchange.create_vid_message(block.commit(), ViewNumber::new(2), vote_token); | ||
let vid_vote = VIDVote2::create_signed_vote( |
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.
So nice that the vote token + message creation are now combined into one function. 👍
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.
Closes: #2013