referrerpolicy=no-referrer-when-downgrade

Trait pallet_transaction_storage::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn store(l: u32) -> Weight;
    fn renew() -> Weight;
    fn check_proof_max() -> Weight;
}
Expand description

Weight functions needed for pallet_transaction_storage.

Required Methods§

source

fn store(l: u32) -> Weight

source

fn renew() -> Weight

source

fn check_proof_max() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn store(l: u32) -> Weight

Storage: TransactionStorage::ByteFee (r:1 w:0) Proof: TransactionStorage::ByteFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: TransactionStorage::EntryFee (r:1 w:0) Proof: TransactionStorage::EntryFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Balances::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: TransactionStorage::BlockTransactions (r:1 w:1) Proof: TransactionStorage::BlockTransactions (max_values: Some(1), max_size: Some(36866), added: 37361, mode: MaxEncodedLen) The range of component l is [1, 8388608].

source§

fn renew() -> Weight

Storage: TransactionStorage::Transactions (r:1 w:0) Proof: TransactionStorage::Transactions (max_values: None, max_size: Some(36886), added: 39361, mode: MaxEncodedLen) Storage: TransactionStorage::ByteFee (r:1 w:0) Proof: TransactionStorage::ByteFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: TransactionStorage::EntryFee (r:1 w:0) Proof: TransactionStorage::EntryFee (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen) Storage: Balances::Holds (r:1 w:1) Proof: Balances::Holds (max_values: None, max_size: Some(193), added: 2668, mode: MaxEncodedLen) Storage: TransactionStorage::BlockTransactions (r:1 w:1) Proof: TransactionStorage::BlockTransactions (max_values: Some(1), max_size: Some(36866), added: 37361, mode: MaxEncodedLen)

source§

fn check_proof_max() -> Weight

Storage: TransactionStorage::ProofChecked (r:1 w:1) Proof: TransactionStorage::ProofChecked (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: TransactionStorage::StoragePeriod (r:1 w:0) Proof: TransactionStorage::StoragePeriod (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: TransactionStorage::ChunkCount (r:1 w:0) Proof: TransactionStorage::ChunkCount (max_values: None, max_size: Some(24), added: 2499, mode: MaxEncodedLen) Storage: System::ParentHash (r:1 w:0) Proof: System::ParentHash (max_values: Some(1), max_size: Some(32), added: 527, mode: MaxEncodedLen) Storage: TransactionStorage::Transactions (r:1 w:0) Proof: TransactionStorage::Transactions (max_values: None, max_size: Some(36886), added: 39361, mode: MaxEncodedLen)

Implementors§

source§

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