test-validator: hold rent constant with --slots-per-epoch (#18318)

(cherry picked from commit 02b14caa5f)

Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
mergify[bot]
2021-06-30 08:37:54 +00:00
committed by GitHub
parent 57f76a2111
commit 2fdda2ec1b
3 changed files with 16 additions and 1 deletions

View File

@@ -69,7 +69,7 @@ impl Default for TestValidatorNodeConfig {
pub struct TestValidatorGenesis {
fee_rate_governor: FeeRateGovernor,
ledger_path: Option<PathBuf>,
rent: Rent,
pub rent: Rent,
rpc_config: JsonRpcConfig,
rpc_ports: Option<(u16, u16)>, // (JsonRpc, JsonRpcPubSub), None == random ports
warp_slot: Option<Slot>,