Push back activation epochs

Effects:
- Re-enabling inflation
- Nonce FeeCalculator overwrite / RecentBlockhashes sysvar inconsistency fix
This commit is contained in:
Trent Nelson 2020-07-22 13:54:17 -06:00 committed by Trent Nelson
parent 5118825fa4
commit 1f8df36b7d
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ pub fn get_inflation(operating_mode: OperatingMode, epoch: Epoch) -> Option<Infl
68 => Some(Inflation::new_disabled()),
// Enable again after the inflation fix has landed:
// https://github.com/solana-labs/solana/commit/7cc2a6801bed29a816ef509cfc26a6f2522e46ff
72 => Some(Inflation::default()),
74 => Some(Inflation::default()),
_ => None,
},
OperatingMode::Stable => match epoch {

View File

@ -3065,7 +3065,7 @@ impl Bank {
fn fix_recent_blockhashes_sysvar_delay(&self) -> bool {
let activation_slot = match self.operating_mode() {
OperatingMode::Development => 0,
OperatingMode::Stable => Slot::MAX / 2,
OperatingMode::Stable => 26_444_256, // Epoch 74
OperatingMode::Preview => Slot::MAX / 2,
};