Trait pallet_election_provider_multi_phase::weights::WeightInfo [−][src]
pub trait WeightInfo {
fn on_initialize_nothing() -> Weight;
fn on_initialize_open_signed() -> Weight;
fn on_initialize_open_unsigned_with_snapshot() -> Weight;
fn on_initialize_open_unsigned_without_snapshot() -> Weight;
fn finalize_signed_phase_accept_solution() -> Weight;
fn finalize_signed_phase_reject_solution() -> Weight;
fn elect_queued(v: u32, t: u32, a: u32, d: u32) -> Weight;
fn submit(c: u32) -> Weight;
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32) -> Weight;
fn feasibility_check(v: u32, t: u32, a: u32, d: u32) -> Weight;
}Expand description
Weight functions needed for pallet_election_provider_multi_phase.
Required methods
fn on_initialize_nothing() -> Weightfn on_initialize_open_signed() -> Weight