Boot solana-test-validator without enable_partitioned_epoch_reward feature (#33146)
This commit is contained in:
parent
2cf53b6293
commit
efb6846fe7
|
@ -19,6 +19,7 @@ use {
|
||||||
account::AccountSharedData,
|
account::AccountSharedData,
|
||||||
clock::Slot,
|
clock::Slot,
|
||||||
epoch_schedule::EpochSchedule,
|
epoch_schedule::EpochSchedule,
|
||||||
|
feature_set,
|
||||||
native_token::sol_to_lamports,
|
native_token::sol_to_lamports,
|
||||||
pubkey::Pubkey,
|
pubkey::Pubkey,
|
||||||
rent::Rent,
|
rent::Rent,
|
||||||
|
@ -348,7 +349,9 @@ fn main() {
|
||||||
exit(1);
|
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) {
|
if TestValidatorGenesis::ledger_exists(&ledger_path) {
|
||||||
for (name, long) in &[
|
for (name, long) in &[
|
||||||
|
|
Loading…
Reference in New Issue