mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-08-03 12:45:41 +00:00
e81322bc3e
Add verify statement to ensure that benchmarks call do not revert Also updated [benchmarks](https://weights.tasty.limo/compare?unit=time&ignore_errors=true&threshold=10&method=asymptotic&repo=polkadot-sdk&old=master&new=pg/verify-benchmarks&path_pattern=substrate%2Fframe%2Fcontracts%2Fsrc%2Fweights.rs) --------- Co-authored-by: command-bot <>
2701 lines
134 KiB
Rust
Generated
2701 lines
134 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-15, 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
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --extrinsic=*
|
|
// --wasm-execution=compiled
|
|
// --heap-pages=4096
|
|
// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
|
|
// --pallet=pallet_contracts
|
|
// --chain=dev
|
|
// --header=./substrate/HEADER-APACHE2
|
|
// --output=./substrate/frame/contracts/src/weights.rs
|
|
// --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 v16_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_149_000 picoseconds.
|
|
Weight::from_parts(2_274_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_863_000 picoseconds.
|
|
Weight::from_parts(13_188_000, 442)
|
|
// Standard Error: 1_053
|
|
.saturating_add(Weight::from_parts(1_105_325, 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_432_000 picoseconds.
|
|
Weight::from_parts(9_203_290, 6149)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_186, 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: 17_177_000 picoseconds.
|
|
Weight::from_parts(17_663_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_636_000 picoseconds.
|
|
Weight::from_parts(3_774_000, 3635)
|
|
// Standard Error: 542
|
|
.saturating_add(Weight::from_parts(1_260_058, 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_585_000 picoseconds.
|
|
Weight::from_parts(22_069_944, 6266)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(404, 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_283_000 picoseconds.
|
|
Weight::from_parts(14_015_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: 48_022_000 picoseconds.
|
|
Weight::from_parts(49_627_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: 58_374_000 picoseconds.
|
|
Weight::from_parts(59_615_000, 6534)
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
fn v16_migration_step() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `409`
|
|
// Estimated: `6349`
|
|
// Minimum execution time: 12_559_000 picoseconds.
|
|
Weight::from_parts(12_947_000, 6349)
|
|
.saturating_add(T::DbWeight::get().reads(2_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`)
|
|
fn migration_noop() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `142`
|
|
// Estimated: `1627`
|
|
// Minimum execution time: 2_480_000 picoseconds.
|
|
Weight::from_parts(2_680_000, 1627)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
|
|
fn migrate() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `166`
|
|
// Estimated: `3631`
|
|
// Minimum execution time: 12_625_000 picoseconds.
|
|
Weight::from_parts(13_094_000, 3631)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
fn on_runtime_upgrade_noop() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `142`
|
|
// Estimated: `3607`
|
|
// Minimum execution time: 4_836_000 picoseconds.
|
|
Weight::from_parts(5_182_000, 3607)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
fn on_runtime_upgrade_in_progress() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `167`
|
|
// Estimated: `3632`
|
|
// Minimum execution time: 6_319_000 picoseconds.
|
|
Weight::from_parts(6_582_000, 3632)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
}
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
fn on_runtime_upgrade() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `142`
|
|
// Estimated: `3607`
|
|
// Minimum execution time: 6_532_000 picoseconds.
|
|
Weight::from_parts(6_909_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: 305_778_000 picoseconds.
|
|
Weight::from_parts(282_321_249, 9217)
|
|
// Standard Error: 72
|
|
.saturating_add(Weight::from_parts(33_456, 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_810_809_000 picoseconds.
|
|
Weight::from_parts(739_511_598, 8740)
|
|
// Standard Error: 140
|
|
.saturating_add(Weight::from_parts(67_574, 0).saturating_mul(c.into()))
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_parts(1_488, 0).saturating_mul(i.into()))
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_parts(1_537, 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: 1_986_789_000 picoseconds.
|
|
Weight::from_parts(2_017_466_000, 8982)
|
|
// Standard Error: 26
|
|
.saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into()))
|
|
// Standard Error: 26
|
|
.saturating_add(Weight::from_parts(781, 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: 210_724_000 picoseconds.
|
|
Weight::from_parts(218_608_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: 271_259_000 picoseconds.
|
|
Weight::from_parts(298_852_854, 6085)
|
|
// Standard Error: 65
|
|
.saturating_add(Weight::from_parts(33_547, 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: 278_167_000 picoseconds.
|
|
Weight::from_parts(311_888_941, 6085)
|
|
// Standard Error: 58
|
|
.saturating_add(Weight::from_parts(33_595, 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: 47_403_000 picoseconds.
|
|
Weight::from_parts(48_707_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_361_000 picoseconds.
|
|
Weight::from_parts(36_714_000, 8967)
|
|
.saturating_add(T::DbWeight::get().reads(7_u64))
|
|
.saturating_add(T::DbWeight::get().writes(6_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_caller(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_340_000 picoseconds.
|
|
Weight::from_parts(9_360_237, 0)
|
|
// Standard Error: 269
|
|
.saturating_add(Weight::from_parts(249_611, 0).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1600 w:0)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_is_contract(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `509 + r * (77 ±0)`
|
|
// Estimated: `1467 + r * (2552 ±0)`
|
|
// Minimum execution time: 9_059_000 picoseconds.
|
|
Weight::from_parts(9_201_000, 1467)
|
|
// Standard Error: 5_643
|
|
.saturating_add(Weight::from_parts(3_343_859, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1600 w:0)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_code_hash(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `517 + r * (170 ±0)`
|
|
// Estimated: `1468 + r * (2645 ±0)`
|
|
// Minimum execution time: 9_220_000 picoseconds.
|
|
Weight::from_parts(9_399_000, 1468)
|
|
// Standard Error: 6_194
|
|
.saturating_add(Weight::from_parts(4_172_011, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_own_code_hash(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_707_000 picoseconds.
|
|
Weight::from_parts(10_100_456, 0)
|
|
// Standard Error: 234
|
|
.saturating_add(Weight::from_parts(338_464, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_caller_is_origin(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_524_000 picoseconds.
|
|
Weight::from_parts(10_813_389, 0)
|
|
// Standard Error: 76
|
|
.saturating_add(Weight::from_parts(102_535, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_caller_is_root(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_799_000 picoseconds.
|
|
Weight::from_parts(10_886_744, 0)
|
|
// Standard Error: 75
|
|
.saturating_add(Weight::from_parts(80_901, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_address(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_895_000 picoseconds.
|
|
Weight::from_parts(10_658_338, 0)
|
|
// Standard Error: 189
|
|
.saturating_add(Weight::from_parts(249_694, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_gas_left(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_643_000 picoseconds.
|
|
Weight::from_parts(10_932_126, 0)
|
|
// Standard Error: 153
|
|
.saturating_add(Weight::from_parts(280_924, 0).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `System::Account` (r:1 w:0)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_balance(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `140`
|
|
// Estimated: `3599`
|
|
// Minimum execution time: 9_548_000 picoseconds.
|
|
Weight::from_parts(9_737_000, 3599)
|
|
// Standard Error: 971
|
|
.saturating_add(Weight::from_parts(1_704_134, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_value_transferred(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_172_000 picoseconds.
|
|
Weight::from_parts(18_255_933, 0)
|
|
// Standard Error: 540
|
|
.saturating_add(Weight::from_parts(230_929, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_minimum_balance(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_232_000 picoseconds.
|
|
Weight::from_parts(9_796_584, 0)
|
|
// Standard Error: 208
|
|
.saturating_add(Weight::from_parts(239_962, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_block_number(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_747_000 picoseconds.
|
|
Weight::from_parts(8_733_230, 0)
|
|
// Standard Error: 377
|
|
.saturating_add(Weight::from_parts(253_801, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_now(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_214_000 picoseconds.
|
|
Weight::from_parts(10_194_153, 0)
|
|
// Standard Error: 516
|
|
.saturating_add(Weight::from_parts(247_621, 0).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
|
|
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_weight_to_fee(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `67`
|
|
// Estimated: `1552`
|
|
// Minimum execution time: 9_022_000 picoseconds.
|
|
Weight::from_parts(22_051_160, 1552)
|
|
// Standard Error: 697
|
|
.saturating_add(Weight::from_parts(709_612, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_input(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_135_000 picoseconds.
|
|
Weight::from_parts(10_646_215, 0)
|
|
// Standard Error: 161
|
|
.saturating_add(Weight::from_parts(170_336, 0).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: 273_896_000 picoseconds.
|
|
Weight::from_parts(148_309_654, 9287)
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_parts(1_355, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(11_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_return(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 8_906_000 picoseconds.
|
|
Weight::from_parts(9_264_446, 0)
|
|
// Standard Error: 19_760
|
|
.saturating_add(Weight::from_parts(1_256_053, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_return_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_266_000 picoseconds.
|
|
Weight::from_parts(10_602_261, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(318, 0).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: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: 295_922_000 picoseconds.
|
|
Weight::from_parts(322_472_877, 13220)
|
|
// Standard Error: 993_812
|
|
.saturating_add(Weight::from_parts(259_075_422, 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: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
|
|
/// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_random(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `76`
|
|
// Estimated: `1561`
|
|
// Minimum execution time: 9_427_000 picoseconds.
|
|
Weight::from_parts(12_996_213, 1561)
|
|
// Standard Error: 845
|
|
.saturating_add(Weight::from_parts(1_182_642, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_deposit_event(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_304_000 picoseconds.
|
|
Weight::from_parts(25_678_842, 0)
|
|
// Standard Error: 1_855
|
|
.saturating_add(Weight::from_parts(1_814_511, 0).saturating_mul(r.into()))
|
|
}
|
|
/// 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, 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: `0`
|
|
// Estimated: `990 + t * (2475 ±0)`
|
|
// Minimum execution time: 23_425_000 picoseconds.
|
|
Weight::from_parts(15_229_010, 990)
|
|
// Standard Error: 14_380
|
|
.saturating_add(Weight::from_parts(2_545_653, 0).saturating_mul(t.into()))
|
|
// Standard Error: 4
|
|
.saturating_add(Weight::from_parts(594, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_debug_message(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 11_117_000 picoseconds.
|
|
Weight::from_parts(12_887_533, 0)
|
|
// Standard Error: 83
|
|
.saturating_add(Weight::from_parts(99_373, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `i` is `[0, 1048576]`.
|
|
fn seal_debug_message_per_byte(i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_982_000 picoseconds.
|
|
Weight::from_parts(11_176_000, 0)
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_parts(983, 0).saturating_mul(i.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_set_storage(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_150_000 picoseconds.
|
|
Weight::from_parts(9_269_000, 105)
|
|
// Standard Error: 8_147
|
|
.saturating_add(Weight::from_parts(5_339_554, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `245`
|
|
// Estimated: `245`
|
|
// Minimum execution time: 19_085_000 picoseconds.
|
|
Weight::from_parts(20_007_323, 245)
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(291, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 19_127_000 picoseconds.
|
|
Weight::from_parts(21_152_987, 248)
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(42, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_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: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_264_000 picoseconds.
|
|
Weight::from_parts(9_449_000, 105)
|
|
// Standard Error: 8_196
|
|
.saturating_add(Weight::from_parts(5_325_578, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 18_489_000 picoseconds.
|
|
Weight::from_parts(19_916_153, 248)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(97, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_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: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_299_000 picoseconds.
|
|
Weight::from_parts(9_464_000, 105)
|
|
// Standard Error: 6_827
|
|
.saturating_add(Weight::from_parts(4_720_699, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 17_981_000 picoseconds.
|
|
Weight::from_parts(19_802_353, 248)
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_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: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_891_000 picoseconds.
|
|
Weight::from_parts(10_046_000, 105)
|
|
// Standard Error: 6_993
|
|
.saturating_add(Weight::from_parts(4_601_167, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 17_229_000 picoseconds.
|
|
Weight::from_parts(18_302_733, 248)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_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: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_323_000 picoseconds.
|
|
Weight::from_parts(9_462_000, 105)
|
|
// Standard Error: 8_031
|
|
.saturating_add(Weight::from_parts(5_433_981, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 18_711_000 picoseconds.
|
|
Weight::from_parts(20_495_670, 248)
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(640, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: `System::Account` (r:1601 w:1601)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_transfer(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `770`
|
|
// Estimated: `4221 + r * (2475 ±0)`
|
|
// Minimum execution time: 9_226_000 picoseconds.
|
|
Weight::from_parts(9_394_000, 4221)
|
|
// Standard Error: 14_741
|
|
.saturating_add(Weight::from_parts(34_179_316, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2475).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:800 w:801)
|
|
/// 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: `System::EventTopics` (r:801 w:801)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `Parameters::Parameters` (r:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 800]`.
|
|
fn seal_call(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `520 + r * (170 ±0)`
|
|
// Estimated: `6463 + r * (2646 ±0)`
|
|
// Minimum execution time: 9_455_000 picoseconds.
|
|
Weight::from_parts(9_671_000, 6463)
|
|
// Standard Error: 126_080
|
|
.saturating_add(Weight::from_parts(244_204_040, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2646).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:735 w:0)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Contracts::PristineCode` (r:735 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:736 w:736)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, 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::ContractInfoOf` (r:0 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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 * (527 ±0)`
|
|
// Estimated: `6447 + r * (2583 ±10)`
|
|
// Minimum execution time: 9_274_000 picoseconds.
|
|
Weight::from_parts(9_437_000, 6447)
|
|
// Standard Error: 150_832
|
|
.saturating_add(Weight::from_parts(244_196_269, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:2)
|
|
/// 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: `System::Account` (r:2 w:2)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:2 w:2)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `Parameters::Parameters` (r:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, 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: `699 + t * (277 ±0)`
|
|
// Estimated: `6639 + t * (3458 ±0)`
|
|
// Minimum execution time: 214_483_000 picoseconds.
|
|
Weight::from_parts(122_634_366, 6639)
|
|
// Standard Error: 2_499_235
|
|
.saturating_add(Weight::from_parts(41_326_008, 0).saturating_mul(t.into()))
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(422, 0).saturating_mul(c.into()))
|
|
.saturating_add(T::DbWeight::get().reads(7_u64))
|
|
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into())))
|
|
.saturating_add(T::DbWeight::get().writes(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t.into())))
|
|
.saturating_add(Weight::from_parts(0, 3458).saturating_mul(t.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:800 w:800)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Contracts::PristineCode` (r:800 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `Contracts::Nonce` (r:1 w:0)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:800 w:801)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:801 w:801)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `r` is `[1, 800]`.
|
|
fn seal_instantiate(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1097 + r * (188 ±0)`
|
|
// Estimated: `6990 + r * (2664 ±0)`
|
|
// Minimum execution time: 341_569_000 picoseconds.
|
|
Weight::from_parts(360_574_000, 6990)
|
|
// Standard Error: 259_746
|
|
.saturating_add(Weight::from_parts(337_944_674, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(6_u64))
|
|
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2664).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Contracts::PristineCode` (r:1 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `Contracts::Nonce` (r:1 w:0)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:2)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:2 w:2)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `t` is `[0, 1]`.
|
|
/// The range of component `i` is `[0, 983040]`.
|
|
/// The range of component `s` is `[0, 983040]`.
|
|
fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `760 + t * (104 ±0)`
|
|
// Estimated: `6719 + t * (2549 ±1)`
|
|
// Minimum execution time: 1_863_119_000 picoseconds.
|
|
Weight::from_parts(900_189_174, 6719)
|
|
// Standard Error: 13_040_979
|
|
.saturating_add(Weight::from_parts(4_056_063, 0).saturating_mul(t.into()))
|
|
// Standard Error: 20
|
|
.saturating_add(Weight::from_parts(1_028, 0).saturating_mul(i.into()))
|
|
// Standard Error: 20
|
|
.saturating_add(Weight::from_parts(1_173, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(10_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(T::DbWeight::get().writes(7_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(Weight::from_parts(0, 2549).saturating_mul(t.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_hash_sha2_256(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_211_000 picoseconds.
|
|
Weight::from_parts(11_696_412, 0)
|
|
// Standard Error: 388
|
|
.saturating_add(Weight::from_parts(265_538, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_296_000 picoseconds.
|
|
Weight::from_parts(572_494, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_067, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_hash_keccak_256(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_177_000 picoseconds.
|
|
Weight::from_parts(8_620_481, 0)
|
|
// Standard Error: 249
|
|
.saturating_add(Weight::from_parts(674_502, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 11_240_000 picoseconds.
|
|
Weight::from_parts(8_696_186, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(3_328, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_hash_blake2_256(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_889_000 picoseconds.
|
|
Weight::from_parts(16_103_170, 0)
|
|
// Standard Error: 343
|
|
.saturating_add(Weight::from_parts(328_939, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_405_000 picoseconds.
|
|
Weight::from_parts(2_264_024, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_hash_blake2_128(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_215_000 picoseconds.
|
|
Weight::from_parts(10_505_632, 0)
|
|
// Standard Error: 240
|
|
.saturating_add(Weight::from_parts(324_854, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_440_000 picoseconds.
|
|
Weight::from_parts(2_575_889, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_199, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 125697]`.
|
|
fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 55_119_000 picoseconds.
|
|
Weight::from_parts(56_732_248, 0)
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_parts(4_639, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 160]`.
|
|
fn seal_sr25519_verify(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_176_000 picoseconds.
|
|
Weight::from_parts(9_861_102, 0)
|
|
// Standard Error: 6_029
|
|
.saturating_add(Weight::from_parts(45_948_571, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 160]`.
|
|
fn seal_ecdsa_recover(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_293_000 picoseconds.
|
|
Weight::from_parts(28_785_765, 0)
|
|
// Standard Error: 9_160
|
|
.saturating_add(Weight::from_parts(45_566_150, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 160]`.
|
|
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_206_000 picoseconds.
|
|
Weight::from_parts(12_420_664, 0)
|
|
// Standard Error: 3_489
|
|
.saturating_add(Weight::from_parts(11_628_989, 0).saturating_mul(r.into()))
|
|
}
|
|
/// 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:1535 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `Parameters::Parameters` (r:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:1537 w:1537)
|
|
/// 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 * (926 ±0)`
|
|
// Estimated: `8969 + r * (3047 ±7)`
|
|
// Minimum execution time: 9_219_000 picoseconds.
|
|
Weight::from_parts(9_385_000, 8969)
|
|
// Standard Error: 45_562
|
|
.saturating_add(Weight::from_parts(26_360_661, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:32 w:32)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 32]`.
|
|
fn lock_delegate_dependency(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `274 + r * (78 ±0)`
|
|
// Estimated: `1265 + r * (2553 ±0)`
|
|
// Minimum execution time: 9_355_000 picoseconds.
|
|
Weight::from_parts(15_071_309, 1265)
|
|
// Standard Error: 9_722
|
|
.saturating_add(Weight::from_parts(5_328_717, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:32 w:32)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
|
|
/// The range of component `r` is `[0, 32]`.
|
|
fn unlock_delegate_dependency(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `275 + r * (78 ±0)`
|
|
// Estimated: `990 + r * (2568 ±0)`
|
|
// Minimum execution time: 8_979_000 picoseconds.
|
|
Weight::from_parts(14_362_224, 990)
|
|
// Standard Error: 9_137
|
|
.saturating_add(Weight::from_parts(4_488_748, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.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: 269_704_000 picoseconds.
|
|
Weight::from_parts(289_916_035, 9282)
|
|
// Standard Error: 408
|
|
.saturating_add(Weight::from_parts(166_040, 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()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_account_reentrance_count(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_361_000 picoseconds.
|
|
Weight::from_parts(11_633_836, 0)
|
|
// Standard Error: 86
|
|
.saturating_add(Weight::from_parts(83_083, 0).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::Nonce` (r:1 w:0)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_instantiation_nonce(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `219`
|
|
// Estimated: `1704`
|
|
// Minimum execution time: 9_133_000 picoseconds.
|
|
Weight::from_parts(13_259_836, 1704)
|
|
// Standard Error: 121
|
|
.saturating_add(Weight::from_parts(76_878, 0).saturating_mul(r.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// 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: 851_000 picoseconds.
|
|
Weight::from_parts(587_883, 0)
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_parts(14_912, 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_149_000 picoseconds.
|
|
Weight::from_parts(2_274_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_863_000 picoseconds.
|
|
Weight::from_parts(13_188_000, 442)
|
|
// Standard Error: 1_053
|
|
.saturating_add(Weight::from_parts(1_105_325, 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_432_000 picoseconds.
|
|
Weight::from_parts(9_203_290, 6149)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_186, 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: 17_177_000 picoseconds.
|
|
Weight::from_parts(17_663_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_636_000 picoseconds.
|
|
Weight::from_parts(3_774_000, 3635)
|
|
// Standard Error: 542
|
|
.saturating_add(Weight::from_parts(1_260_058, 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_585_000 picoseconds.
|
|
Weight::from_parts(22_069_944, 6266)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(404, 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_283_000 picoseconds.
|
|
Weight::from_parts(14_015_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: 48_022_000 picoseconds.
|
|
Weight::from_parts(49_627_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: 58_374_000 picoseconds.
|
|
Weight::from_parts(59_615_000, 6534)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:2 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
fn v16_migration_step() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `409`
|
|
// Estimated: `6349`
|
|
// Minimum execution time: 12_559_000 picoseconds.
|
|
Weight::from_parts(12_947_000, 6349)
|
|
.saturating_add(RocksDbWeight::get().reads(2_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`)
|
|
fn migration_noop() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `142`
|
|
// Estimated: `1627`
|
|
// Minimum execution time: 2_480_000 picoseconds.
|
|
Weight::from_parts(2_680_000, 1627)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:1)
|
|
fn migrate() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `166`
|
|
// Estimated: `3631`
|
|
// Minimum execution time: 12_625_000 picoseconds.
|
|
Weight::from_parts(13_094_000, 3631)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
}
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
fn on_runtime_upgrade_noop() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `142`
|
|
// Estimated: `3607`
|
|
// Minimum execution time: 4_836_000 picoseconds.
|
|
Weight::from_parts(5_182_000, 3607)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
fn on_runtime_upgrade_in_progress() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `167`
|
|
// Estimated: `3632`
|
|
// Minimum execution time: 6_319_000 picoseconds.
|
|
Weight::from_parts(6_582_000, 3632)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
}
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0)
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:1)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
fn on_runtime_upgrade() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `142`
|
|
// Estimated: `3607`
|
|
// Minimum execution time: 6_532_000 picoseconds.
|
|
Weight::from_parts(6_909_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: 305_778_000 picoseconds.
|
|
Weight::from_parts(282_321_249, 9217)
|
|
// Standard Error: 72
|
|
.saturating_add(Weight::from_parts(33_456, 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_810_809_000 picoseconds.
|
|
Weight::from_parts(739_511_598, 8740)
|
|
// Standard Error: 140
|
|
.saturating_add(Weight::from_parts(67_574, 0).saturating_mul(c.into()))
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_parts(1_488, 0).saturating_mul(i.into()))
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_parts(1_537, 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: 1_986_789_000 picoseconds.
|
|
Weight::from_parts(2_017_466_000, 8982)
|
|
// Standard Error: 26
|
|
.saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into()))
|
|
// Standard Error: 26
|
|
.saturating_add(Weight::from_parts(781, 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: 210_724_000 picoseconds.
|
|
Weight::from_parts(218_608_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: 271_259_000 picoseconds.
|
|
Weight::from_parts(298_852_854, 6085)
|
|
// Standard Error: 65
|
|
.saturating_add(Weight::from_parts(33_547, 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: 278_167_000 picoseconds.
|
|
Weight::from_parts(311_888_941, 6085)
|
|
// Standard Error: 58
|
|
.saturating_add(Weight::from_parts(33_595, 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: 47_403_000 picoseconds.
|
|
Weight::from_parts(48_707_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_361_000 picoseconds.
|
|
Weight::from_parts(36_714_000, 8967)
|
|
.saturating_add(RocksDbWeight::get().reads(7_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_caller(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_340_000 picoseconds.
|
|
Weight::from_parts(9_360_237, 0)
|
|
// Standard Error: 269
|
|
.saturating_add(Weight::from_parts(249_611, 0).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1600 w:0)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_is_contract(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `509 + r * (77 ±0)`
|
|
// Estimated: `1467 + r * (2552 ±0)`
|
|
// Minimum execution time: 9_059_000 picoseconds.
|
|
Weight::from_parts(9_201_000, 1467)
|
|
// Standard Error: 5_643
|
|
.saturating_add(Weight::from_parts(3_343_859, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1600 w:0)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_code_hash(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `517 + r * (170 ±0)`
|
|
// Estimated: `1468 + r * (2645 ±0)`
|
|
// Minimum execution time: 9_220_000 picoseconds.
|
|
Weight::from_parts(9_399_000, 1468)
|
|
// Standard Error: 6_194
|
|
.saturating_add(Weight::from_parts(4_172_011, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_own_code_hash(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_707_000 picoseconds.
|
|
Weight::from_parts(10_100_456, 0)
|
|
// Standard Error: 234
|
|
.saturating_add(Weight::from_parts(338_464, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_caller_is_origin(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_524_000 picoseconds.
|
|
Weight::from_parts(10_813_389, 0)
|
|
// Standard Error: 76
|
|
.saturating_add(Weight::from_parts(102_535, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_caller_is_root(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_799_000 picoseconds.
|
|
Weight::from_parts(10_886_744, 0)
|
|
// Standard Error: 75
|
|
.saturating_add(Weight::from_parts(80_901, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_address(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_895_000 picoseconds.
|
|
Weight::from_parts(10_658_338, 0)
|
|
// Standard Error: 189
|
|
.saturating_add(Weight::from_parts(249_694, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_gas_left(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_643_000 picoseconds.
|
|
Weight::from_parts(10_932_126, 0)
|
|
// Standard Error: 153
|
|
.saturating_add(Weight::from_parts(280_924, 0).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `System::Account` (r:1 w:0)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_balance(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `140`
|
|
// Estimated: `3599`
|
|
// Minimum execution time: 9_548_000 picoseconds.
|
|
Weight::from_parts(9_737_000, 3599)
|
|
// Standard Error: 971
|
|
.saturating_add(Weight::from_parts(1_704_134, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_value_transferred(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_172_000 picoseconds.
|
|
Weight::from_parts(18_255_933, 0)
|
|
// Standard Error: 540
|
|
.saturating_add(Weight::from_parts(230_929, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_minimum_balance(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_232_000 picoseconds.
|
|
Weight::from_parts(9_796_584, 0)
|
|
// Standard Error: 208
|
|
.saturating_add(Weight::from_parts(239_962, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_block_number(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_747_000 picoseconds.
|
|
Weight::from_parts(8_733_230, 0)
|
|
// Standard Error: 377
|
|
.saturating_add(Weight::from_parts(253_801, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_now(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_214_000 picoseconds.
|
|
Weight::from_parts(10_194_153, 0)
|
|
// Standard Error: 516
|
|
.saturating_add(Weight::from_parts(247_621, 0).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0)
|
|
/// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_weight_to_fee(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `67`
|
|
// Estimated: `1552`
|
|
// Minimum execution time: 9_022_000 picoseconds.
|
|
Weight::from_parts(22_051_160, 1552)
|
|
// Standard Error: 697
|
|
.saturating_add(Weight::from_parts(709_612, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_input(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_135_000 picoseconds.
|
|
Weight::from_parts(10_646_215, 0)
|
|
// Standard Error: 161
|
|
.saturating_add(Weight::from_parts(170_336, 0).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: 273_896_000 picoseconds.
|
|
Weight::from_parts(148_309_654, 9287)
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_parts(1_355, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(11_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1]`.
|
|
fn seal_return(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 8_906_000 picoseconds.
|
|
Weight::from_parts(9_264_446, 0)
|
|
// Standard Error: 19_760
|
|
.saturating_add(Weight::from_parts(1_256_053, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_return_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_266_000 picoseconds.
|
|
Weight::from_parts(10_602_261, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(318, 0).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: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: 295_922_000 picoseconds.
|
|
Weight::from_parts(322_472_877, 13220)
|
|
// Standard Error: 993_812
|
|
.saturating_add(Weight::from_parts(259_075_422, 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: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
|
|
/// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_random(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `76`
|
|
// Estimated: `1561`
|
|
// Minimum execution time: 9_427_000 picoseconds.
|
|
Weight::from_parts(12_996_213, 1561)
|
|
// Standard Error: 845
|
|
.saturating_add(Weight::from_parts(1_182_642, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_deposit_event(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_304_000 picoseconds.
|
|
Weight::from_parts(25_678_842, 0)
|
|
// Standard Error: 1_855
|
|
.saturating_add(Weight::from_parts(1_814_511, 0).saturating_mul(r.into()))
|
|
}
|
|
/// 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, 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: `0`
|
|
// Estimated: `990 + t * (2475 ±0)`
|
|
// Minimum execution time: 23_425_000 picoseconds.
|
|
Weight::from_parts(15_229_010, 990)
|
|
// Standard Error: 14_380
|
|
.saturating_add(Weight::from_parts(2_545_653, 0).saturating_mul(t.into()))
|
|
// Standard Error: 4
|
|
.saturating_add(Weight::from_parts(594, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_debug_message(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 11_117_000 picoseconds.
|
|
Weight::from_parts(12_887_533, 0)
|
|
// Standard Error: 83
|
|
.saturating_add(Weight::from_parts(99_373, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `i` is `[0, 1048576]`.
|
|
fn seal_debug_message_per_byte(i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_982_000 picoseconds.
|
|
Weight::from_parts(11_176_000, 0)
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_parts(983, 0).saturating_mul(i.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_set_storage(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_150_000 picoseconds.
|
|
Weight::from_parts(9_269_000, 105)
|
|
// Standard Error: 8_147
|
|
.saturating_add(Weight::from_parts(5_339_554, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `245`
|
|
// Estimated: `245`
|
|
// Minimum execution time: 19_085_000 picoseconds.
|
|
Weight::from_parts(20_007_323, 245)
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(291, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 19_127_000 picoseconds.
|
|
Weight::from_parts(21_152_987, 248)
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(42, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_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: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_264_000 picoseconds.
|
|
Weight::from_parts(9_449_000, 105)
|
|
// Standard Error: 8_196
|
|
.saturating_add(Weight::from_parts(5_325_578, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 18_489_000 picoseconds.
|
|
Weight::from_parts(19_916_153, 248)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(97, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_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: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_299_000 picoseconds.
|
|
Weight::from_parts(9_464_000, 105)
|
|
// Standard Error: 6_827
|
|
.saturating_add(Weight::from_parts(4_720_699, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 17_981_000 picoseconds.
|
|
Weight::from_parts(19_802_353, 248)
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_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: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_891_000 picoseconds.
|
|
Weight::from_parts(10_046_000, 105)
|
|
// Standard Error: 6_993
|
|
.saturating_add(Weight::from_parts(4_601_167, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 17_229_000 picoseconds.
|
|
Weight::from_parts(18_302_733, 248)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_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: `108 + r * (150 ±0)`
|
|
// Estimated: `105 + r * (151 ±0)`
|
|
// Minimum execution time: 9_323_000 picoseconds.
|
|
Weight::from_parts(9_462_000, 105)
|
|
// Standard Error: 8_031
|
|
.saturating_add(Weight::from_parts(5_433_981, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 151).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: `248 + n * (1 ±0)`
|
|
// Estimated: `248 + n * (1 ±0)`
|
|
// Minimum execution time: 18_711_000 picoseconds.
|
|
Weight::from_parts(20_495_670, 248)
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(640, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: `System::Account` (r:1601 w:1601)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_transfer(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `770`
|
|
// Estimated: `4221 + r * (2475 ±0)`
|
|
// Minimum execution time: 9_226_000 picoseconds.
|
|
Weight::from_parts(9_394_000, 4221)
|
|
// Standard Error: 14_741
|
|
.saturating_add(Weight::from_parts(34_179_316, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2475).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:800 w:801)
|
|
/// 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: `System::EventTopics` (r:801 w:801)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `Parameters::Parameters` (r:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 800]`.
|
|
fn seal_call(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `520 + r * (170 ±0)`
|
|
// Estimated: `6463 + r * (2646 ±0)`
|
|
// Minimum execution time: 9_455_000 picoseconds.
|
|
Weight::from_parts(9_671_000, 6463)
|
|
// Standard Error: 126_080
|
|
.saturating_add(Weight::from_parts(244_204_040, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2646).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:735 w:0)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Contracts::PristineCode` (r:735 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:736 w:736)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, 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::ContractInfoOf` (r:0 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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 * (527 ±0)`
|
|
// Estimated: `6447 + r * (2583 ±10)`
|
|
// Minimum execution time: 9_274_000 picoseconds.
|
|
Weight::from_parts(9_437_000, 6447)
|
|
// Standard Error: 150_832
|
|
.saturating_add(Weight::from_parts(244_196_269, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:2)
|
|
/// 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: `System::Account` (r:2 w:2)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:2 w:2)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// Storage: `Parameters::Parameters` (r:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, 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: `699 + t * (277 ±0)`
|
|
// Estimated: `6639 + t * (3458 ±0)`
|
|
// Minimum execution time: 214_483_000 picoseconds.
|
|
Weight::from_parts(122_634_366, 6639)
|
|
// Standard Error: 2_499_235
|
|
.saturating_add(Weight::from_parts(41_326_008, 0).saturating_mul(t.into()))
|
|
// Standard Error: 3
|
|
.saturating_add(Weight::from_parts(422, 0).saturating_mul(c.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(7_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(t.into())))
|
|
.saturating_add(Weight::from_parts(0, 3458).saturating_mul(t.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:800 w:800)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Contracts::PristineCode` (r:800 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `Contracts::Nonce` (r:1 w:0)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:800 w:801)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:801 w:801)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `r` is `[1, 800]`.
|
|
fn seal_instantiate(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `1097 + r * (188 ±0)`
|
|
// Estimated: `6990 + r * (2664 ±0)`
|
|
// Minimum execution time: 341_569_000 picoseconds.
|
|
Weight::from_parts(360_574_000, 6990)
|
|
// Standard Error: 259_746
|
|
.saturating_add(Weight::from_parts(337_944_674, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(6_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2664).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Contracts::PristineCode` (r:1 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `Contracts::Nonce` (r:1 w:0)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:2)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, 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:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:2 w:2)
|
|
/// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
/// The range of component `t` is `[0, 1]`.
|
|
/// The range of component `i` is `[0, 983040]`.
|
|
/// The range of component `s` is `[0, 983040]`.
|
|
fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `760 + t * (104 ±0)`
|
|
// Estimated: `6719 + t * (2549 ±1)`
|
|
// Minimum execution time: 1_863_119_000 picoseconds.
|
|
Weight::from_parts(900_189_174, 6719)
|
|
// Standard Error: 13_040_979
|
|
.saturating_add(Weight::from_parts(4_056_063, 0).saturating_mul(t.into()))
|
|
// Standard Error: 20
|
|
.saturating_add(Weight::from_parts(1_028, 0).saturating_mul(i.into()))
|
|
// Standard Error: 20
|
|
.saturating_add(Weight::from_parts(1_173, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(10_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(7_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(Weight::from_parts(0, 2549).saturating_mul(t.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_hash_sha2_256(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_211_000 picoseconds.
|
|
Weight::from_parts(11_696_412, 0)
|
|
// Standard Error: 388
|
|
.saturating_add(Weight::from_parts(265_538, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_296_000 picoseconds.
|
|
Weight::from_parts(572_494, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_067, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_hash_keccak_256(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_177_000 picoseconds.
|
|
Weight::from_parts(8_620_481, 0)
|
|
// Standard Error: 249
|
|
.saturating_add(Weight::from_parts(674_502, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 11_240_000 picoseconds.
|
|
Weight::from_parts(8_696_186, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(3_328, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_hash_blake2_256(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_889_000 picoseconds.
|
|
Weight::from_parts(16_103_170, 0)
|
|
// Standard Error: 343
|
|
.saturating_add(Weight::from_parts(328_939, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_405_000 picoseconds.
|
|
Weight::from_parts(2_264_024, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_hash_blake2_128(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_215_000 picoseconds.
|
|
Weight::from_parts(10_505_632, 0)
|
|
// Standard Error: 240
|
|
.saturating_add(Weight::from_parts(324_854, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 10_440_000 picoseconds.
|
|
Weight::from_parts(2_575_889, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_199, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 125697]`.
|
|
fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 55_119_000 picoseconds.
|
|
Weight::from_parts(56_732_248, 0)
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_parts(4_639, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 160]`.
|
|
fn seal_sr25519_verify(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_176_000 picoseconds.
|
|
Weight::from_parts(9_861_102, 0)
|
|
// Standard Error: 6_029
|
|
.saturating_add(Weight::from_parts(45_948_571, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 160]`.
|
|
fn seal_ecdsa_recover(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_293_000 picoseconds.
|
|
Weight::from_parts(28_785_765, 0)
|
|
// Standard Error: 9_160
|
|
.saturating_add(Weight::from_parts(45_566_150, 0).saturating_mul(r.into()))
|
|
}
|
|
/// The range of component `r` is `[0, 160]`.
|
|
fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_206_000 picoseconds.
|
|
Weight::from_parts(12_420_664, 0)
|
|
// Standard Error: 3_489
|
|
.saturating_add(Weight::from_parts(11_628_989, 0).saturating_mul(r.into()))
|
|
}
|
|
/// 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:1535 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `Parameters::Parameters` (r:2 w:0)
|
|
/// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`)
|
|
/// Storage: `System::EventTopics` (r:1537 w:1537)
|
|
/// 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 * (926 ±0)`
|
|
// Estimated: `8969 + r * (3047 ±7)`
|
|
// Minimum execution time: 9_219_000 picoseconds.
|
|
Weight::from_parts(9_385_000, 8969)
|
|
// Standard Error: 45_562
|
|
.saturating_add(Weight::from_parts(26_360_661, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:32 w:32)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 32]`.
|
|
fn lock_delegate_dependency(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `274 + r * (78 ±0)`
|
|
// Estimated: `1265 + r * (2553 ±0)`
|
|
// Minimum execution time: 9_355_000 picoseconds.
|
|
Weight::from_parts(15_071_309, 1265)
|
|
// Standard Error: 9_722
|
|
.saturating_add(Weight::from_parts(5_328_717, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into())))
|
|
.saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:32 w:32)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
|
|
/// The range of component `r` is `[0, 32]`.
|
|
fn unlock_delegate_dependency(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `275 + r * (78 ±0)`
|
|
// Estimated: `990 + r * (2568 ±0)`
|
|
// Minimum execution time: 8_979_000 picoseconds.
|
|
Weight::from_parts(14_362_224, 990)
|
|
// Standard Error: 9_137
|
|
.saturating_add(Weight::from_parts(4_488_748, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into())))
|
|
.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: 269_704_000 picoseconds.
|
|
Weight::from_parts(289_916_035, 9282)
|
|
// Standard Error: 408
|
|
.saturating_add(Weight::from_parts(166_040, 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()))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_account_reentrance_count(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 9_361_000 picoseconds.
|
|
Weight::from_parts(11_633_836, 0)
|
|
// Standard Error: 86
|
|
.saturating_add(Weight::from_parts(83_083, 0).saturating_mul(r.into()))
|
|
}
|
|
/// Storage: `Contracts::Nonce` (r:1 w:0)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn seal_instantiation_nonce(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `219`
|
|
// Estimated: `1704`
|
|
// Minimum execution time: 9_133_000 picoseconds.
|
|
Weight::from_parts(13_259_836, 1704)
|
|
// Standard Error: 121
|
|
.saturating_add(Weight::from_parts(76_878, 0).saturating_mul(r.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// 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: 851_000 picoseconds.
|
|
Weight::from_parts(587_883, 0)
|
|
// Standard Error: 16
|
|
.saturating_add(Weight::from_parts(14_912, 0).saturating_mul(r.into()))
|
|
}
|
|
}
|