Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3288,7 +3288,7 @@ impl Bank {
fn reconfigure_token2_native_mint(&mut self) {
let reconfigure_token2_native_mint = match self.operating_mode() {
OperatingMode::Development => true,
OperatingMode::Preview => self.epoch() == 95,
OperatingMode::Preview => self.epoch() == 93,
OperatingMode::Stable => self.epoch() == 75,
};

Expand Down Expand Up @@ -8451,7 +8451,7 @@ mod tests {
1000000000
);

// OperatingMode::Preview - Native mint blinks into existence at epoch 95
// OperatingMode::Preview - Native mint blinks into existence at epoch 93
genesis_config.operating_mode = OperatingMode::Preview;
let bank = Arc::new(Bank::new(&genesis_config));
assert_eq!(
Expand All @@ -8463,7 +8463,7 @@ mod tests {
let bank = Bank::new_from_parent(
&bank,
&Pubkey::default(),
genesis_config.epoch_schedule.get_first_slot_in_epoch(95),
genesis_config.epoch_schedule.get_first_slot_in_epoch(93),
);

let native_mint_account = bank
Expand Down