Trait pallet_election_provider_multi_phase::BenchmarkingConfig[][src]

pub trait BenchmarkingConfig {
    const VOTERS: [u32; 2];
    const TARGETS: [u32; 2];
    const ACTIVE_VOTERS: [u32; 2];
    const DESIRED_TARGETS: [u32; 2];
    const SNAPSHOT_MAXIMUM_VOTERS: u32;
    const MINER_MAXIMUM_VOTERS: u32;
    const MAXIMUM_TARGETS: u32;
}
Expand description

Configuration for the benchmarks of the pallet.

Associated Constants

Range of voters.

Range of targets.

Range of active voters.

Range of desired targets.

Maximum number of voters expected. This is used only for memory-benchmarking of snapshot.

Maximum number of voters expected. This is used only for memory-benchmarking of miner.

Maximum number of targets expected. This is used only for memory-benchmarking.

Implementations on Foreign Types

Implementors