Skip to main content

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl BenchmarkingConfig for TestBenchmarkingConfig

Available on crate feature std only.