Skip to content

Conversation

@0xPraedico
Copy link

Problem

With Alpenglow votes don't actually land as transactions on chain. These checks are obsolete.

Summary of Changes

  • Removed has_new_vote_been_rooted checks
  • Removed voted_signatures tracking

Fixes #237

jstarry and others added 30 commits March 12, 2025 20:27
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]>
if !has_new_vote_been_rooted {
info!("Haven't landed a vote, so skipping my leader slot");
return false;
}
Copy link
Contributor

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

@AshwinSekar
Copy link
Contributor

@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
Copy link
Contributor

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
Copy link
Contributor

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

@waldrobi
Copy link

waldrobi commented Sep 8, 2025

Is this PR still needed?
Can we close if not

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.

Remove has_new_vote_been_rooted and voted_signatures logic