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.

Required Associated Constants§

source

const VOTERS: [u32; 2]

Range of voters.

source

const TARGETS: [u32; 2]

Range of targets.

source

const ACTIVE_VOTERS: [u32; 2]

Range of active voters.

source

const DESIRED_TARGETS: [u32; 2]

Range of desired targets.

source

const SNAPSHOT_MAXIMUM_VOTERS: u32

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

source

const MINER_MAXIMUM_VOTERS: u32

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

source

const MAXIMUM_TARGETS: u32

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

Implementors§