Boot solana-test-validator without enable_partitioned_epoch_reward feature (#33146)

This commit is contained in:
Tyera 2023-09-05 15:24:17 -06:00 committed by GitHub
parent 2cf53b6293
commit efb6846fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,7 @@ use {
account::AccountSharedData,
clock::Slot,
epoch_schedule::EpochSchedule,
feature_set,
native_token::sol_to_lamports,
pubkey::Pubkey,
rent::Rent,
@ -348,7 +349,9 @@ fn main() {
exit(1);
});
let features_to_deactivate = pubkeys_of(&matches, "deactivate_feature").unwrap_or_default();
let mut features_to_deactivate = pubkeys_of(&matches, "deactivate_feature").unwrap_or_default();
// Remove this when client support is ready for the enable_partitioned_epoch_reward feature
features_to_deactivate.push(feature_set::enable_partitioned_epoch_reward::id());
if TestValidatorGenesis::ledger_exists(&ledger_path) {
for (name, long) in &[