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

Trait WeightInfo

Source
pub trait WeightInfo {
Show 34 methods // Required methods fn bond() -> Weight; fn bond_extra() -> Weight; fn unbond() -> Weight; fn withdraw_unbonded_update() -> Weight; fn withdraw_unbonded_kill() -> Weight; fn validate() -> Weight; fn kick(k: u32) -> Weight; fn nominate(n: u32) -> Weight; fn chill() -> Weight; fn set_payee() -> Weight; fn update_payee() -> Weight; fn set_controller() -> Weight; fn set_validator_count() -> Weight; fn force_no_eras() -> Weight; fn force_new_era() -> Weight; fn force_new_era_always() -> Weight; fn set_invulnerables(v: u32) -> Weight; fn deprecate_controller_batch(u: u32) -> Weight; fn force_unstake() -> Weight; fn cancel_deferred_slash(s: u32) -> Weight; fn payout_stakers_alive_staked(n: u32) -> Weight; fn rebond(l: u32) -> Weight; fn reap_stash() -> Weight; fn set_staking_configs_all_set() -> Weight; fn set_staking_configs_all_remove() -> Weight; fn chill_other() -> Weight; fn force_apply_min_commission() -> Weight; fn set_min_commission() -> Weight; fn restore_ledger() -> Weight; fn migrate_currency() -> Weight; fn apply_slash() -> Weight; fn process_offence_queue() -> Weight; fn rc_on_offence(v: u32) -> Weight; fn rc_on_session_report() -> Weight;
}
Expand description

Weight functions needed for pallet_staking_async.

Required Methods§

Source

fn bond() -> Weight

Source

fn bond_extra() -> Weight

Source

fn unbond() -> Weight

Source

fn withdraw_unbonded_update() -> Weight

Source

fn withdraw_unbonded_kill() -> Weight

Source

fn validate() -> Weight

Source

fn kick(k: u32) -> Weight

Source

fn nominate(n: u32) -> Weight

Source

fn chill() -> Weight

Source

fn set_payee() -> Weight

Source

fn update_payee() -> Weight

Source

fn set_controller() -> Weight

Source

fn set_validator_count() -> Weight

Source

fn force_no_eras() -> Weight

Source

fn force_new_era() -> Weight

Source

fn force_new_era_always() -> Weight

Source

fn set_invulnerables(v: u32) -> Weight

Source

fn deprecate_controller_batch(u: u32) -> Weight

Source

fn force_unstake() -> Weight

Source

fn cancel_deferred_slash(s: u32) -> Weight

Source

fn payout_stakers_alive_staked(n: u32) -> Weight

Source

fn rebond(l: u32) -> Weight

Source

fn reap_stash() -> Weight

Source

fn set_staking_configs_all_set() -> Weight

Source

fn set_staking_configs_all_remove() -> Weight

Source

fn chill_other() -> Weight

Source

fn force_apply_min_commission() -> Weight

Source

fn set_min_commission() -> Weight

Source

fn restore_ledger() -> Weight

Source

fn migrate_currency() -> Weight

Source

fn apply_slash() -> Weight

Source

fn process_offence_queue() -> Weight

Source

fn rc_on_offence(v: u32) -> Weight

Source

fn rc_on_session_report() -> 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 bond() -> Weight

Storage: Staking::Bonded (r:1 w:1) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: Staking::Payee (r:0 w:1) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)

Source§

fn bond_extra() -> 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:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, 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::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, 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 unbond() -> Weight

Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::Nominators (r:1 w:0) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) Storage: Staking::MinNominatorBond (r:1 w:0) Proof: Staking::MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, 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::Holds (r:1 w:0) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, 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::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, 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 withdraw_unbonded_update() -> Weight

Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::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::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: NominationPools::ReversePoolIdLookup (r:1 w:0) Proof: NominationPools::ReversePoolIdLookup (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) Storage: DelegatedStaking::Agents (r:1 w:0) Proof: DelegatedStaking::Agents (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen)

Source§

fn withdraw_unbonded_kill() -> Weight

Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:1) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, 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:1) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Balances::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, 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::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:2 w:2) 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::Payee (r:0 w:1) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)

Source§

fn validate() -> Weight

Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::MinValidatorBond (r:1 w:0) Proof: Staking::MinValidatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Staking::MinCommission (r:1 w:0) Proof: Staking::MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Validators (r:1 w:1) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) Storage: Staking::MaxValidatorsCount (r:1 w:0) Proof: Staking::MaxValidatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Nominators (r:1 w:0) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) Storage: VoterList::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, 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::CounterForValidators (r:1 w:1) Proof: Staking::CounterForValidators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)

Source§

fn kick(k: u32) -> Weight

Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::Nominators (r:128 w:128) Proof: Staking::Nominators (max_values: None, max_size: Some(558), added: 3033, mode: MaxEncodedLen) The range of component k is [1, 128].

Source§

fn nominate(n: u32) -> Weight

Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::MinNominatorBond (r:1 w:0) Proof: Staking::MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, 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::MaxNominatorsCount (r:1 w:0) Proof: Staking::MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Validators (r:17 w:0) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, 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: VoterList::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:2 w:2) 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::CounterForNominators (r:1 w:1) Proof: Staking::CounterForNominators (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) The range of component n is [1, 16].

Source§

fn chill() -> Weight

Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:2 w:2) 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)

Source§

fn set_payee() -> Weight

Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::Payee (r:0 w:1) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)

Source§

fn update_payee() -> Weight

Storage: Staking::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::Payee (r:1 w:1) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)

Source§

fn set_controller() -> Weight

Storage: Staking::Bonded (r:1 w:1) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:2 w:2) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, mode: MaxEncodedLen)

Source§

fn set_validator_count() -> Weight

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

Source§

fn force_no_eras() -> Weight

Storage: Staking::ForceEra (r:0 w:1) Proof: Staking::ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)

Source§

fn force_new_era() -> Weight

Storage: Staking::ForceEra (r:0 w:1) Proof: Staking::ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)

Source§

fn force_new_era_always() -> Weight

Storage: Staking::ForceEra (r:0 w:1) Proof: Staking::ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)

Source§

fn set_invulnerables(_v: u32) -> Weight

Storage: Staking::Invulnerables (r:0 w:1) Proof: Staking::Invulnerables (max_values: Some(1), max_size: Some(641), added: 1136, mode: MaxEncodedLen) The range of component v is [0, 20].

Source§

fn deprecate_controller_batch(u: u32) -> Weight

Storage: Staking::Ledger (r:1502 w:1502) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, mode: MaxEncodedLen) Storage: Staking::Bonded (r:751 w:751) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Payee (r:751 w:0) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) The range of component u is [0, 751].

Source§

fn force_unstake() -> Weight

Storage: Staking::Bonded (r:1 w:1) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, mode: MaxEncodedLen) Storage: Staking::VirtualStakers (r:1 w:1) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Balances::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: System::Account (r:1 w:1) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, 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::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:2 w:2) 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::Payee (r:0 w:1) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)

Source§

fn cancel_deferred_slash(s: u32) -> Weight

Storage: Staking::UnappliedSlashes (r:1000 w:1000) Proof: Staking::UnappliedSlashes (max_values: None, max_size: Some(3231), added: 5706, mode: MaxEncodedLen) The range of component s is [1, 1000].

Source§

fn payout_stakers_alive_staked(n: u32) -> Weight

Storage: Staking::ErasStakersOverview (r:1 w:0) Proof: Staking::ErasStakersOverview (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: Staking::ClaimedRewards (r:1 w:1) Proof: Staking::ClaimedRewards (max_values: None, max_size: Some(85), added: 2560, 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::ErasValidatorReward (r:1 w:0) Proof: Staking::ErasValidatorReward (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) Storage: Staking::Bonded (r:65 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:65 w:65) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, mode: MaxEncodedLen) Storage: System::Account (r:65 w:65) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Staking::VirtualStakers (r:65 w:0) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Balances::Holds (r:65 w:65) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: UNKNOWN KEY 0x6f320d44e42312c78638e6c92dff65af (r:1 w:0) Proof: UNKNOWN KEY 0x6f320d44e42312c78638e6c92dff65af (r:1 w:0) Storage: UNKNOWN KEY 0xa143099d7a337c5fd879b91b2b157c2d (r:1 w:0) Proof: UNKNOWN KEY 0xa143099d7a337c5fd879b91b2b157c2d (r:1 w:0) Storage: Staking::ErasStakersPaged (r:1 w:0) Proof: Staking::ErasStakersPaged (max_values: None, max_size: Some(3152), added: 5627, mode: MaxEncodedLen) Storage: Staking::ErasRewardPoints (r:1 w:0) Proof: Staking::ErasRewardPoints (max_values: None, max_size: Some(36018), added: 38493, mode: MaxEncodedLen) Storage: Staking::ErasValidatorPrefs (r:1 w:0) Proof: Staking::ErasValidatorPrefs (max_values: None, max_size: Some(57), added: 2532, mode: MaxEncodedLen) Storage: Staking::Payee (r:65 w:0) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen) The range of component n is [0, 64].

Source§

fn rebond(_l: u32) -> Weight

Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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::VirtualStakers (r:1 w:0) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Balances::Holds (r:1 w:0) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, 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::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, mode: MaxEncodedLen) Storage: VoterList::ListBags (r:2 w:2) Proof: VoterList::ListBags (max_values: None, max_size: Some(82), added: 2557, mode: MaxEncodedLen) The range of component l is [1, 32].

Source§

fn reap_stash() -> Weight

Storage: Staking::VirtualStakers (r:1 w:1) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:1) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, mode: MaxEncodedLen) Storage: Balances::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, 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::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:2 w:2) 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::Payee (r:0 w:1) Proof: Staking::Payee (max_values: None, max_size: Some(73), added: 2548, mode: MaxEncodedLen)

Source§

fn set_staking_configs_all_set() -> Weight

Storage: Staking::MinCommission (r:0 w:1) Proof: Staking::MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::MinValidatorBond (r:0 w:1) Proof: Staking::MinValidatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Staking::MaxValidatorsCount (r:0 w:1) Proof: Staking::MaxValidatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::MaxStakedRewards (r:0 w:1) Proof: Staking::MaxStakedRewards (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: Staking::ChillThreshold (r:0 w:1) Proof: Staking::ChillThreshold (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: Staking::MaxNominatorsCount (r:0 w:1) Proof: Staking::MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::MinNominatorBond (r:0 w:1) Proof: Staking::MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

Source§

fn set_staking_configs_all_remove() -> Weight

Storage: Staking::MinCommission (r:0 w:1) Proof: Staking::MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::MinValidatorBond (r:0 w:1) Proof: Staking::MinValidatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Staking::MaxValidatorsCount (r:0 w:1) Proof: Staking::MaxValidatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::MaxStakedRewards (r:0 w:1) Proof: Staking::MaxStakedRewards (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: Staking::ChillThreshold (r:0 w:1) Proof: Staking::ChillThreshold (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: Staking::MaxNominatorsCount (r:0 w:1) Proof: Staking::MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::MinNominatorBond (r:0 w:1) Proof: Staking::MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

Source§

fn chill_other() -> 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(753), added: 3228, 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::ChillThreshold (r:1 w:0) Proof: Staking::ChillThreshold (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: Staking::MaxNominatorsCount (r:1 w:0) Proof: Staking::MaxNominatorsCount (max_values: Some(1), max_size: Some(4), added: 499, 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: Staking::MinNominatorBond (r:1 w:0) Proof: Staking::MinNominatorBond (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Staking::Validators (r:1 w:0) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen) Storage: VoterList::Lock (r:1 w:0) Proof: VoterList::Lock (max_values: Some(1), max_size: Some(0), added: 495, mode: MaxEncodedLen) Storage: VoterList::ListNodes (r:2 w:2) 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)

Source§

fn force_apply_min_commission() -> Weight

Storage: Staking::MinCommission (r:1 w:0) Proof: Staking::MinCommission (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::Validators (r:1 w:1) Proof: Staking::Validators (max_values: None, max_size: Some(45), added: 2520, mode: MaxEncodedLen)

Source§

fn set_min_commission() -> Weight

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

Source§

fn restore_ledger() -> Weight

Storage: System::Account (r:1 w:0) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, 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::Holds (r:1 w:0) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: Balances::Locks (r:1 w:0) Proof: Balances::Locks (max_values: None, max_size: Some(1299), added: 3774, mode: MaxEncodedLen) Storage: Staking::Bonded (r:1 w:1) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:1 w:1) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, mode: MaxEncodedLen)

Source§

fn migrate_currency() -> Weight

Storage: Staking::VirtualStakers (r:1 w:0) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, 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::Ledger (r:1 w:0) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, 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(85), added: 2560, mode: MaxEncodedLen) Storage: Balances::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen)

Source§

fn apply_slash() -> Weight

Storage: Staking::ActiveEra (r:1 w:0) Proof: Staking::ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen) Storage: Staking::UnappliedSlashes (r:1 w:1) Proof: Staking::UnappliedSlashes (max_values: None, max_size: Some(3231), added: 5706, mode: MaxEncodedLen) Storage: Staking::Bonded (r:65 w:0) Proof: Staking::Bonded (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::Ledger (r:65 w:65) Proof: Staking::Ledger (max_values: None, max_size: Some(753), added: 3228, mode: MaxEncodedLen) Storage: NominationPools::ReversePoolIdLookup (r:65 w:0) Proof: NominationPools::ReversePoolIdLookup (max_values: None, max_size: Some(44), added: 2519, mode: MaxEncodedLen) Storage: DelegatedStaking::Agents (r:65 w:65) Proof: DelegatedStaking::Agents (max_values: None, max_size: Some(120), added: 2595, mode: MaxEncodedLen) Storage: System::Account (r:65 w:65) Proof: System::Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Staking::VirtualStakers (r:65 w:0) Proof: Staking::VirtualStakers (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: Balances::Holds (r:65 w:65) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen)

Source§

fn process_offence_queue() -> Weight

Storage: Staking::ProcessingOffence (r:1 w:1) Proof: Staking::ProcessingOffence (max_values: Some(1), max_size: Some(85), added: 580, mode: MaxEncodedLen) Storage: Staking::OffenceQueueEras (r:1 w:1) Proof: Staking::OffenceQueueEras (max_values: Some(1), max_size: Some(9), added: 504, mode: MaxEncodedLen) Storage: Staking::OffenceQueue (r:2 w:1) Proof: Staking::OffenceQueue (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) Storage: Staking::SlashRewardFraction (r:1 w:0) Proof: Staking::SlashRewardFraction (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::ErasStakersOverview (r:1 w:0) Proof: Staking::ErasStakersOverview (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: Staking::ErasStakersPaged (r:1 w:0) Proof: Staking::ErasStakersPaged (max_values: None, max_size: Some(3152), added: 5627, mode: MaxEncodedLen) Storage: Staking::NominatorSlashInEra (r:64 w:64) Proof: Staking::NominatorSlashInEra (max_values: None, max_size: Some(68), added: 2543, mode: MaxEncodedLen) Storage: Staking::UnappliedSlashes (r:0 w:1) Proof: Staking::UnappliedSlashes (max_values: None, max_size: Some(3231), added: 5706, mode: MaxEncodedLen)

Source§

fn rc_on_offence(v: u32) -> Weight

Storage: Staking::ActiveEra (r:1 w:0) Proof: Staking::ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen) Storage: Staking::BondedEras (r:1 w:0) Proof: Staking::BondedEras (max_values: Some(1), max_size: Some(25), added: 520, mode: MaxEncodedLen) Storage: Staking::Invulnerables (r:1 w:0) Proof: Staking::Invulnerables (max_values: Some(1), max_size: Some(641), added: 1136, mode: MaxEncodedLen) Storage: Staking::ErasStakersOverview (r:500 w:0) Proof: Staking::ErasStakersOverview (max_values: None, max_size: Some(92), added: 2567, mode: MaxEncodedLen) Storage: Staking::ValidatorSlashInEra (r:500 w:500) Proof: Staking::ValidatorSlashInEra (max_values: None, max_size: Some(72), added: 2547, mode: MaxEncodedLen) Storage: Staking::OffenceQueue (r:500 w:500) Proof: Staking::OffenceQueue (max_values: None, max_size: Some(101), added: 2576, mode: MaxEncodedLen) Storage: Staking::OffenceQueueEras (r:1 w:1) Proof: Staking::OffenceQueueEras (max_values: Some(1), max_size: Some(9), added: 504, mode: MaxEncodedLen) The range of component v is [2, 500].

Source§

fn rc_on_session_report() -> Weight

Storage: Staking::ActiveEra (r:1 w:1) Proof: Staking::ActiveEra (max_values: Some(1), max_size: Some(13), added: 508, mode: MaxEncodedLen) Storage: Staking::ErasRewardPoints (r:1 w:1) Proof: Staking::ErasRewardPoints (max_values: None, max_size: Some(36018), added: 38493, 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::ErasTotalStake (r:1 w:0) Proof: Staking::ErasTotalStake (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) Storage: Staking::MaxStakedRewards (r:1 w:0) Proof: Staking::MaxStakedRewards (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: Staking::BondedEras (r:1 w:1) Proof: Staking::BondedEras (max_values: Some(1), max_size: Some(25), added: 520, mode: MaxEncodedLen) Storage: Staking::ForceEra (r:1 w:0) Proof: Staking::ForceEra (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: Staking::VoterSnapshotStatus (r:0 w:1) Proof: Staking::VoterSnapshotStatus (max_values: Some(1), max_size: Some(33), added: 528, mode: MaxEncodedLen) Storage: Staking::ErasValidatorReward (r:0 w:1) Proof: Staking::ErasValidatorReward (max_values: None, max_size: Some(28), added: 2503, mode: MaxEncodedLen) Storage: Staking::NextElectionPage (r:0 w:1) Proof: Staking::NextElectionPage (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: Staking::ElectableStashes (r:0 w:1) Proof: Staking::ElectableStashes (max_values: Some(1), max_size: Some(32002), added: 32497, mode: MaxEncodedLen)

Implementors§

Source§

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