referrerpolicy=no-referrer-when-downgrade

Trait pallet_fast_unstake::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn on_idle_unstake(b: u32) -> Weight;
    fn on_idle_check(v: u32, b: u32) -> Weight;
    fn register_fast_unstake() -> Weight;
    fn deregister() -> Weight;
    fn control() -> Weight;
}
Expand description

Weight functions needed for pallet_fast_unstake.

Required Methods§

source

fn on_idle_unstake(b: u32) -> Weight

source

fn on_idle_check(v: u32, b: u32) -> Weight

source

fn register_fast_unstake() -> Weight

source

fn deregister() -> Weight

source

fn control() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn on_idle_unstake(b: u32) -> Weight

Storage: FastUnstake::ErasToCheckPerBlock (r:1 w:0) Proof: FastUnstake::ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::ValidatorCount (r:1 w:0) Proof: Staking::ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: FastUnstake::Head (r:1 w:1) Proof: FastUnstake::Head (max_values: Some(1), max_size: Some(5768), added: 6263, mode: MaxEncodedLen) Storage: FastUnstake::CounterForQueue (r:1 w:0) Proof: FastUnstake::CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: ElectionProviderMultiPhase::CurrentPhase (r:1 w:0) Proof: ElectionProviderMultiPhase::CurrentPhase (max_values: Some(1), max_size: None, mode: Measured) Storage: Staking::CurrentEra (r:1 w:0) Proof: Staking::CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::SlashingSpans (r:64 w:0) Proof: Staking::SlashingSpans (max_values: None, max_size: None, mode: Measured) Storage: Staking::Bonded (r:64 w:64) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:64 w:64) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Staking::VirtualStakers (r:64 w:64) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Balances::Locks (r:64 w:64) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:64 w:0) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: System::Account (r:64 w:64) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Staking::Validators (r:64 w:0) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) Storage: Staking::Nominators (r:64 w:0) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) Storage: Staking::Payee (r:0 w:64) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) The range of component b is [1, 64].

source§

fn on_idle_check(v: u32, b: u32) -> Weight

Storage: FastUnstake::ErasToCheckPerBlock (r:1 w:0) Proof: FastUnstake::ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::ValidatorCount (r:1 w:0) Proof: Staking::ValidatorCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: FastUnstake::Head (r:1 w:1) Proof: FastUnstake::Head (max_values: Some(1), max_size: Some(5768), added: 6263, mode: MaxEncodedLen) Storage: FastUnstake::CounterForQueue (r:1 w:0) Proof: FastUnstake::CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: ElectionProviderMultiPhase::CurrentPhase (r:1 w:0) Proof: ElectionProviderMultiPhase::CurrentPhase (max_values: Some(1), max_size: None, mode: Measured) Storage: Staking::CurrentEra (r:1 w:0) Proof: Staking::CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::ErasStakers (r:1 w:0) Proof: Staking::ErasStakers (max_values: None, max_size: None, mode: Measured) Storage: Staking::ErasStakersPaged (r:257 w:0) Proof: Staking::ErasStakersPaged (max_values: None, max_size: None, mode: Measured) The range of component v is [1, 256]. The range of component b is [1, 64].

source§

fn register_fast_unstake() -> Weight

Storage: FastUnstake::ErasToCheckPerBlock (r:1 w:0) Proof: FastUnstake::ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: FastUnstake::Queue (r:1 w:1) Proof: FastUnstake::Queue (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) Storage: FastUnstake::Head (r:1 w:0) Proof: FastUnstake::Head (max_values: Some(1), max_size: Some(5768), added: 6263, mode: MaxEncodedLen) Storage: Staking::Validators (r:1 w:0) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) Storage: Staking::Nominators (r:1 w:1) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) Storage: Staking::CounterForNominators (r:1 w:1) Proof: Staking::CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:1 w:1) 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) Storage: VoterList::CounterForListNodes (r:1 w:1) Proof: VoterList::CounterForListNodes (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::CurrentEra (r:1 w:0) Proof: Staking::CurrentEra (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::VirtualStakers (r:1 w:0) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:1) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Balances::Freezes (r:1 w:0) Proof: Balances::Freezes (max_values: None, max_size: Some(67), added: 2542, mode: MaxEncodedLen) Storage: FastUnstake::CounterForQueue (r:1 w:1) Proof: FastUnstake::CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn deregister() -> Weight

Storage: FastUnstake::ErasToCheckPerBlock (r:1 w:0) Proof: FastUnstake::ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(1091), added: 3566, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: FastUnstake::Queue (r:1 w:1) Proof: FastUnstake::Queue (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) Storage: FastUnstake::Head (r:1 w:0) Proof: FastUnstake::Head (max_values: Some(1), max_size: Some(5768), added: 6263, mode: MaxEncodedLen) Storage: FastUnstake::CounterForQueue (r:1 w:1) Proof: FastUnstake::CounterForQueue (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

source§

fn control() -> Weight

Storage: FastUnstake::ErasToCheckPerBlock (r:0 w:1) Proof: FastUnstake::ErasToCheckPerBlock (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

Implementors§

source§

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