Trait security::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn on_initialize() -> Weight;
    fn activate_counter() -> Weight;
}
Expand description

Weight functions needed for security.

Required Methods§

source

fn on_initialize() -> Weight

source

fn activate_counter() -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn on_initialize() -> Weight

Storage: Security ParachainStatus (r:1 w:0) Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured) Storage: Security ActiveBlockCount (r:1 w:1) Proof Skipped: Security ActiveBlockCount (max_values: Some(1), max_size: None, mode: Measured)

source§

fn activate_counter() -> Weight

Storage: Security ParachainStatus (r:0 w:1) Proof Skipped: Security ParachainStatus (max_values: Some(1), max_size: None, mode: Measured)

Implementors§