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 ff48ea20de
commit f6beede01b
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,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()),
73 => Some(Inflation::default()),
_ => None,
},
OperatingMode::Stable => match epoch {

View File

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