Skip to content

Conversation

@carllin
Copy link
Contributor

@carllin carllin commented Mar 20, 2025

Problem

  1. When the leader creates the first alpenglow slot during migration, it's possible that they finish migration but the alpenglow slot is not frozen yet. This means the highest frozen bank is still less than the first alpenglow slot
  2. In alpenglow_start_leader(), it's possible that after migration no slot has been notarized yet

Summary of Changes

Remove panicking asserts

Fixes #

@carllin carllin requested review from ksn6 and wen-coding March 20, 2025 04:44
);
}

info!(
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still need info! on line 2376 if we log here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can exit before this line is hit

// We are in full alpenglow mode
let highest_certificate_slot = cert_pool.highest_certificate_slot();
if highest_certificate_slot < first_alpenglow_slot.unwrap() {
// We haven't got a notarization yet for any of the first
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: notarization -> notarization cert

@carllin carllin merged commit 7b7f671 into anza-xyz:master Mar 21, 2025
7 checks passed
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 2, 2025
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.

2 participants