referrerpolicy=no-referrer-when-downgrade

BenchmarkingConfig

Trait 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

Available on crate feature std only.
Source§

type MaxValidators = ConstU32<100>

Source§

type MaxNominators = ConstU32<100>