Struct pallet_fast_unstake::weights::SubstrateWeight
source · pub struct SubstrateWeight<T>(_);
Expand description
Weights for pallet_fast_unstake using the Substrate node and recommended hardware.
Trait Implementations§
source§impl<T: Config> WeightInfo for SubstrateWeight<T>
impl<T: Config> WeightInfo for SubstrateWeight<T>
source§fn on_idle_unstake(b: u32) -> Weight
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 Skipped: 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 Skipped: 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 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: System Account (r:64 w:64)
Proof: System Account (max_values: None, max_size: Some(128), added: 2603, 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(49), added: 2524, mode: MaxEncodedLen)
Storage: Staking Ledger (r:0 w:64)
Proof: Staking Ledger (max_values: None, max_size: Some(1091), added: 3566, 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
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 Skipped: 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:257 w:0)
Proof Skipped: Staking ErasStakers (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
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: 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 Bonded (r:1 w:0) Proof: Staking Bonded (max_values: None, max_size: Some(72), added: 2547, 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: 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(49), added: 2524, 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
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: 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)
Auto Trait Implementations§
impl<T> RefUnwindSafe for SubstrateWeight<T>where T: RefUnwindSafe,
impl<T> Send for SubstrateWeight<T>where T: Send,
impl<T> Sync for SubstrateWeight<T>where T: Sync,
impl<T> Unpin for SubstrateWeight<T>where T: Unpin,
impl<T> UnwindSafe for SubstrateWeight<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
T
. Read more§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
T
.