-
Notifications
You must be signed in to change notification settings - Fork 42
Remove has_new_vote_been_rooted and voted_signatures #245
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
base: master
Are you sure you want to change the base?
Conversation
Fix master errors (anza-xyz#52)
PohService needs to set `use_alpenglow_tick_producer` flag on startup (anza-xyz#59)
Co-authored-by: yihau <[email protected]> Co-authored-by: carllin <[email protected]> Co-authored-by: Ashwin Sekar <[email protected]>
…all fashion. (anza-xyz#69) Co-authored-by: yihau <[email protected]> Co-authored-by: carllin <[email protected]> Co-authored-by: Ashwin Sekar <[email protected]>
Co-authored-by: carllin <[email protected]>
Co-authored-by: carllin <[email protected]>
| if !has_new_vote_been_rooted { | ||
| info!("Haven't landed a vote, so skipping my leader slot"); | ||
| return false; | ||
| } |
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.
Wait, I think we will also use the Alpenglow repo to test migration code later, so shouldn't we try to not touch TowerBFT code?
Also, the transition from transaction to BLS message hasn't happened yet, I'm trying to do it in #214
|
@0xPraedico These checks should only be removed from the voting and block creation loop. Please leave replay stage untouched. Thanks! |
| return Err(StartLeaderError::StartupVerificationIncomplete(parent_slot)); | ||
| } | ||
|
|
||
| // TODO(ashwin): plug this in from replay |
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.
lets also remove wait_for_vote_to_start_leader from this file
| } else { | ||
| context.voted_signatures.clear(); | ||
| } | ||
| // No-op: we don't store voted_signatures anymore |
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.
Remove this comment, and lets also remove has_new_vote_been_rooted and voted_signatures from the voting context
|
Is this PR still needed? |
Problem
With Alpenglow votes don't actually land as transactions on chain. These checks are obsolete.
Summary of Changes
Fixes #237