pub trait WeightInfo {
    // Required methods
    fn set_key() -> Weight;
    fn sudo() -> Weight;
    fn sudo_as() -> Weight;
}
Expand description

Weight functions needed for pallet_sudo.

Required Methods§

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_key() -> Weight

Storage: Sudo Key (r:1 w:1) Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)

source§

fn sudo() -> Weight

Storage: Sudo Key (r:1 w:0) Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)

source§

fn sudo_as() -> Weight

Storage: Sudo Key (r:1 w:0) Proof: Sudo Key (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen)

Implementors§