referrerpolicy=no-referrer-when-downgrade

Trait pallet_im_online::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required method
    fn validate_unsigned_and_then_heartbeat(k: u32) -> Weight;
}
Expand description

Weight functions needed for pallet_im_online.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn validate_unsigned_and_then_heartbeat(k: u32) -> Weight

Storage: Session::Validators (r:1 w:0) Proof: Session::Validators (max_values: Some(1), max_size: None, mode: Measured) Storage: Session::CurrentIndex (r:1 w:0) Proof: Session::CurrentIndex (max_values: Some(1), max_size: None, mode: Measured) Storage: ImOnline::Keys (r:1 w:0) Proof: ImOnline::Keys (max_values: Some(1), max_size: Some(320002), added: 320497, mode: MaxEncodedLen) Storage: ImOnline::ReceivedHeartbeats (r:1 w:1) Proof: ImOnline::ReceivedHeartbeats (max_values: None, max_size: Some(25), added: 2500, mode: MaxEncodedLen) Storage: ImOnline::AuthoredBlocks (r:1 w:0) Proof: ImOnline::AuthoredBlocks (max_values: None, max_size: Some(56), added: 2531, mode: MaxEncodedLen) The range of component k is [1, 1000].

Implementors§

source§

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