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

Weight functions needed for iroha_migration.

Required Methods§

source

fn migrate() -> Weight

source

fn on_initialize() -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn migrate() -> Weight

Storage: IrohaMigration MigratedAccounts (r:1 w:1) Proof Skipped: IrohaMigration MigratedAccounts (max_values: None, max_size: None, mode: Measured) Storage: IrohaMigration PublicKeys (r:1 w:1) Proof Skipped: IrohaMigration PublicKeys (max_values: None, max_size: None, mode: Measured) Storage: IrohaMigration Balances (r:1 w:1) Proof Skipped: IrohaMigration Balances (max_values: None, max_size: None, mode: Measured) Storage: Technical TechAccounts (r:1 w:0) Proof Skipped: Technical TechAccounts (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:2 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(136), added: 2611, mode: MaxEncodedLen) Storage: System Account (r:2 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: IrohaMigration Referrers (r:1 w:0) Proof Skipped: IrohaMigration Referrers (max_values: None, max_size: None, mode: Measured) Storage: IrohaMigration PendingReferrals (r:1 w:0) Proof Skipped: IrohaMigration PendingReferrals (max_values: None, max_size: None, mode: Measured)

source§

fn on_initialize() -> Weight

Storage: IrohaMigration PendingMultiSigAccounts (r:2 w:1) Proof Skipped: IrohaMigration PendingMultiSigAccounts (max_values: None, max_size: None, mode: Measured) Storage: IrohaMigration Quorums (r:1 w:1) Proof Skipped: IrohaMigration Quorums (max_values: None, max_size: None, mode: Measured) Storage: IrohaMigration Balances (r:1 w:1) Proof Skipped: IrohaMigration Balances (max_values: None, max_size: None, mode: Measured) Storage: Technical TechAccounts (r:1 w:0) Proof Skipped: Technical TechAccounts (max_values: None, max_size: None, mode: Measured) Storage: Tokens Accounts (r:2 w:2) Proof: Tokens Accounts (max_values: None, max_size: Some(136), added: 2611, mode: MaxEncodedLen) Storage: System Account (r:2 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: IrohaMigration Referrers (r:1 w:0) Proof Skipped: IrohaMigration Referrers (max_values: None, max_size: None, mode: Measured) Storage: IrohaMigration PendingReferrals (r:1 w:0) Proof Skipped: IrohaMigration PendingReferrals (max_values: None, max_size: None, mode: Measured) Storage: IrohaMigration MigratedAccounts (r:0 w:1) Proof Skipped: IrohaMigration MigratedAccounts (max_values: None, max_size: None, mode: Measured) Storage: IrohaMigration PublicKeys (r:0 w:1) Proof Skipped: IrohaMigration PublicKeys (max_values: None, max_size: None, mode: Measured)

Implementors§

source§

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