From 782a549613c25cb8562f8280bca404ca07563745 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 31 Jul 2020 22:13:23 +0000 Subject: [PATCH] Enable new fork choice on mainnet, 400_000 slots into epoch 61 (#11312) (#11319) Co-authored-by: Carl (cherry picked from commit d7e961dac4d2ff79854c06d90a19f3711ef4d7f5) Co-authored-by: carllin --- 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 951b84ee99..2edfa352e3 100644 --- a/core/src/replay_stage.rs +++ b/core/src/replay_stage.rs @@ -1863,7 +1863,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, } @@ -1872,7 +1873,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, }