referrerpolicy=no-referrer-when-downgrade

Trait pallet_staking::BenchmarkingConfig

source ·
pub trait BenchmarkingConfig {
    type MaxValidators: Get<u32>;
    type MaxNominators: Get<u32>;
}
Expand description

Configurations of the benchmarking of the pallet.

Required Associated Types§

source

type MaxValidators: Get<u32>

The maximum number of validators to use.

source

type MaxNominators: Get<u32>

The maximum number of nominators to use.

Implementors§

source§

impl BenchmarkingConfig for TestBenchmarkingConfig

§

type MaxValidators = ConstU32<100>

§

type MaxNominators = ConstU32<100>