Function pallet_staking::benchmarking::create_validator_with_nominators[][src]

pub fn create_validator_with_nominators<T: Config>(
    n: u32,
    upper_bound: u32,
    dead: bool,
    destination: RewardDestination<T::AccountId>
) -> Result<(T::AccountId, Vec<(T::AccountId, T::AccountId)>), &'static str>