From d7e961dac4d2ff79854c06d90a19f3711ef4d7f5 Mon Sep 17 00:00:00 2001 From: carllin Date: Fri, 31 Jul 2020 13:37:58 -0700 Subject: [PATCH] Enable new fork choice on mainnet, 400_000 slots into epoch 61 (#11312) Co-authored-by: Carl --- core/src/replay_stage.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/src/replay_stage.rs b/core/src/replay_stage.rs index 39a756151873e0..c87c66e0ead7b5 100644 --- a/core/src/replay_stage.rs +++ b/core/src/replay_stage.rs @@ -1860,7 +1860,8 @@ impl ReplayStage { pub fn get_unlock_switch_vote_slot(operating_mode: OperatingMode) -> Slot { match operating_mode { OperatingMode::Development => 0, - OperatingMode::Stable => std::u64::MAX / 2, + // 400_000 slots into epoch 61 + OperatingMode::Stable => 26_752_000, // Epoch 63 OperatingMode::Preview => 21_692_256, } @@ -1869,7 +1870,8 @@ impl ReplayStage { pub fn get_unlock_heaviest_subtree_fork_choice(operating_mode: OperatingMode) -> Slot { match operating_mode { OperatingMode::Development => 0, - OperatingMode::Stable => std::u64::MAX / 2, + // 400_000 slots into epoch 61 + OperatingMode::Stable => 26_752_000, // Epoch 63 OperatingMode::Preview => 21_692_256, }