Skip to content

Commit d7e961d

Browse files
authored
Enable new fork choice on mainnet, 400_000 slots into epoch 61 (solana-labs#11312)
Co-authored-by: Carl <carl@solana.com>
1 parent c421d7f commit d7e961d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/replay_stage.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1860,7 +1860,8 @@ impl ReplayStage {
18601860
pub fn get_unlock_switch_vote_slot(operating_mode: OperatingMode) -> Slot {
18611861
match operating_mode {
18621862
OperatingMode::Development => 0,
1863-
OperatingMode::Stable => std::u64::MAX / 2,
1863+
// 400_000 slots into epoch 61
1864+
OperatingMode::Stable => 26_752_000,
18641865
// Epoch 63
18651866
OperatingMode::Preview => 21_692_256,
18661867
}
@@ -1869,7 +1870,8 @@ impl ReplayStage {
18691870
pub fn get_unlock_heaviest_subtree_fork_choice(operating_mode: OperatingMode) -> Slot {
18701871
match operating_mode {
18711872
OperatingMode::Development => 0,
1872-
OperatingMode::Stable => std::u64::MAX / 2,
1873+
// 400_000 slots into epoch 61
1874+
OperatingMode::Stable => 26_752_000,
18731875
// Epoch 63
18741876
OperatingMode::Preview => 21_692_256,
18751877
}

0 commit comments

Comments
 (0)