Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit efb6846

Browse files
author
Tyera
authored
Boot solana-test-validator without enable_partitioned_epoch_reward feature (#33146)
1 parent 2cf53b6 commit efb6846

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

validator/src/bin/solana-test-validator.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ use {
1919
account::AccountSharedData,
2020
clock::Slot,
2121
epoch_schedule::EpochSchedule,
22+
feature_set,
2223
native_token::sol_to_lamports,
2324
pubkey::Pubkey,
2425
rent::Rent,
@@ -348,7 +349,9 @@ fn main() {
348349
exit(1);
349350
});
350351

351-
let features_to_deactivate = pubkeys_of(&matches, "deactivate_feature").unwrap_or_default();
352+
let mut features_to_deactivate = pubkeys_of(&matches, "deactivate_feature").unwrap_or_default();
353+
// Remove this when client support is ready for the enable_partitioned_epoch_reward feature
354+
features_to_deactivate.push(feature_set::enable_partitioned_epoch_reward::id());
352355

353356
if TestValidatorGenesis::ledger_exists(&ledger_path) {
354357
for (name, long) in &[

0 commit comments

Comments
 (0)