This commit is contained in:
Mac L
2024-04-26 12:46:52 +10:00
parent 9897626f13
commit 4c5dd6716f
2 changed files with 19 additions and 13 deletions

View File

@@ -1,4 +1,6 @@
use validator_client::{config::DEFAULT_WEB3SIGNER_KEEP_ALIVE, ApiTopic, BeaconNodeSyncDistanceTiers, Config}; use validator_client::{
config::DEFAULT_WEB3SIGNER_KEEP_ALIVE, ApiTopic, BeaconNodeSyncDistanceTiers, Config,
};
use crate::exec::CommandLineTestExec; use crate::exec::CommandLineTestExec;
use bls::{Keypair, PublicKeyBytes}; use bls::{Keypair, PublicKeyBytes};

View File

@@ -120,18 +120,22 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
.short("c") .short("c")
.long("continue_after_checks") .long("continue_after_checks")
.takes_value(false) .takes_value(false)
.help("Number of validators per client")) .help("Number of validators per client"),
.arg(Arg::with_name("speed_up_factor") )
.short("s") .arg(
.long("speed_up_factor") Arg::with_name("speed_up_factor")
.takes_value(true) .short("s")
.default_value("3") .long("speed_up_factor")
.help("Speed up factor. Please use a divisor of 12.")) .takes_value(true)
.arg(Arg::with_name("continue_after_checks") .default_value("3")
.short("c") .help("Speed up factor. Please use a divisor of 12."),
.long("continue_after_checks") )
.takes_value(false) .arg(
.help("Continue after checks (default false)") Arg::with_name("continue_after_checks")
.short("c")
.long("continue_after_checks")
.takes_value(false)
.help("Continue after checks (default false)")
.help("Continue after checks (default false)"), .help("Continue after checks (default false)"),
), ),
) )