From 4c5dd6716f7be9b3bcb2baf95e74a65f2586a900 Mon Sep 17 00:00:00 2001 From: Mac L Date: Fri, 26 Apr 2024 12:46:52 +1000 Subject: [PATCH] wip --- lighthouse/tests/validator_client.rs | 4 +++- testing/simulator/src/cli.rs | 28 ++++++++++++++++------------ 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/lighthouse/tests/validator_client.rs b/lighthouse/tests/validator_client.rs index c785dc24fc..b85af5d2a8 100644 --- a/lighthouse/tests/validator_client.rs +++ b/lighthouse/tests/validator_client.rs @@ -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 bls::{Keypair, PublicKeyBytes}; diff --git a/testing/simulator/src/cli.rs b/testing/simulator/src/cli.rs index 2729815369..0584f15137 100644 --- a/testing/simulator/src/cli.rs +++ b/testing/simulator/src/cli.rs @@ -120,18 +120,22 @@ pub fn cli_app<'a, 'b>() -> App<'a, 'b> { .short("c") .long("continue_after_checks") .takes_value(false) - .help("Number of validators per client")) - .arg(Arg::with_name("speed_up_factor") - .short("s") - .long("speed_up_factor") - .takes_value(true) - .default_value("3") - .help("Speed up factor. Please use a divisor of 12.")) - .arg(Arg::with_name("continue_after_checks") - .short("c") - .long("continue_after_checks") - .takes_value(false) - .help("Continue after checks (default false)") + .help("Number of validators per client"), + ) + .arg( + Arg::with_name("speed_up_factor") + .short("s") + .long("speed_up_factor") + .takes_value(true) + .default_value("3") + .help("Speed up factor. Please use a divisor of 12."), + ) + .arg( + 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)"), ), )