Files
pezkuwi-subxt/substrate/frame/contracts/src/weights.rs
T
PG Herveou d38f6e6728 Update benchmarking macros (#3934)
Current benchmarking macro returns a closure with the captured
benchmarked code.
This can cause issues when the benchmarked code has complex lifetime
requirements.

This PR updates the existing macro by injecting the recording parameter
and invoking the start / stop method around the benchmarked block
instead of returning a closure

One other added benefit is that you can write this kind of code now as
well:

```rust
let v;
#[block]
{ v = func.call(); }
dbg!(v); // or assert something on v
```


[Weights compare
link](https://weights.tasty.limo/compare?unit=weight&ignore_errors=true&threshold=10&method=asymptotic&repo=polkadot-sdk&old=pg/fix-weights&new=pg/bench_update&path_pattern=substrate/frame/**/src/weights.rs,polkadot/runtime/*/src/weights/**/*.rs,polkadot/bridges/modules/*/src/weights.rs,cumulus/**/weights/*.rs,cumulus/**/weights/xcm/*.rs,cumulus/**/src/weights.rs)

---------

Co-authored-by: command-bot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
2024-04-10 06:44:46 +00:00

4194 lines
248 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 32.0.0
//! DATE: 2024-04-08, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
// Executed Command:
// ./target/production/substrate-node
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_contracts
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --output=./substrate/frame/contracts/src/weights.rs
// --header=./substrate/HEADER-APACHE2
// --template=./substrate/.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 v15_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_determinism_enforced(c: u32, ) -> Weight;
fn upload_code_determinism_relaxed(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 lock_delegate_dependency(r: u32, ) -> Weight;
fn unlock_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_i64_load_store(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_140_000 picoseconds.
Weight::from_parts(2_243_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: `452 + k * (69 ±0)`
// Estimated: `442 + k * (70 ±0)`
// Minimum execution time: 12_655_000 picoseconds.
Weight::from_parts(12_863_000, 442)
// Standard Error: 1_147
.saturating_add(Weight::from_parts(1_097_546, 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_626_000 picoseconds.
Weight::from_parts(8_805_071, 6149)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_188, 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:2 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `510`
// Estimated: `6450`
// Minimum execution time: 16_748_000 picoseconds.
Weight::from_parts(17_483_000, 6450)
.saturating_add(T::DbWeight::get().reads(3_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_632_000 picoseconds.
Weight::from_parts(3_706_000, 3635)
// Standard Error: 903
.saturating_add(Weight::from_parts(1_185_348, 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: `Parameters::Parameters` (r:2 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, 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::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: `328 + c * (1 ±0)`
// Estimated: `6266 + c * (1 ±0)`
// Minimum execution time: 21_630_000 picoseconds.
Weight::from_parts(20_845_294, 6266)
// Standard Error: 2
.saturating_add(Weight::from_parts(421, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
}
/// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
fn v13_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `440`
// Estimated: `6380`
// Minimum execution time: 13_178_000 picoseconds.
Weight::from_parts(13_671_000, 6380)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// 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:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:0)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`)
fn v14_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `352`
// Estimated: `6292`
// Minimum execution time: 45_828_000 picoseconds.
Weight::from_parts(46_476_000, 6292)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
/// Storage: `System::Account` (r:2 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
fn v15_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `594`
// Estimated: `6534`
// Minimum execution time: 54_767_000 picoseconds.
Weight::from_parts(56_879_000, 6534)
.saturating_add(T::DbWeight::get().reads(4_u64))
.saturating_add(T::DbWeight::get().writes(2_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: 2_599_000 picoseconds.
Weight::from_parts(2_794_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: 10_275_000 picoseconds.
Weight::from_parts(10_709_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: 3_813_000 picoseconds.
Weight::from_parts(4_033_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: 5_160_000 picoseconds.
Weight::from_parts(5_478_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: 5_178_000 picoseconds.
Weight::from_parts(5_540_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `804 + c * (1 ±0)`
// Estimated: `9217 + c * (1 ±0)`
// Minimum execution time: 295_545_000 picoseconds.
Weight::from_parts(291_859_570, 9217)
// Standard Error: 73
.saturating_add(Weight::from_parts(33_546, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Balances::Holds` (r:2 w:2)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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(1795), added: 4270, 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: `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: `326`
// Estimated: `8740`
// Minimum execution time: 3_796_729_000 picoseconds.
Weight::from_parts(808_328_941, 8740)
// Standard Error: 156
.saturating_add(Weight::from_parts(99_863, 0).saturating_mul(c.into()))
// Standard Error: 18
.saturating_add(Weight::from_parts(1_433, 0).saturating_mul(i.into()))
// Standard Error: 18
.saturating_add(Weight::from_parts(1_501, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(14_u64))
.saturating_add(T::DbWeight::get().writes(10_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, 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(1795), added: 4270, 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`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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: `563`
// Estimated: `8982`
// Minimum execution time: 2_004_502_000 picoseconds.
Weight::from_parts(2_013_544_000, 8982)
// Standard Error: 26
.saturating_add(Weight::from_parts(807, 0).saturating_mul(i.into()))
// Standard Error: 26
.saturating_add(Weight::from_parts(784, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(13_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `829`
// Estimated: `9244`
// Minimum execution time: 213_568_000 picoseconds.
Weight::from_parts(219_796_000, 9244)
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:2 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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_determinism_enforced(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `145`
// Estimated: `6085`
// Minimum execution time: 290_835_000 picoseconds.
Weight::from_parts(396_613_751, 6085)
// Standard Error: 160
.saturating_add(Weight::from_parts(63_993, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(6_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: `Parameters::Parameters` (r:2 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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_determinism_relaxed(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `145`
// Estimated: `6085`
// Minimum execution time: 302_249_000 picoseconds.
Weight::from_parts(312_519_255, 6085)
// Standard Error: 90
.saturating_add(Weight::from_parts(64_908, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(6_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: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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: `315`
// Estimated: `3780`
// Minimum execution time: 46_580_000 picoseconds.
Weight::from_parts(47_676_000, 3780)
.saturating_add(T::DbWeight::get().reads(4_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::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `552`
// Estimated: `8967`
// Minimum execution time: 35_454_000 picoseconds.
Weight::from_parts(36_956_000, 8967)
.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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `869 + r * (6 ±0)`
// Estimated: `9284 + r * (6 ±0)`
// Minimum execution time: 265_797_000 picoseconds.
Weight::from_parts(305_958_124, 9284)
// Standard Error: 3_049
.saturating_add(Weight::from_parts(343_670, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `925 + r * (209 ±0)`
// Estimated: `9304 + r * (2684 ±0)`
// Minimum execution time: 273_327_000 picoseconds.
Weight::from_parts(143_036_031, 9304)
// Standard Error: 5_612
.saturating_add(Weight::from_parts(3_745_297, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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, 2684).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `924 + r * (213 ±0)`
// Estimated: `9308 + r * (2688 ±0)`
// Minimum execution time: 279_590_000 picoseconds.
Weight::from_parts(147_961_398, 9308)
// Standard Error: 6_198
.saturating_add(Weight::from_parts(4_677_881, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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, 2688).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `876 + r * (6 ±0)`
// Estimated: `9293 + r * (6 ±0)`
// Minimum execution time: 277_334_000 picoseconds.
Weight::from_parts(285_263_644, 9293)
// Standard Error: 771
.saturating_add(Weight::from_parts(450_538, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866 + r * (3 ±0)`
// Estimated: `9282 + r * (3 ±0)`
// Minimum execution time: 262_895_000 picoseconds.
Weight::from_parts(290_274_813, 9282)
// Standard Error: 356
.saturating_add(Weight::from_parts(172_585, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `756 + r * (3 ±0)`
// Estimated: `9171 + r * (3 ±0)`
// Minimum execution time: 261_701_000 picoseconds.
Weight::from_parts(279_765_708, 9171)
// Standard Error: 451
.saturating_add(Weight::from_parts(158_243, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(10_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `870 + r * (6 ±0)`
// Estimated: `9285 + r * (6 ±0)`
// Minimum execution time: 284_209_000 picoseconds.
Weight::from_parts(294_215_782, 9285)
// Standard Error: 703
.saturating_add(Weight::from_parts(344_236, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866 + r * (6 ±0)`
// Estimated: `9284 + r * (6 ±0)`
// Minimum execution time: 277_126_000 picoseconds.
Weight::from_parts(292_436_333, 9284)
// Standard Error: 1_215
.saturating_add(Weight::from_parts(380_107, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1010 + r * (6 ±0)`
// Estimated: `9409 + r * (6 ±0)`
// Minimum execution time: 266_377_000 picoseconds.
Weight::from_parts(295_163_193, 9409)
// Standard Error: 4_026
.saturating_add(Weight::from_parts(1_859_387, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `880 + r * (6 ±0)`
// Estimated: `9301 + r * (6 ±0)`
// Minimum execution time: 276_990_000 picoseconds.
Weight::from_parts(296_463_738, 9301)
// Standard Error: 655
.saturating_add(Weight::from_parts(335_070, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `878 + r * (6 ±0)`
// Estimated: `9294 + r * (6 ±0)`
// Minimum execution time: 274_845_000 picoseconds.
Weight::from_parts(294_870_901, 9294)
// Standard Error: 793
.saturating_add(Weight::from_parts(336_049, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `875 + r * (6 ±0)`
// Estimated: `9297 + r * (6 ±0)`
// Minimum execution time: 277_792_000 picoseconds.
Weight::from_parts(290_529_469, 9297)
// Standard Error: 1_191
.saturating_add(Weight::from_parts(339_291, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866 + r * (6 ±0)`
// Estimated: `9282 + r * (6 ±0)`
// Minimum execution time: 271_060_000 picoseconds.
Weight::from_parts(287_512_151, 9282)
// Standard Error: 859
.saturating_add(Weight::from_parts(345_414, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `940 + r * (14 ±0)`
// Estimated: `9350 + r * (14 ±0)`
// Minimum execution time: 265_401_000 picoseconds.
Weight::from_parts(303_350_793, 9350)
// Standard Error: 1_995
.saturating_add(Weight::from_parts(885_253, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `868 + r * (6 ±0)`
// Estimated: `9285 + r * (6 ±0)`
// Minimum execution time: 264_474_000 picoseconds.
Weight::from_parts(289_972_634, 9285)
// Standard Error: 719
.saturating_add(Weight::from_parts(269_856, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `872`
// Estimated: `9287`
// Minimum execution time: 266_661_000 picoseconds.
Weight::from_parts(147_923_867, 9287)
// Standard Error: 16
.saturating_add(Weight::from_parts(1_365, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `856 + r * (45 ±0)`
// Estimated: `9271 + r * (45 ±0)`
// Minimum execution time: 257_851_000 picoseconds.
Weight::from_parts(285_687_679, 9271)
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866`
// Estimated: `9288`
// Minimum execution time: 283_478_000 picoseconds.
Weight::from_parts(290_827_773, 9288)
// Standard Error: 0
.saturating_add(Weight::from_parts(319, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_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:3 w:3)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Parameters::Parameters` (r:1 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:33 w:33)
/// 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:4 w:4)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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: `4805 + r * (2121 ±0)`
// Estimated: `13220 + r * (81321 ±0)`
// Minimum execution time: 298_477_000 picoseconds.
Weight::from_parts(325_394_306, 13220)
// Standard Error: 873_781
.saturating_add(Weight::from_parts(255_748_093, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(3_u64))
.saturating_add(T::DbWeight::get().writes((41_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 81321).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `947 + r * (10 ±0)`
// Estimated: `9363 + r * (10 ±0)`
// Minimum execution time: 260_352_000 picoseconds.
Weight::from_parts(287_284_570, 9363)
// Standard Error: 4_051
.saturating_add(Weight::from_parts(1_350_197, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866 + r * (10 ±0)`
// Estimated: `9283 + r * (10 ±0)`
// Minimum execution time: 277_214_000 picoseconds.
Weight::from_parts(295_852_897, 9283)
// Standard Error: 1_554
.saturating_add(Weight::from_parts(2_120_577, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `883 + t * (32 ±0)`
// Estimated: `9303 + t * (2508 ±0)`
// Minimum execution time: 282_107_000 picoseconds.
Weight::from_parts(300_658_543, 9303)
// Standard Error: 97_515
.saturating_add(Weight::from_parts(1_999_680, 0).saturating_mul(t.into()))
// Standard Error: 27
.saturating_add(Weight::from_parts(417, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `865 + r * (7 ±0)`
// Estimated: `9285 + r * (7 ±0)`
// Minimum execution time: 170_105_000 picoseconds.
Weight::from_parts(185_260_479, 9285)
// Standard Error: 451
.saturating_add(Weight::from_parts(227_483, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `125816`
// Estimated: `131758`
// Minimum execution time: 415_029_000 picoseconds.
Weight::from_parts(398_551_260, 131758)
// Standard Error: 12
.saturating_add(Weight::from_parts(1_027, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `927 + r * (292 ±0)`
// Estimated: `929 + r * (293 ±0)`
// Minimum execution time: 279_920_000 picoseconds.
Weight::from_parts(190_991_719, 929)
// Standard Error: 10_104
.saturating_add(Weight::from_parts(6_458_687, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `1450`
// Estimated: `1433`
// Minimum execution time: 294_847_000 picoseconds.
Weight::from_parts(350_895_957, 1433)
// Standard Error: 80
.saturating_add(Weight::from_parts(676, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(15_u64))
.saturating_add(T::DbWeight::get().writes(8_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: `1256 + n * (1 ±0)`
// Estimated: `1256 + n * (1 ±0)`
// Minimum execution time: 280_398_000 picoseconds.
Weight::from_parts(306_915_984, 1256)
// Standard Error: 36
.saturating_add(Weight::from_parts(318, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `924 + r * (288 ±0)`
// Estimated: `930 + r * (289 ±0)`
// Minimum execution time: 269_338_000 picoseconds.
Weight::from_parts(192_925_453, 930)
// Standard Error: 9_912
.saturating_add(Weight::from_parts(6_299_237, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `1252 + n * (1 ±0)`
// Estimated: `1252 + n * (1 ±0)`
// Minimum execution time: 281_305_000 picoseconds.
Weight::from_parts(305_828_464, 1252)
// Standard Error: 34
.saturating_add(Weight::from_parts(490, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `924 + r * (296 ±0)`
// Estimated: `926 + r * (297 ±0)`
// Minimum execution time: 267_838_000 picoseconds.
Weight::from_parts(224_154_959, 926)
// Standard Error: 7_904
.saturating_add(Weight::from_parts(5_123_059, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `1268 + n * (1 ±0)`
// Estimated: `1268 + n * (1 ±0)`
// Minimum execution time: 280_093_000 picoseconds.
Weight::from_parts(304_698_374, 1268)
// Standard Error: 46
.saturating_add(Weight::from_parts(579, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `935 + r * (288 ±0)`
// Estimated: `932 + r * (289 ±0)`
// Minimum execution time: 263_759_000 picoseconds.
Weight::from_parts(214_010_246, 932)
// Standard Error: 8_052
.saturating_add(Weight::from_parts(4_953_264, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `1255 + n * (1 ±0)`
// Estimated: `1255 + n * (1 ±0)`
// Minimum execution time: 273_652_000 picoseconds.
Weight::from_parts(299_141_902, 1255)
// Standard Error: 38
.saturating_add(Weight::from_parts(337, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `917 + r * (296 ±0)`
// Estimated: `922 + r * (297 ±0)`
// Minimum execution time: 273_392_000 picoseconds.
Weight::from_parts(192_725_781, 922)
// Standard Error: 10_264
.saturating_add(Weight::from_parts(6_353_931, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `1269 + n * (1 ±0)`
// Estimated: `1269 + n * (1 ±0)`
// Minimum execution time: 284_546_000 picoseconds.
Weight::from_parts(309_720_024, 1269)
// Standard Error: 33
.saturating_add(Weight::from_parts(664, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1418 + r * (45 ±0)`
// Estimated: `9785 + r * (2520 ±0)`
// Minimum execution time: 280_447_000 picoseconds.
Weight::from_parts(354_702_861, 9785)
// Standard Error: 42_509
.saturating_add(Weight::from_parts(34_678_454, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1263 + r * (245 ±0)`
// Estimated: `9635 + r * (2721 ±0)`
// Minimum execution time: 279_400_000 picoseconds.
Weight::from_parts(282_198_000, 9635)
// Standard Error: 109_250
.saturating_add(Weight::from_parts(246_481_216, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(14_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, 2721).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `9290 + r * (2637 ±3)`
// Minimum execution time: 276_509_000 picoseconds.
Weight::from_parts(281_555_000, 9290)
// Standard Error: 133_738
.saturating_add(Weight::from_parts(244_671_777, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1310 + t * (277 ±0)`
// Estimated: `12200 + t * (5227 ±0)`
// Minimum execution time: 464_343_000 picoseconds.
Weight::from_parts(485_002_000, 12200)
// Standard Error: 7_933_446
.saturating_add(Weight::from_parts(172_853_968, 0).saturating_mul(t.into()))
// Standard Error: 6
.saturating_add(Weight::from_parts(775, 0).saturating_mul(c.into()))
.saturating_add(T::DbWeight::get().reads(16_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, 5227).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:802 w:802)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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:803 w:803)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Balances::Holds` (r:800 w:800)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`)
/// The range of component `r` is `[1, 800]`.
fn seal_instantiate(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1281 + r * (255 ±0)`
// Estimated: `9623 + r * (2731 ±0)`
// Minimum execution time: 661_757_000 picoseconds.
Weight::from_parts(676_799_000, 9623)
// Standard Error: 280_583
.saturating_add(Weight::from_parts(372_936_154, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(14_u64))
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r.into())))
.saturating_add(T::DbWeight::get().writes(7_u64))
.saturating_add(T::DbWeight::get().writes((5_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2731).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:3)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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:4 w:4)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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: `1306 + t * (104 ±0)`
// Estimated: `12214 + t * (2549 ±1)`
// Minimum execution time: 2_217_563_000 picoseconds.
Weight::from_parts(1_188_285_504, 12214)
// Standard Error: 12_397_366
.saturating_add(Weight::from_parts(10_833_274, 0).saturating_mul(t.into()))
// Standard Error: 19
.saturating_add(Weight::from_parts(1_084, 0).saturating_mul(i.into()))
// Standard Error: 19
.saturating_add(Weight::from_parts(1_238, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(19_u64))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
.saturating_add(T::DbWeight::get().writes(11_u64))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 2549).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `865 + r * (8 ±0)`
// Estimated: `9279 + r * (8 ±0)`
// Minimum execution time: 274_367_000 picoseconds.
Weight::from_parts(294_958_322, 9279)
// Standard Error: 1_239
.saturating_add(Weight::from_parts(388_976, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `873`
// Estimated: `9286`
// Minimum execution time: 260_947_000 picoseconds.
Weight::from_parts(271_974_409, 9286)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_087, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `867 + r * (8 ±0)`
// Estimated: `9284 + r * (8 ±0)`
// Minimum execution time: 256_505_000 picoseconds.
Weight::from_parts(288_574_804, 9284)
// Standard Error: 1_115
.saturating_add(Weight::from_parts(787_123, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `875`
// Estimated: `9292`
// Minimum execution time: 261_657_000 picoseconds.
Weight::from_parts(283_908_184, 9292)
// Standard Error: 1
.saturating_add(Weight::from_parts(3_345, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `867 + r * (8 ±0)`
// Estimated: `9286 + r * (8 ±0)`
// Minimum execution time: 262_311_000 picoseconds.
Weight::from_parts(295_454_976, 9286)
// Standard Error: 558
.saturating_add(Weight::from_parts(434_922, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `875`
// Estimated: `9291`
// Minimum execution time: 269_002_000 picoseconds.
Weight::from_parts(280_531_070, 9291)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_203, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `867 + r * (8 ±0)`
// Estimated: `9283 + r * (8 ±0)`
// Minimum execution time: 259_660_000 picoseconds.
Weight::from_parts(287_625_483, 9283)
// Standard Error: 524
.saturating_add(Weight::from_parts(456_200, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `875`
// Estimated: `9289`
// Minimum execution time: 263_305_000 picoseconds.
Weight::from_parts(278_483_877, 9289)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1000 + n * (1 ±0)`
// Estimated: `9412 + n * (1 ±0)`
// Minimum execution time: 329_511_000 picoseconds.
Weight::from_parts(341_570_880, 9412)
// Standard Error: 11
.saturating_add(Weight::from_parts(5_914, 0).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `808 + r * (112 ±0)`
// Estimated: `9226 + r * (112 ±0)`
// Minimum execution time: 269_103_000 picoseconds.
Weight::from_parts(317_360_842, 9226)
// Standard Error: 16_463
.saturating_add(Weight::from_parts(45_965_726, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `910 + r * (76 ±0)`
// Estimated: `9279 + r * (77 ±0)`
// Minimum execution time: 281_685_000 picoseconds.
Weight::from_parts(339_617_056, 9279)
// Standard Error: 15_672
.saturating_add(Weight::from_parts(45_907_026, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `880 + r * (42 ±0)`
// Estimated: `9294 + r * (42 ±0)`
// Minimum execution time: 265_009_000 picoseconds.
Weight::from_parts(304_895_744, 9294)
// Standard Error: 7_640
.saturating_add(Weight::from_parts(12_117_411, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `9285 + r * (3090 ±7)`
// Minimum execution time: 281_110_000 picoseconds.
Weight::from_parts(283_554_000, 9285)
// Standard Error: 47_136
.saturating_add(Weight::from_parts(27_448_052, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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 lock_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `937 + r * (131 ±0)`
// Estimated: `9346 + r * (2607 ±0)`
// Minimum execution time: 274_312_000 picoseconds.
Weight::from_parts(297_853_480, 9346)
// Standard Error: 31_172
.saturating_add(Weight::from_parts(6_829_169, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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, 2607).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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 unlock_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `972 + r * (184 ±0)`
// Estimated: `129453 + r * (2568 ±0)`
// Minimum execution time: 271_607_000 picoseconds.
Weight::from_parts(299_008_266, 129453)
// Standard Error: 25_085
.saturating_add(Weight::from_parts(5_828_791, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `861 + r * (3 ±0)`
// Estimated: `9282 + r * (3 ±0)`
// Minimum execution time: 275_135_000 picoseconds.
Weight::from_parts(289_363_447, 9282)
// Standard Error: 501
.saturating_add(Weight::from_parts(171_024, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `2112 + r * (39 ±0)`
// Estimated: `10377 + r * (40 ±0)`
// Minimum execution time: 279_752_000 picoseconds.
Weight::from_parts(322_774_890, 10377)
// Standard Error: 867
.saturating_add(Weight::from_parts(262_474, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `864 + r * (3 ±0)`
// Estimated: `9279 + r * (3 ±0)`
// Minimum execution time: 263_398_000 picoseconds.
Weight::from_parts(291_372_000, 9279)
// Standard Error: 448
.saturating_add(Weight::from_parts(151_931, 0).saturating_mul(r.into()))
.saturating_add(T::DbWeight::get().reads(12_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_i64_load_store(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 838_000 picoseconds.
Weight::from_parts(670_057, 0)
// Standard Error: 17
.saturating_add(Weight::from_parts(15_037, 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_140_000 picoseconds.
Weight::from_parts(2_243_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: `452 + k * (69 ±0)`
// Estimated: `442 + k * (70 ±0)`
// Minimum execution time: 12_655_000 picoseconds.
Weight::from_parts(12_863_000, 442)
// Standard Error: 1_147
.saturating_add(Weight::from_parts(1_097_546, 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_626_000 picoseconds.
Weight::from_parts(8_805_071, 6149)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_188, 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:2 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `510`
// Estimated: `6450`
// Minimum execution time: 16_748_000 picoseconds.
Weight::from_parts(17_483_000, 6450)
.saturating_add(RocksDbWeight::get().reads(3_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_632_000 picoseconds.
Weight::from_parts(3_706_000, 3635)
// Standard Error: 903
.saturating_add(Weight::from_parts(1_185_348, 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: `Parameters::Parameters` (r:2 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, 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::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: `328 + c * (1 ±0)`
// Estimated: `6266 + c * (1 ±0)`
// Minimum execution time: 21_630_000 picoseconds.
Weight::from_parts(20_845_294, 6266)
// Standard Error: 2
.saturating_add(Weight::from_parts(421, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(6_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
}
/// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
fn v13_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `440`
// Estimated: `6380`
// Minimum execution time: 13_178_000 picoseconds.
Weight::from_parts(13_671_000, 6380)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// 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:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:0)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`)
fn v14_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `352`
// Estimated: `6292`
// Minimum execution time: 45_828_000 picoseconds.
Weight::from_parts(46_476_000, 6292)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
/// Storage: `System::Account` (r:2 w:1)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
fn v15_migration_step() -> Weight {
// Proof Size summary in bytes:
// Measured: `594`
// Estimated: `6534`
// Minimum execution time: 54_767_000 picoseconds.
Weight::from_parts(56_879_000, 6534)
.saturating_add(RocksDbWeight::get().reads(4_u64))
.saturating_add(RocksDbWeight::get().writes(2_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: 2_599_000 picoseconds.
Weight::from_parts(2_794_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: 10_275_000 picoseconds.
Weight::from_parts(10_709_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: 3_813_000 picoseconds.
Weight::from_parts(4_033_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: 5_160_000 picoseconds.
Weight::from_parts(5_478_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: 5_178_000 picoseconds.
Weight::from_parts(5_540_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `804 + c * (1 ±0)`
// Estimated: `9217 + c * (1 ±0)`
// Minimum execution time: 295_545_000 picoseconds.
Weight::from_parts(291_859_570, 9217)
// Standard Error: 73
.saturating_add(Weight::from_parts(33_546, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Balances::Holds` (r:2 w:2)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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(1795), added: 4270, 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: `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: `326`
// Estimated: `8740`
// Minimum execution time: 3_796_729_000 picoseconds.
Weight::from_parts(808_328_941, 8740)
// Standard Error: 156
.saturating_add(Weight::from_parts(99_863, 0).saturating_mul(c.into()))
// Standard Error: 18
.saturating_add(Weight::from_parts(1_433, 0).saturating_mul(i.into()))
// Standard Error: 18
.saturating_add(Weight::from_parts(1_501, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(14_u64))
.saturating_add(RocksDbWeight::get().writes(10_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, 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(1795), added: 4270, 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`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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: `563`
// Estimated: `8982`
// Minimum execution time: 2_004_502_000 picoseconds.
Weight::from_parts(2_013_544_000, 8982)
// Standard Error: 26
.saturating_add(Weight::from_parts(807, 0).saturating_mul(i.into()))
// Standard Error: 26
.saturating_add(Weight::from_parts(784, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(13_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `829`
// Estimated: `9244`
// Minimum execution time: 213_568_000 picoseconds.
Weight::from_parts(219_796_000, 9244)
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:2 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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_determinism_enforced(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `145`
// Estimated: `6085`
// Minimum execution time: 290_835_000 picoseconds.
Weight::from_parts(396_613_751, 6085)
// Standard Error: 160
.saturating_add(Weight::from_parts(63_993, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(6_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: `Parameters::Parameters` (r:2 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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_determinism_relaxed(c: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `145`
// Estimated: `6085`
// Minimum execution time: 302_249_000 picoseconds.
Weight::from_parts(312_519_255, 6085)
// Standard Error: 90
.saturating_add(Weight::from_parts(64_908, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(6_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: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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: `315`
// Estimated: `3780`
// Minimum execution time: 46_580_000 picoseconds.
Weight::from_parts(47_676_000, 3780)
.saturating_add(RocksDbWeight::get().reads(4_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::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `552`
// Estimated: `8967`
// Minimum execution time: 35_454_000 picoseconds.
Weight::from_parts(36_956_000, 8967)
.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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `869 + r * (6 ±0)`
// Estimated: `9284 + r * (6 ±0)`
// Minimum execution time: 265_797_000 picoseconds.
Weight::from_parts(305_958_124, 9284)
// Standard Error: 3_049
.saturating_add(Weight::from_parts(343_670, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `925 + r * (209 ±0)`
// Estimated: `9304 + r * (2684 ±0)`
// Minimum execution time: 273_327_000 picoseconds.
Weight::from_parts(143_036_031, 9304)
// Standard Error: 5_612
.saturating_add(Weight::from_parts(3_745_297, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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, 2684).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1601 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `924 + r * (213 ±0)`
// Estimated: `9308 + r * (2688 ±0)`
// Minimum execution time: 279_590_000 picoseconds.
Weight::from_parts(147_961_398, 9308)
// Standard Error: 6_198
.saturating_add(Weight::from_parts(4_677_881, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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, 2688).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `876 + r * (6 ±0)`
// Estimated: `9293 + r * (6 ±0)`
// Minimum execution time: 277_334_000 picoseconds.
Weight::from_parts(285_263_644, 9293)
// Standard Error: 771
.saturating_add(Weight::from_parts(450_538, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866 + r * (3 ±0)`
// Estimated: `9282 + r * (3 ±0)`
// Minimum execution time: 262_895_000 picoseconds.
Weight::from_parts(290_274_813, 9282)
// Standard Error: 356
.saturating_add(Weight::from_parts(172_585, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `756 + r * (3 ±0)`
// Estimated: `9171 + r * (3 ±0)`
// Minimum execution time: 261_701_000 picoseconds.
Weight::from_parts(279_765_708, 9171)
// Standard Error: 451
.saturating_add(Weight::from_parts(158_243, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(10_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `870 + r * (6 ±0)`
// Estimated: `9285 + r * (6 ±0)`
// Minimum execution time: 284_209_000 picoseconds.
Weight::from_parts(294_215_782, 9285)
// Standard Error: 703
.saturating_add(Weight::from_parts(344_236, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866 + r * (6 ±0)`
// Estimated: `9284 + r * (6 ±0)`
// Minimum execution time: 277_126_000 picoseconds.
Weight::from_parts(292_436_333, 9284)
// Standard Error: 1_215
.saturating_add(Weight::from_parts(380_107, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1010 + r * (6 ±0)`
// Estimated: `9409 + r * (6 ±0)`
// Minimum execution time: 266_377_000 picoseconds.
Weight::from_parts(295_163_193, 9409)
// Standard Error: 4_026
.saturating_add(Weight::from_parts(1_859_387, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `880 + r * (6 ±0)`
// Estimated: `9301 + r * (6 ±0)`
// Minimum execution time: 276_990_000 picoseconds.
Weight::from_parts(296_463_738, 9301)
// Standard Error: 655
.saturating_add(Weight::from_parts(335_070, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `878 + r * (6 ±0)`
// Estimated: `9294 + r * (6 ±0)`
// Minimum execution time: 274_845_000 picoseconds.
Weight::from_parts(294_870_901, 9294)
// Standard Error: 793
.saturating_add(Weight::from_parts(336_049, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `875 + r * (6 ±0)`
// Estimated: `9297 + r * (6 ±0)`
// Minimum execution time: 277_792_000 picoseconds.
Weight::from_parts(290_529_469, 9297)
// Standard Error: 1_191
.saturating_add(Weight::from_parts(339_291, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866 + r * (6 ±0)`
// Estimated: `9282 + r * (6 ±0)`
// Minimum execution time: 271_060_000 picoseconds.
Weight::from_parts(287_512_151, 9282)
// Standard Error: 859
.saturating_add(Weight::from_parts(345_414, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `940 + r * (14 ±0)`
// Estimated: `9350 + r * (14 ±0)`
// Minimum execution time: 265_401_000 picoseconds.
Weight::from_parts(303_350_793, 9350)
// Standard Error: 1_995
.saturating_add(Weight::from_parts(885_253, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `868 + r * (6 ±0)`
// Estimated: `9285 + r * (6 ±0)`
// Minimum execution time: 264_474_000 picoseconds.
Weight::from_parts(289_972_634, 9285)
// Standard Error: 719
.saturating_add(Weight::from_parts(269_856, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `872`
// Estimated: `9287`
// Minimum execution time: 266_661_000 picoseconds.
Weight::from_parts(147_923_867, 9287)
// Standard Error: 16
.saturating_add(Weight::from_parts(1_365, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `856 + r * (45 ±0)`
// Estimated: `9271 + r * (45 ±0)`
// Minimum execution time: 257_851_000 picoseconds.
Weight::from_parts(285_687_679, 9271)
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866`
// Estimated: `9288`
// Minimum execution time: 283_478_000 picoseconds.
Weight::from_parts(290_827_773, 9288)
// Standard Error: 0
.saturating_add(Weight::from_parts(319, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_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:3 w:3)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Parameters::Parameters` (r:1 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
/// Storage: `Contracts::CodeInfoOf` (r:33 w:33)
/// 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:4 w:4)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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: `4805 + r * (2121 ±0)`
// Estimated: `13220 + r * (81321 ±0)`
// Minimum execution time: 298_477_000 picoseconds.
Weight::from_parts(325_394_306, 13220)
// Standard Error: 873_781
.saturating_add(Weight::from_parts(255_748_093, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_u64))
.saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(3_u64))
.saturating_add(RocksDbWeight::get().writes((41_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 81321).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `947 + r * (10 ±0)`
// Estimated: `9363 + r * (10 ±0)`
// Minimum execution time: 260_352_000 picoseconds.
Weight::from_parts(287_284_570, 9363)
// Standard Error: 4_051
.saturating_add(Weight::from_parts(1_350_197, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `866 + r * (10 ±0)`
// Estimated: `9283 + r * (10 ±0)`
// Minimum execution time: 277_214_000 picoseconds.
Weight::from_parts(295_852_897, 9283)
// Standard Error: 1_554
.saturating_add(Weight::from_parts(2_120_577, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `883 + t * (32 ±0)`
// Estimated: `9303 + t * (2508 ±0)`
// Minimum execution time: 282_107_000 picoseconds.
Weight::from_parts(300_658_543, 9303)
// Standard Error: 97_515
.saturating_add(Weight::from_parts(1_999_680, 0).saturating_mul(t.into()))
// Standard Error: 27
.saturating_add(Weight::from_parts(417, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `865 + r * (7 ±0)`
// Estimated: `9285 + r * (7 ±0)`
// Minimum execution time: 170_105_000 picoseconds.
Weight::from_parts(185_260_479, 9285)
// Standard Error: 451
.saturating_add(Weight::from_parts(227_483, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `125816`
// Estimated: `131758`
// Minimum execution time: 415_029_000 picoseconds.
Weight::from_parts(398_551_260, 131758)
// Standard Error: 12
.saturating_add(Weight::from_parts(1_027, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `927 + r * (292 ±0)`
// Estimated: `929 + r * (293 ±0)`
// Minimum execution time: 279_920_000 picoseconds.
Weight::from_parts(190_991_719, 929)
// Standard Error: 10_104
.saturating_add(Weight::from_parts(6_458_687, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `1450`
// Estimated: `1433`
// Minimum execution time: 294_847_000 picoseconds.
Weight::from_parts(350_895_957, 1433)
// Standard Error: 80
.saturating_add(Weight::from_parts(676, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(15_u64))
.saturating_add(RocksDbWeight::get().writes(8_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: `1256 + n * (1 ±0)`
// Estimated: `1256 + n * (1 ±0)`
// Minimum execution time: 280_398_000 picoseconds.
Weight::from_parts(306_915_984, 1256)
// Standard Error: 36
.saturating_add(Weight::from_parts(318, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `924 + r * (288 ±0)`
// Estimated: `930 + r * (289 ±0)`
// Minimum execution time: 269_338_000 picoseconds.
Weight::from_parts(192_925_453, 930)
// Standard Error: 9_912
.saturating_add(Weight::from_parts(6_299_237, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `1252 + n * (1 ±0)`
// Estimated: `1252 + n * (1 ±0)`
// Minimum execution time: 281_305_000 picoseconds.
Weight::from_parts(305_828_464, 1252)
// Standard Error: 34
.saturating_add(Weight::from_parts(490, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `924 + r * (296 ±0)`
// Estimated: `926 + r * (297 ±0)`
// Minimum execution time: 267_838_000 picoseconds.
Weight::from_parts(224_154_959, 926)
// Standard Error: 7_904
.saturating_add(Weight::from_parts(5_123_059, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `1268 + n * (1 ±0)`
// Estimated: `1268 + n * (1 ±0)`
// Minimum execution time: 280_093_000 picoseconds.
Weight::from_parts(304_698_374, 1268)
// Standard Error: 46
.saturating_add(Weight::from_parts(579, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `935 + r * (288 ±0)`
// Estimated: `932 + r * (289 ±0)`
// Minimum execution time: 263_759_000 picoseconds.
Weight::from_parts(214_010_246, 932)
// Standard Error: 8_052
.saturating_add(Weight::from_parts(4_953_264, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `1255 + n * (1 ±0)`
// Estimated: `1255 + n * (1 ±0)`
// Minimum execution time: 273_652_000 picoseconds.
Weight::from_parts(299_141_902, 1255)
// Standard Error: 38
.saturating_add(Weight::from_parts(337, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `917 + r * (296 ±0)`
// Estimated: `922 + r * (297 ±0)`
// Minimum execution time: 273_392_000 picoseconds.
Weight::from_parts(192_725_781, 922)
// Standard Error: 10_264
.saturating_add(Weight::from_parts(6_353_931, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `1269 + n * (1 ±0)`
// Estimated: `1269 + n * (1 ±0)`
// Minimum execution time: 284_546_000 picoseconds.
Weight::from_parts(309_720_024, 1269)
// Standard Error: 33
.saturating_add(Weight::from_parts(664, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1418 + r * (45 ±0)`
// Estimated: `9785 + r * (2520 ±0)`
// Minimum execution time: 280_447_000 picoseconds.
Weight::from_parts(354_702_861, 9785)
// Standard Error: 42_509
.saturating_add(Weight::from_parts(34_678_454, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(12_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1263 + r * (245 ±0)`
// Estimated: `9635 + r * (2721 ±0)`
// Minimum execution time: 279_400_000 picoseconds.
Weight::from_parts(282_198_000, 9635)
// Standard Error: 109_250
.saturating_add(Weight::from_parts(246_481_216, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(14_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, 2721).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `9290 + r * (2637 ±3)`
// Minimum execution time: 276_509_000 picoseconds.
Weight::from_parts(281_555_000, 9290)
// Standard Error: 133_738
.saturating_add(Weight::from_parts(244_671_777, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1310 + t * (277 ±0)`
// Estimated: `12200 + t * (5227 ±0)`
// Minimum execution time: 464_343_000 picoseconds.
Weight::from_parts(485_002_000, 12200)
// Standard Error: 7_933_446
.saturating_add(Weight::from_parts(172_853_968, 0).saturating_mul(t.into()))
// Standard Error: 6
.saturating_add(Weight::from_parts(775, 0).saturating_mul(c.into()))
.saturating_add(RocksDbWeight::get().reads(16_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, 5227).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:802 w:802)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:801 w:801)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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:803 w:803)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Balances::Holds` (r:800 w:800)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`)
/// The range of component `r` is `[1, 800]`.
fn seal_instantiate(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1281 + r * (255 ±0)`
// Estimated: `9623 + r * (2731 ±0)`
// Minimum execution time: 661_757_000 picoseconds.
Weight::from_parts(676_799_000, 9623)
// Standard Error: 280_583
.saturating_add(Weight::from_parts(372_936_154, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(14_u64))
.saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(r.into())))
.saturating_add(RocksDbWeight::get().writes(7_u64))
.saturating_add(RocksDbWeight::get().writes((5_u64).saturating_mul(r.into())))
.saturating_add(Weight::from_parts(0, 2731).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:3)
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
/// Storage: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:2 w:2)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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:4 w:4)
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
/// Storage: `Balances::Holds` (r:1 w:1)
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, 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: `1306 + t * (104 ±0)`
// Estimated: `12214 + t * (2549 ±1)`
// Minimum execution time: 2_217_563_000 picoseconds.
Weight::from_parts(1_188_285_504, 12214)
// Standard Error: 12_397_366
.saturating_add(Weight::from_parts(10_833_274, 0).saturating_mul(t.into()))
// Standard Error: 19
.saturating_add(Weight::from_parts(1_084, 0).saturating_mul(i.into()))
// Standard Error: 19
.saturating_add(Weight::from_parts(1_238, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(19_u64))
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
.saturating_add(RocksDbWeight::get().writes(11_u64))
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
.saturating_add(Weight::from_parts(0, 2549).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `865 + r * (8 ±0)`
// Estimated: `9279 + r * (8 ±0)`
// Minimum execution time: 274_367_000 picoseconds.
Weight::from_parts(294_958_322, 9279)
// Standard Error: 1_239
.saturating_add(Weight::from_parts(388_976, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `873`
// Estimated: `9286`
// Minimum execution time: 260_947_000 picoseconds.
Weight::from_parts(271_974_409, 9286)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_087, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `867 + r * (8 ±0)`
// Estimated: `9284 + r * (8 ±0)`
// Minimum execution time: 256_505_000 picoseconds.
Weight::from_parts(288_574_804, 9284)
// Standard Error: 1_115
.saturating_add(Weight::from_parts(787_123, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `875`
// Estimated: `9292`
// Minimum execution time: 261_657_000 picoseconds.
Weight::from_parts(283_908_184, 9292)
// Standard Error: 1
.saturating_add(Weight::from_parts(3_345, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `867 + r * (8 ±0)`
// Estimated: `9286 + r * (8 ±0)`
// Minimum execution time: 262_311_000 picoseconds.
Weight::from_parts(295_454_976, 9286)
// Standard Error: 558
.saturating_add(Weight::from_parts(434_922, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `875`
// Estimated: `9291`
// Minimum execution time: 269_002_000 picoseconds.
Weight::from_parts(280_531_070, 9291)
// Standard Error: 1
.saturating_add(Weight::from_parts(1_203, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `867 + r * (8 ±0)`
// Estimated: `9283 + r * (8 ±0)`
// Minimum execution time: 259_660_000 picoseconds.
Weight::from_parts(287_625_483, 9283)
// Standard Error: 524
.saturating_add(Weight::from_parts(456_200, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `875`
// Estimated: `9289`
// Minimum execution time: 263_305_000 picoseconds.
Weight::from_parts(278_483_877, 9289)
// Standard Error: 0
.saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `1000 + n * (1 ±0)`
// Estimated: `9412 + n * (1 ±0)`
// Minimum execution time: 329_511_000 picoseconds.
Weight::from_parts(341_570_880, 9412)
// Standard Error: 11
.saturating_add(Weight::from_parts(5_914, 0).saturating_mul(n.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `808 + r * (112 ±0)`
// Estimated: `9226 + r * (112 ±0)`
// Minimum execution time: 269_103_000 picoseconds.
Weight::from_parts(317_360_842, 9226)
// Standard Error: 16_463
.saturating_add(Weight::from_parts(45_965_726, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `910 + r * (76 ±0)`
// Estimated: `9279 + r * (77 ±0)`
// Minimum execution time: 281_685_000 picoseconds.
Weight::from_parts(339_617_056, 9279)
// Standard Error: 15_672
.saturating_add(Weight::from_parts(45_907_026, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `880 + r * (42 ±0)`
// Estimated: `9294 + r * (42 ±0)`
// Minimum execution time: 265_009_000 picoseconds.
Weight::from_parts(304_895_744, 9294)
// Standard Error: 7_640
.saturating_add(Weight::from_parts(12_117_411, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `9285 + r * (3090 ±7)`
// Minimum execution time: 281_110_000 picoseconds.
Weight::from_parts(283_554_000, 9285)
// Standard Error: 47_136
.saturating_add(Weight::from_parts(27_448_052, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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 lock_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `937 + r * (131 ±0)`
// Estimated: `9346 + r * (2607 ±0)`
// Minimum execution time: 274_312_000 picoseconds.
Weight::from_parts(297_853_480, 9346)
// Standard Error: 31_172
.saturating_add(Weight::from_parts(6_829_169, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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, 2607).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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `MaxEncodedLen`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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 unlock_delegate_dependency(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `972 + r * (184 ±0)`
// Estimated: `129453 + r * (2568 ±0)`
// Minimum execution time: 271_607_000 picoseconds.
Weight::from_parts(299_008_266, 129453)
// Standard Error: 25_085
.saturating_add(Weight::from_parts(5_828_791, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `861 + r * (3 ±0)`
// Estimated: `9282 + r * (3 ±0)`
// Minimum execution time: 275_135_000 picoseconds.
Weight::from_parts(289_363_447, 9282)
// Standard Error: 501
.saturating_add(Weight::from_parts(171_024, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `2112 + r * (39 ±0)`
// Estimated: `10377 + r * (40 ±0)`
// Minimum execution time: 279_752_000 picoseconds.
Weight::from_parts(322_774_890, 10377)
// Standard Error: 867
.saturating_add(Weight::from_parts(262_474, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(11_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: `Parameters::Parameters` (r:3 w:0)
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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: `864 + r * (3 ±0)`
// Estimated: `9279 + r * (3 ±0)`
// Minimum execution time: 263_398_000 picoseconds.
Weight::from_parts(291_372_000, 9279)
// Standard Error: 448
.saturating_add(Weight::from_parts(151_931, 0).saturating_mul(r.into()))
.saturating_add(RocksDbWeight::get().reads(12_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_i64_load_store(r: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 838_000 picoseconds.
Weight::from_parts(670_057, 0)
// Standard Error: 17
.saturating_add(Weight::from_parts(15_037, 0).saturating_mul(r.into()))
}
}