Trait pallet_auto_id::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn register_issuer_auto_id() -> Weight;
    fn register_leaf_auto_id() -> Weight;
    fn revoke_issuer_auto_id() -> Weight;
    fn revoke_leaf_auto_id() -> Weight;
    fn deactivate_auto_id() -> Weight;
    fn renew_issuer_auto_id() -> Weight;
    fn renew_leaf_auto_id() -> Weight;
}
Expand description

Weight functions needed for pallet_auto_id.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn register_issuer_auto_id() -> Weight

Storage: Timestamp::Now (r:1 w:0) Proof: Timestamp::Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: AutoId::AutoIds (r:1 w:1) Proof: AutoId::AutoIds (max_values: None, max_size: None, mode: Measured)

source§

fn register_leaf_auto_id() -> Weight

Storage: Timestamp::Now (r:1 w:0) Proof: Timestamp::Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: AutoId::AutoIds (r:2 w:2) Proof: AutoId::AutoIds (max_values: None, max_size: None, mode: Measured) Storage: AutoId::CertificateRevocationList (r:1 w:0) Proof: AutoId::CertificateRevocationList (max_values: None, max_size: None, mode: Measured)

source§

fn revoke_issuer_auto_id() -> Weight

Storage: AutoId::AutoIds (r:1 w:1) Proof: AutoId::AutoIds (max_values: None, max_size: None, mode: Measured) Storage: AutoId::CertificateRevocationList (r:1 w:1) Proof: AutoId::CertificateRevocationList (max_values: None, max_size: None, mode: Measured)

source§

fn revoke_leaf_auto_id() -> Weight

Storage: AutoId::AutoIds (r:2 w:1) Proof: AutoId::AutoIds (max_values: None, max_size: None, mode: Measured) Storage: AutoId::CertificateRevocationList (r:1 w:1) Proof: AutoId::CertificateRevocationList (max_values: None, max_size: None, mode: Measured)

source§

fn deactivate_auto_id() -> Weight

Storage: AutoId::AutoIds (r:1 w:1) Proof: AutoId::AutoIds (max_values: None, max_size: None, mode: Measured)

source§

fn renew_issuer_auto_id() -> Weight

Storage: Timestamp::Now (r:1 w:0) Proof: Timestamp::Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: AutoId::AutoIds (r:1 w:1) Proof: AutoId::AutoIds (max_values: None, max_size: None, mode: Measured) Storage: AutoId::CertificateRevocationList (r:1 w:1) Proof: AutoId::CertificateRevocationList (max_values: None, max_size: None, mode: Measured)

source§

fn renew_leaf_auto_id() -> Weight

Storage: Timestamp::Now (r:1 w:0) Proof: Timestamp::Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) Storage: AutoId::AutoIds (r:2 w:2) Proof: AutoId::AutoIds (max_values: None, max_size: None, mode: Measured) Storage: AutoId::CertificateRevocationList (r:1 w:1) Proof: AutoId::CertificateRevocationList (max_values: None, max_size: None, mode: Measured)

Implementors§

source§

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