Push back activation epochs
Effects: - Re-enabling inflation - Nonce FeeCalculator overwrite / RecentBlockhashes sysvar inconsistency fix
This commit is contained in:
committed by
Trent Nelson
parent
5118825fa4
commit
1f8df36b7d
@ -30,7 +30,7 @@ pub fn get_inflation(operating_mode: OperatingMode, epoch: Epoch) -> Option<Infl
|
|||||||
68 => Some(Inflation::new_disabled()),
|
68 => Some(Inflation::new_disabled()),
|
||||||
// Enable again after the inflation fix has landed:
|
// Enable again after the inflation fix has landed:
|
||||||
// https://github.com/solana-labs/solana/commit/7cc2a6801bed29a816ef509cfc26a6f2522e46ff
|
// https://github.com/solana-labs/solana/commit/7cc2a6801bed29a816ef509cfc26a6f2522e46ff
|
||||||
72 => Some(Inflation::default()),
|
74 => Some(Inflation::default()),
|
||||||
_ => None,
|
_ => None,
|
||||||
},
|
},
|
||||||
OperatingMode::Stable => match epoch {
|
OperatingMode::Stable => match epoch {
|
||||||
|
@ -3065,7 +3065,7 @@ impl Bank {
|
|||||||
fn fix_recent_blockhashes_sysvar_delay(&self) -> bool {
|
fn fix_recent_blockhashes_sysvar_delay(&self) -> bool {
|
||||||
let activation_slot = match self.operating_mode() {
|
let activation_slot = match self.operating_mode() {
|
||||||
OperatingMode::Development => 0,
|
OperatingMode::Development => 0,
|
||||||
OperatingMode::Stable => Slot::MAX / 2,
|
OperatingMode::Stable => 26_444_256, // Epoch 74
|
||||||
OperatingMode::Preview => Slot::MAX / 2,
|
OperatingMode::Preview => Slot::MAX / 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user