referrerpolicy=no-referrer-when-downgrade
pallet_bags_list::weights

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn rebag_non_terminal() -> Weight;
    fn rebag_terminal() -> Weight;
    fn put_in_front_of() -> Weight;
}
Expand description

Weight functions needed for pallet_bags_list.

Required Methods§

Source

fn rebag_non_terminal() -> Weight

Source

fn rebag_terminal() -> Weight

Source

fn put_in_front_of() -> Weight

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl WeightInfo for ()

Source§

fn rebag_non_terminal() -> Weight

Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:4 w:4) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:1 w:1) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)

Source§

fn rebag_terminal() -> Weight

Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:3 w:3) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:2 w:2) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)

Source§

fn put_in_front_of() -> Weight

Storage: VoterList::ListNodes (r:4 w:4) Proof: VoterList::ListNodes (max_values: None, max_size: Some(154), added: 2629, mode: MaxEncodedLen) Storage: Staking::Bonded (r:2 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:2 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: VoterList::CounterForListNodes (r:1 w:1) Proof: VoterList::CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:1 w:1) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen)

Implementors§

Source§

impl<T: Config> WeightInfo for SubstrateWeight<T>