async fn create_validator_set(
        &self,
        num_validators: u32,
        num_fullnodes_per_validator: u32,
        image_tag: &str,
        config_overrides: Vec<String>,
        delete_data: bool,
    ) -> Result<()> {
        let validators = (0..num_validators).map(|i| {
            let validator_config = ValidatorConfig {
                index: i,
                num_validators,
                num_fullnodes: num_fullnodes_per_validator,
                image_tag: image_tag.to_string(),
                config_overrides: config_overrides.clone(),
            };
            self.upsert_node(Validator(validator_config), delete_data)
        });
        try_join_all(validators).await?;
        Ok(())
    }
/// Creates a set of validators with the given `image_tag`
Creates a set of validators with the given `image_tag`
Creates a set of validators with the given ` image_tag `
async fn create_validator_set(
        &self,
        num_validators: u32,
        num_fullnodes_per_validator: u32,
        image_tag: &str,
        config_overrides: Vec<String>,
        delete_data: bool,
    ) -> Result<()> {
        let validators = (0..num_validators).map(|i| {
            let validator_config = ValidatorConfig {
                index: i,
                num_validators,
                num_fullnodes: num_fullnodes_per_validator,
                image_tag: image_tag.to_string(),
                config_overrides: config_overrides.clone(),
            };
            self.upsert_node(Validator(validator_config), delete_data)
        });
        try_join_all(validators).await?;
        Ok(())
    }
async fn create_validator_set ( & self , num_validators : u32 , num_fullnodes_per_validator : u32 , image_tag : & str , config_overrides : Vec < String > , delete_data : bool , ) -> Result < ( ) > { let validators = ( 0 .. num_validators ) . map ( | i | { let validator_config = ValidatorConfig { index : i , num_validators , num_fullnodes : num_fullnodes_per_validator , image_tag : image_tag . to_string ( ) , config_overrides : config_overrides . clone ( ) , } ; self . upsert_node ( Validator ( validator_config ) , delete_data ) } ) ; try_join_all ( validators ) . await ? ; Ok ( ( ) ) }
Creates a set of validators with the given `image_tag`
Creates a set of validators with the given ` image_tag `
&self
num_validators
u32
num_fullnodes_per_validator
u32
image_tag
&str
config_overrides
Vec<String>
delete_data
bool
&self
num_validators
u32
num_fullnodes_per_validator
u32
image_tag
&str
config_overrides
Vec<String>
delete_data
bool