Skip to main content

register_validators

Function register_validators 

Source
pub async fn register_validators<const NUM_NODES: usize>(
    cfg: &TestConfig<NUM_NODES>,
    stake_table: Address,
    indices: &[usize],
    delegation_config: DelegationConfig,
) -> Result<()>
Expand description

Registers and delegates to a batch of new validators mid-run, funding their L1 accounts from the network’s deployer signer.