Skip to content

Commit

Permalink
Boot solana-test-validator without enable_partitioned_epoch_reward fe…
Browse files Browse the repository at this point in the history
…ature (#33146)
  • Loading branch information
Tyera authored Sep 5, 2023
1 parent 2cf53b6 commit efb6846
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion validator/src/bin/solana-test-validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ use {
account::AccountSharedData,
clock::Slot,
epoch_schedule::EpochSchedule,
feature_set,
native_token::sol_to_lamports,
pubkey::Pubkey,
rent::Rent,
Expand Down Expand Up @@ -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 &[
Expand Down

0 comments on commit efb6846

Please sign in to comment.