Trait pallet_collator_selection::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn set_invulnerables(_b: u32) -> Weight;
fn add_invulnerable(_b: u32, _c: u32) -> Weight;
fn remove_invulnerable(_b: u32) -> Weight;
fn set_desired_candidates() -> Weight;
fn set_candidacy_bond(_c: u32, _k: u32) -> Weight;
fn register_as_candidate(_c: u32) -> Weight;
fn leave_intent(_c: u32) -> Weight;
fn update_bond(_c: u32) -> Weight;
fn take_candidate_slot(_c: u32) -> Weight;
fn note_author() -> Weight;
fn new_session(_c: u32, _r: u32) -> Weight;
}
Required Methods§
fn set_invulnerables(_b: u32) -> Weight
fn add_invulnerable(_b: u32, _c: u32) -> Weight
fn remove_invulnerable(_b: u32) -> Weight
fn set_desired_candidates() -> Weight
fn set_candidacy_bond(_c: u32, _k: u32) -> Weight
fn register_as_candidate(_c: u32) -> Weight
fn leave_intent(_c: u32) -> Weight
fn update_bond(_c: u32) -> Weight
fn take_candidate_slot(_c: u32) -> Weight
fn new_session(_c: u32, _r: u32) -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn add_invulnerable(b: u32, c: u32) -> Weight
fn add_invulnerable(b: u32, c: u32) -> Weight
Storage: Session NextKeys (r:1 w:0)
Proof Skipped: Session NextKeys (max_values: None, max_size: None, mode: Measured)
Storage: CollatorSelection Invulnerables (r:1 w:1)
Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(641), added:
1136, mode: MaxEncodedLen) Storage: CollatorSelection Candidates (r:1 w:1)
Proof: CollatorSelection Candidates (max_values: Some(1), max_size: Some(4802), added: 5297,
mode: MaxEncodedLen) Storage: System Account (r:1 w:1)
Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode:
MaxEncodedLen) The range of component b
is [1, 19]
.
The range of component c
is [1, 99]
.
source§fn remove_invulnerable(b: u32) -> Weight
fn remove_invulnerable(b: u32) -> Weight
Storage: CollatorSelection Invulnerables (r:1 w:1)
Proof: CollatorSelection Invulnerables (max_values: Some(1), max_size: Some(3202), added:
3697, mode: MaxEncodedLen) The range of component b
is [1, 100]
.