b6d35f6faf
Updated 4763 files with dual copyright: - Parity Technologies (UK) Ltd. - Dijital Kurdistan Tech Institute
2142 lines
96 KiB
Rust
2142 lines
96 KiB
Rust
// This file is part of Bizinikiwi.
|
|
|
|
// Copyright (C) Parity Technologies (UK) Ltd. and Dijital Kurdistan Tech Institute
|
|
// 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.
|
|
|
|
// This file is part of Bizinikiwi.
|
|
|
|
// Copyright (C) Parity Technologies (UK) Ltd. and Dijital Kurdistan Tech Institute
|
|
// 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 `pezpallet_contracts`
|
|
//!
|
|
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
|
|
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
|
//! WORST CASE MAP SIZE: `1000000`
|
|
//! HOSTNAME: `4563561839a5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
|
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
|
|
|
|
// Executed Command:
|
|
// frame-omni-bencher
|
|
// v1
|
|
// benchmark
|
|
// pezpallet
|
|
// --extrinsic=*
|
|
// --runtime=target/production/wbuild/pez-kitchensink-runtime/pez_kitchensink_runtime.wasm
|
|
// --pezpallet=pezpallet_contracts
|
|
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/HEADER-APACHE2
|
|
// --output=/__w/pezkuwi-sdk/pezkuwi-sdk/bizinikiwi/pezframe/contracts/src/weights.rs
|
|
// --wasm-execution=compiled
|
|
// --steps=50
|
|
// --repeat=20
|
|
// --heap-pages=4096
|
|
// --template=bizinikiwi/.maintain/frame-weight-template.hbs
|
|
// --no-storage-info
|
|
// --no-min-squares
|
|
// --no-median-slopes
|
|
// --genesis-builder-policy=none
|
|
// --exclude-pallets=pezpallet_xcm,pezpallet_xcm_benchmarks::fungible,pezpallet_xcm_benchmarks::generic,pezpallet_nomination_pools,pezpallet_remark,pezpallet_transaction_storage,pezpallet_election_provider_multi_block,pezpallet_election_provider_multi_block::signed,pezpallet_election_provider_multi_block::unsigned,pezpallet_election_provider_multi_block::verifier
|
|
|
|
#![cfg_attr(rustfmt, rustfmt_skip)]
|
|
#![allow(unused_parens)]
|
|
#![allow(unused_imports)]
|
|
#![allow(missing_docs)]
|
|
#![allow(dead_code)]
|
|
|
|
use pezframe_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
|
|
use core::marker::PhantomData;
|
|
|
|
/// Weight functions needed for `pezpallet_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 noop_host_fn(r: u32, ) -> Weight;
|
|
fn seal_caller() -> Weight;
|
|
fn seal_is_contract() -> Weight;
|
|
fn seal_code_hash() -> Weight;
|
|
fn seal_own_code_hash() -> Weight;
|
|
fn seal_caller_is_origin() -> Weight;
|
|
fn seal_caller_is_root() -> Weight;
|
|
fn seal_address() -> Weight;
|
|
fn seal_gas_left() -> Weight;
|
|
fn seal_balance() -> Weight;
|
|
fn seal_value_transferred() -> Weight;
|
|
fn seal_minimum_balance() -> Weight;
|
|
fn seal_block_number() -> Weight;
|
|
fn seal_now() -> Weight;
|
|
fn seal_weight_to_fee() -> Weight;
|
|
fn seal_input(n: u32, ) -> Weight;
|
|
fn seal_return(n: u32, ) -> Weight;
|
|
fn seal_terminate(n: u32, ) -> Weight;
|
|
fn seal_random() -> Weight;
|
|
fn seal_deposit_event(t: u32, n: u32, ) -> Weight;
|
|
fn seal_debug_message(i: u32, ) -> Weight;
|
|
fn get_storage_empty() -> Weight;
|
|
fn get_storage_full() -> Weight;
|
|
fn set_storage_empty() -> Weight;
|
|
fn set_storage_full() -> Weight;
|
|
fn seal_set_storage(n: u32, o: u32, ) -> Weight;
|
|
fn seal_clear_storage(n: u32, ) -> Weight;
|
|
fn seal_get_storage(n: u32, ) -> Weight;
|
|
fn seal_contains_storage(n: u32, ) -> Weight;
|
|
fn seal_take_storage(n: u32, ) -> Weight;
|
|
fn set_transient_storage_empty() -> Weight;
|
|
fn set_transient_storage_full() -> Weight;
|
|
fn get_transient_storage_empty() -> Weight;
|
|
fn get_transient_storage_full() -> Weight;
|
|
fn rollback_transient_storage() -> Weight;
|
|
fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight;
|
|
fn seal_clear_transient_storage(n: u32, ) -> Weight;
|
|
fn seal_get_transient_storage(n: u32, ) -> Weight;
|
|
fn seal_contains_transient_storage(n: u32, ) -> Weight;
|
|
fn seal_take_transient_storage(n: u32, ) -> Weight;
|
|
fn seal_transfer() -> Weight;
|
|
fn seal_call(t: u32, i: u32, ) -> Weight;
|
|
fn seal_delegate_call() -> Weight;
|
|
fn seal_instantiate(i: u32, s: u32, ) -> Weight;
|
|
fn seal_hash_sha2_256(n: u32, ) -> Weight;
|
|
fn seal_hash_keccak_256(n: u32, ) -> Weight;
|
|
fn seal_hash_blake2_256(n: u32, ) -> Weight;
|
|
fn seal_hash_blake2_128(n: u32, ) -> Weight;
|
|
fn seal_sr25519_verify(n: u32, ) -> Weight;
|
|
fn seal_ecdsa_recover() -> Weight;
|
|
fn seal_ecdsa_to_eth_address() -> Weight;
|
|
fn seal_set_code_hash() -> Weight;
|
|
fn lock_delegate_dependency() -> Weight;
|
|
fn unlock_delegate_dependency() -> Weight;
|
|
fn seal_reentrance_count() -> Weight;
|
|
fn seal_account_reentrance_count() -> Weight;
|
|
fn seal_instantiation_nonce() -> Weight;
|
|
fn instr_i64_load_store(r: u32, ) -> Weight;
|
|
}
|
|
|
|
/// Weights for `pezpallet_contracts` using the Bizinikiwi node and recommended hardware.
|
|
pub struct BizinikiwiWeight<T>(PhantomData<T>);
|
|
impl<T: pezframe_system::Config> WeightInfo for BizinikiwiWeight<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: `0`
|
|
// Estimated: `1485`
|
|
// Minimum execution time: 662_000 picoseconds.
|
|
Weight::from_parts(715_000, 1485)
|
|
.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: `224 + k * (69 ±0)`
|
|
// Estimated: `216 + k * (70 ±0)`
|
|
// Minimum execution time: 12_277_000 picoseconds.
|
|
Weight::from_parts(12_597_000, 216)
|
|
// Standard Error: 3_444
|
|
.saturating_add(Weight::from_parts(1_357_086, 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: `49 + c * (1 ±0)`
|
|
// Estimated: `5987 + c * (1 ±0)`
|
|
// Minimum execution time: 5_876_000 picoseconds.
|
|
Weight::from_parts(6_203_000, 5987)
|
|
// Standard Error: 5
|
|
.saturating_add(Weight::from_parts(1_860, 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: `322`
|
|
// Estimated: `6262`
|
|
// Minimum execution time: 14_462_000 picoseconds.
|
|
Weight::from_parts(15_233_000, 6262)
|
|
.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: `9 + k * (1 ±0)`
|
|
// Estimated: `3473 + k * (1 ±0)`
|
|
// Minimum execution time: 2_288_000 picoseconds.
|
|
Weight::from_parts(2_332_000, 3473)
|
|
// Standard Error: 885
|
|
.saturating_add(Weight::from_parts(1_101_283, 0).saturating_mul(k.into()))
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into()))
|
|
}
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
|
|
/// Storage: `System::Account` (r:1 w:0)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// Storage: `Contracts::CodeInfoOf` (r:0 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// The range of component `c` is `[0, 125952]`.
|
|
fn v12_migration_step(c: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `188 + c * (1 ±0)`
|
|
// Estimated: `6126 + c * (1 ±0)`
|
|
// Minimum execution time: 15_169_000 picoseconds.
|
|
Weight::from_parts(5_930_836, 6126)
|
|
// Standard Error: 6
|
|
.saturating_add(Weight::from_parts(818, 0).saturating_mul(c.into()))
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_u64))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r: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: `303`
|
|
// Estimated: `6243`
|
|
// Minimum execution time: 11_213_000 picoseconds.
|
|
Weight::from_parts(11_459_000, 6243)
|
|
.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(427), added: 2902, mode: `Measured`)
|
|
fn v14_migration_step() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `139`
|
|
// Estimated: `6079`
|
|
// Minimum execution time: 43_708_000 picoseconds.
|
|
Weight::from_parts(44_426_000, 6079)
|
|
.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: `355`
|
|
// Estimated: `6295`
|
|
// Minimum execution time: 38_695_000 picoseconds.
|
|
Weight::from_parts(39_802_000, 6295)
|
|
.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: `272`
|
|
// Estimated: `6212`
|
|
// Minimum execution time: 10_591_000 picoseconds.
|
|
Weight::from_parts(11_053_000, 6212)
|
|
.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: `6`
|
|
// Estimated: `1491`
|
|
// Minimum execution time: 1_920_000 picoseconds.
|
|
Weight::from_parts(2_054_000, 1491)
|
|
.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: `29`
|
|
// Estimated: `3494`
|
|
// Minimum execution time: 9_449_000 picoseconds.
|
|
Weight::from_parts(9_800_000, 3494)
|
|
.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: `6`
|
|
// Estimated: `3471`
|
|
// Minimum execution time: 3_272_000 picoseconds.
|
|
Weight::from_parts(3_396_000, 3471)
|
|
.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: `30`
|
|
// Estimated: `3495`
|
|
// Minimum execution time: 4_972_000 picoseconds.
|
|
Weight::from_parts(5_130_000, 3495)
|
|
.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: `6`
|
|
// Estimated: `3471`
|
|
// Minimum execution time: 4_452_000 picoseconds.
|
|
Weight::from_parts(4_651_000, 3471)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(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`)
|
|
/// The range of component `c` is `[0, 125952]`.
|
|
fn call_with_code_per_byte(c: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `460 + c * (1 ±0)`
|
|
// Estimated: `3925 + c * (1 ±0)`
|
|
// Minimum execution time: 257_238_000 picoseconds.
|
|
Weight::from_parts(270_073_069, 3925)
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_parts(1_175, 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::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:2 w:2)
|
|
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, 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: `0`
|
|
// Estimated: `5940`
|
|
// Minimum execution time: 11_691_973_000 picoseconds.
|
|
Weight::from_parts(11_859_232_000, 5940)
|
|
// Standard Error: 760
|
|
.saturating_add(Weight::from_parts(8_842, 0).saturating_mul(c.into()))
|
|
// Standard Error: 91
|
|
.saturating_add(Weight::from_parts(1_397, 0).saturating_mul(i.into()))
|
|
// Standard Error: 91
|
|
.saturating_add(Weight::from_parts(1_561, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(8_u64))
|
|
.saturating_add(T::DbWeight::get().writes(7_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Contracts::PristineCode` (r:1 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `Contracts::Nonce` (r:1 w:1)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(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: `Balances::Holds` (r:1 w:1)
|
|
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, 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: `205`
|
|
// Estimated: `3670`
|
|
// Minimum execution time: 5_930_123_000 picoseconds.
|
|
Weight::from_parts(5_938_894_000, 3670)
|
|
// Standard Error: 72
|
|
.saturating_add(Weight::from_parts(1_660, 0).saturating_mul(i.into()))
|
|
// Standard Error: 72
|
|
.saturating_add(Weight::from_parts(1_841, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(8_u64))
|
|
.saturating_add(T::DbWeight::get().writes(5_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: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`)
|
|
fn call() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `472`
|
|
// Estimated: `3937`
|
|
// Minimum execution time: 171_677_000 picoseconds.
|
|
Weight::from_parts(176_340_000, 3937)
|
|
.saturating_add(T::DbWeight::get().reads(6_u64))
|
|
.saturating_add(T::DbWeight::get().writes(2_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(427), added: 2902, 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: `0`
|
|
// Estimated: `3465`
|
|
// Minimum execution time: 233_222_000 picoseconds.
|
|
Weight::from_parts(256_594_116, 3465)
|
|
// Standard Error: 92
|
|
.saturating_add(Weight::from_parts(48_635, 0).saturating_mul(c.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Balances::Holds` (r:1 w:1)
|
|
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, 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: `0`
|
|
// Estimated: `3465`
|
|
// Minimum execution time: 244_888_000 picoseconds.
|
|
Weight::from_parts(279_103_331, 3465)
|
|
// Standard Error: 76
|
|
.saturating_add(Weight::from_parts(48_450, 0).saturating_mul(c.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Balances::Holds` (r:1 w:1)
|
|
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, 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: `178`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 41_485_000 picoseconds.
|
|
Weight::from_parts(42_404_000, 3643)
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(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`)
|
|
fn set_code() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `415`
|
|
// Estimated: `6355`
|
|
// Minimum execution time: 25_614_000 picoseconds.
|
|
Weight::from_parts(26_843_000, 6355)
|
|
.saturating_add(T::DbWeight::get().reads(4_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn noop_host_fn(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 8_437_000 picoseconds.
|
|
Weight::from_parts(9_257_820, 0)
|
|
// Standard Error: 134
|
|
.saturating_add(Weight::from_parts(52_863, 0).saturating_mul(r.into()))
|
|
}
|
|
fn seal_caller() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 687_000 picoseconds.
|
|
Weight::from_parts(756_000, 0)
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:0)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
fn seal_is_contract() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `217`
|
|
// Estimated: `3682`
|
|
// Minimum execution time: 7_928_000 picoseconds.
|
|
Weight::from_parts(8_224_000, 3682)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:0)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
fn seal_code_hash() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `310`
|
|
// Estimated: `3775`
|
|
// Minimum execution time: 9_508_000 picoseconds.
|
|
Weight::from_parts(9_994_000, 3775)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
fn seal_own_code_hash() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 815_000 picoseconds.
|
|
Weight::from_parts(920_000, 0)
|
|
}
|
|
fn seal_caller_is_origin() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 370_000 picoseconds.
|
|
Weight::from_parts(393_000, 0)
|
|
}
|
|
fn seal_caller_is_root() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 295_000 picoseconds.
|
|
Weight::from_parts(329_000, 0)
|
|
}
|
|
fn seal_address() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 642_000 picoseconds.
|
|
Weight::from_parts(692_000, 0)
|
|
}
|
|
fn seal_gas_left() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 779_000 picoseconds.
|
|
Weight::from_parts(829_000, 0)
|
|
}
|
|
fn seal_balance() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `101`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 4_582_000 picoseconds.
|
|
Weight::from_parts(4_896_000, 0)
|
|
}
|
|
fn seal_value_transferred() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 723_000 picoseconds.
|
|
Weight::from_parts(773_000, 0)
|
|
}
|
|
fn seal_minimum_balance() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 718_000 picoseconds.
|
|
Weight::from_parts(751_000, 0)
|
|
}
|
|
fn seal_block_number() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 679_000 picoseconds.
|
|
Weight::from_parts(728_000, 0)
|
|
}
|
|
fn seal_now() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 723_000 picoseconds.
|
|
Weight::from_parts(774_000, 0)
|
|
}
|
|
fn seal_weight_to_fee() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_577_000 picoseconds.
|
|
Weight::from_parts(1_709_000, 0)
|
|
}
|
|
/// The range of component `n` is `[0, 1048572]`.
|
|
fn seal_input(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 566_000 picoseconds.
|
|
Weight::from_parts(430_440, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048572]`.
|
|
fn seal_return(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 337_000 picoseconds.
|
|
Weight::from_parts(389_000, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(203, 0).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1)
|
|
/// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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::DeletionQueue` (r:0 w:1)
|
|
/// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
|
|
/// The range of component `n` is `[0, 32]`.
|
|
fn seal_terminate(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `182 + n * (78 ±0)`
|
|
// Estimated: `3647 + n * (2553 ±0)`
|
|
// Minimum execution time: 15_302_000 picoseconds.
|
|
Weight::from_parts(15_426_466, 3647)
|
|
// Standard Error: 8_441
|
|
.saturating_add(Weight::from_parts(4_507_899, 0).saturating_mul(n.into()))
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_parts(0, 2553).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
|
|
/// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
|
|
fn seal_random() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `1485`
|
|
// Minimum execution time: 2_304_000 picoseconds.
|
|
Weight::from_parts(2_359_000, 1485)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
}
|
|
/// 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(t: u32, n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `990 + t * (2475 ±0)`
|
|
// Minimum execution time: 3_963_000 picoseconds.
|
|
Weight::from_parts(4_143_031, 990)
|
|
// Standard Error: 6_527
|
|
.saturating_add(Weight::from_parts(2_186_206, 0).saturating_mul(t.into()))
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(25, 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 `i` is `[0, 1048576]`.
|
|
fn seal_debug_message(i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 411_000 picoseconds.
|
|
Weight::from_parts(582_596, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(712, 0).saturating_mul(i.into()))
|
|
}
|
|
/// Storage: `Skipped::Metadata` (r:0 w:0)
|
|
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn get_storage_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `16522`
|
|
// Estimated: `16522`
|
|
// Minimum execution time: 12_684_000 picoseconds.
|
|
Weight::from_parts(13_116_000, 16522)
|
|
.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`)
|
|
fn get_storage_full() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `26532`
|
|
// Estimated: `26532`
|
|
// Minimum execution time: 53_633_000 picoseconds.
|
|
Weight::from_parts(55_592_000, 26532)
|
|
.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`)
|
|
fn set_storage_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `16522`
|
|
// Estimated: `16522`
|
|
// Minimum execution time: 14_319_000 picoseconds.
|
|
Weight::from_parts(14_725_000, 16522)
|
|
.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`)
|
|
fn set_storage_full() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `26532`
|
|
// Estimated: `26532`
|
|
// Minimum execution time: 56_431_000 picoseconds.
|
|
Weight::from_parts(57_931_000, 26532)
|
|
.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]`.
|
|
/// The range of component `o` is `[0, 16384]`.
|
|
fn seal_set_storage(n: u32, o: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `154 + o * (1 ±0)`
|
|
// Estimated: `153 + o * (1 ±0)`
|
|
// Minimum execution time: 9_356_000 picoseconds.
|
|
Weight::from_parts(8_075_772, 153)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(276, 0).saturating_mul(n.into()))
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(114, 0).saturating_mul(o.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(o.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(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `152 + n * (1 ±0)`
|
|
// Estimated: `152 + n * (1 ±0)`
|
|
// Minimum execution time: 6_210_000 picoseconds.
|
|
Weight::from_parts(7_608_498, 152)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(137, 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 `n` is `[0, 16384]`.
|
|
fn seal_get_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `152 + n * (1 ±0)`
|
|
// Estimated: `152 + n * (1 ±0)`
|
|
// Minimum execution time: 5_676_000 picoseconds.
|
|
Weight::from_parts(7_581_087, 152)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(557, 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 `n` is `[0, 16384]`.
|
|
fn seal_contains_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `152 + n * (1 ±0)`
|
|
// Estimated: `152 + n * (1 ±0)`
|
|
// Minimum execution time: 5_286_000 picoseconds.
|
|
Weight::from_parts(6_872_699, 152)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(119, 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 `n` is `[0, 16384]`.
|
|
fn seal_take_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `152 + n * (1 ±0)`
|
|
// Estimated: `152 + n * (1 ±0)`
|
|
// Minimum execution time: 6_353_000 picoseconds.
|
|
Weight::from_parts(8_139_270, 152)
|
|
// Standard Error: 5
|
|
.saturating_add(Weight::from_parts(590, 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()))
|
|
}
|
|
fn set_transient_storage_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_487_000 picoseconds.
|
|
Weight::from_parts(1_610_000, 0)
|
|
}
|
|
fn set_transient_storage_full() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 2_549_000 picoseconds.
|
|
Weight::from_parts(2_699_000, 0)
|
|
}
|
|
fn get_transient_storage_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 3_279_000 picoseconds.
|
|
Weight::from_parts(3_339_000, 0)
|
|
}
|
|
fn get_transient_storage_full() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 4_085_000 picoseconds.
|
|
Weight::from_parts(4_332_000, 0)
|
|
}
|
|
fn rollback_transient_storage() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_522_000 picoseconds.
|
|
Weight::from_parts(1_723_000, 0)
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
/// The range of component `o` is `[0, 16384]`.
|
|
fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 5_583_000 picoseconds.
|
|
Weight::from_parts(2_628_557, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(204, 0).saturating_mul(n.into()))
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(222, 0).saturating_mul(o.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
fn seal_clear_transient_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 2_188_000 picoseconds.
|
|
Weight::from_parts(2_515_424, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(227, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
fn seal_get_transient_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_890_000 picoseconds.
|
|
Weight::from_parts(2_182_387, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(226, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
fn seal_contains_transient_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_738_000 picoseconds.
|
|
Weight::from_parts(1_974_584, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
fn seal_take_transient_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 7_913_000 picoseconds.
|
|
Weight::from_parts(8_133_541, 0)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(3, 0).saturating_mul(n.into()))
|
|
}
|
|
fn seal_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `101`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 8_943_000 picoseconds.
|
|
Weight::from_parts(9_230_000, 0)
|
|
}
|
|
/// 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: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// The range of component `t` is `[0, 1]`.
|
|
/// The range of component `i` is `[0, 1048576]`.
|
|
fn seal_call(t: u32, i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `459 + t * (242 ±0)`
|
|
// Estimated: `3924 + t * (2083 ±0)`
|
|
// Minimum execution time: 132_736_000 picoseconds.
|
|
Weight::from_parts(129_310_380, 3924)
|
|
// Standard Error: 270_788
|
|
.saturating_add(Weight::from_parts(45_537_319, 0).saturating_mul(t.into()))
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into()))
|
|
.saturating_add(T::DbWeight::get().reads(3_u64))
|
|
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(Weight::from_parts(0, 2083).saturating_mul(t.into()))
|
|
}
|
|
/// 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`)
|
|
fn seal_delegate_call() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `269`
|
|
// Estimated: `3734`
|
|
// Minimum execution time: 120_046_000 picoseconds.
|
|
Weight::from_parts(121_748_000, 3734)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
}
|
|
/// 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:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// The range of component `i` is `[0, 983040]`.
|
|
/// The range of component `s` is `[0, 983040]`.
|
|
fn seal_instantiate(i: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `463`
|
|
// Estimated: `3937`
|
|
// Minimum execution time: 1_877_748_000 picoseconds.
|
|
Weight::from_parts(156_912_679, 3937)
|
|
// Standard Error: 19
|
|
.saturating_add(Weight::from_parts(1_663, 0).saturating_mul(i.into()))
|
|
// Standard Error: 19
|
|
.saturating_add(Weight::from_parts(2_033, 0).saturating_mul(s.into()))
|
|
.saturating_add(T::DbWeight::get().reads(5_u64))
|
|
.saturating_add(T::DbWeight::get().writes(3_u64))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_sha2_256(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 940_000 picoseconds.
|
|
Weight::from_parts(8_848_107, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_322, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_keccak_256(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_308_000 picoseconds.
|
|
Weight::from_parts(13_432_971, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(3_515, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_blake2_256(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 839_000 picoseconds.
|
|
Weight::from_parts(4_868_192, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_458, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_blake2_128(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 790_000 picoseconds.
|
|
Weight::from_parts(814_000, 0)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(1_495, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 125697]`.
|
|
fn seal_sr25519_verify(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 42_811_000 picoseconds.
|
|
Weight::from_parts(41_107_222, 0)
|
|
// Standard Error: 9
|
|
.saturating_add(Weight::from_parts(4_949, 0).saturating_mul(n.into()))
|
|
}
|
|
fn seal_ecdsa_recover() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 47_723_000 picoseconds.
|
|
Weight::from_parts(48_486_000, 0)
|
|
}
|
|
fn seal_ecdsa_to_eth_address() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 12_903_000 picoseconds.
|
|
Weight::from_parts(13_026_000, 0)
|
|
}
|
|
/// 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`)
|
|
fn seal_set_code_hash() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `269`
|
|
// Estimated: `3734`
|
|
// Minimum execution time: 19_643_000 picoseconds.
|
|
Weight::from_parts(20_330_000, 3734)
|
|
.saturating_add(T::DbWeight::get().reads(2_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
fn lock_delegate_dependency() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `218`
|
|
// Estimated: `3683`
|
|
// Minimum execution time: 10_632_000 picoseconds.
|
|
Weight::from_parts(11_052_000, 3683)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
|
|
fn unlock_delegate_dependency() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `218`
|
|
// Estimated: `3558`
|
|
// Minimum execution time: 9_383_000 picoseconds.
|
|
Weight::from_parts(9_640_000, 3558)
|
|
.saturating_add(T::DbWeight::get().reads(1_u64))
|
|
.saturating_add(T::DbWeight::get().writes(1_u64))
|
|
}
|
|
fn seal_reentrance_count() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 391_000 picoseconds.
|
|
Weight::from_parts(415_000, 0)
|
|
}
|
|
fn seal_account_reentrance_count() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 375_000 picoseconds.
|
|
Weight::from_parts(397_000, 0)
|
|
}
|
|
/// Storage: `Contracts::Nonce` (r:1 w:0)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
fn seal_instantiation_nonce() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `82`
|
|
// Estimated: `1567`
|
|
// Minimum execution time: 2_883_000 picoseconds.
|
|
Weight::from_parts(3_005_000, 1567)
|
|
.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: 947_000 picoseconds.
|
|
Weight::from_parts(943_263, 0)
|
|
// Standard Error: 11
|
|
.saturating_add(Weight::from_parts(7_556, 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: `0`
|
|
// Estimated: `1485`
|
|
// Minimum execution time: 662_000 picoseconds.
|
|
Weight::from_parts(715_000, 1485)
|
|
.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: `224 + k * (69 ±0)`
|
|
// Estimated: `216 + k * (70 ±0)`
|
|
// Minimum execution time: 12_277_000 picoseconds.
|
|
Weight::from_parts(12_597_000, 216)
|
|
// Standard Error: 3_444
|
|
.saturating_add(Weight::from_parts(1_357_086, 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: `49 + c * (1 ±0)`
|
|
// Estimated: `5987 + c * (1 ±0)`
|
|
// Minimum execution time: 5_876_000 picoseconds.
|
|
Weight::from_parts(6_203_000, 5987)
|
|
// Standard Error: 5
|
|
.saturating_add(Weight::from_parts(1_860, 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: `322`
|
|
// Estimated: `6262`
|
|
// Minimum execution time: 14_462_000 picoseconds.
|
|
Weight::from_parts(15_233_000, 6262)
|
|
.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: `9 + k * (1 ±0)`
|
|
// Estimated: `3473 + k * (1 ±0)`
|
|
// Minimum execution time: 2_288_000 picoseconds.
|
|
Weight::from_parts(2_332_000, 3473)
|
|
// Standard Error: 885
|
|
.saturating_add(Weight::from_parts(1_101_283, 0).saturating_mul(k.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into()))
|
|
}
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0)
|
|
/// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
|
|
/// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1)
|
|
/// Storage: `System::Account` (r:1 w:0)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// Storage: `Contracts::CodeInfoOf` (r:0 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// The range of component `c` is `[0, 125952]`.
|
|
fn v12_migration_step(c: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `188 + c * (1 ±0)`
|
|
// Estimated: `6126 + c * (1 ±0)`
|
|
// Minimum execution time: 15_169_000 picoseconds.
|
|
Weight::from_parts(5_930_836, 6126)
|
|
// Standard Error: 6
|
|
.saturating_add(Weight::from_parts(818, 0).saturating_mul(c.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into()))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r: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: `303`
|
|
// Estimated: `6243`
|
|
// Minimum execution time: 11_213_000 picoseconds.
|
|
Weight::from_parts(11_459_000, 6243)
|
|
.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(427), added: 2902, mode: `Measured`)
|
|
fn v14_migration_step() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `139`
|
|
// Estimated: `6079`
|
|
// Minimum execution time: 43_708_000 picoseconds.
|
|
Weight::from_parts(44_426_000, 6079)
|
|
.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: `355`
|
|
// Estimated: `6295`
|
|
// Minimum execution time: 38_695_000 picoseconds.
|
|
Weight::from_parts(39_802_000, 6295)
|
|
.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: `272`
|
|
// Estimated: `6212`
|
|
// Minimum execution time: 10_591_000 picoseconds.
|
|
Weight::from_parts(11_053_000, 6212)
|
|
.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: `6`
|
|
// Estimated: `1491`
|
|
// Minimum execution time: 1_920_000 picoseconds.
|
|
Weight::from_parts(2_054_000, 1491)
|
|
.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: `29`
|
|
// Estimated: `3494`
|
|
// Minimum execution time: 9_449_000 picoseconds.
|
|
Weight::from_parts(9_800_000, 3494)
|
|
.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: `6`
|
|
// Estimated: `3471`
|
|
// Minimum execution time: 3_272_000 picoseconds.
|
|
Weight::from_parts(3_396_000, 3471)
|
|
.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: `30`
|
|
// Estimated: `3495`
|
|
// Minimum execution time: 4_972_000 picoseconds.
|
|
Weight::from_parts(5_130_000, 3495)
|
|
.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: `6`
|
|
// Estimated: `3471`
|
|
// Minimum execution time: 4_452_000 picoseconds.
|
|
Weight::from_parts(4_651_000, 3471)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(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`)
|
|
/// The range of component `c` is `[0, 125952]`.
|
|
fn call_with_code_per_byte(c: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `460 + c * (1 ±0)`
|
|
// Estimated: `3925 + c * (1 ±0)`
|
|
// Minimum execution time: 257_238_000 picoseconds.
|
|
Weight::from_parts(270_073_069, 3925)
|
|
// Standard Error: 8
|
|
.saturating_add(Weight::from_parts(1_175, 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::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:2 w:2)
|
|
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, 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: `0`
|
|
// Estimated: `5940`
|
|
// Minimum execution time: 11_691_973_000 picoseconds.
|
|
Weight::from_parts(11_859_232_000, 5940)
|
|
// Standard Error: 760
|
|
.saturating_add(Weight::from_parts(8_842, 0).saturating_mul(c.into()))
|
|
// Standard Error: 91
|
|
.saturating_add(Weight::from_parts(1_397, 0).saturating_mul(i.into()))
|
|
// Standard Error: 91
|
|
.saturating_add(Weight::from_parts(1_561, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(8_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(7_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Contracts::PristineCode` (r:1 w:0)
|
|
/// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`)
|
|
/// Storage: `Contracts::Nonce` (r:1 w:1)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(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: `Balances::Holds` (r:1 w:1)
|
|
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, 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: `205`
|
|
// Estimated: `3670`
|
|
// Minimum execution time: 5_930_123_000 picoseconds.
|
|
Weight::from_parts(5_938_894_000, 3670)
|
|
// Standard Error: 72
|
|
.saturating_add(Weight::from_parts(1_660, 0).saturating_mul(i.into()))
|
|
// Standard Error: 72
|
|
.saturating_add(Weight::from_parts(1_841, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(8_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(5_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: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`)
|
|
fn call() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `472`
|
|
// Estimated: `3937`
|
|
// Minimum execution time: 171_677_000 picoseconds.
|
|
Weight::from_parts(176_340_000, 3937)
|
|
.saturating_add(RocksDbWeight::get().reads(6_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(2_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(427), added: 2902, 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: `0`
|
|
// Estimated: `3465`
|
|
// Minimum execution time: 233_222_000 picoseconds.
|
|
Weight::from_parts(256_594_116, 3465)
|
|
// Standard Error: 92
|
|
.saturating_add(Weight::from_parts(48_635, 0).saturating_mul(c.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Balances::Holds` (r:1 w:1)
|
|
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, 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: `0`
|
|
// Estimated: `3465`
|
|
// Minimum execution time: 244_888_000 picoseconds.
|
|
Weight::from_parts(279_103_331, 3465)
|
|
// Standard Error: 76
|
|
.saturating_add(Weight::from_parts(48_450, 0).saturating_mul(c.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
/// Storage: `Balances::Holds` (r:1 w:1)
|
|
/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, 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: `178`
|
|
// Estimated: `3643`
|
|
// Minimum execution time: 41_485_000 picoseconds.
|
|
Weight::from_parts(42_404_000, 3643)
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// Storage: `Contracts::MigrationInProgress` (r:1 w:0)
|
|
/// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`)
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(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`)
|
|
fn set_code() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `415`
|
|
// Estimated: `6355`
|
|
// Minimum execution time: 25_614_000 picoseconds.
|
|
Weight::from_parts(26_843_000, 6355)
|
|
.saturating_add(RocksDbWeight::get().reads(4_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// The range of component `r` is `[0, 1600]`.
|
|
fn noop_host_fn(r: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 8_437_000 picoseconds.
|
|
Weight::from_parts(9_257_820, 0)
|
|
// Standard Error: 134
|
|
.saturating_add(Weight::from_parts(52_863, 0).saturating_mul(r.into()))
|
|
}
|
|
fn seal_caller() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 687_000 picoseconds.
|
|
Weight::from_parts(756_000, 0)
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:0)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
fn seal_is_contract() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `217`
|
|
// Estimated: `3682`
|
|
// Minimum execution time: 7_928_000 picoseconds.
|
|
Weight::from_parts(8_224_000, 3682)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// Storage: `Contracts::ContractInfoOf` (r:1 w:0)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
fn seal_code_hash() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `310`
|
|
// Estimated: `3775`
|
|
// Minimum execution time: 9_508_000 picoseconds.
|
|
Weight::from_parts(9_994_000, 3775)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
fn seal_own_code_hash() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 815_000 picoseconds.
|
|
Weight::from_parts(920_000, 0)
|
|
}
|
|
fn seal_caller_is_origin() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 370_000 picoseconds.
|
|
Weight::from_parts(393_000, 0)
|
|
}
|
|
fn seal_caller_is_root() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 295_000 picoseconds.
|
|
Weight::from_parts(329_000, 0)
|
|
}
|
|
fn seal_address() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 642_000 picoseconds.
|
|
Weight::from_parts(692_000, 0)
|
|
}
|
|
fn seal_gas_left() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 779_000 picoseconds.
|
|
Weight::from_parts(829_000, 0)
|
|
}
|
|
fn seal_balance() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `101`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 4_582_000 picoseconds.
|
|
Weight::from_parts(4_896_000, 0)
|
|
}
|
|
fn seal_value_transferred() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 723_000 picoseconds.
|
|
Weight::from_parts(773_000, 0)
|
|
}
|
|
fn seal_minimum_balance() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 718_000 picoseconds.
|
|
Weight::from_parts(751_000, 0)
|
|
}
|
|
fn seal_block_number() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 679_000 picoseconds.
|
|
Weight::from_parts(728_000, 0)
|
|
}
|
|
fn seal_now() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 723_000 picoseconds.
|
|
Weight::from_parts(774_000, 0)
|
|
}
|
|
fn seal_weight_to_fee() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_577_000 picoseconds.
|
|
Weight::from_parts(1_709_000, 0)
|
|
}
|
|
/// The range of component `n` is `[0, 1048572]`.
|
|
fn seal_input(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 566_000 picoseconds.
|
|
Weight::from_parts(430_440, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(113, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048572]`.
|
|
fn seal_return(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 337_000 picoseconds.
|
|
Weight::from_parts(389_000, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(203, 0).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1)
|
|
/// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, 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::DeletionQueue` (r:0 w:1)
|
|
/// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`)
|
|
/// The range of component `n` is `[0, 32]`.
|
|
fn seal_terminate(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `182 + n * (78 ±0)`
|
|
// Estimated: `3647 + n * (2553 ±0)`
|
|
// Minimum execution time: 15_302_000 picoseconds.
|
|
Weight::from_parts(15_426_466, 3647)
|
|
// Standard Error: 8_441
|
|
.saturating_add(Weight::from_parts(4_507_899, 0).saturating_mul(n.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
|
.saturating_add(Weight::from_parts(0, 2553).saturating_mul(n.into()))
|
|
}
|
|
/// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0)
|
|
/// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`)
|
|
fn seal_random() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `1485`
|
|
// Minimum execution time: 2_304_000 picoseconds.
|
|
Weight::from_parts(2_359_000, 1485)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
}
|
|
/// 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(t: u32, n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `990 + t * (2475 ±0)`
|
|
// Minimum execution time: 3_963_000 picoseconds.
|
|
Weight::from_parts(4_143_031, 990)
|
|
// Standard Error: 6_527
|
|
.saturating_add(Weight::from_parts(2_186_206, 0).saturating_mul(t.into()))
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(25, 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 `i` is `[0, 1048576]`.
|
|
fn seal_debug_message(i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 411_000 picoseconds.
|
|
Weight::from_parts(582_596, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(712, 0).saturating_mul(i.into()))
|
|
}
|
|
/// Storage: `Skipped::Metadata` (r:0 w:0)
|
|
/// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
|
fn get_storage_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `16522`
|
|
// Estimated: `16522`
|
|
// Minimum execution time: 12_684_000 picoseconds.
|
|
Weight::from_parts(13_116_000, 16522)
|
|
.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`)
|
|
fn get_storage_full() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `26532`
|
|
// Estimated: `26532`
|
|
// Minimum execution time: 53_633_000 picoseconds.
|
|
Weight::from_parts(55_592_000, 26532)
|
|
.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`)
|
|
fn set_storage_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `16522`
|
|
// Estimated: `16522`
|
|
// Minimum execution time: 14_319_000 picoseconds.
|
|
Weight::from_parts(14_725_000, 16522)
|
|
.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`)
|
|
fn set_storage_full() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `26532`
|
|
// Estimated: `26532`
|
|
// Minimum execution time: 56_431_000 picoseconds.
|
|
Weight::from_parts(57_931_000, 26532)
|
|
.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]`.
|
|
/// The range of component `o` is `[0, 16384]`.
|
|
fn seal_set_storage(n: u32, o: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `154 + o * (1 ±0)`
|
|
// Estimated: `153 + o * (1 ±0)`
|
|
// Minimum execution time: 9_356_000 picoseconds.
|
|
Weight::from_parts(8_075_772, 153)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(276, 0).saturating_mul(n.into()))
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(114, 0).saturating_mul(o.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
.saturating_add(Weight::from_parts(0, 1).saturating_mul(o.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(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `152 + n * (1 ±0)`
|
|
// Estimated: `152 + n * (1 ±0)`
|
|
// Minimum execution time: 6_210_000 picoseconds.
|
|
Weight::from_parts(7_608_498, 152)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(137, 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 `n` is `[0, 16384]`.
|
|
fn seal_get_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `152 + n * (1 ±0)`
|
|
// Estimated: `152 + n * (1 ±0)`
|
|
// Minimum execution time: 5_676_000 picoseconds.
|
|
Weight::from_parts(7_581_087, 152)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(557, 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 `n` is `[0, 16384]`.
|
|
fn seal_contains_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `152 + n * (1 ±0)`
|
|
// Estimated: `152 + n * (1 ±0)`
|
|
// Minimum execution time: 5_286_000 picoseconds.
|
|
Weight::from_parts(6_872_699, 152)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(119, 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 `n` is `[0, 16384]`.
|
|
fn seal_take_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `152 + n * (1 ±0)`
|
|
// Estimated: `152 + n * (1 ±0)`
|
|
// Minimum execution time: 6_353_000 picoseconds.
|
|
Weight::from_parts(8_139_270, 152)
|
|
// Standard Error: 5
|
|
.saturating_add(Weight::from_parts(590, 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()))
|
|
}
|
|
fn set_transient_storage_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_487_000 picoseconds.
|
|
Weight::from_parts(1_610_000, 0)
|
|
}
|
|
fn set_transient_storage_full() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 2_549_000 picoseconds.
|
|
Weight::from_parts(2_699_000, 0)
|
|
}
|
|
fn get_transient_storage_empty() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 3_279_000 picoseconds.
|
|
Weight::from_parts(3_339_000, 0)
|
|
}
|
|
fn get_transient_storage_full() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 4_085_000 picoseconds.
|
|
Weight::from_parts(4_332_000, 0)
|
|
}
|
|
fn rollback_transient_storage() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_522_000 picoseconds.
|
|
Weight::from_parts(1_723_000, 0)
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
/// The range of component `o` is `[0, 16384]`.
|
|
fn seal_set_transient_storage(n: u32, o: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 5_583_000 picoseconds.
|
|
Weight::from_parts(2_628_557, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(204, 0).saturating_mul(n.into()))
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(222, 0).saturating_mul(o.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
fn seal_clear_transient_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 2_188_000 picoseconds.
|
|
Weight::from_parts(2_515_424, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(227, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
fn seal_get_transient_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_890_000 picoseconds.
|
|
Weight::from_parts(2_182_387, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(226, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
fn seal_contains_transient_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_738_000 picoseconds.
|
|
Weight::from_parts(1_974_584, 0)
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 16384]`.
|
|
fn seal_take_transient_storage(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 7_913_000 picoseconds.
|
|
Weight::from_parts(8_133_541, 0)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(3, 0).saturating_mul(n.into()))
|
|
}
|
|
fn seal_transfer() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `101`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 8_943_000 picoseconds.
|
|
Weight::from_parts(9_230_000, 0)
|
|
}
|
|
/// 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: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// The range of component `t` is `[0, 1]`.
|
|
/// The range of component `i` is `[0, 1048576]`.
|
|
fn seal_call(t: u32, i: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `459 + t * (242 ±0)`
|
|
// Estimated: `3924 + t * (2083 ±0)`
|
|
// Minimum execution time: 132_736_000 picoseconds.
|
|
Weight::from_parts(129_310_380, 3924)
|
|
// Standard Error: 270_788
|
|
.saturating_add(Weight::from_parts(45_537_319, 0).saturating_mul(t.into()))
|
|
// Standard Error: 0
|
|
.saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
|
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into())))
|
|
.saturating_add(Weight::from_parts(0, 2083).saturating_mul(t.into()))
|
|
}
|
|
/// 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`)
|
|
fn seal_delegate_call() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `269`
|
|
// Estimated: `3734`
|
|
// Minimum execution time: 120_046_000 picoseconds.
|
|
Weight::from_parts(121_748_000, 3734)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
}
|
|
/// 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:1)
|
|
/// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`)
|
|
/// Storage: `System::Account` (r:1 w:1)
|
|
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`)
|
|
/// The range of component `i` is `[0, 983040]`.
|
|
/// The range of component `s` is `[0, 983040]`.
|
|
fn seal_instantiate(i: u32, s: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `463`
|
|
// Estimated: `3937`
|
|
// Minimum execution time: 1_877_748_000 picoseconds.
|
|
Weight::from_parts(156_912_679, 3937)
|
|
// Standard Error: 19
|
|
.saturating_add(Weight::from_parts(1_663, 0).saturating_mul(i.into()))
|
|
// Standard Error: 19
|
|
.saturating_add(Weight::from_parts(2_033, 0).saturating_mul(s.into()))
|
|
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_sha2_256(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 940_000 picoseconds.
|
|
Weight::from_parts(8_848_107, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_322, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_keccak_256(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 1_308_000 picoseconds.
|
|
Weight::from_parts(13_432_971, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(3_515, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_blake2_256(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 839_000 picoseconds.
|
|
Weight::from_parts(4_868_192, 0)
|
|
// Standard Error: 1
|
|
.saturating_add(Weight::from_parts(1_458, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 1048576]`.
|
|
fn seal_hash_blake2_128(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 790_000 picoseconds.
|
|
Weight::from_parts(814_000, 0)
|
|
// Standard Error: 2
|
|
.saturating_add(Weight::from_parts(1_495, 0).saturating_mul(n.into()))
|
|
}
|
|
/// The range of component `n` is `[0, 125697]`.
|
|
fn seal_sr25519_verify(n: u32, ) -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 42_811_000 picoseconds.
|
|
Weight::from_parts(41_107_222, 0)
|
|
// Standard Error: 9
|
|
.saturating_add(Weight::from_parts(4_949, 0).saturating_mul(n.into()))
|
|
}
|
|
fn seal_ecdsa_recover() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 47_723_000 picoseconds.
|
|
Weight::from_parts(48_486_000, 0)
|
|
}
|
|
fn seal_ecdsa_to_eth_address() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 12_903_000 picoseconds.
|
|
Weight::from_parts(13_026_000, 0)
|
|
}
|
|
/// 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`)
|
|
fn seal_set_code_hash() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `269`
|
|
// Estimated: `3734`
|
|
// Minimum execution time: 19_643_000 picoseconds.
|
|
Weight::from_parts(20_330_000, 3734)
|
|
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`)
|
|
fn lock_delegate_dependency() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `218`
|
|
// Estimated: `3683`
|
|
// Minimum execution time: 10_632_000 picoseconds.
|
|
Weight::from_parts(11_052_000, 3683)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
/// Storage: `Contracts::CodeInfoOf` (r:1 w:1)
|
|
/// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`)
|
|
fn unlock_delegate_dependency() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `218`
|
|
// Estimated: `3558`
|
|
// Minimum execution time: 9_383_000 picoseconds.
|
|
Weight::from_parts(9_640_000, 3558)
|
|
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
|
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
|
}
|
|
fn seal_reentrance_count() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 391_000 picoseconds.
|
|
Weight::from_parts(415_000, 0)
|
|
}
|
|
fn seal_account_reentrance_count() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `0`
|
|
// Estimated: `0`
|
|
// Minimum execution time: 375_000 picoseconds.
|
|
Weight::from_parts(397_000, 0)
|
|
}
|
|
/// Storage: `Contracts::Nonce` (r:1 w:0)
|
|
/// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`)
|
|
fn seal_instantiation_nonce() -> Weight {
|
|
// Proof Size summary in bytes:
|
|
// Measured: `82`
|
|
// Estimated: `1567`
|
|
// Minimum execution time: 2_883_000 picoseconds.
|
|
Weight::from_parts(3_005_000, 1567)
|
|
.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: 947_000 picoseconds.
|
|
Weight::from_parts(943_263, 0)
|
|
// Standard Error: 11
|
|
.saturating_add(Weight::from_parts(7_556, 0).saturating_mul(r.into()))
|
|
}
|
|
}
|