Move forward token2 native mint testnet epoch (#12007)

This commit is contained in:
Ryo Onodera 2020-09-03 15:38:51 +09:00 committed by GitHub
parent 89bca6110a
commit 4b1cb51a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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,
};
@ -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!(
@ -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