Files
pezkuwi-subxt/substrate/frame/contracts/src/weights.rs
T
Juan fef9723d65 Jg/13643 contracts migrate to fungible traits (#14020)
* contracts: refactor currency to use fungible traits

* contracts: refactor currency to use fungible traits

* contracts: add minor improvements

* contracts: max holds config set

* contracts: fix some typos

* contracts: map token errors

* fix typo

* contracts: add 0 balance transfer to test

* contracts: not transfer if value is zero

* contracts: [WIP] add StorageDepositHold

* contracts: add storage deposit held event

* contracts: clean up some code and comments

* contracts: add deposit storage released event

* contracts: update comment

* contracts: update slash cannot kill account test

* contracts: fix tests

* contracts: add some comments to the slashing test

* contracts: add some comments to the slashing test

* contracts: remove references to Currency

* contracts: do not transfer if from equals to

* bound BalanceOf<T>

* added FixedPointOperand to Balance trait

* move migrate sequence to config

* remove commented out code

* Update frame/contracts/src/lib.rs

Co-authored-by: PG Herveou <pgherveou@gmail.com>

* remove Migrations generic

* make runtime use noop migrations

* restrict is_upgrade_supported

* undo is_upgrade_supported change

* Update bin/node/runtime/src/lib.rs

Co-authored-by: PG Herveou <pgherveou@gmail.com>

* add rust doc example for `Migrations`

* feature gate NoopMigration

* fix example code

* improve example

* wip

* remove FixedPointOperand from trait

* trait bound BalanceOf

* more trait bound BalanceOf

* update to use RuntimeHoldReason

* replace Fungible for Currency

* update runtime

* WIP

* make v10 benchmark generic over currency

* solve merge conflicts

* make v12 migration benchmarking generic over DepositPerItem and DepositPerByte

* give some format

* fix tests and old migrations

* add migration v13 placholder

* wip

* wip

* add benchmarking

* add weights

* wip

* [pallet_collective] Enforce prime is a valid member of collective in set_members extrinsic (#14354)

* Updated set_members extrinsic to enforce prime is valid member of collective

* Added additional tests for set_members extrinsic

* applied the code review suggestions

* update to docify 0.2.0 / crate-relative embed paths (#14570)

* Fix Society v2 migration (#14421)

* fix society v2 migration

* Update frame/society/src/migrations.rs

* Update frame/society/src/migrations.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

* Update frame/society/src/migrations.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

* update for versioned upgrade

* fix society v2 migration

* remove references to members being sorted from commnets

* fix type

* fix can_migrate check

* add sanity log

* fix sanity check

* kick ci

* kick ci

* run tests with --experimental flag

* versioned migration cleanup

* revert pipeline change

* use defensive!

* semicolons

* defensive and doc comment

* address pr comment

* feature gate the versioned migration

* defensive_unwrap_or

* fix test

* fix doc comment

* change defensive to a log warning

* remove can_migrate anti-pattern

* Update frame/society/Cargo.toml

Co-authored-by: Bastian Köcher <git@kchr.de>

* add experimental feature warning to doc comment

* update doc comment

* bump ci

* kick ci

* kick ci

* kick ci

---------

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Co-authored-by: Bastian Köcher <git@kchr.de>

* Moves `Block` to `frame_system` instead of `construct_runtime` and removes `Header` and `BlockNumber` (#14437)

* Initial setup

* Adds node block

* Uses UncheckedExtrinsic and removes Where section

* Updates frame_system to use Block

* Adds deprecation warning

* Fixes pallet-timestamp

* Removes Header and BlockNumber

* Addresses review comments

* Addresses review comments

* Adds comment about compiler bug

* Removes where clause

* Refactors code

* Fixes errors in cargo check

* Fixes errors in cargo check

* Fixes warnings in cargo check

* Formatting

* Fixes construct_runtime tests

* Uses import instead of full path for BlockNumber

* Uses import instead of full path for Header

* Formatting

* Fixes construct_runtime tests

* Fixes imports in benchmarks

* Formatting

* Fixes construct_runtime tests

* Formatting

* Minor updates

* Fixes construct_runtime ui tests

* Fixes construct_runtime ui tests with 1.70

* Fixes docs

* Fixes docs

* Adds u128 mock block type

* Fixes split example

* fixes for cumulus

* ".git/.scripts/commands/fmt/fmt.sh"

* Updates new tests

* Fixes fully-qualified path in few places

* Formatting

* Update frame/examples/default-config/src/lib.rs

Co-authored-by: Juan <juangirini@gmail.com>

* Update frame/support/procedural/src/construct_runtime/mod.rs

Co-authored-by: Juan <juangirini@gmail.com>

* ".git/.scripts/commands/fmt/fmt.sh"

* Addresses some review comments

* Fixes build

* ".git/.scripts/commands/fmt/fmt.sh"

* Update frame/democracy/src/lib.rs

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update frame/democracy/src/lib.rs

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update frame/support/procedural/src/construct_runtime/mod.rs

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update frame/support/procedural/src/construct_runtime/mod.rs

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Addresses review comments

* Updates trait bounds

* Minor fix

* ".git/.scripts/commands/fmt/fmt.sh"

* Removes unnecessary bound

* ".git/.scripts/commands/fmt/fmt.sh"

* Updates test

* Fixes build

* Adds a bound for header

* ".git/.scripts/commands/fmt/fmt.sh"

* Removes where block

* Minor fix

* Minor fix

* Fixes tests

* ".git/.scripts/commands/update-ui/update-ui.sh" 1.70

* Updates test

* Update primitives/runtime/src/traits.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

* Update primitives/runtime/src/traits.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

* Updates doc

* Updates doc

---------

Co-authored-by: command-bot <>
Co-authored-by: Juan <juangirini@gmail.com>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>

* Refactor the asset-conversion-tx-payment pallet (#14558)

* Code refactoring

* Fix imports

* Typo

* Update frame/asset-conversion/src/types.rs

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

* Sync docs

---------

Co-authored-by: parity-processbot <>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

* wip

* wip

* wip

* improve try-runtime imports

* fix benchmark test

* improved rustdocs

* improved rustdocs

* remove log

* ignore variable

* reduce caller funding

* move v13 out

* update v13 migration

* v13 migration

* benchmark v13_migration

* fix broken compilation

* ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts

* remove all the `where BalanceOf`

* add Balance to Config

* improve docs

* add new deposit storage error

* remove todo message

* rename migration v13 pre rebase

* fix tests

* add missing migration;

* bump storage version

* apply review suggestions

* improved comment

* remove unnecessary code

* simplify migrations

* mock balance

* mock more for benchmarks

* fix benchmarking tests

* fix benchmarking tests with caller

* improve cargo toml

* solve nit

* Update frame/contracts/src/lib.rs

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* Update frame/contracts/src/exec.rs

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* Update frame/contracts/src/exec.rs

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* Update frame/contracts/src/storage/meter.rs

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* review improvements

* remove extra events

* update cargo

* undo update cargo

* review updates

* remove type Balance

* add extra fields to events

* fix zepter ci

---------

Co-authored-by: PG Herveou <pgherveou@gmail.com>
Co-authored-by: Toufeeq Pasha <47236805+ToufeeqP@users.noreply.github.com>
Co-authored-by: Sam Johnson <sam@durosoft.com>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com>
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: gupnik <17176722+gupnik@users.noreply.github.com>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Jegor Sidorenko <5252494+jsidorenko@users.noreply.github.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: command-bot <>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
2023-08-02 13:51:31 +00:00

3874 lines
225 KiB
Rust
Generated

// This file is part of Substrate.
// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `pallet_contracts`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-07-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-ynta1nyy-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! EXECUTION: ``, WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
// Executed Command:
// target/production/substrate-node
// benchmark
// pallet
// --steps=50
// --repeat=20
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/substrate/.git/.artifacts/bench.json
// --pallet=pallet_contracts
// --chain=dev
// --header=./HEADER-APACHE2
// --output=./frame/contracts/src/weights.rs
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
#![allow(missing_docs)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use core::marker::PhantomData;
/// Weight functions needed for `pallet_contracts`.
pub trait WeightInfo {
fn on_process_deletion_queue_batch() -> Weight;
fn on_initialize_per_trie_key(k: u32, ) -> Weight;
fn v9_migration_step(c: u32, ) -> Weight;
fn v10_migration_step() -> Weight;
fn v11_migration_step(k: u32, ) -> Weight;
fn v12_migration_step(c: u32, ) -> Weight;
fn v13_migration_step() -> Weight;
fn v14_migration_step() -> Weight;
fn migration_noop() -> Weight;
fn migrate() -> Weight;
fn on_runtime_upgrade_noop() -> Weight;
fn on_runtime_upgrade_in_progress() -> Weight;
fn on_runtime_upgrade() -> Weight;
fn call_with_code_per_byte(c: u32, ) -> Weight;
fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight;
fn instantiate(i: u32, s: u32, ) -> Weight;
fn call() -> Weight;
fn upload_code(c: u32, ) -> Weight;
fn remove_code() -> Weight;
fn set_code() -> Weight;
fn seal_caller(r: u32, ) -> Weight;
fn seal_is_contract(r: u32, ) -> Weight;
fn seal_code_hash(r: u32, ) -> Weight;
fn seal_own_code_hash(r: u32, ) -> Weight;
fn seal_caller_is_origin(r: u32, ) -> Weight;
fn seal_caller_is_root(r: u32, ) -> Weight;
fn seal_address(r: u32, ) -> Weight;
fn seal_gas_left(r: u32, ) -> Weight;
fn seal_balance(r: u32, ) -> Weight;
fn seal_value_transferred(r: u32, ) -> Weight;
fn seal_minimum_balance(r: u32, ) -> Weight;
fn seal_block_number(r: u32, ) -> Weight;
fn seal_now(r: u32, ) -> Weight;
fn seal_weight_to_fee(r: u32, ) -> Weight;
fn seal_input(r: u32, ) -> Weight;
fn seal_input_per_byte(n: u32, ) -> Weight;
fn seal_return(r: u32, ) -> Weight;
fn seal_return_per_byte(n: u32, ) -> Weight;
fn seal_terminate(r: u32, ) -> Weight;
fn seal_random(r: u32, ) -> Weight;
fn seal_deposit_event(r: u32, ) -> Weight;
fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32, ) -> Weight;
fn seal_debug_message(r: u32, ) -> Weight;
fn seal_debug_message_per_byte(i: u32, ) -> Weight;
fn seal_set_storage(r: u32, ) -> Weight;
fn seal_set_storage_per_new_byte(n: u32, ) -> Weight;
fn seal_set_storage_per_old_byte(n: u32, ) -> Weight;
fn seal_clear_storage(r: u32, ) -> Weight;
fn seal_clear_storage_per_byte(n: u32, ) -> Weight;
fn seal_get_storage(r: u32, ) -> Weight;
fn seal_get_storage_per_byte(n: u32, ) -> Weight;
fn seal_contains_storage(r: u32, ) -> Weight;
fn seal_contains_storage_per_byte(n: u32, ) -> Weight;
fn seal_take_storage(r: u32, ) -> Weight;
fn seal_take_storage_per_byte(n: u32, ) -> Weight;
fn seal_transfer(r: u32, ) -> Weight;
fn seal_call(r: u32, ) -> Weight;
fn seal_delegate_call(r: u32, ) -> Weight;
fn seal_call_per_transfer_clone_byte(t: u32, c: u32, ) -> Weight;
fn seal_instantiate(r: u32, ) -> Weight;
fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight;
fn seal_hash_sha2_256(r: u32, ) -> Weight;
fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight;
fn seal_hash_keccak_256(r: u32, ) -> Weight;
fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight;
fn seal_hash_blake2_256(r: u32, ) -> Weight;
fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight;
fn seal_hash_blake2_128(r: u32, ) -> Weight;
fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight;
fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight;
fn seal_sr25519_verify(r: u32, ) -> Weight;
fn seal_ecdsa_recover(r: u32, ) -> Weight;
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight;
fn seal_set_code_hash(r: u32, ) -> Weight;
fn add_delegate_dependency(r: u32, ) -> Weight;
fn remove_delegate_dependency(r: u32, ) -> Weight;
fn seal_reentrance_count(r: u32, ) -> Weight;
fn seal_account_reentrance_count(r: u32, ) -> Weight;
fn seal_instantiation_nonce(r: u32, ) -> Weight;
fn instr_i64const(r: u32, ) -> Weight;
}
/// Weights for `pallet_contracts` using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Storage: `Contracts::DeletionQueueCounter` (r:1 w:0)
/// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
fn on_process_deletion_queue_batch() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `1627`
// Minimum execution time: 2_527_000 picoseconds.
Weight::from_parts(2_651_000, 1627)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `k` is `[0, 1024]`.
fn on_initialize_per_trie_key(k: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `451 + k * (69 ±0)`
// Estimated: `441 + k * (70 ±0)`
// Minimum execution time: 13_291_000 picoseconds.
Weight::from_parts(13_825_000, 441)
// Standard Error: 1_137
.saturating_add(Weight::from_parts(1_244_309, 0).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
/// The range of component `c` is `[0, 125952]`.
fn v9_migration_step(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `211 + c * (1 ±0)`
// Estimated: `6149 + c * (1 ±0)`
// Minimum execution time: 8_359_000 picoseconds.
Weight::from_parts(9_179_121, 6149)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_312, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
}
/// Storage: `Contracts::ContractInfoOf` (r:3 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
fn v10_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `709`
// Estimated: `9124`
// Minimum execution time: 42_457_000 picoseconds.
Weight::from_parts(44_556_000, 9124)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::DeletionQueue` (r:1 w:1025)
/// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
/// Storage: `Contracts::DeletionQueueCounter` (r:0 w:1)
/// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// The range of component `k` is `[0, 1024]`.
fn v11_migration_step(k: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `171 + k * (1 ±0)`
// Estimated: `3635 + k * (1 ±0)`
// Minimum execution time: 3_839_000 picoseconds.
Weight::from_parts(3_462_337, 3635)
// Standard Error: 1_384
.saturating_add(Weight::from_parts(1_166_522, 0).saturating_mul(k.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into()))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:0 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// The range of component `c` is `[0, 125952]`.
fn v12_migration_step(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `325 + c * (1 ±0)`
// Estimated: `6263 + c * (1 ±0)`
// Minimum execution time: 17_001_000 picoseconds.
Weight::from_parts(17_095_380, 6263)
// Standard Error: 1
.saturating_add(Weight::from_parts(411, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
}
/// Storage: `Contracts::ContractInfoOf` (r:3 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
fn v13_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `639`
// Estimated: `9054`
// Minimum execution time: 35_342_000 picoseconds.
Weight::from_parts(36_839_000, 9054)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
fn v14_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `260`
// Estimated: `6200`
// Minimum execution time: 27_995_000 picoseconds.
Weight::from_parts(28_661_000, 6200)
.saturating_add(T::DbWeight::get().reads(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
fn migration_noop() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `1627`
// Minimum execution time: 3_272_000 picoseconds.
Weight::from_parts(3_553_000, 1627)
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
fn migrate() -> Weight {
// Proof Size summary in bytes:
// Measured: `166`
// Estimated: `3631`
// Minimum execution time: 12_788_000 picoseconds.
Weight::from_parts(13_163_000, 3631)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
fn on_runtime_upgrade_noop() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3607`
// Minimum execution time: 4_794_000 picoseconds.
Weight::from_parts(5_086_000, 3607)
.saturating_add(T::DbWeight::get().reads(1_u64))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
fn on_runtime_upgrade_in_progress() -> Weight {
// Proof Size summary in bytes:
// Measured: `167`
// Estimated: `3632`
// Minimum execution time: 6_616_000 picoseconds.
Weight::from_parts(7_034_000, 3632)
.saturating_add(T::DbWeight::get().reads(2_u64))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
fn on_runtime_upgrade() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3607`
// Minimum execution time: 6_985_000 picoseconds.
Weight::from_parts(7_477_000, 3607)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `c` is `[0, 125952]`.
fn call_with_code_per_byte(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `783`
// Estimated: `6732 + c * (1 ±0)`
// Minimum execution time: 306_088_000 picoseconds.
Weight::from_parts(268_361_911, 6732)
// Standard Error: 76
.saturating_add(Weight::from_parts(38_334, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::EventTopics` (r:3 w:3)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::Account` (r:2 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:0 w:1)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// The range of component `c` is `[0, 125952]`.
/// The range of component `i` is `[0, 1048576]`.
/// The range of component `s` is `[0, 1048576]`.
fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `303`
// Estimated: `8745`
// Minimum execution time: 4_224_657_000 picoseconds.
Weight::from_parts(451_557_864, 8745)
// Standard Error: 216
.saturating_add(Weight::from_parts(111_761, 0).saturating_mul(c.into()))
// Standard Error: 26
.saturating_add(Weight::from_parts(1_794, 0).saturating_mul(i.into()))
// Standard Error: 26
.saturating_add(Weight::from_parts(2_013, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(9_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::Account` (r:2 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[0, 1048576]`.
/// The range of component `s` is `[0, 1048576]`.
fn instantiate(i: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `527`
// Estimated: `6517`
// Minimum execution time: 2_029_313_000 picoseconds.
Weight::from_parts(353_077_600, 6517)
// Standard Error: 8
.saturating_add(Weight::from_parts(1_781, 0).saturating_mul(i.into()))
// Standard Error: 8
.saturating_add(Weight::from_parts(1_729, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn call() -> Weight {
// Proof Size summary in bytes:
// Measured: `817`
// Estimated: `6757`
// Minimum execution time: 204_086_000 picoseconds.
Weight::from_parts(216_738_000, 6757)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::EventTopics` (r:1 w:1)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:0 w:1)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// The range of component `c` is `[0, 125952]`.
fn upload_code(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3607`
// Minimum execution time: 269_337_000 picoseconds.
Weight::from_parts(220_186_006, 3607)
// Standard Error: 106
.saturating_add(Weight::from_parts(74_291, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::EventTopics` (r:1 w:1)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:0 w:1)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
fn remove_code() -> Weight {
// Proof Size summary in bytes:
// Measured: `259`
// Estimated: `3724`
// Minimum execution time: 35_127_000 picoseconds.
Weight::from_parts(36_180_000, 3724)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:2)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::EventTopics` (r:3 w:3)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn set_code() -> Weight {
// Proof Size summary in bytes:
// Measured: `576`
// Estimated: `8991`
// Minimum execution time: 37_550_000 picoseconds.
Weight::from_parts(39_149_000, 8991)
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_caller(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `857 + r * (6 ±0)`
// Estimated: `6798 + r * (6 ±0)`
// Minimum execution time: 269_991_000 picoseconds.
Weight::from_parts(293_993_592, 6798)
// Standard Error: 665
.saturating_add(Weight::from_parts(343_796, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_is_contract(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `924 + r * (232 ±0)`
// Estimated: `6831 + r * (2707 ±0)`
// Minimum execution time: 274_151_000 picoseconds.
Weight::from_parts(83_529_206, 6831)
// Standard Error: 8_452
.saturating_add(Weight::from_parts(3_534_024, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 2707).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_code_hash(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `910 + r * (236 ±0)`
// Estimated: `6835 + r * (2711 ±0)`
// Minimum execution time: 276_689_000 picoseconds.
Weight::from_parts(110_268_281, 6835)
// Standard Error: 8_106
.saturating_add(Weight::from_parts(4_376_136, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 2711).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_own_code_hash(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `864 + r * (6 ±0)`
// Estimated: `6806 + r * (6 ±0)`
// Minimum execution time: 274_079_000 picoseconds.
Weight::from_parts(282_258_090, 6806)
// Standard Error: 1_343
.saturating_add(Weight::from_parts(464_680, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_caller_is_origin(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854 + r * (3 ±0)`
// Estimated: `6799 + r * (3 ±0)`
// Minimum execution time: 270_960_000 picoseconds.
Weight::from_parts(281_985_584, 6799)
// Standard Error: 378
.saturating_add(Weight::from_parts(184_462, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_caller_is_root(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `744 + r * (3 ±0)`
// Estimated: `6684 + r * (3 ±0)`
// Minimum execution time: 244_835_000 picoseconds.
Weight::from_parts(270_660_753, 6684)
// Standard Error: 390
.saturating_add(Weight::from_parts(164_232, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(7_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_address(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `858 + r * (6 ±0)`
// Estimated: `6800 + r * (6 ±0)`
// Minimum execution time: 273_269_000 picoseconds.
Weight::from_parts(274_468_168, 6800)
// Standard Error: 2_246
.saturating_add(Weight::from_parts(386_838, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_gas_left(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854 + r * (6 ±0)`
// Estimated: `6795 + r * (6 ±0)`
// Minimum execution time: 275_244_000 picoseconds.
Weight::from_parts(281_299_739, 6795)
// Standard Error: 2_890
.saturating_add(Weight::from_parts(600_498, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:2 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_balance(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `998 + r * (6 ±0)`
// Estimated: `6922 + r * (6 ±0)`
// Minimum execution time: 271_540_000 picoseconds.
Weight::from_parts(298_456_935, 6922)
// Standard Error: 2_881
.saturating_add(Weight::from_parts(1_719_337, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_value_transferred(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `868 + r * (6 ±0)`
// Estimated: `6817 + r * (6 ±0)`
// Minimum execution time: 274_832_000 picoseconds.
Weight::from_parts(286_078_648, 6817)
// Standard Error: 695
.saturating_add(Weight::from_parts(345_045, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_minimum_balance(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `866 + r * (6 ±0)`
// Estimated: `6815 + r * (6 ±0)`
// Minimum execution time: 267_337_000 picoseconds.
Weight::from_parts(283_693_170, 6815)
// Standard Error: 580
.saturating_add(Weight::from_parts(345_350, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_block_number(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `863 + r * (6 ±0)`
// Estimated: `6813 + r * (6 ±0)`
// Minimum execution time: 276_313_000 picoseconds.
Weight::from_parts(287_689_703, 6813)
// Standard Error: 1_251
.saturating_add(Weight::from_parts(342_536, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_now(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854 + r * (6 ±0)`
// Estimated: `6799 + r * (6 ±0)`
// Minimum execution time: 274_196_000 picoseconds.
Weight::from_parts(288_641_687, 6799)
// Standard Error: 530
.saturating_add(Weight::from_parts(336_194, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_weight_to_fee(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `928 + r * (14 ±0)`
// Estimated: `6861 + r * (14 ±0)`
// Minimum execution time: 254_997_000 picoseconds.
Weight::from_parts(292_260_891, 6861)
// Standard Error: 1_019
.saturating_add(Weight::from_parts(1_447_021, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 14).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_input(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `856 + r * (6 ±0)`
// Estimated: `6800 + r * (6 ±0)`
// Minimum execution time: 272_720_000 picoseconds.
Weight::from_parts(287_125_181, 6800)
// Standard Error: 491
.saturating_add(Weight::from_parts(294_488, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_input_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `860`
// Estimated: `6800`
// Minimum execution time: 280_665_000 picoseconds.
Weight::from_parts(233_022_448, 6800)
// Standard Error: 23
.saturating_add(Weight::from_parts(996, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1]`.
fn seal_return(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `844 + r * (45 ±0)`
// Estimated: `6784 + r * (45 ±0)`
// Minimum execution time: 250_335_000 picoseconds.
Weight::from_parts(278_774_071, 6784)
// Standard Error: 873_509
.saturating_add(Weight::from_parts(4_562_628, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 45).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_return_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854`
// Estimated: `6807`
// Minimum execution time: 278_402_000 picoseconds.
Weight::from_parts(285_491_021, 6807)
// Standard Error: 0
.saturating_add(Weight::from_parts(312, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:4 w:4)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:2)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1)
/// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:3 w:3)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Contracts::DeletionQueue` (r:0 w:1)
/// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
/// The range of component `r` is `[0, 1]`.
fn seal_terminate(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2963 + r * (400 ±0)`
// Estimated: `8903 + r * (7825 ±0)`
// Minimum execution time: 281_030_000 picoseconds.
Weight::from_parts(305_435_226, 8903)
// Standard Error: 816_824
.saturating_add(Weight::from_parts(131_691_873, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((9_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 7825).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
/// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_random(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `935 + r * (10 ±0)`
// Estimated: `6876 + r * (10 ±0)`
// Minimum execution time: 261_369_000 picoseconds.
Weight::from_parts(300_458_315, 6876)
// Standard Error: 3_506
.saturating_add(Weight::from_parts(1_971_733, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_deposit_event(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854 + r * (10 ±0)`
// Estimated: `6799 + r * (10 ±0)`
// Minimum execution time: 262_894_000 picoseconds.
Weight::from_parts(285_321_838, 6799)
// Standard Error: 6_585
.saturating_add(Weight::from_parts(3_998_744, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:6 w:6)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `t` is `[0, 4]`.
/// The range of component `n` is `[0, 16384]`.
fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `873 + t * (32 ±0)`
// Estimated: `6820 + t * (2508 ±0)`
// Minimum execution time: 275_909_000 picoseconds.
Weight::from_parts(289_251_568, 6820)
// Standard Error: 94_431
.saturating_add(Weight::from_parts(3_007_409, 0).saturating_mul(t.into()))
// Standard Error: 26
.saturating_add(Weight::from_parts(815, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 2508).saturating_mul(t.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_debug_message(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `853 + r * (7 ±0)`
// Estimated: `6797 + r * (7 ±0)`
// Minimum execution time: 168_482_000 picoseconds.
Weight::from_parts(178_065_606, 6797)
// Standard Error: 371
.saturating_add(Weight::from_parts(242_851, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 7).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `MaxEncodedLen`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `MaxEncodedLen`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[0, 1048576]`.
fn seal_debug_message_per_byte(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `125804`
// Estimated: `131746`
// Minimum execution time: 407_401_000 picoseconds.
Weight::from_parts(426_585_443, 131746)
// Standard Error: 22
.saturating_add(Weight::from_parts(986, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_set_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `921 + r * (292 ±0)`
// Estimated: `919 + r * (293 ±0)`
// Minimum execution time: 275_800_000 picoseconds.
Weight::from_parts(161_230_700, 919)
// Standard Error: 12_908
.saturating_add(Weight::from_parts(6_965_844, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 293).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_set_storage_per_new_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1380`
// Estimated: `1356`
// Minimum execution time: 289_258_000 picoseconds.
Weight::from_parts(334_318_402, 1356)
// Standard Error: 59
.saturating_add(Weight::from_parts(808, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_set_storage_per_old_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1243 + n * (1 ±0)`
// Estimated: `1243 + n * (1 ±0)`
// Minimum execution time: 277_874_000 picoseconds.
Weight::from_parts(303_956_600, 1243)
// Standard Error: 33
.saturating_add(Weight::from_parts(58, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_clear_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `917 + r * (288 ±0)`
// Estimated: `921 + r * (289 ±0)`
// Minimum execution time: 255_230_000 picoseconds.
Weight::from_parts(163_226_984, 921)
// Standard Error: 12_691
.saturating_add(Weight::from_parts(6_808_905, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 289).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_clear_storage_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1239 + n * (1 ±0)`
// Estimated: `1239 + n * (1 ±0)`
// Minimum execution time: 275_780_000 picoseconds.
Weight::from_parts(301_967_262, 1239)
// Standard Error: 34
.saturating_add(Weight::from_parts(128, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_get_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `911 + r * (296 ±0)`
// Estimated: `916 + r * (297 ±0)`
// Minimum execution time: 279_295_000 picoseconds.
Weight::from_parts(208_289_066, 916)
// Standard Error: 8_330
.saturating_add(Weight::from_parts(5_600_713, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 297).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_get_storage_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1255 + n * (1 ±0)`
// Estimated: `1255 + n * (1 ±0)`
// Minimum execution time: 276_745_000 picoseconds.
Weight::from_parts(298_824_233, 1255)
// Standard Error: 36
.saturating_add(Weight::from_parts(717, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_contains_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `932 + r * (288 ±0)`
// Estimated: `933 + r * (289 ±0)`
// Minimum execution time: 275_137_000 picoseconds.
Weight::from_parts(196_695_898, 933)
// Standard Error: 9_207
.saturating_add(Weight::from_parts(5_466_071, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 289).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_contains_storage_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1242 + n * (1 ±0)`
// Estimated: `1242 + n * (1 ±0)`
// Minimum execution time: 269_315_000 picoseconds.
Weight::from_parts(296_795_271, 1242)
// Standard Error: 39
.saturating_add(Weight::from_parts(242, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_take_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `905 + r * (296 ±0)`
// Estimated: `912 + r * (297 ±0)`
// Minimum execution time: 256_406_000 picoseconds.
Weight::from_parts(156_850_288, 912)
// Standard Error: 12_496
.saturating_add(Weight::from_parts(7_055_305, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 297).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_take_storage_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1256 + n * (1 ±0)`
// Estimated: `1256 + n * (1 ±0)`
// Minimum execution time: 280_297_000 picoseconds.
Weight::from_parts(302_241_752, 1256)
// Standard Error: 34
.saturating_add(Weight::from_parts(748, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1602 w:1601)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_transfer(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1449 + r * (45 ±0)`
// Estimated: `7346 + r * (2520 ±0)`
// Minimum execution time: 274_834_000 picoseconds.
Weight::from_parts(176_977_557, 7346)
// Standard Error: 32_386
.saturating_add(Weight::from_parts(39_393_162, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:2 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:803 w:803)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_call(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1304 + r * (268 ±0)`
// Estimated: `9485 + r * (2744 ±0)`
// Minimum execution time: 279_802_000 picoseconds.
Weight::from_parts(287_995_000, 9485)
// Standard Error: 99_110
.saturating_add(Weight::from_parts(245_521_843, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2744).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:736 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:736 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:737 w:737)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_delegate_call(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + r * (576 ±0)`
// Estimated: `6803 + r * (2637 ±3)`
// Minimum execution time: 273_435_000 picoseconds.
Weight::from_parts(276_865_000, 6803)
// Standard Error: 148_051
.saturating_add(Weight::from_parts(244_660_274, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2637).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:3 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:2 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:4 w:4)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `t` is `[0, 1]`.
/// The range of component `c` is `[0, 1048576]`.
fn seal_call_per_transfer_clone_byte(t: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1322 + t * (310 ±0)`
// Estimated: `12212 + t * (5260 ±0)`
// Minimum execution time: 477_593_000 picoseconds.
Weight::from_parts(69_887_451, 12212)
// Standard Error: 11_764_606
.saturating_add(Weight::from_parts(373_361_977, 0).saturating_mul(t.into()))
// Standard Error: 17
.saturating_add(Weight::from_parts(1_000, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(13_u64))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 5260).saturating_mul(t.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1602 w:1602)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:801 w:800)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:801 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:802 w:802)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[1, 800]`.
fn seal_instantiate(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1380 + r * (255 ±0)`
// Estimated: `7204 + r * (5206 ±0)`
// Minimum execution time: 652_387_000 picoseconds.
Weight::from_parts(658_670_000, 7204)
// Standard Error: 363_054
.saturating_add(Weight::from_parts(395_547_049, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(10_u64))
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(6_u64))
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 5206).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:4 w:4)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:2 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:3 w:3)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `t` is `[0, 1]`.
/// The range of component `i` is `[0, 983040]`.
/// The range of component `s` is `[0, 983040]`.
fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1233 + t * (156 ±0)`
// Estimated: `9663 + t * (2578 ±2)`
// Minimum execution time: 2_299_620_000 picoseconds.
Weight::from_parts(1_274_859_063, 9663)
// Standard Error: 12_129_871
.saturating_add(Weight::from_parts(16_608_792, 0).saturating_mul(t.into()))
// Standard Error: 19
.saturating_add(Weight::from_parts(1_014, 0).saturating_mul(i.into()))
// Standard Error: 19
.saturating_add(Weight::from_parts(1_180, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(10_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 2578).saturating_mul(t.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_hash_sha2_256(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `853 + r * (8 ±0)`
// Estimated: `6794 + r * (8 ±0)`
// Minimum execution time: 267_959_000 picoseconds.
Weight::from_parts(282_967_946, 6794)
// Standard Error: 624
.saturating_add(Weight::from_parts(402_344, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `861`
// Estimated: `6801`
// Minimum execution time: 274_585_000 picoseconds.
Weight::from_parts(272_480_647, 6801)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_089, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_hash_keccak_256(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `855 + r * (8 ±0)`
// Estimated: `6797 + r * (8 ±0)`
// Minimum execution time: 268_346_000 picoseconds.
Weight::from_parts(284_168_231, 6797)
// Standard Error: 620
.saturating_add(Weight::from_parts(805_038, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `863`
// Estimated: `6805`
// Minimum execution time: 273_073_000 picoseconds.
Weight::from_parts(280_346_065, 6805)
// Standard Error: 1
.saturating_add(Weight::from_parts(3_357, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_hash_blake2_256(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `855 + r * (8 ±0)`
// Estimated: `6800 + r * (8 ±0)`
// Minimum execution time: 263_072_000 picoseconds.
Weight::from_parts(284_487_433, 6800)
// Standard Error: 668
.saturating_add(Weight::from_parts(458_763, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `863`
// Estimated: `6809`
// Minimum execution time: 271_488_000 picoseconds.
Weight::from_parts(273_877_727, 6809)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_hash_blake2_128(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `855 + r * (8 ±0)`
// Estimated: `6801 + r * (8 ±0)`
// Minimum execution time: 271_365_000 picoseconds.
Weight::from_parts(285_100_883, 6801)
// Standard Error: 651
.saturating_add(Weight::from_parts(462_754, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `863`
// Estimated: `6803`
// Minimum execution time: 272_341_000 picoseconds.
Weight::from_parts(275_388_470, 6803)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_192, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 125697]`.
fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `988 + n * (1 ±0)`
// Estimated: `6925 + n * (1 ±0)`
// Minimum execution time: 341_302_000 picoseconds.
Weight::from_parts(354_111_630, 6925)
// Standard Error: 8
.saturating_add(Weight::from_parts(5_913, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 160]`.
fn seal_sr25519_verify(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `804 + r * (112 ±0)`
// Estimated: `6742 + r * (112 ±0)`
// Minimum execution time: 275_325_000 picoseconds.
Weight::from_parts(333_041_903, 6742)
// Standard Error: 11_171
.saturating_add(Weight::from_parts(56_605_218, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 112).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 160]`.
fn seal_ecdsa_recover(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `898 + r * (76 ±0)`
// Estimated: `6793 + r * (77 ±0)`
// Minimum execution time: 274_165_000 picoseconds.
Weight::from_parts(347_487_800, 6793)
// Standard Error: 15_398
.saturating_add(Weight::from_parts(46_072_020, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 77).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 160]`.
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `868 + r * (42 ±0)`
// Estimated: `6807 + r * (42 ±0)`
// Minimum execution time: 270_855_000 picoseconds.
Weight::from_parts(320_777_105, 6807)
// Standard Error: 11_106
.saturating_add(Weight::from_parts(12_053_053, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 42).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1536 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:1538 w:1538)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_set_code_hash(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + r * (965 ±0)`
// Estimated: `6798 + r * (3090 ±10)`
// Minimum execution time: 257_732_000 picoseconds.
Weight::from_parts(280_982_000, 6798)
// Standard Error: 68_194
.saturating_add(Weight::from_parts(27_413_991, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 3090).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:33 w:32)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 32]`.
fn add_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `918 + r * (132 ±0)`
// Estimated: `6870 + r * (2606 ±0)`
// Minimum execution time: 278_285_000 picoseconds.
Weight::from_parts(298_012_554, 6870)
// Standard Error: 24_160
.saturating_add(Weight::from_parts(6_363_118, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2606).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `MaxEncodedLen`)
/// Storage: `Contracts::CodeInfoOf` (r:33 w:32)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `MaxEncodedLen`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 32]`.
fn remove_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `965 + r * (183 ±0)`
// Estimated: `129453 + r * (2568 ±0)`
// Minimum execution time: 258_198_000 picoseconds.
Weight::from_parts(290_090_206, 129453)
// Standard Error: 19_792
.saturating_add(Weight::from_parts(6_004_811, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_reentrance_count(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `849 + r * (3 ±0)`
// Estimated: `6799 + r * (3 ±0)`
// Minimum execution time: 263_315_000 picoseconds.
Weight::from_parts(284_093_748, 6799)
// Standard Error: 371
.saturating_add(Weight::from_parts(176_949, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_account_reentrance_count(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2082 + r * (39 ±0)`
// Estimated: `7886 + r * (40 ±0)`
// Minimum execution time: 274_583_000 picoseconds.
Weight::from_parts(352_081_486, 7886)
// Standard Error: 1_799
.saturating_add(Weight::from_parts(313_433, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 40).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_instantiation_nonce(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `852 + r * (3 ±0)`
// Estimated: `6799 + r * (3 ±0)`
// Minimum execution time: 267_291_000 picoseconds.
Weight::from_parts(287_500_540, 6799)
// Standard Error: 393
.saturating_add(Weight::from_parts(152_587, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
}
/// The range of component `r` is `[0, 5000]`.
fn instr_i64const(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_440_000 picoseconds.
Weight::from_parts(1_656_631, 0)
// Standard Error: 13
.saturating_add(Weight::from_parts(10_486, 0).saturating_mul(r.into()))
}
}
// For backwards compatibility and tests.
impl WeightInfo for () {
/// Storage: `Contracts::DeletionQueueCounter` (r:1 w:0)
/// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
fn on_process_deletion_queue_batch() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `1627`
// Minimum execution time: 2_527_000 picoseconds.
Weight::from_parts(2_651_000, 1627)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `k` is `[0, 1024]`.
fn on_initialize_per_trie_key(k: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `451 + k * (69 ±0)`
// Estimated: `441 + k * (70 ±0)`
// Minimum execution time: 13_291_000 picoseconds.
Weight::from_parts(13_825_000, 441)
// Standard Error: 1_137
.saturating_add(Weight::from_parts(1_244_309, 0).saturating_mul(k.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(k.into()))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:2 w:1)
/// The range of component `c` is `[0, 125952]`.
fn v9_migration_step(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `211 + c * (1 ±0)`
// Estimated: `6149 + c * (1 ±0)`
// Minimum execution time: 8_359_000 picoseconds.
Weight::from_parts(9_179_121, 6149)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_312, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
}
/// Storage: `Contracts::ContractInfoOf` (r:3 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
fn v10_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `709`
// Estimated: `9124`
// Minimum execution time: 42_457_000 picoseconds.
Weight::from_parts(44_556_000, 9124)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::DeletionQueue` (r:1 w:1025)
/// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
/// Storage: `Contracts::DeletionQueueCounter` (r:0 w:1)
/// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// The range of component `k` is `[0, 1024]`.
fn v11_migration_step(k: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `171 + k * (1 ±0)`
// Estimated: `3635 + k * (1 ±0)`
// Minimum execution time: 3_839_000 picoseconds.
Weight::from_parts(3_462_337, 3635)
// Standard Error: 1_384
.saturating_add(Weight::from_parts(1_166_522, 0).saturating_mul(k.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into()))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:0 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// The range of component `c` is `[0, 125952]`.
fn v12_migration_step(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `325 + c * (1 ±0)`
// Estimated: `6263 + c * (1 ±0)`
// Minimum execution time: 17_001_000 picoseconds.
Weight::from_parts(17_095_380, 6263)
// Standard Error: 1
.saturating_add(Weight::from_parts(411, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
}
/// Storage: `Contracts::ContractInfoOf` (r:3 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
fn v13_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `639`
// Estimated: `9054`
// Minimum execution time: 35_342_000 picoseconds.
Weight::from_parts(36_839_000, 9054)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
fn v14_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `260`
// Estimated: `6200`
// Minimum execution time: 27_995_000 picoseconds.
Weight::from_parts(28_661_000, 6200)
.saturating_add(RocksDbWeight::get().reads(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
fn migration_noop() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `1627`
// Minimum execution time: 3_272_000 picoseconds.
Weight::from_parts(3_553_000, 1627)
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
fn migrate() -> Weight {
// Proof Size summary in bytes:
// Measured: `166`
// Estimated: `3631`
// Minimum execution time: 12_788_000 picoseconds.
Weight::from_parts(13_163_000, 3631)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
fn on_runtime_upgrade_noop() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3607`
// Minimum execution time: 4_794_000 picoseconds.
Weight::from_parts(5_086_000, 3607)
.saturating_add(RocksDbWeight::get().reads(1_u64))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
fn on_runtime_upgrade_in_progress() -> Weight {
// Proof Size summary in bytes:
// Measured: `167`
// Estimated: `3632`
// Minimum execution time: 6_616_000 picoseconds.
Weight::from_parts(7_034_000, 3632)
.saturating_add(RocksDbWeight::get().reads(2_u64))
}
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
fn on_runtime_upgrade() -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3607`
// Minimum execution time: 6_985_000 picoseconds.
Weight::from_parts(7_477_000, 3607)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `c` is `[0, 125952]`.
fn call_with_code_per_byte(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `783`
// Estimated: `6732 + c * (1 ±0)`
// Minimum execution time: 306_088_000 picoseconds.
Weight::from_parts(268_361_911, 6732)
// Standard Error: 76
.saturating_add(Weight::from_parts(38_334, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::EventTopics` (r:3 w:3)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::Account` (r:2 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:0 w:1)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// The range of component `c` is `[0, 125952]`.
/// The range of component `i` is `[0, 1048576]`.
/// The range of component `s` is `[0, 1048576]`.
fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `303`
// Estimated: `8745`
// Minimum execution time: 4_224_657_000 picoseconds.
Weight::from_parts(451_557_864, 8745)
// Standard Error: 216
.saturating_add(Weight::from_parts(111_761, 0).saturating_mul(c.into()))
// Standard Error: 26
.saturating_add(Weight::from_parts(1_794, 0).saturating_mul(i.into()))
// Standard Error: 26
.saturating_add(Weight::from_parts(2_013, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(9_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::Account` (r:2 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[0, 1048576]`.
/// The range of component `s` is `[0, 1048576]`.
fn instantiate(i: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `527`
// Estimated: `6517`
// Minimum execution time: 2_029_313_000 picoseconds.
Weight::from_parts(353_077_600, 6517)
// Standard Error: 8
.saturating_add(Weight::from_parts(1_781, 0).saturating_mul(i.into()))
// Standard Error: 8
.saturating_add(Weight::from_parts(1_729, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn call() -> Weight {
// Proof Size summary in bytes:
// Measured: `817`
// Estimated: `6757`
// Minimum execution time: 204_086_000 picoseconds.
Weight::from_parts(216_738_000, 6757)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::EventTopics` (r:1 w:1)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:0 w:1)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// The range of component `c` is `[0, 125952]`.
fn upload_code(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `142`
// Estimated: `3607`
// Minimum execution time: 269_337_000 picoseconds.
Weight::from_parts(220_186_006, 3607)
// Standard Error: 106
.saturating_add(Weight::from_parts(74_291, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::EventTopics` (r:1 w:1)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:0 w:1)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
fn remove_code() -> Weight {
// Proof Size summary in bytes:
// Measured: `259`
// Estimated: `3724`
// Minimum execution time: 35_127_000 picoseconds.
Weight::from_parts(36_180_000, 3724)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:2)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `System::EventTopics` (r:3 w:3)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
fn set_code() -> Weight {
// Proof Size summary in bytes:
// Measured: `576`
// Estimated: `8991`
// Minimum execution time: 37_550_000 picoseconds.
Weight::from_parts(39_149_000, 8991)
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_caller(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `857 + r * (6 ±0)`
// Estimated: `6798 + r * (6 ±0)`
// Minimum execution time: 269_991_000 picoseconds.
Weight::from_parts(293_993_592, 6798)
// Standard Error: 665
.saturating_add(Weight::from_parts(343_796, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_is_contract(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `924 + r * (232 ±0)`
// Estimated: `6831 + r * (2707 ±0)`
// Minimum execution time: 274_151_000 picoseconds.
Weight::from_parts(83_529_206, 6831)
// Standard Error: 8_452
.saturating_add(Weight::from_parts(3_534_024, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 2707).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_code_hash(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `910 + r * (236 ±0)`
// Estimated: `6835 + r * (2711 ±0)`
// Minimum execution time: 276_689_000 picoseconds.
Weight::from_parts(110_268_281, 6835)
// Standard Error: 8_106
.saturating_add(Weight::from_parts(4_376_136, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 2711).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_own_code_hash(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `864 + r * (6 ±0)`
// Estimated: `6806 + r * (6 ±0)`
// Minimum execution time: 274_079_000 picoseconds.
Weight::from_parts(282_258_090, 6806)
// Standard Error: 1_343
.saturating_add(Weight::from_parts(464_680, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_caller_is_origin(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854 + r * (3 ±0)`
// Estimated: `6799 + r * (3 ±0)`
// Minimum execution time: 270_960_000 picoseconds.
Weight::from_parts(281_985_584, 6799)
// Standard Error: 378
.saturating_add(Weight::from_parts(184_462, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_caller_is_root(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `744 + r * (3 ±0)`
// Estimated: `6684 + r * (3 ±0)`
// Minimum execution time: 244_835_000 picoseconds.
Weight::from_parts(270_660_753, 6684)
// Standard Error: 390
.saturating_add(Weight::from_parts(164_232, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(7_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_address(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `858 + r * (6 ±0)`
// Estimated: `6800 + r * (6 ±0)`
// Minimum execution time: 273_269_000 picoseconds.
Weight::from_parts(274_468_168, 6800)
// Standard Error: 2_246
.saturating_add(Weight::from_parts(386_838, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_gas_left(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854 + r * (6 ±0)`
// Estimated: `6795 + r * (6 ±0)`
// Minimum execution time: 275_244_000 picoseconds.
Weight::from_parts(281_299_739, 6795)
// Standard Error: 2_890
.saturating_add(Weight::from_parts(600_498, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:2 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_balance(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `998 + r * (6 ±0)`
// Estimated: `6922 + r * (6 ±0)`
// Minimum execution time: 271_540_000 picoseconds.
Weight::from_parts(298_456_935, 6922)
// Standard Error: 2_881
.saturating_add(Weight::from_parts(1_719_337, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_value_transferred(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `868 + r * (6 ±0)`
// Estimated: `6817 + r * (6 ±0)`
// Minimum execution time: 274_832_000 picoseconds.
Weight::from_parts(286_078_648, 6817)
// Standard Error: 695
.saturating_add(Weight::from_parts(345_045, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_minimum_balance(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `866 + r * (6 ±0)`
// Estimated: `6815 + r * (6 ±0)`
// Minimum execution time: 267_337_000 picoseconds.
Weight::from_parts(283_693_170, 6815)
// Standard Error: 580
.saturating_add(Weight::from_parts(345_350, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_block_number(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `863 + r * (6 ±0)`
// Estimated: `6813 + r * (6 ±0)`
// Minimum execution time: 276_313_000 picoseconds.
Weight::from_parts(287_689_703, 6813)
// Standard Error: 1_251
.saturating_add(Weight::from_parts(342_536, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_now(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854 + r * (6 ±0)`
// Estimated: `6799 + r * (6 ±0)`
// Minimum execution time: 274_196_000 picoseconds.
Weight::from_parts(288_641_687, 6799)
// Standard Error: 530
.saturating_add(Weight::from_parts(336_194, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_weight_to_fee(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `928 + r * (14 ±0)`
// Estimated: `6861 + r * (14 ±0)`
// Minimum execution time: 254_997_000 picoseconds.
Weight::from_parts(292_260_891, 6861)
// Standard Error: 1_019
.saturating_add(Weight::from_parts(1_447_021, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 14).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_input(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `856 + r * (6 ±0)`
// Estimated: `6800 + r * (6 ±0)`
// Minimum execution time: 272_720_000 picoseconds.
Weight::from_parts(287_125_181, 6800)
// Standard Error: 491
.saturating_add(Weight::from_parts(294_488, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_input_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `860`
// Estimated: `6800`
// Minimum execution time: 280_665_000 picoseconds.
Weight::from_parts(233_022_448, 6800)
// Standard Error: 23
.saturating_add(Weight::from_parts(996, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1]`.
fn seal_return(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `844 + r * (45 ±0)`
// Estimated: `6784 + r * (45 ±0)`
// Minimum execution time: 250_335_000 picoseconds.
Weight::from_parts(278_774_071, 6784)
// Standard Error: 873_509
.saturating_add(Weight::from_parts(4_562_628, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 45).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_return_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854`
// Estimated: `6807`
// Minimum execution time: 278_402_000 picoseconds.
Weight::from_parts(285_491_021, 6807)
// Standard Error: 0
.saturating_add(Weight::from_parts(312, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:4 w:4)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:2)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1)
/// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:3 w:3)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Contracts::DeletionQueue` (r:0 w:1)
/// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
/// The range of component `r` is `[0, 1]`.
fn seal_terminate(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2963 + r * (400 ±0)`
// Estimated: `8903 + r * (7825 ±0)`
// Minimum execution time: 281_030_000 picoseconds.
Weight::from_parts(305_435_226, 8903)
// Standard Error: 816_824
.saturating_add(Weight::from_parts(131_691_873, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((9_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 7825).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
/// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_random(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `935 + r * (10 ±0)`
// Estimated: `6876 + r * (10 ±0)`
// Minimum execution time: 261_369_000 picoseconds.
Weight::from_parts(300_458_315, 6876)
// Standard Error: 3_506
.saturating_add(Weight::from_parts(1_971_733, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_deposit_event(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `854 + r * (10 ±0)`
// Estimated: `6799 + r * (10 ±0)`
// Minimum execution time: 262_894_000 picoseconds.
Weight::from_parts(285_321_838, 6799)
// Standard Error: 6_585
.saturating_add(Weight::from_parts(3_998_744, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:6 w:6)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `t` is `[0, 4]`.
/// The range of component `n` is `[0, 16384]`.
fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `873 + t * (32 ±0)`
// Estimated: `6820 + t * (2508 ±0)`
// Minimum execution time: 275_909_000 picoseconds.
Weight::from_parts(289_251_568, 6820)
// Standard Error: 94_431
.saturating_add(Weight::from_parts(3_007_409, 0).saturating_mul(t.into()))
// Standard Error: 26
.saturating_add(Weight::from_parts(815, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 2508).saturating_mul(t.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_debug_message(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `853 + r * (7 ±0)`
// Estimated: `6797 + r * (7 ±0)`
// Minimum execution time: 168_482_000 picoseconds.
Weight::from_parts(178_065_606, 6797)
// Standard Error: 371
.saturating_add(Weight::from_parts(242_851, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 7).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `MaxEncodedLen`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `MaxEncodedLen`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `i` is `[0, 1048576]`.
fn seal_debug_message_per_byte(i: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `125804`
// Estimated: `131746`
// Minimum execution time: 407_401_000 picoseconds.
Weight::from_parts(426_585_443, 131746)
// Standard Error: 22
.saturating_add(Weight::from_parts(986, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_set_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `921 + r * (292 ±0)`
// Estimated: `919 + r * (293 ±0)`
// Minimum execution time: 275_800_000 picoseconds.
Weight::from_parts(161_230_700, 919)
// Standard Error: 12_908
.saturating_add(Weight::from_parts(6_965_844, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 293).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_set_storage_per_new_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1380`
// Estimated: `1356`
// Minimum execution time: 289_258_000 picoseconds.
Weight::from_parts(334_318_402, 1356)
// Standard Error: 59
.saturating_add(Weight::from_parts(808, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_set_storage_per_old_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1243 + n * (1 ±0)`
// Estimated: `1243 + n * (1 ±0)`
// Minimum execution time: 277_874_000 picoseconds.
Weight::from_parts(303_956_600, 1243)
// Standard Error: 33
.saturating_add(Weight::from_parts(58, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_clear_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `917 + r * (288 ±0)`
// Estimated: `921 + r * (289 ±0)`
// Minimum execution time: 255_230_000 picoseconds.
Weight::from_parts(163_226_984, 921)
// Standard Error: 12_691
.saturating_add(Weight::from_parts(6_808_905, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 289).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_clear_storage_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1239 + n * (1 ±0)`
// Estimated: `1239 + n * (1 ±0)`
// Minimum execution time: 275_780_000 picoseconds.
Weight::from_parts(301_967_262, 1239)
// Standard Error: 34
.saturating_add(Weight::from_parts(128, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_get_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `911 + r * (296 ±0)`
// Estimated: `916 + r * (297 ±0)`
// Minimum execution time: 279_295_000 picoseconds.
Weight::from_parts(208_289_066, 916)
// Standard Error: 8_330
.saturating_add(Weight::from_parts(5_600_713, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 297).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_get_storage_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1255 + n * (1 ±0)`
// Estimated: `1255 + n * (1 ±0)`
// Minimum execution time: 276_745_000 picoseconds.
Weight::from_parts(298_824_233, 1255)
// Standard Error: 36
.saturating_add(Weight::from_parts(717, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_contains_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `932 + r * (288 ±0)`
// Estimated: `933 + r * (289 ±0)`
// Minimum execution time: 275_137_000 picoseconds.
Weight::from_parts(196_695_898, 933)
// Standard Error: 9_207
.saturating_add(Weight::from_parts(5_466_071, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 289).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_contains_storage_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1242 + n * (1 ±0)`
// Estimated: `1242 + n * (1 ±0)`
// Minimum execution time: 269_315_000 picoseconds.
Weight::from_parts(296_795_271, 1242)
// Standard Error: 39
.saturating_add(Weight::from_parts(242, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_take_storage(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `905 + r * (296 ±0)`
// Estimated: `912 + r * (297 ±0)`
// Minimum execution time: 256_406_000 picoseconds.
Weight::from_parts(156_850_288, 912)
// Standard Error: 12_496
.saturating_add(Weight::from_parts(7_055_305, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 297).saturating_mul(r.into()))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 16384]`.
fn seal_take_storage_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1256 + n * (1 ±0)`
// Estimated: `1256 + n * (1 ±0)`
// Minimum execution time: 280_297_000 picoseconds.
Weight::from_parts(302_241_752, 1256)
// Standard Error: 34
.saturating_add(Weight::from_parts(748, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1602 w:1601)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_transfer(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1449 + r * (45 ±0)`
// Estimated: `7346 + r * (2520 ±0)`
// Minimum execution time: 274_834_000 picoseconds.
Weight::from_parts(176_977_557, 7346)
// Standard Error: 32_386
.saturating_add(Weight::from_parts(39_393_162, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:2 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:803 w:803)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_call(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1304 + r * (268 ±0)`
// Estimated: `9485 + r * (2744 ±0)`
// Minimum execution time: 279_802_000 picoseconds.
Weight::from_parts(287_995_000, 9485)
// Standard Error: 99_110
.saturating_add(Weight::from_parts(245_521_843, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2744).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:736 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:736 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:737 w:737)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 800]`.
fn seal_delegate_call(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + r * (576 ±0)`
// Estimated: `6803 + r * (2637 ±3)`
// Minimum execution time: 273_435_000 picoseconds.
Weight::from_parts(276_865_000, 6803)
// Standard Error: 148_051
.saturating_add(Weight::from_parts(244_660_274, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2637).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:3 w:2)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:2 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:4 w:4)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `t` is `[0, 1]`.
/// The range of component `c` is `[0, 1048576]`.
fn seal_call_per_transfer_clone_byte(t: u32, c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1322 + t * (310 ±0)`
// Estimated: `12212 + t * (5260 ±0)`
// Minimum execution time: 477_593_000 picoseconds.
Weight::from_parts(69_887_451, 12212)
// Standard Error: 11_764_606
.saturating_add(Weight::from_parts(373_361_977, 0).saturating_mul(t.into()))
// Standard Error: 17
.saturating_add(Weight::from_parts(1_000, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(13_u64))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 5260).saturating_mul(t.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1602 w:1602)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:801 w:800)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:801 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:802 w:802)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[1, 800]`.
fn seal_instantiate(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1380 + r * (255 ±0)`
// Estimated: `7204 + r * (5206 ±0)`
// Minimum execution time: 652_387_000 picoseconds.
Weight::from_parts(658_670_000, 7204)
// Standard Error: 363_054
.saturating_add(Weight::from_parts(395_547_049, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(10_u64))
.saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(6_u64))
.saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 5206).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:4 w:4)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:2 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:2 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:3 w:3)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `t` is `[0, 1]`.
/// The range of component `i` is `[0, 983040]`.
/// The range of component `s` is `[0, 983040]`.
fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1233 + t * (156 ±0)`
// Estimated: `9663 + t * (2578 ±2)`
// Minimum execution time: 2_299_620_000 picoseconds.
Weight::from_parts(1_274_859_063, 9663)
// Standard Error: 12_129_871
.saturating_add(Weight::from_parts(16_608_792, 0).saturating_mul(t.into()))
// Standard Error: 19
.saturating_add(Weight::from_parts(1_014, 0).saturating_mul(i.into()))
// Standard Error: 19
.saturating_add(Weight::from_parts(1_180, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(15_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
.saturating_add(RocksDbWeight::get().writes(10_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 2578).saturating_mul(t.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_hash_sha2_256(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `853 + r * (8 ±0)`
// Estimated: `6794 + r * (8 ±0)`
// Minimum execution time: 267_959_000 picoseconds.
Weight::from_parts(282_967_946, 6794)
// Standard Error: 624
.saturating_add(Weight::from_parts(402_344, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `861`
// Estimated: `6801`
// Minimum execution time: 274_585_000 picoseconds.
Weight::from_parts(272_480_647, 6801)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_089, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_hash_keccak_256(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `855 + r * (8 ±0)`
// Estimated: `6797 + r * (8 ±0)`
// Minimum execution time: 268_346_000 picoseconds.
Weight::from_parts(284_168_231, 6797)
// Standard Error: 620
.saturating_add(Weight::from_parts(805_038, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `863`
// Estimated: `6805`
// Minimum execution time: 273_073_000 picoseconds.
Weight::from_parts(280_346_065, 6805)
// Standard Error: 1
.saturating_add(Weight::from_parts(3_357, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_hash_blake2_256(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `855 + r * (8 ±0)`
// Estimated: `6800 + r * (8 ±0)`
// Minimum execution time: 263_072_000 picoseconds.
Weight::from_parts(284_487_433, 6800)
// Standard Error: 668
.saturating_add(Weight::from_parts(458_763, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `863`
// Estimated: `6809`
// Minimum execution time: 271_488_000 picoseconds.
Weight::from_parts(273_877_727, 6809)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_hash_blake2_128(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `855 + r * (8 ±0)`
// Estimated: `6801 + r * (8 ±0)`
// Minimum execution time: 271_365_000 picoseconds.
Weight::from_parts(285_100_883, 6801)
// Standard Error: 651
.saturating_add(Weight::from_parts(462_754, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 1048576]`.
fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `863`
// Estimated: `6803`
// Minimum execution time: 272_341_000 picoseconds.
Weight::from_parts(275_388_470, 6803)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_192, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `n` is `[0, 125697]`.
fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `988 + n * (1 ±0)`
// Estimated: `6925 + n * (1 ±0)`
// Minimum execution time: 341_302_000 picoseconds.
Weight::from_parts(354_111_630, 6925)
// Standard Error: 8
.saturating_add(Weight::from_parts(5_913, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 160]`.
fn seal_sr25519_verify(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `804 + r * (112 ±0)`
// Estimated: `6742 + r * (112 ±0)`
// Minimum execution time: 275_325_000 picoseconds.
Weight::from_parts(333_041_903, 6742)
// Standard Error: 11_171
.saturating_add(Weight::from_parts(56_605_218, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 112).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 160]`.
fn seal_ecdsa_recover(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `898 + r * (76 ±0)`
// Estimated: `6793 + r * (77 ±0)`
// Minimum execution time: 274_165_000 picoseconds.
Weight::from_parts(347_487_800, 6793)
// Standard Error: 15_398
.saturating_add(Weight::from_parts(46_072_020, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 77).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 160]`.
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `868 + r * (42 ±0)`
// Estimated: `6807 + r * (42 ±0)`
// Minimum execution time: 270_855_000 picoseconds.
Weight::from_parts(320_777_105, 6807)
// Standard Error: 11_106
.saturating_add(Weight::from_parts(12_053_053, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 42).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1536 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:1538 w:1538)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_set_code_hash(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0 + r * (965 ±0)`
// Estimated: `6798 + r * (3090 ±10)`
// Minimum execution time: 257_732_000 picoseconds.
Weight::from_parts(280_982_000, 6798)
// Standard Error: 68_194
.saturating_add(Weight::from_parts(27_413_991, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 3090).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:33 w:32)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 32]`.
fn add_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `918 + r * (132 ±0)`
// Estimated: `6870 + r * (2606 ±0)`
// Minimum execution time: 278_285_000 picoseconds.
Weight::from_parts(298_012_554, 6870)
// Standard Error: 24_160
.saturating_add(Weight::from_parts(6_363_118, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2606).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `MaxEncodedLen`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `MaxEncodedLen`)
/// Storage: `Contracts::CodeInfoOf` (r:33 w:32)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `MaxEncodedLen`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 32]`.
fn remove_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `965 + r * (183 ±0)`
// Estimated: `129453 + r * (2568 ±0)`
// Minimum execution time: 258_198_000 picoseconds.
Weight::from_parts(290_090_206, 129453)
// Standard Error: 19_792
.saturating_add(Weight::from_parts(6_004_811, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_reentrance_count(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `849 + r * (3 ±0)`
// Estimated: `6799 + r * (3 ±0)`
// Minimum execution time: 263_315_000 picoseconds.
Weight::from_parts(284_093_748, 6799)
// Standard Error: 371
.saturating_add(Weight::from_parts(176_949, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_account_reentrance_count(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `2082 + r * (39 ±0)`
// Estimated: `7886 + r * (40 ±0)`
// Minimum execution time: 274_583_000 picoseconds.
Weight::from_parts(352_081_486, 7886)
// Standard Error: 1_799
.saturating_add(Weight::from_parts(313_433, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(Weight::from_parts(0, 40).saturating_mul(r.into()))
}
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
/// Storage: `System::Account` (r:1 w:0)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1819), added: 4294, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:0)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Contracts::PristineCode` (r:1 w:0)
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
/// Storage: `Timestamp::Now` (r:1 w:0)
/// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `Contracts::Nonce` (r:1 w:1)
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
/// Storage: `System::EventTopics` (r:2 w:2)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// The range of component `r` is `[0, 1600]`.
fn seal_instantiation_nonce(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `852 + r * (3 ±0)`
// Estimated: `6799 + r * (3 ±0)`
// Minimum execution time: 267_291_000 picoseconds.
Weight::from_parts(287_500_540, 6799)
// Standard Error: 393
.saturating_add(Weight::from_parts(152_587, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
.saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into()))
}
/// The range of component `r` is `[0, 5000]`.
fn instr_i64const(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_440_000 picoseconds.
Weight::from_parts(1_656_631, 0)
// Standard Error: 13
.saturating_add(Weight::from_parts(10_486, 0).saturating_mul(r.into()))
}
}