test-validator: hold rent constant with --slots-per-epoch

This commit is contained in:
Trent Nelson
2021-06-09 20:54:13 -06:00
committed by Trent Nelson
parent 9d4428d3d8
commit 02b14caa5f
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>,