Files
pezkuwi-subxt/substrate/frame/contracts/src/weights.rs
T
Shawn Tabrizi 0489c1768c FRAME Weights with Storage Metadata (#9471)
* weights with metadata

* fix

* fix contract test

* skip metadata tag

* special handling for `frame_system`

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* add skip metadata to contracts

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* fix contract test

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bounties/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* expose component information

* fix test generation

* refactor list benchmarks

* move component selection out of runtime

* add benchmark verification

* missing feature

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bounties/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* add internal repeats

* update weights with internal repeats

* fix warning

* return error with pov

* try without tracking

* Revert "return error with pov"

This reverts commit 44c36cbbd3c6818f36f377e3e291f1df156e40f7.

* Revert "try without tracking"

This reverts commit f401c44aebff2232389d8d307b20924891e5d77d.

* Revert "Revert "try without tracking""

This reverts commit 4b4e05929802ad3e8154e107359447634e5fb21b.

* state without tracking

* fix build

* temp test

* split db and timing benchmarks

* extend db results?

* default repeat is internal

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* fix warning

* bump linked hash map

* use linked hash map for storage tracker

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* remove conflicting short command

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_democracy --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/democracy/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* missed one linked hashmap

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bounties/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bounties --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bounties/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/election-provider-multi-phase/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* new weights with latest changes

* Update frame/benchmarking/src/utils.rs

Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
2021-08-07 16:05:12 +00:00

1965 lines
86 KiB
Rust

// This file is part of Substrate.
// Copyright (C) 2021 Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for pallet_contracts
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2021-08-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 128
// Executed Command:
// target/release/substrate
// benchmark
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_contracts
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --output=./frame/contracts/src/weights.rs
// --template=./.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
use sp_std::marker::PhantomData;
/// Weight functions needed for pallet_contracts.
pub trait WeightInfo {
fn on_initialize() -> Weight;
fn on_initialize_per_trie_key(k: u32, ) -> Weight;
fn on_initialize_per_queue_item(q: u32, ) -> Weight;
fn instrument(c: u32, ) -> Weight;
fn code_load(c: u32, ) -> Weight;
fn code_refcount(c: u32, ) -> Weight;
fn instantiate_with_code(c: u32, s: u32, ) -> Weight;
fn instantiate(s: u32, ) -> Weight;
fn call() -> Weight;
fn claim_surcharge(c: u32, ) -> Weight;
fn seal_caller(r: u32, ) -> Weight;
fn seal_address(r: u32, ) -> Weight;
fn seal_gas_left(r: u32, ) -> Weight;
fn seal_balance(r: u32, ) -> Weight;
fn seal_value_transferred(r: u32, ) -> Weight;
fn seal_minimum_balance(r: u32, ) -> Weight;
fn seal_tombstone_deposit(r: u32, ) -> Weight;
fn seal_rent_allowance(r: u32, ) -> Weight;
fn seal_block_number(r: u32, ) -> Weight;
fn seal_now(r: u32, ) -> Weight;
fn seal_weight_to_fee(r: u32, ) -> Weight;
fn seal_gas(r: u32, ) -> Weight;
fn seal_input(r: u32, ) -> Weight;
fn seal_input_per_kb(n: u32, ) -> Weight;
fn seal_return(r: u32, ) -> Weight;
fn seal_return_per_kb(n: u32, ) -> Weight;
fn seal_terminate(r: u32, ) -> Weight;
fn seal_restore_to(r: u32, ) -> Weight;
fn seal_restore_to_per_delta(d: u32, ) -> Weight;
fn seal_random(r: u32, ) -> Weight;
fn seal_deposit_event(r: u32, ) -> Weight;
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight;
fn seal_set_rent_allowance(r: u32, ) -> Weight;
fn seal_debug_message(r: u32, ) -> Weight;
fn seal_set_storage(r: u32, ) -> Weight;
fn seal_set_storage_per_kb(n: u32, ) -> Weight;
fn seal_clear_storage(r: u32, ) -> Weight;
fn seal_get_storage(r: u32, ) -> Weight;
fn seal_get_storage_per_kb(n: u32, ) -> Weight;
fn seal_transfer(r: u32, ) -> Weight;
fn seal_call(r: u32, ) -> Weight;
fn seal_call_per_transfer_input_output_kb(t: u32, i: u32, o: u32, ) -> Weight;
fn seal_instantiate(r: u32, ) -> Weight;
fn seal_instantiate_per_input_output_salt_kb(i: u32, o: u32, s: u32, ) -> Weight;
fn seal_hash_sha2_256(r: u32, ) -> Weight;
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight;
fn seal_hash_keccak_256(r: u32, ) -> Weight;
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight;
fn seal_hash_blake2_256(r: u32, ) -> Weight;
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight;
fn seal_hash_blake2_128(r: u32, ) -> Weight;
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight;
fn instr_i64const(r: u32, ) -> Weight;
fn instr_i64load(r: u32, ) -> Weight;
fn instr_i64store(r: u32, ) -> Weight;
fn instr_select(r: u32, ) -> Weight;
fn instr_if(r: u32, ) -> Weight;
fn instr_br(r: u32, ) -> Weight;
fn instr_br_if(r: u32, ) -> Weight;
fn instr_br_table(r: u32, ) -> Weight;
fn instr_br_table_per_entry(e: u32, ) -> Weight;
fn instr_call(r: u32, ) -> Weight;
fn instr_call_indirect(r: u32, ) -> Weight;
fn instr_call_indirect_per_param(p: u32, ) -> Weight;
fn instr_local_get(r: u32, ) -> Weight;
fn instr_local_set(r: u32, ) -> Weight;
fn instr_local_tee(r: u32, ) -> Weight;
fn instr_global_get(r: u32, ) -> Weight;
fn instr_global_set(r: u32, ) -> Weight;
fn instr_memory_current(r: u32, ) -> Weight;
fn instr_memory_grow(r: u32, ) -> Weight;
fn instr_i64clz(r: u32, ) -> Weight;
fn instr_i64ctz(r: u32, ) -> Weight;
fn instr_i64popcnt(r: u32, ) -> Weight;
fn instr_i64eqz(r: u32, ) -> Weight;
fn instr_i64extendsi32(r: u32, ) -> Weight;
fn instr_i64extendui32(r: u32, ) -> Weight;
fn instr_i32wrapi64(r: u32, ) -> Weight;
fn instr_i64eq(r: u32, ) -> Weight;
fn instr_i64ne(r: u32, ) -> Weight;
fn instr_i64lts(r: u32, ) -> Weight;
fn instr_i64ltu(r: u32, ) -> Weight;
fn instr_i64gts(r: u32, ) -> Weight;
fn instr_i64gtu(r: u32, ) -> Weight;
fn instr_i64les(r: u32, ) -> Weight;
fn instr_i64leu(r: u32, ) -> Weight;
fn instr_i64ges(r: u32, ) -> Weight;
fn instr_i64geu(r: u32, ) -> Weight;
fn instr_i64add(r: u32, ) -> Weight;
fn instr_i64sub(r: u32, ) -> Weight;
fn instr_i64mul(r: u32, ) -> Weight;
fn instr_i64divs(r: u32, ) -> Weight;
fn instr_i64divu(r: u32, ) -> Weight;
fn instr_i64rems(r: u32, ) -> Weight;
fn instr_i64remu(r: u32, ) -> Weight;
fn instr_i64and(r: u32, ) -> Weight;
fn instr_i64or(r: u32, ) -> Weight;
fn instr_i64xor(r: u32, ) -> Weight;
fn instr_i64shl(r: u32, ) -> Weight;
fn instr_i64shrs(r: u32, ) -> Weight;
fn instr_i64shru(r: u32, ) -> Weight;
fn instr_i64rotl(r: u32, ) -> Weight;
fn instr_i64rotr(r: u32, ) -> Weight;
}
/// Weights for pallet_contracts using the Substrate node and recommended hardware.
pub struct SubstrateWeight<T>(PhantomData<T>);
impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Storage: Contracts DeletionQueue (r:1 w:0)
fn on_initialize() -> Weight {
(3_175_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
// Storage: Skipped Metadata (r:0 w:0)
fn on_initialize_per_trie_key(k: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 3_000
.saturating_add((2_201_000 as Weight).saturating_mul(k as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight)))
}
// Storage: Contracts DeletionQueue (r:1 w:0)
fn on_initialize_per_queue_item(q: u32, ) -> Weight {
(66_035_000 as Weight)
// Standard Error: 6_000
.saturating_add((38_159_000 as Weight).saturating_mul(q as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts PristineCode (r:1 w:0)
// Storage: Contracts CodeStorage (r:0 w:1)
fn instrument(c: u32, ) -> Weight {
(35_007_000 as Weight)
// Standard Error: 110_000
.saturating_add((75_739_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts CodeStorage (r:1 w:0)
fn code_load(c: u32, ) -> Weight {
(6_238_000 as Weight)
// Standard Error: 0
.saturating_add((1_671_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
}
// Storage: Contracts CodeStorage (r:1 w:1)
fn code_refcount(c: u32, ) -> Weight {
(10_080_000 as Weight)
// Standard Error: 0
.saturating_add((2_694_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts AccountCounter (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: Contracts PristineCode (r:0 w:1)
fn instantiate_with_code(c: u32, s: u32, ) -> Weight {
(182_161_000 as Weight)
// Standard Error: 115_000
.saturating_add((113_515_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 7_000
.saturating_add((2_314_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: Contracts AccountCounter (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
fn instantiate(s: u32, ) -> Weight {
(183_914_000 as Weight)
// Standard Error: 1_000
.saturating_add((2_224_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
fn call() -> Weight {
(166_507_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Contracts DeletionQueue (r:1 w:1)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acafbc76efb655f52a2] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a45e3386f1a83f00b28] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a96e4ef3ab80b5c3a5f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a3d24875569a319056f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a64ad561e495f01c762] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a3b624bb134596373c1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743aadbe519bace97698b4] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a7e33b1a343f33065bd] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a626f271ae6979bbffe] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a7ce585fd4ae98b830b] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ac889c022f51a43b527] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a4f6353225ab0496d48] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ab578892d355575c3e4] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a02b4c8040b81dc785d] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a8d13a70c1e380292ea] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a2e4d2fc709d989c778] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a6df81b28bd3ec99a3a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743af54f74589657eac0fd] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a1849a3092175db4a2f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a4f05ecdc6c2c42c9fb] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a24c3c0036dfb085bb9] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a44d725ac77836eb10b] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ad04db6c692ab73d90d] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a873009d6cdb99c5a4c] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743aa958795fbfc2b5fa41] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a205b6f659d219c8cbc] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ade54b3bc3d3cdb1aeb] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a538b748c1c5f92be98] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ad50de2ad89aaa1e067] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a0576917f19ecaf2a3f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a5b44bd2793555a71e7] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acc874645f7bbf62e62] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a7ae1b958a847e98bc8] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a396ae49d5311ee6bd1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743aa5d56999a2ebd1c4c9] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a72f370c054587f81a5] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a3a32934e459acb2ceb] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ac10fd56a5e084aae1c] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a2ba8e27fcdbc3ab4f2] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a4a75b804eec44f3f2a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a64ebb181fc616bfdb4] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a9aaf019a62fd907a8a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a19730285453eb7702a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acced4c24d0ebee7c29] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ae458a57da6a2a6280a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a83b9f09b407c57d07e] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acc9fc095b3aaaef755] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a587ccf84053d9950ff] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a13d53bcf137f3784e9] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743abb79d34fb381ebd7c1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a935ea70a3e699d23b6] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a109fcd63aefdae75a1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743abca8d937a761f2eb46] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a314c97ff9e866a835b] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a691e4b5f67da0dea8e] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a127c680b864ee61620] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a148df8dfd47b4493f3] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a57c606ebe91374fcee] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acec20322704f7bec44] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743abf6a27e09c6d0a9f0f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ae2e8bdcf5850e20836] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ab8399645bc39338a47] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a658619de90cae5dbe1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743aeb9db1dfeed3a7b47b] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743abdc9db5edf43ffcb0d] (r:1 w:0)
fn claim_surcharge(c: u32, ) -> Weight {
(126_115_000 as Weight)
// Standard Error: 2_000
.saturating_add((2_829_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_caller(r: u32, ) -> Weight {
(134_110_000 as Weight)
// Standard Error: 130_000
.saturating_add((230_337_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_address(r: u32, ) -> Weight {
(131_212_000 as Weight)
// Standard Error: 116_000
.saturating_add((230_568_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_gas_left(r: u32, ) -> Weight {
(135_149_000 as Weight)
// Standard Error: 149_000
.saturating_add((224_830_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_balance(r: u32, ) -> Weight {
(148_463_000 as Weight)
// Standard Error: 246_000
.saturating_add((480_930_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_value_transferred(r: u32, ) -> Weight {
(137_790_000 as Weight)
// Standard Error: 152_000
.saturating_add((224_961_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_minimum_balance(r: u32, ) -> Weight {
(134_238_000 as Weight)
// Standard Error: 135_000
.saturating_add((224_433_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_tombstone_deposit(r: u32, ) -> Weight {
(135_053_000 as Weight)
// Standard Error: 147_000
.saturating_add((223_955_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_rent_allowance(r: u32, ) -> Weight {
(138_522_000 as Weight)
// Standard Error: 145_000
.saturating_add((223_459_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_block_number(r: u32, ) -> Weight {
(133_568_000 as Weight)
// Standard Error: 143_000
.saturating_add((224_792_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_now(r: u32, ) -> Weight {
(134_786_000 as Weight)
// Standard Error: 130_000
.saturating_add((224_331_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
fn seal_weight_to_fee(r: u32, ) -> Weight {
(147_402_000 as Weight)
// Standard Error: 233_000
.saturating_add((439_237_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_gas(r: u32, ) -> Weight {
(115_711_000 as Weight)
// Standard Error: 88_000
.saturating_add((113_467_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_input(r: u32, ) -> Weight {
(123_004_000 as Weight)
// Standard Error: 78_000
.saturating_add((6_674_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_input_per_kb(n: u32, ) -> Weight {
(131_611_000 as Weight)
// Standard Error: 0
.saturating_add((1_035_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_return(r: u32, ) -> Weight {
(118_327_000 as Weight)
// Standard Error: 84_000
.saturating_add((4_274_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_return_per_kb(n: u32, ) -> Weight {
(126_129_000 as Weight)
// Standard Error: 0
.saturating_add((495_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts DeletionQueue (r:1 w:1)
fn seal_terminate(r: u32, ) -> Weight {
(123_759_000 as Weight)
// Standard Error: 115_000
.saturating_add((89_730_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((2 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((4 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743af3fd4cc2fc8d170b6d] (r:1 w:0)
fn seal_restore_to(r: u32, ) -> Weight {
(151_364_000 as Weight)
// Standard Error: 263_000
.saturating_add((99_367_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((5 as Weight).saturating_mul(r as Weight)))
}
// Storage: Skipped Metadata (r:0 w:0)
fn seal_restore_to_per_delta(d: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 1_919_000
.saturating_add((2_415_482_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(d as Weight)))
.saturating_add(T::DbWeight::get().writes(7 as Weight))
.saturating_add(T::DbWeight::get().writes((100 as Weight).saturating_mul(d as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)
fn seal_random(r: u32, ) -> Weight {
(137_660_000 as Weight)
// Standard Error: 204_000
.saturating_add((563_042_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_deposit_event(r: u32, ) -> Weight {
(137_087_000 as Weight)
// Standard Error: 413_000
.saturating_add((835_499_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:100 w:100)
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight {
(1_117_515_000 as Weight)
// Standard Error: 2_167_000
.saturating_add((494_145_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 427_000
.saturating_add((150_093_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(t as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((100 as Weight).saturating_mul(t as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_set_rent_allowance(r: u32, ) -> Weight {
(132_070_000 as Weight)
// Standard Error: 129_000
.saturating_add((155_669_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_debug_message(r: u32, ) -> Weight {
(126_971_000 as Weight)
// Standard Error: 90_000
.saturating_add((122_445_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Skipped Metadata (r:0 w:0)
fn seal_set_storage(r: u32, ) -> Weight {
(125_746_000 as Weight)
// Standard Error: 610_000
.saturating_add((501_265_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((100 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: unknown [0x7afa01283080ef247df84e0ba38ea5a587d25ce6633a6bfbba02068c14023441] (r:1 w:1)
fn seal_set_storage_per_kb(n: u32, ) -> Weight {
(563_219_000 as Weight)
// Standard Error: 219_000
.saturating_add((41_578_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
// Storage: Skipped Metadata (r:0 w:0)
fn seal_clear_storage(r: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 1_727_000
.saturating_add((1_001_461_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((100 as Weight).saturating_mul(r as Weight)))
}
// Storage: Skipped Metadata (r:0 w:0)
fn seal_get_storage(r: u32, ) -> Weight {
(9_115_000 as Weight)
// Standard Error: 784_000
.saturating_add((660_533_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: unknown [0x7afa01283080ef247df84e0ba38ea5a587d25ce6633a6bfbba02068c14023441] (r:1 w:0)
fn seal_get_storage_per_kb(n: u32, ) -> Weight {
(563_175_000 as Weight)
// Standard Error: 206_000
.saturating_add((89_626_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_transfer(r: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 1_750_000
.saturating_add((4_820_493_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((100 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((100 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_call(r: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 6_692_000
.saturating_add((11_477_937_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().reads((200 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
.saturating_add(T::DbWeight::get().writes((100 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:101 w:101)
// Storage: Contracts CodeStorage (r:2 w:0)
// Storage: System Account (r:101 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_call_per_transfer_input_output_kb(t: u32, i: u32, o: u32, ) -> Weight {
(11_238_437_000 as Weight)
// Standard Error: 81_620_000
.saturating_add((3_700_413_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 29_000
.saturating_add((32_106_000 as Weight).saturating_mul(i as Weight))
// Standard Error: 31_000
.saturating_add((54_386_000 as Weight).saturating_mul(o as Weight))
.saturating_add(T::DbWeight::get().reads(205 as Weight))
.saturating_add(T::DbWeight::get().writes(101 as Weight))
.saturating_add(T::DbWeight::get().writes((101 as Weight).saturating_mul(t as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts AccountCounter (r:1 w:1)
fn seal_instantiate(r: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 35_258_000
.saturating_add((20_674_357_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().reads((300 as Weight).saturating_mul(r as Weight)))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((300 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:101 w:101)
// Storage: Contracts CodeStorage (r:2 w:1)
// Storage: System Account (r:101 w:101)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts AccountCounter (r:1 w:1)
fn seal_instantiate_per_input_output_salt_kb(i: u32, o: u32, s: u32, ) -> Weight {
(14_725_288_000 as Weight)
// Standard Error: 53_000
.saturating_add((33_848_000 as Weight).saturating_mul(i as Weight))
// Standard Error: 53_000
.saturating_add((57_054_000 as Weight).saturating_mul(o as Weight))
// Standard Error: 53_000
.saturating_add((180_033_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(206 as Weight))
.saturating_add(T::DbWeight::get().writes(204 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_sha2_256(r: u32, ) -> Weight {
(131_974_000 as Weight)
// Standard Error: 125_000
.saturating_add((220_711_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight {
(367_148_000 as Weight)
// Standard Error: 12_000
.saturating_add((462_143_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_keccak_256(r: u32, ) -> Weight {
(134_585_000 as Weight)
// Standard Error: 131_000
.saturating_add((227_264_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight {
(325_319_000 as Weight)
// Standard Error: 12_000
.saturating_add((313_033_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_blake2_256(r: u32, ) -> Weight {
(135_347_000 as Weight)
// Standard Error: 150_000
.saturating_add((199_764_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight {
(424_473_000 as Weight)
// Standard Error: 13_000
.saturating_add((130_936_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_blake2_128(r: u32, ) -> Weight {
(128_776_000 as Weight)
// Standard Error: 118_000
.saturating_add((203_125_000 as Weight).saturating_mul(r as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight {
(445_726_000 as Weight)
// Standard Error: 14_000
.saturating_add((130_931_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn instr_i64const(r: u32, ) -> Weight {
(22_161_000 as Weight)
// Standard Error: 36_000
.saturating_add((3_329_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64load(r: u32, ) -> Weight {
(24_430_000 as Weight)
// Standard Error: 65_000
.saturating_add((159_566_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64store(r: u32, ) -> Weight {
(24_443_000 as Weight)
// Standard Error: 62_000
.saturating_add((232_854_000 as Weight).saturating_mul(r as Weight))
}
fn instr_select(r: u32, ) -> Weight {
(22_158_000 as Weight)
// Standard Error: 34_000
.saturating_add((12_112_000 as Weight).saturating_mul(r as Weight))
}
fn instr_if(r: u32, ) -> Weight {
(22_178_000 as Weight)
// Standard Error: 23_000
.saturating_add((11_374_000 as Weight).saturating_mul(r as Weight))
}
fn instr_br(r: u32, ) -> Weight {
(22_157_000 as Weight)
// Standard Error: 41_000
.saturating_add((5_826_000 as Weight).saturating_mul(r as Weight))
}
fn instr_br_if(r: u32, ) -> Weight {
(22_182_000 as Weight)
// Standard Error: 34_000
.saturating_add((13_647_000 as Weight).saturating_mul(r as Weight))
}
fn instr_br_table(r: u32, ) -> Weight {
(22_083_000 as Weight)
// Standard Error: 44_000
.saturating_add((14_901_000 as Weight).saturating_mul(r as Weight))
}
fn instr_br_table_per_entry(e: u32, ) -> Weight {
(32_689_000 as Weight)
// Standard Error: 1_000
.saturating_add((154_000 as Weight).saturating_mul(e as Weight))
}
fn instr_call(r: u32, ) -> Weight {
(22_313_000 as Weight)
// Standard Error: 383_000
.saturating_add((89_804_000 as Weight).saturating_mul(r as Weight))
}
fn instr_call_indirect(r: u32, ) -> Weight {
(29_939_000 as Weight)
// Standard Error: 230_000
.saturating_add((185_309_000 as Weight).saturating_mul(r as Weight))
}
fn instr_call_indirect_per_param(p: u32, ) -> Weight {
(221_596_000 as Weight)
// Standard Error: 3_000
.saturating_add((4_045_000 as Weight).saturating_mul(p as Weight))
}
fn instr_local_get(r: u32, ) -> Weight {
(22_171_000 as Weight)
// Standard Error: 28_000
.saturating_add((3_362_000 as Weight).saturating_mul(r as Weight))
}
fn instr_local_set(r: u32, ) -> Weight {
(22_182_000 as Weight)
// Standard Error: 31_000
.saturating_add((3_801_000 as Weight).saturating_mul(r as Weight))
}
fn instr_local_tee(r: u32, ) -> Weight {
(22_200_000 as Weight)
// Standard Error: 27_000
.saturating_add((5_080_000 as Weight).saturating_mul(r as Weight))
}
fn instr_global_get(r: u32, ) -> Weight {
(25_255_000 as Weight)
// Standard Error: 41_000
.saturating_add((8_875_000 as Weight).saturating_mul(r as Weight))
}
fn instr_global_set(r: u32, ) -> Weight {
(25_145_000 as Weight)
// Standard Error: 37_000
.saturating_add((9_556_000 as Weight).saturating_mul(r as Weight))
}
fn instr_memory_current(r: u32, ) -> Weight {
(24_435_000 as Weight)
// Standard Error: 49_000
.saturating_add((4_204_000 as Weight).saturating_mul(r as Weight))
}
fn instr_memory_grow(r: u32, ) -> Weight {
(23_158_000 as Weight)
// Standard Error: 5_969_000
.saturating_add((2_339_630_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64clz(r: u32, ) -> Weight {
(21_984_000 as Weight)
// Standard Error: 25_000
.saturating_add((5_421_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64ctz(r: u32, ) -> Weight {
(22_069_000 as Weight)
// Standard Error: 26_000
.saturating_add((5_187_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64popcnt(r: u32, ) -> Weight {
(22_042_000 as Weight)
// Standard Error: 28_000
.saturating_add((6_116_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64eqz(r: u32, ) -> Weight {
(22_018_000 as Weight)
// Standard Error: 34_000
.saturating_add((5_130_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64extendsi32(r: u32, ) -> Weight {
(21_933_000 as Weight)
// Standard Error: 29_000
.saturating_add((5_005_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64extendui32(r: u32, ) -> Weight {
(22_066_000 as Weight)
// Standard Error: 34_000
.saturating_add((4_877_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i32wrapi64(r: u32, ) -> Weight {
(22_003_000 as Weight)
// Standard Error: 25_000
.saturating_add((5_018_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64eq(r: u32, ) -> Weight {
(22_130_000 as Weight)
// Standard Error: 35_000
.saturating_add((7_071_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64ne(r: u32, ) -> Weight {
(22_112_000 as Weight)
// Standard Error: 24_000
.saturating_add((7_056_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64lts(r: u32, ) -> Weight {
(22_114_000 as Weight)
// Standard Error: 27_000
.saturating_add((6_974_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64ltu(r: u32, ) -> Weight {
(22_111_000 as Weight)
// Standard Error: 32_000
.saturating_add((7_183_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64gts(r: u32, ) -> Weight {
(22_148_000 as Weight)
// Standard Error: 28_000
.saturating_add((7_044_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64gtu(r: u32, ) -> Weight {
(22_158_000 as Weight)
// Standard Error: 33_000
.saturating_add((7_116_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64les(r: u32, ) -> Weight {
(22_194_000 as Weight)
// Standard Error: 31_000
.saturating_add((7_039_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64leu(r: u32, ) -> Weight {
(22_219_000 as Weight)
// Standard Error: 23_000
.saturating_add((7_076_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64ges(r: u32, ) -> Weight {
(22_170_000 as Weight)
// Standard Error: 50_000
.saturating_add((7_122_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64geu(r: u32, ) -> Weight {
(22_113_000 as Weight)
// Standard Error: 27_000
.saturating_add((7_069_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64add(r: u32, ) -> Weight {
(22_090_000 as Weight)
// Standard Error: 29_000
.saturating_add((6_956_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64sub(r: u32, ) -> Weight {
(22_006_000 as Weight)
// Standard Error: 30_000
.saturating_add((7_094_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64mul(r: u32, ) -> Weight {
(22_111_000 as Weight)
// Standard Error: 29_000
.saturating_add((6_825_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64divs(r: u32, ) -> Weight {
(22_041_000 as Weight)
// Standard Error: 29_000
.saturating_add((13_164_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64divu(r: u32, ) -> Weight {
(21_989_000 as Weight)
// Standard Error: 28_000
.saturating_add((12_808_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64rems(r: u32, ) -> Weight {
(22_045_000 as Weight)
// Standard Error: 39_000
.saturating_add((13_387_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64remu(r: u32, ) -> Weight {
(22_075_000 as Weight)
// Standard Error: 40_000
.saturating_add((12_791_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64and(r: u32, ) -> Weight {
(22_044_000 as Weight)
// Standard Error: 32_000
.saturating_add((7_090_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64or(r: u32, ) -> Weight {
(22_133_000 as Weight)
// Standard Error: 40_000
.saturating_add((6_967_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64xor(r: u32, ) -> Weight {
(22_069_000 as Weight)
// Standard Error: 41_000
.saturating_add((7_026_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64shl(r: u32, ) -> Weight {
(22_165_000 as Weight)
// Standard Error: 44_000
.saturating_add((7_440_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64shrs(r: u32, ) -> Weight {
(22_063_000 as Weight)
// Standard Error: 34_000
.saturating_add((7_309_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64shru(r: u32, ) -> Weight {
(22_086_000 as Weight)
// Standard Error: 36_000
.saturating_add((7_188_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64rotl(r: u32, ) -> Weight {
(22_109_000 as Weight)
// Standard Error: 45_000
.saturating_add((7_169_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64rotr(r: u32, ) -> Weight {
(22_076_000 as Weight)
// Standard Error: 28_000
.saturating_add((7_070_000 as Weight).saturating_mul(r as Weight))
}
}
// For backwards compatibility and tests
impl WeightInfo for () {
// Storage: Contracts DeletionQueue (r:1 w:0)
fn on_initialize() -> Weight {
(3_175_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
}
// Storage: Skipped Metadata (r:0 w:0)
fn on_initialize_per_trie_key(k: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 3_000
.saturating_add((2_201_000 as Weight).saturating_mul(k as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((1 as Weight).saturating_mul(k as Weight)))
}
// Storage: Contracts DeletionQueue (r:1 w:0)
fn on_initialize_per_queue_item(q: u32, ) -> Weight {
(66_035_000 as Weight)
// Standard Error: 6_000
.saturating_add((38_159_000 as Weight).saturating_mul(q as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts PristineCode (r:1 w:0)
// Storage: Contracts CodeStorage (r:0 w:1)
fn instrument(c: u32, ) -> Weight {
(35_007_000 as Weight)
// Standard Error: 110_000
.saturating_add((75_739_000 as Weight).saturating_mul(c as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts CodeStorage (r:1 w:0)
fn code_load(c: u32, ) -> Weight {
(6_238_000 as Weight)
// Standard Error: 0
.saturating_add((1_671_000 as Weight).saturating_mul(c as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
}
// Storage: Contracts CodeStorage (r:1 w:1)
fn code_refcount(c: u32, ) -> Weight {
(10_080_000 as Weight)
// Standard Error: 0
.saturating_add((2_694_000 as Weight).saturating_mul(c as Weight))
.saturating_add(RocksDbWeight::get().reads(1 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts AccountCounter (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: Contracts PristineCode (r:0 w:1)
fn instantiate_with_code(c: u32, s: u32, ) -> Weight {
(182_161_000 as Weight)
// Standard Error: 115_000
.saturating_add((113_515_000 as Weight).saturating_mul(c as Weight))
// Standard Error: 7_000
.saturating_add((2_314_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: Contracts AccountCounter (r:1 w:0)
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
fn instantiate(s: u32, ) -> Weight {
(183_914_000 as Weight)
// Standard Error: 1_000
.saturating_add((2_224_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:1)
// Storage: Timestamp Now (r:1 w:0)
fn call() -> Weight {
(166_507_000 as Weight)
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:1)
// Storage: System Account (r:1 w:1)
// Storage: Contracts DeletionQueue (r:1 w:1)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acafbc76efb655f52a2] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a45e3386f1a83f00b28] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a96e4ef3ab80b5c3a5f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a3d24875569a319056f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a64ad561e495f01c762] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a3b624bb134596373c1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743aadbe519bace97698b4] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a7e33b1a343f33065bd] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a626f271ae6979bbffe] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a7ce585fd4ae98b830b] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ac889c022f51a43b527] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a4f6353225ab0496d48] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ab578892d355575c3e4] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a02b4c8040b81dc785d] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a8d13a70c1e380292ea] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a2e4d2fc709d989c778] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a6df81b28bd3ec99a3a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743af54f74589657eac0fd] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a1849a3092175db4a2f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a4f05ecdc6c2c42c9fb] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a24c3c0036dfb085bb9] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a44d725ac77836eb10b] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ad04db6c692ab73d90d] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a873009d6cdb99c5a4c] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743aa958795fbfc2b5fa41] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a205b6f659d219c8cbc] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ade54b3bc3d3cdb1aeb] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a538b748c1c5f92be98] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ad50de2ad89aaa1e067] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a0576917f19ecaf2a3f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a5b44bd2793555a71e7] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acc874645f7bbf62e62] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a7ae1b958a847e98bc8] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a396ae49d5311ee6bd1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743aa5d56999a2ebd1c4c9] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a72f370c054587f81a5] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a3a32934e459acb2ceb] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ac10fd56a5e084aae1c] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a2ba8e27fcdbc3ab4f2] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a4a75b804eec44f3f2a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a64ebb181fc616bfdb4] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a9aaf019a62fd907a8a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a19730285453eb7702a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acced4c24d0ebee7c29] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ae458a57da6a2a6280a] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a83b9f09b407c57d07e] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acc9fc095b3aaaef755] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a587ccf84053d9950ff] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a13d53bcf137f3784e9] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743abb79d34fb381ebd7c1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a935ea70a3e699d23b6] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a109fcd63aefdae75a1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743abca8d937a761f2eb46] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a314c97ff9e866a835b] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a691e4b5f67da0dea8e] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a127c680b864ee61620] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a148df8dfd47b4493f3] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a57c606ebe91374fcee] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743acec20322704f7bec44] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743abf6a27e09c6d0a9f0f] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ae2e8bdcf5850e20836] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743ab8399645bc39338a47] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743a658619de90cae5dbe1] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743aeb9db1dfeed3a7b47b] (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743abdc9db5edf43ffcb0d] (r:1 w:0)
fn claim_surcharge(c: u32, ) -> Weight {
(126_115_000 as Weight)
// Standard Error: 2_000
.saturating_add((2_829_000 as Weight).saturating_mul(c as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(4 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_caller(r: u32, ) -> Weight {
(134_110_000 as Weight)
// Standard Error: 130_000
.saturating_add((230_337_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_address(r: u32, ) -> Weight {
(131_212_000 as Weight)
// Standard Error: 116_000
.saturating_add((230_568_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_gas_left(r: u32, ) -> Weight {
(135_149_000 as Weight)
// Standard Error: 149_000
.saturating_add((224_830_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_balance(r: u32, ) -> Weight {
(148_463_000 as Weight)
// Standard Error: 246_000
.saturating_add((480_930_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_value_transferred(r: u32, ) -> Weight {
(137_790_000 as Weight)
// Standard Error: 152_000
.saturating_add((224_961_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_minimum_balance(r: u32, ) -> Weight {
(134_238_000 as Weight)
// Standard Error: 135_000
.saturating_add((224_433_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_tombstone_deposit(r: u32, ) -> Weight {
(135_053_000 as Weight)
// Standard Error: 147_000
.saturating_add((223_955_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_rent_allowance(r: u32, ) -> Weight {
(138_522_000 as Weight)
// Standard Error: 145_000
.saturating_add((223_459_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_block_number(r: u32, ) -> Weight {
(133_568_000 as Weight)
// Standard Error: 143_000
.saturating_add((224_792_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_now(r: u32, ) -> Weight {
(134_786_000 as Weight)
// Standard Error: 130_000
.saturating_add((224_331_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: TransactionPayment NextFeeMultiplier (r:1 w:0)
fn seal_weight_to_fee(r: u32, ) -> Weight {
(147_402_000 as Weight)
// Standard Error: 233_000
.saturating_add((439_237_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_gas(r: u32, ) -> Weight {
(115_711_000 as Weight)
// Standard Error: 88_000
.saturating_add((113_467_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_input(r: u32, ) -> Weight {
(123_004_000 as Weight)
// Standard Error: 78_000
.saturating_add((6_674_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_input_per_kb(n: u32, ) -> Weight {
(131_611_000 as Weight)
// Standard Error: 0
.saturating_add((1_035_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_return(r: u32, ) -> Weight {
(118_327_000 as Weight)
// Standard Error: 84_000
.saturating_add((4_274_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_return_per_kb(n: u32, ) -> Weight {
(126_129_000 as Weight)
// Standard Error: 0
.saturating_add((495_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts DeletionQueue (r:1 w:1)
fn seal_terminate(r: u32, ) -> Weight {
(123_759_000 as Weight)
// Standard Error: 115_000
.saturating_add((89_730_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((2 as Weight).saturating_mul(r as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((4 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: unknown [0x3a6368696c645f73746f726167653a64656661756c743af3fd4cc2fc8d170b6d] (r:1 w:0)
fn seal_restore_to(r: u32, ) -> Weight {
(151_364_000 as Weight)
// Standard Error: 263_000
.saturating_add((99_367_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((4 as Weight).saturating_mul(r as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((5 as Weight).saturating_mul(r as Weight)))
}
// Storage: Skipped Metadata (r:0 w:0)
fn seal_restore_to_per_delta(d: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 1_919_000
.saturating_add((2_415_482_000 as Weight).saturating_mul(d as Weight))
.saturating_add(RocksDbWeight::get().reads(7 as Weight))
.saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(d as Weight)))
.saturating_add(RocksDbWeight::get().writes(7 as Weight))
.saturating_add(RocksDbWeight::get().writes((100 as Weight).saturating_mul(d as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0)
fn seal_random(r: u32, ) -> Weight {
(137_660_000 as Weight)
// Standard Error: 204_000
.saturating_add((563_042_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_deposit_event(r: u32, ) -> Weight {
(137_087_000 as Weight)
// Standard Error: 413_000
.saturating_add((835_499_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: System EventTopics (r:100 w:100)
fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight {
(1_117_515_000 as Weight)
// Standard Error: 2_167_000
.saturating_add((494_145_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 427_000
.saturating_add((150_093_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(t as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((100 as Weight).saturating_mul(t as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_set_rent_allowance(r: u32, ) -> Weight {
(132_070_000 as Weight)
// Standard Error: 129_000
.saturating_add((155_669_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_debug_message(r: u32, ) -> Weight {
(126_971_000 as Weight)
// Standard Error: 90_000
.saturating_add((122_445_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Skipped Metadata (r:0 w:0)
fn seal_set_storage(r: u32, ) -> Weight {
(125_746_000 as Weight)
// Standard Error: 610_000
.saturating_add((501_265_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((100 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: unknown [0x7afa01283080ef247df84e0ba38ea5a587d25ce6633a6bfbba02068c14023441] (r:1 w:1)
fn seal_set_storage_per_kb(n: u32, ) -> Weight {
(563_219_000 as Weight)
// Standard Error: 219_000
.saturating_add((41_578_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
}
// Storage: Skipped Metadata (r:0 w:0)
fn seal_clear_storage(r: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 1_727_000
.saturating_add((1_001_461_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((100 as Weight).saturating_mul(r as Weight)))
}
// Storage: Skipped Metadata (r:0 w:0)
fn seal_get_storage(r: u32, ) -> Weight {
(9_115_000 as Weight)
// Standard Error: 784_000
.saturating_add((660_533_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: unknown [0x7afa01283080ef247df84e0ba38ea5a587d25ce6633a6bfbba02068c14023441] (r:1 w:0)
fn seal_get_storage_per_kb(n: u32, ) -> Weight {
(563_175_000 as Weight)
// Standard Error: 206_000
.saturating_add((89_626_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_transfer(r: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 1_750_000
.saturating_add((4_820_493_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().reads((100 as Weight).saturating_mul(r as Weight)))
.saturating_add(RocksDbWeight::get().writes(2 as Weight))
.saturating_add(RocksDbWeight::get().writes((100 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_call(r: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 6_692_000
.saturating_add((11_477_937_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().reads((200 as Weight).saturating_mul(r as Weight)))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
.saturating_add(RocksDbWeight::get().writes((100 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:101 w:101)
// Storage: Contracts CodeStorage (r:2 w:0)
// Storage: System Account (r:101 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_call_per_transfer_input_output_kb(t: u32, i: u32, o: u32, ) -> Weight {
(11_238_437_000 as Weight)
// Standard Error: 81_620_000
.saturating_add((3_700_413_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 29_000
.saturating_add((32_106_000 as Weight).saturating_mul(i as Weight))
// Standard Error: 31_000
.saturating_add((54_386_000 as Weight).saturating_mul(o as Weight))
.saturating_add(RocksDbWeight::get().reads(205 as Weight))
.saturating_add(RocksDbWeight::get().writes(101 as Weight))
.saturating_add(RocksDbWeight::get().writes((101 as Weight).saturating_mul(t as Weight)))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts AccountCounter (r:1 w:1)
fn seal_instantiate(r: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 35_258_000
.saturating_add((20_674_357_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(5 as Weight))
.saturating_add(RocksDbWeight::get().reads((300 as Weight).saturating_mul(r as Weight)))
.saturating_add(RocksDbWeight::get().writes(3 as Weight))
.saturating_add(RocksDbWeight::get().writes((300 as Weight).saturating_mul(r as Weight)))
}
// Storage: Contracts ContractInfoOf (r:101 w:101)
// Storage: Contracts CodeStorage (r:2 w:1)
// Storage: System Account (r:101 w:101)
// Storage: Timestamp Now (r:1 w:0)
// Storage: Contracts AccountCounter (r:1 w:1)
fn seal_instantiate_per_input_output_salt_kb(i: u32, o: u32, s: u32, ) -> Weight {
(14_725_288_000 as Weight)
// Standard Error: 53_000
.saturating_add((33_848_000 as Weight).saturating_mul(i as Weight))
// Standard Error: 53_000
.saturating_add((57_054_000 as Weight).saturating_mul(o as Weight))
// Standard Error: 53_000
.saturating_add((180_033_000 as Weight).saturating_mul(s as Weight))
.saturating_add(RocksDbWeight::get().reads(206 as Weight))
.saturating_add(RocksDbWeight::get().writes(204 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_sha2_256(r: u32, ) -> Weight {
(131_974_000 as Weight)
// Standard Error: 125_000
.saturating_add((220_711_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight {
(367_148_000 as Weight)
// Standard Error: 12_000
.saturating_add((462_143_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_keccak_256(r: u32, ) -> Weight {
(134_585_000 as Weight)
// Standard Error: 131_000
.saturating_add((227_264_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight {
(325_319_000 as Weight)
// Standard Error: 12_000
.saturating_add((313_033_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_blake2_256(r: u32, ) -> Weight {
(135_347_000 as Weight)
// Standard Error: 150_000
.saturating_add((199_764_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight {
(424_473_000 as Weight)
// Standard Error: 13_000
.saturating_add((130_936_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_blake2_128(r: u32, ) -> Weight {
(128_776_000 as Weight)
// Standard Error: 118_000
.saturating_add((203_125_000 as Weight).saturating_mul(r as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
// Storage: Contracts ContractInfoOf (r:1 w:1)
// Storage: Contracts CodeStorage (r:1 w:0)
// Storage: System Account (r:1 w:0)
// Storage: Timestamp Now (r:1 w:0)
fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight {
(445_726_000 as Weight)
// Standard Error: 14_000
.saturating_add((130_931_000 as Weight).saturating_mul(n as Weight))
.saturating_add(RocksDbWeight::get().reads(4 as Weight))
.saturating_add(RocksDbWeight::get().writes(1 as Weight))
}
fn instr_i64const(r: u32, ) -> Weight {
(22_161_000 as Weight)
// Standard Error: 36_000
.saturating_add((3_329_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64load(r: u32, ) -> Weight {
(24_430_000 as Weight)
// Standard Error: 65_000
.saturating_add((159_566_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64store(r: u32, ) -> Weight {
(24_443_000 as Weight)
// Standard Error: 62_000
.saturating_add((232_854_000 as Weight).saturating_mul(r as Weight))
}
fn instr_select(r: u32, ) -> Weight {
(22_158_000 as Weight)
// Standard Error: 34_000
.saturating_add((12_112_000 as Weight).saturating_mul(r as Weight))
}
fn instr_if(r: u32, ) -> Weight {
(22_178_000 as Weight)
// Standard Error: 23_000
.saturating_add((11_374_000 as Weight).saturating_mul(r as Weight))
}
fn instr_br(r: u32, ) -> Weight {
(22_157_000 as Weight)
// Standard Error: 41_000
.saturating_add((5_826_000 as Weight).saturating_mul(r as Weight))
}
fn instr_br_if(r: u32, ) -> Weight {
(22_182_000 as Weight)
// Standard Error: 34_000
.saturating_add((13_647_000 as Weight).saturating_mul(r as Weight))
}
fn instr_br_table(r: u32, ) -> Weight {
(22_083_000 as Weight)
// Standard Error: 44_000
.saturating_add((14_901_000 as Weight).saturating_mul(r as Weight))
}
fn instr_br_table_per_entry(e: u32, ) -> Weight {
(32_689_000 as Weight)
// Standard Error: 1_000
.saturating_add((154_000 as Weight).saturating_mul(e as Weight))
}
fn instr_call(r: u32, ) -> Weight {
(22_313_000 as Weight)
// Standard Error: 383_000
.saturating_add((89_804_000 as Weight).saturating_mul(r as Weight))
}
fn instr_call_indirect(r: u32, ) -> Weight {
(29_939_000 as Weight)
// Standard Error: 230_000
.saturating_add((185_309_000 as Weight).saturating_mul(r as Weight))
}
fn instr_call_indirect_per_param(p: u32, ) -> Weight {
(221_596_000 as Weight)
// Standard Error: 3_000
.saturating_add((4_045_000 as Weight).saturating_mul(p as Weight))
}
fn instr_local_get(r: u32, ) -> Weight {
(22_171_000 as Weight)
// Standard Error: 28_000
.saturating_add((3_362_000 as Weight).saturating_mul(r as Weight))
}
fn instr_local_set(r: u32, ) -> Weight {
(22_182_000 as Weight)
// Standard Error: 31_000
.saturating_add((3_801_000 as Weight).saturating_mul(r as Weight))
}
fn instr_local_tee(r: u32, ) -> Weight {
(22_200_000 as Weight)
// Standard Error: 27_000
.saturating_add((5_080_000 as Weight).saturating_mul(r as Weight))
}
fn instr_global_get(r: u32, ) -> Weight {
(25_255_000 as Weight)
// Standard Error: 41_000
.saturating_add((8_875_000 as Weight).saturating_mul(r as Weight))
}
fn instr_global_set(r: u32, ) -> Weight {
(25_145_000 as Weight)
// Standard Error: 37_000
.saturating_add((9_556_000 as Weight).saturating_mul(r as Weight))
}
fn instr_memory_current(r: u32, ) -> Weight {
(24_435_000 as Weight)
// Standard Error: 49_000
.saturating_add((4_204_000 as Weight).saturating_mul(r as Weight))
}
fn instr_memory_grow(r: u32, ) -> Weight {
(23_158_000 as Weight)
// Standard Error: 5_969_000
.saturating_add((2_339_630_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64clz(r: u32, ) -> Weight {
(21_984_000 as Weight)
// Standard Error: 25_000
.saturating_add((5_421_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64ctz(r: u32, ) -> Weight {
(22_069_000 as Weight)
// Standard Error: 26_000
.saturating_add((5_187_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64popcnt(r: u32, ) -> Weight {
(22_042_000 as Weight)
// Standard Error: 28_000
.saturating_add((6_116_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64eqz(r: u32, ) -> Weight {
(22_018_000 as Weight)
// Standard Error: 34_000
.saturating_add((5_130_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64extendsi32(r: u32, ) -> Weight {
(21_933_000 as Weight)
// Standard Error: 29_000
.saturating_add((5_005_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64extendui32(r: u32, ) -> Weight {
(22_066_000 as Weight)
// Standard Error: 34_000
.saturating_add((4_877_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i32wrapi64(r: u32, ) -> Weight {
(22_003_000 as Weight)
// Standard Error: 25_000
.saturating_add((5_018_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64eq(r: u32, ) -> Weight {
(22_130_000 as Weight)
// Standard Error: 35_000
.saturating_add((7_071_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64ne(r: u32, ) -> Weight {
(22_112_000 as Weight)
// Standard Error: 24_000
.saturating_add((7_056_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64lts(r: u32, ) -> Weight {
(22_114_000 as Weight)
// Standard Error: 27_000
.saturating_add((6_974_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64ltu(r: u32, ) -> Weight {
(22_111_000 as Weight)
// Standard Error: 32_000
.saturating_add((7_183_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64gts(r: u32, ) -> Weight {
(22_148_000 as Weight)
// Standard Error: 28_000
.saturating_add((7_044_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64gtu(r: u32, ) -> Weight {
(22_158_000 as Weight)
// Standard Error: 33_000
.saturating_add((7_116_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64les(r: u32, ) -> Weight {
(22_194_000 as Weight)
// Standard Error: 31_000
.saturating_add((7_039_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64leu(r: u32, ) -> Weight {
(22_219_000 as Weight)
// Standard Error: 23_000
.saturating_add((7_076_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64ges(r: u32, ) -> Weight {
(22_170_000 as Weight)
// Standard Error: 50_000
.saturating_add((7_122_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64geu(r: u32, ) -> Weight {
(22_113_000 as Weight)
// Standard Error: 27_000
.saturating_add((7_069_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64add(r: u32, ) -> Weight {
(22_090_000 as Weight)
// Standard Error: 29_000
.saturating_add((6_956_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64sub(r: u32, ) -> Weight {
(22_006_000 as Weight)
// Standard Error: 30_000
.saturating_add((7_094_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64mul(r: u32, ) -> Weight {
(22_111_000 as Weight)
// Standard Error: 29_000
.saturating_add((6_825_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64divs(r: u32, ) -> Weight {
(22_041_000 as Weight)
// Standard Error: 29_000
.saturating_add((13_164_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64divu(r: u32, ) -> Weight {
(21_989_000 as Weight)
// Standard Error: 28_000
.saturating_add((12_808_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64rems(r: u32, ) -> Weight {
(22_045_000 as Weight)
// Standard Error: 39_000
.saturating_add((13_387_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64remu(r: u32, ) -> Weight {
(22_075_000 as Weight)
// Standard Error: 40_000
.saturating_add((12_791_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64and(r: u32, ) -> Weight {
(22_044_000 as Weight)
// Standard Error: 32_000
.saturating_add((7_090_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64or(r: u32, ) -> Weight {
(22_133_000 as Weight)
// Standard Error: 40_000
.saturating_add((6_967_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64xor(r: u32, ) -> Weight {
(22_069_000 as Weight)
// Standard Error: 41_000
.saturating_add((7_026_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64shl(r: u32, ) -> Weight {
(22_165_000 as Weight)
// Standard Error: 44_000
.saturating_add((7_440_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64shrs(r: u32, ) -> Weight {
(22_063_000 as Weight)
// Standard Error: 34_000
.saturating_add((7_309_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64shru(r: u32, ) -> Weight {
(22_086_000 as Weight)
// Standard Error: 36_000
.saturating_add((7_188_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64rotl(r: u32, ) -> Weight {
(22_109_000 as Weight)
// Standard Error: 45_000
.saturating_add((7_169_000 as Weight).saturating_mul(r as Weight))
}
fn instr_i64rotr(r: u32, ) -> Weight {
(22_076_000 as Weight)
// Standard Error: 28_000
.saturating_add((7_070_000 as Weight).saturating_mul(r as Weight))
}
}