From 12e0d8a9ca0ebc10ad499b34a97e4fd1039ecb93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Thei=C3=9Fen?= Date: Thu, 8 Sep 2022 13:48:19 +0100 Subject: [PATCH] Upgrade wasm crate dependencies (#12173) * Upgrade wasm crate dependencies * New wasmi version changed error output a bit * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts Co-authored-by: command-bot <> --- Cargo.lock | 69 +- bin/node/cli/Cargo.toml | 1 - bin/node/executor/Cargo.toml | 1 - client/executor/Cargo.toml | 3 +- client/executor/common/Cargo.toml | 4 +- .../common/src/sandbox/wasmi_backend.rs | 17 +- client/executor/src/integration_tests/mod.rs | 6 +- client/executor/wasmi/Cargo.toml | 2 +- client/executor/wasmi/src/lib.rs | 2 + client/executor/wasmtime/Cargo.toml | 2 +- frame/contracts/Cargo.toml | 4 +- frame/contracts/src/benchmarking/code.rs | 10 +- frame/contracts/src/wasm/prepare.rs | 2 +- frame/contracts/src/weights.rs | 1250 ++++++++--------- primitives/core/Cargo.toml | 2 +- primitives/sandbox/Cargo.toml | 10 +- primitives/sandbox/src/embedded_executor.rs | 4 +- primitives/version/Cargo.toml | 2 +- primitives/wasm-interface/Cargo.toml | 2 +- 19 files changed, 708 insertions(+), 685 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 223a14efd73b7..38439947258a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4360,9 +4360,9 @@ dependencies = [ [[package]] name = "memory_units" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" +checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" [[package]] name = "merlin" @@ -4991,6 +4991,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-bigint" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + [[package]] name = "num-complex" version = "0.4.0" @@ -5027,7 +5038,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" dependencies = [ "autocfg", - "num-bigint", + "num-bigint 0.2.6", "num-integer", "num-traits", ] @@ -5039,6 +5050,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a" dependencies = [ "autocfg", + "num-bigint 0.4.3", "num-integer", "num-traits", ] @@ -6617,9 +6629,9 @@ dependencies = [ [[package]] name = "parity-wasm" -version = "0.42.2" +version = "0.45.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" +checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" [[package]] name = "parking" @@ -7980,7 +7992,7 @@ dependencies = [ "futures", "log", "merlin", - "num-bigint", + "num-bigint 0.2.6", "num-rational 0.2.4", "num-traits", "parity-scale-codec", @@ -8236,7 +8248,7 @@ dependencies = [ "log", "once_cell", "parity-scale-codec", - "parity-wasm 0.42.2", + "parity-wasm 0.45.0", "paste 1.0.6", "rustix", "sc-allocator", @@ -9486,7 +9498,7 @@ name = "sp-arithmetic-fuzzer" version = "2.0.0" dependencies = [ "honggfuzz", - "num-bigint", + "num-bigint 0.2.6", "primitive-types", "sp-arithmetic", ] @@ -10194,7 +10206,7 @@ version = "5.0.0" dependencies = [ "impl-serde", "parity-scale-codec", - "parity-wasm 0.42.2", + "parity-wasm 0.45.0", "scale-info", "serde", "sp-core-hashing-proc-macro", @@ -11415,11 +11427,11 @@ dependencies = [ [[package]] name = "wasm-instrument" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "962e5b0401bbb6c887f54e69b8c496ea36f704df65db73e81fd5ff8dc3e63a9f" +checksum = "8bca81f5279342b38b17d9acbf007a46ddeb73144e2bd5f0a21bfa9fc5d4ab3e" dependencies = [ - "parity-wasm 0.42.2", + "parity-wasm 0.45.0", ] [[package]] @@ -11652,28 +11664,35 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.9.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca00c5147c319a8ec91ec1a0edbec31e566ce2c9cc93b3f9bb86a9efd0eb795d" +checksum = "fc13b3c219ca9aafeec59150d80d89851df02e0061bc357b4d66fc55a8d38787" dependencies = [ - "downcast-rs", - "errno", - "libc", - "libm", - "memory_units", - "num-rational 0.2.4", - "num-traits", - "parity-wasm 0.42.2", + "parity-wasm 0.45.0", "wasmi-validation", + "wasmi_core", ] [[package]] name = "wasmi-validation" -version = "0.4.0" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91ff416ad1ff0c42e5a926ed5d5fab74c0f098749aa0ad8b2a34b982ce0e867b" +dependencies = [ + "parity-wasm 0.45.0", +] + +[[package]] +name = "wasmi_core" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb8e860796d8be48efef530b60eebf84e74a88bce107374fffb0da97d504b8" +checksum = "e0a088e8c4c59c6f2b9eae169bf86328adccc477c00b56d3661e3e9fb397b184" dependencies = [ - "parity-wasm 0.42.2", + "downcast-rs", + "libm", + "memory_units", + "num-rational 0.4.0", + "num-traits", ] [[package]] diff --git a/bin/node/cli/Cargo.toml b/bin/node/cli/Cargo.toml index d84b8491cb162..247a61d835dc3 100644 --- a/bin/node/cli/Cargo.toml +++ b/bin/node/cli/Cargo.toml @@ -149,7 +149,6 @@ pallet-balances = { version = "4.0.0-dev", path = "../../../frame/balances" } [features] default = ["cli"] cli = [ - "node-executor/wasmi-errno", "node-inspect", "sc-cli", "frame-benchmarking-cli", diff --git a/bin/node/executor/Cargo.toml b/bin/node/executor/Cargo.toml index 71865783da8ac..651e4657dde32 100644 --- a/bin/node/executor/Cargo.toml +++ b/bin/node/executor/Cargo.toml @@ -46,7 +46,6 @@ sp-runtime = { version = "6.0.0", path = "../../../primitives/runtime" } [features] wasmtime = ["sc-executor/wasmtime"] -wasmi-errno = ["sc-executor/wasmi-errno"] stress-test = [] [[bench]] diff --git a/client/executor/Cargo.toml b/client/executor/Cargo.toml index 6a4b2a44a2d44..2fe7e822b36c3 100644 --- a/client/executor/Cargo.toml +++ b/client/executor/Cargo.toml @@ -18,7 +18,7 @@ lazy_static = "1.4.0" lru = "0.7.5" parking_lot = "0.12.1" tracing = "0.1.29" -wasmi = "0.9.1" +wasmi = "0.13" codec = { package = "parity-scale-codec", version = "3.0.0" } sc-executor-common = { version = "0.10.0-dev", path = "common" } @@ -63,5 +63,4 @@ default = ["std"] std = [] wasm-extern-trace = [] wasmtime = ["sc-executor-wasmtime"] -wasmi-errno = ["wasmi/errno"] wasmer-sandbox = ["sc-executor-common/wasmer-sandbox"] diff --git a/client/executor/common/Cargo.toml b/client/executor/common/Cargo.toml index b16ed7e8552ce..1af75c7e31610 100644 --- a/client/executor/common/Cargo.toml +++ b/client/executor/common/Cargo.toml @@ -17,9 +17,9 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3.0.0" } environmental = "1.1.3" thiserror = "1.0.30" -wasm-instrument = "0.1" +wasm-instrument = "0.2" wasmer = { version = "2.2", features = ["singlepass"], optional = true } -wasmi = "0.9.1" +wasmi = "0.13" sc-allocator = { version = "4.1.0-dev", path = "../../allocator" } sp-maybe-compressed-blob = { version = "4.1.0-dev", path = "../../../primitives/maybe-compressed-blob" } sp-sandbox = { version = "0.10.0-dev", path = "../../../primitives/sandbox" } diff --git a/client/executor/common/src/sandbox/wasmi_backend.rs b/client/executor/common/src/sandbox/wasmi_backend.rs index 03fa5dc06dea8..2ba133f5f15b1 100644 --- a/client/executor/common/src/sandbox/wasmi_backend.rs +++ b/client/executor/common/src/sandbox/wasmi_backend.rs @@ -18,14 +18,14 @@ //! Wasmi specific impls for sandbox -use std::rc::Rc; +use std::{fmt, rc::Rc}; use codec::{Decode, Encode}; use sp_sandbox::HostError; use sp_wasm_interface::{FunctionContext, Pointer, ReturnValue, Value, WordSize}; use wasmi::{ memory_units::Pages, ImportResolver, MemoryInstance, Module, ModuleInstance, RuntimeArgs, - RuntimeValue, Trap, TrapKind, + RuntimeValue, Trap, }; use crate::{ @@ -39,9 +39,20 @@ use crate::{ environmental::environmental!(SandboxContextStore: trait SandboxContext); +#[derive(Debug)] +struct CustomHostError(String); + +impl fmt::Display for CustomHostError { + fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { + write!(f, "HostError: {}", self.0) + } +} + +impl wasmi::HostError for CustomHostError {} + /// Construct trap error from specified message fn trap(msg: &'static str) -> Trap { - TrapKind::Host(Box::new(Error::Other(msg.into()))).into() + Trap::host(CustomHostError(msg.into())) } impl ImportResolver for Imports { diff --git a/client/executor/src/integration_tests/mod.rs b/client/executor/src/integration_tests/mod.rs index ba0c93630cf6c..25280f856f2a5 100644 --- a/client/executor/src/integration_tests/mod.rs +++ b/client/executor/src/integration_tests/mod.rs @@ -253,7 +253,7 @@ fn call_not_existing_function(wasm_method: WasmExecutionMethod) { match call_in_wasm("test_calling_missing_external", &[], wasm_method, &mut ext).unwrap_err() { Error::AbortedDueToTrap(error) => { let expected = match wasm_method { - WasmExecutionMethod::Interpreted => "Trap: Host(Other(\"Function `missing_external` is only a stub. Calling a stub is not allowed.\"))", + WasmExecutionMethod::Interpreted => "Other: Function `missing_external` is only a stub. Calling a stub is not allowed.", #[cfg(feature = "wasmtime")] WasmExecutionMethod::Compiled { .. } => "call to a missing function env:missing_external" }; @@ -273,7 +273,7 @@ fn call_yet_another_not_existing_function(wasm_method: WasmExecutionMethod) { { Error::AbortedDueToTrap(error) => { let expected = match wasm_method { - WasmExecutionMethod::Interpreted => "Trap: Host(Other(\"Function `yet_another_missing_external` is only a stub. Calling a stub is not allowed.\"))", + WasmExecutionMethod::Interpreted => "Other: Function `yet_another_missing_external` is only a stub. Calling a stub is not allowed.", #[cfg(feature = "wasmtime")] WasmExecutionMethod::Compiled { .. } => "call to a missing function env:yet_another_missing_external" }; @@ -909,7 +909,7 @@ fn unreachable_intrinsic(wasm_method: WasmExecutionMethod) { match call_in_wasm("test_unreachable_intrinsic", &[], wasm_method, &mut ext).unwrap_err() { Error::AbortedDueToTrap(error) => { let expected = match wasm_method { - WasmExecutionMethod::Interpreted => "Trap: Unreachable", + WasmExecutionMethod::Interpreted => "unreachable", #[cfg(feature = "wasmtime")] WasmExecutionMethod::Compiled { .. } => "wasm trap: wasm `unreachable` instruction executed", }; diff --git a/client/executor/wasmi/Cargo.toml b/client/executor/wasmi/Cargo.toml index 46bacf54a42c6..879af677ca042 100644 --- a/client/executor/wasmi/Cargo.toml +++ b/client/executor/wasmi/Cargo.toml @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0" } log = "0.4.17" -wasmi = "0.9.1" +wasmi = "0.13" sc-allocator = { version = "4.1.0-dev", path = "../../allocator" } sc-executor-common = { version = "0.10.0-dev", path = "../common" } sp-runtime-interface = { version = "6.0.0", path = "../../../primitives/runtime-interface" } diff --git a/client/executor/wasmi/src/lib.rs b/client/executor/wasmi/src/lib.rs index e17707e158321..1284cc23e4c96 100644 --- a/client/executor/wasmi/src/lib.rs +++ b/client/executor/wasmi/src/lib.rs @@ -181,6 +181,7 @@ impl Sandbox for FunctionExecutor { let len = val_len as usize; + #[allow(deprecated)] let buffer = match self.memory.get(val_ptr.into(), len) { Err(_) => return Ok(sandbox_env::ERR_OUT_OF_BOUNDS), Ok(buffer) => buffer, @@ -568,6 +569,7 @@ fn call_in_wasm_module( match result { Ok(Some(I64(r))) => { let (ptr, length) = unpack_ptr_and_len(r as u64); + #[allow(deprecated)] memory.get(ptr, length as usize).map_err(|_| Error::Runtime) }, Err(e) => { diff --git a/client/executor/wasmtime/Cargo.toml b/client/executor/wasmtime/Cargo.toml index e4df2791c2ff8..94ad25bdc948c 100644 --- a/client/executor/wasmtime/Cargo.toml +++ b/client/executor/wasmtime/Cargo.toml @@ -17,7 +17,7 @@ cfg-if = "1.0" codec = { package = "parity-scale-codec", version = "3.0.0" } libc = "0.2.121" log = "0.4.17" -parity-wasm = "0.42.0" +parity-wasm = "0.45" # When bumping wasmtime do not forget to also bump rustix # to exactly the same version as used by wasmtime! diff --git a/frame/contracts/Cargo.toml b/frame/contracts/Cargo.toml index ac85c469354fe..019f111302a55 100644 --- a/frame/contracts/Cargo.toml +++ b/frame/contracts/Cargo.toml @@ -20,12 +20,12 @@ codec = { package = "parity-scale-codec", version = "3.0.0", default-features = ] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } log = { version = "0.4", default-features = false } -wasm-instrument = { version = "0.1", default-features = false } +wasm-instrument = { version = "0.2", default-features = false } serde = { version = "1", optional = true, features = ["derive"] } smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi-validation = { version = "0.4", default-features = false } +wasmi-validation = { version = "0.5", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate random contract code diff --git a/frame/contracts/src/benchmarking/code.rs b/frame/contracts/src/benchmarking/code.rs index 5f9b43d3e3b7a..32ee2dbf93914 100644 --- a/frame/contracts/src/benchmarking/code.rs +++ b/frame/contracts/src/benchmarking/code.rs @@ -195,7 +195,7 @@ where for func in def.imported_functions { let sig = builder::signature() .with_params(func.params) - .with_results(func.return_type.into_iter().collect()) + .with_results(func.return_type) .build_sig(); let sig = contract.push_signature(sig); contract = contract @@ -254,9 +254,9 @@ where code = inject_stack_metering::(code); } - let code = code.to_bytes().unwrap(); + let code = code.into_bytes().unwrap(); let hash = T::Hashing::hash(&code); - Self { code, hash, memory: def.memory } + Self { code: code.into(), hash, memory: def.memory } } } @@ -285,11 +285,11 @@ where .find_map(|e| if let External::Memory(mem) = e.external() { Some(mem) } else { None }) .unwrap() .limits(); - let code = module.to_bytes().unwrap(); + let code = module.into_bytes().unwrap(); let hash = T::Hashing::hash(&code); let memory = ImportedMemory { min_pages: limits.initial(), max_pages: limits.maximum().unwrap() }; - Self { code, hash, memory: Some(memory) } + Self { code: code.into(), hash, memory: Some(memory) } } /// Creates a wasm module with an empty `call` and `deploy` function and nothing else. diff --git a/frame/contracts/src/wasm/prepare.rs b/frame/contracts/src/wasm/prepare.rs index 7b81c1c55b3bd..9c130b562c275 100644 --- a/frame/contracts/src/wasm/prepare.rs +++ b/frame/contracts/src/wasm/prepare.rs @@ -54,7 +54,7 @@ impl<'a, T: Config> ContractModule<'a, T> { elements::deserialize_buffer(original_code).map_err(|_| "Can't decode wasm code")?; // Make sure that the module is valid. - validate_module::(&module).map_err(|_| "Module is not valid")?; + validate_module::(&module, ()).map_err(|_| "Module is not valid")?; // Return a `ContractModule` instance with // __valid__ module. diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index 6ec10b3590349..4e4a6b6e6a2b7 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2022-09-07, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2022-09-08, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]` //! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -166,15 +166,15 @@ pub struct SubstrateWeight(PhantomData); impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - Weight::from_ref_time(2_985_000 as u64) + Weight::from_ref_time(3_089_000 as u64) .saturating_add(T::DbWeight::get().reads(1 as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - Weight::from_ref_time(14_335_000 as u64) + Weight::from_ref_time(13_917_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(891_000 as u64).saturating_mul(k as u64)) + .saturating_add(Weight::from_ref_time(901_000 as u64).saturating_mul(k as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) .saturating_add(T::DbWeight::get().writes((1 as u64).saturating_mul(k as u64))) @@ -182,9 +182,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts DeletionQueue (r:1 w:0) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - Weight::from_ref_time(13_905_000 as u64) + Weight::from_ref_time(14_172_000 as u64) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_257_000 as u64).saturating_mul(q as u64)) + .saturating_add(Weight::from_ref_time(1_301_000 as u64).saturating_mul(q as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -192,9 +192,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(c: u32, ) -> Weight { - Weight::from_ref_time(26_333_000 as u64) + Weight::from_ref_time(21_644_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(1 as u64)) .saturating_add(T::DbWeight::get().writes(1 as u64)) } @@ -205,9 +205,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - Weight::from_ref_time(238_784_000 as u64) + Weight::from_ref_time(234_349_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -222,9 +222,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - Weight::from_ref_time(325_497_000 as u64) + Weight::from_ref_time(294_077_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(c as u64)) // Standard Error: 0 .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(8 as u64)) @@ -239,7 +239,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `s` is `[0, 1048576]`. fn instantiate(s: u32, ) -> Weight { - Weight::from_ref_time(201_129_000 as u64) + Weight::from_ref_time(199_028_000 as u64) // Standard Error: 0 .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(8 as u64)) @@ -251,7 +251,7 @@ impl WeightInfo for SubstrateWeight { // Storage: System Account (r:1 w:1) // Storage: System EventTopics (r:2 w:2) fn call() -> Weight { - Weight::from_ref_time(176_645_000 as u64) + Weight::from_ref_time(176_247_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -261,9 +261,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(c: u32, ) -> Weight { - Weight::from_ref_time(53_613_000 as u64) + Weight::from_ref_time(54_917_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -272,7 +272,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - Weight::from_ref_time(37_441_000 as u64) + Weight::from_ref_time(37_611_000 as u64) .saturating_add(T::DbWeight::get().reads(2 as u64)) .saturating_add(T::DbWeight::get().writes(4 as u64)) } @@ -280,7 +280,7 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:2 w:2) // Storage: System EventTopics (r:3 w:3) fn set_code() -> Weight { - Weight::from_ref_time(40_030_000 as u64) + Weight::from_ref_time(40_121_000 as u64) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(6 as u64)) } @@ -291,9 +291,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - Weight::from_ref_time(241_426_000 as u64) - // Standard Error: 46_000 - .saturating_add(Weight::from_ref_time(37_834_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_129_000 as u64) + // Standard Error: 54_000 + .saturating_add(Weight::from_ref_time(35_413_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -304,9 +304,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - Weight::from_ref_time(181_406_000 as u64) - // Standard Error: 474_000 - .saturating_add(Weight::from_ref_time(206_995_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(189_418_000 as u64) + // Standard Error: 419_000 + .saturating_add(Weight::from_ref_time(207_107_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -318,9 +318,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - Weight::from_ref_time(198_301_000 as u64) - // Standard Error: 432_000 - .saturating_add(Weight::from_ref_time(264_877_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(203_928_000 as u64) + // Standard Error: 439_000 + .saturating_add(Weight::from_ref_time(268_983_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -332,9 +332,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - Weight::from_ref_time(243_754_000 as u64) - // Standard Error: 51_000 - .saturating_add(Weight::from_ref_time(41_219_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(243_800_000 as u64) + // Standard Error: 40_000 + .saturating_add(Weight::from_ref_time(38_797_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -345,9 +345,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - Weight::from_ref_time(239_352_000 as u64) - // Standard Error: 33_000 - .saturating_add(Weight::from_ref_time(15_228_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(239_667_000 as u64) + // Standard Error: 27_000 + .saturating_add(Weight::from_ref_time(15_826_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -358,9 +358,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - Weight::from_ref_time(240_637_000 as u64) - // Standard Error: 45_000 - .saturating_add(Weight::from_ref_time(37_717_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_116_000 as u64) + // Standard Error: 41_000 + .saturating_add(Weight::from_ref_time(35_402_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -371,9 +371,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - Weight::from_ref_time(241_127_000 as u64) - // Standard Error: 45_000 - .saturating_add(Weight::from_ref_time(37_481_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(240_515_000 as u64) + // Standard Error: 50_000 + .saturating_add(Weight::from_ref_time(35_144_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -384,9 +384,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - Weight::from_ref_time(246_236_000 as u64) - // Standard Error: 97_000 - .saturating_add(Weight::from_ref_time(110_095_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(244_087_000 as u64) + // Standard Error: 87_000 + .saturating_add(Weight::from_ref_time(110_236_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -397,9 +397,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - Weight::from_ref_time(241_552_000 as u64) - // Standard Error: 38_000 - .saturating_add(Weight::from_ref_time(37_189_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_774_000 as u64) + // Standard Error: 50_000 + .saturating_add(Weight::from_ref_time(35_216_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -410,9 +410,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - Weight::from_ref_time(239_622_000 as u64) - // Standard Error: 56_000 - .saturating_add(Weight::from_ref_time(37_630_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_146_000 as u64) + // Standard Error: 54_000 + .saturating_add(Weight::from_ref_time(35_101_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -423,9 +423,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - Weight::from_ref_time(240_284_000 as u64) - // Standard Error: 49_000 - .saturating_add(Weight::from_ref_time(37_375_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(244_096_000 as u64) + // Standard Error: 55_000 + .saturating_add(Weight::from_ref_time(34_612_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -436,9 +436,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - Weight::from_ref_time(241_463_000 as u64) - // Standard Error: 43_000 - .saturating_add(Weight::from_ref_time(37_313_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(242_978_000 as u64) + // Standard Error: 53_000 + .saturating_add(Weight::from_ref_time(34_780_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -450,9 +450,9 @@ impl WeightInfo for SubstrateWeight { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - Weight::from_ref_time(245_287_000 as u64) - // Standard Error: 88_000 - .saturating_add(Weight::from_ref_time(99_890_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(246_175_000 as u64) + // Standard Error: 86_000 + .saturating_add(Weight::from_ref_time(99_827_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -463,9 +463,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - Weight::from_ref_time(168_156_000 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(17_991_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(168_655_000 as u64) + // Standard Error: 16_000 + .saturating_add(Weight::from_ref_time(15_635_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -476,9 +476,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - Weight::from_ref_time(240_833_000 as u64) - // Standard Error: 50_000 - .saturating_add(Weight::from_ref_time(35_622_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(239_729_000 as u64) + // Standard Error: 52_000 + .saturating_add(Weight::from_ref_time(33_477_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -489,9 +489,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(330_765_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(8_609_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(296_718_000 as u64) + // Standard Error: 4_000 + .saturating_add(Weight::from_ref_time(9_616_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -502,9 +502,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { - Weight::from_ref_time(237_729_000 as u64) - // Standard Error: 488_000 - .saturating_add(Weight::from_ref_time(2_053_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(237_666_000 as u64) + // Standard Error: 497_000 + .saturating_add(Weight::from_ref_time(2_090_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -515,9 +515,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(240_005_000 as u64) + Weight::from_ref_time(239_842_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(169_000 as u64).saturating_mul(n as u64)) + .saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -530,9 +530,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - Weight::from_ref_time(240_524_000 as u64) - // Standard Error: 426_000 - .saturating_add(Weight::from_ref_time(51_863_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(240_563_000 as u64) + // Standard Error: 519_000 + .saturating_add(Weight::from_ref_time(52_855_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -546,9 +546,9 @@ impl WeightInfo for SubstrateWeight { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - Weight::from_ref_time(250_710_000 as u64) - // Standard Error: 95_000 - .saturating_add(Weight::from_ref_time(132_741_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(248_136_000 as u64) + // Standard Error: 94_000 + .saturating_add(Weight::from_ref_time(137_406_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -559,9 +559,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - Weight::from_ref_time(245_816_000 as u64) - // Standard Error: 115_000 - .saturating_add(Weight::from_ref_time(235_313_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(253_433_000 as u64) + // Standard Error: 105_000 + .saturating_add(Weight::from_ref_time(242_337_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -573,11 +573,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - Weight::from_ref_time(469_886_000 as u64) - // Standard Error: 463_000 - .saturating_add(Weight::from_ref_time(177_286_000 as u64).saturating_mul(t as u64)) - // Standard Error: 127_000 - .saturating_add(Weight::from_ref_time(64_646_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(478_106_000 as u64) + // Standard Error: 557_000 + .saturating_add(Weight::from_ref_time(176_325_000 as u64).saturating_mul(t as u64)) + // Standard Error: 153_000 + .saturating_add(Weight::from_ref_time(67_413_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(t as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -590,18 +590,18 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - Weight::from_ref_time(174_414_000 as u64) - // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(29_037_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(172_751_000 as u64) + // Standard Error: 37_000 + .saturating_add(Weight::from_ref_time(26_536_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - Weight::from_ref_time(196_960_000 as u64) - // Standard Error: 414_000 - .saturating_add(Weight::from_ref_time(412_810_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(196_276_000 as u64) + // Standard Error: 428_000 + .saturating_add(Weight::from_ref_time(416_783_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -610,9 +610,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - Weight::from_ref_time(529_493_000 as u64) - // Standard Error: 1_251_000 - .saturating_add(Weight::from_ref_time(88_835_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(532_439_000 as u64) + // Standard Error: 1_323_000 + .saturating_add(Weight::from_ref_time(93_843_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(52 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(50 as u64)) @@ -621,9 +621,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - Weight::from_ref_time(512_531_000 as u64) - // Standard Error: 1_107_000 - .saturating_add(Weight::from_ref_time(67_926_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(511_358_000 as u64) + // Standard Error: 1_144_000 + .saturating_add(Weight::from_ref_time(68_754_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(52 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(50 as u64)) @@ -632,9 +632,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - Weight::from_ref_time(208_848_000 as u64) - // Standard Error: 398_000 - .saturating_add(Weight::from_ref_time(400_478_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(204_133_000 as u64) + // Standard Error: 498_000 + .saturating_add(Weight::from_ref_time(406_798_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -643,9 +643,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(488_903_000 as u64) - // Standard Error: 1_226_000 - .saturating_add(Weight::from_ref_time(69_519_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(489_339_000 as u64) + // Standard Error: 1_269_000 + .saturating_add(Weight::from_ref_time(70_700_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(51 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(49 as u64)) @@ -654,9 +654,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - Weight::from_ref_time(211_825_000 as u64) - // Standard Error: 401_000 - .saturating_add(Weight::from_ref_time(328_607_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(211_344_000 as u64) + // Standard Error: 399_000 + .saturating_add(Weight::from_ref_time(330_244_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -664,9 +664,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(452_324_000 as u64) - // Standard Error: 1_026_000 - .saturating_add(Weight::from_ref_time(150_657_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(449_353_000 as u64) + // Standard Error: 1_027_000 + .saturating_add(Weight::from_ref_time(153_022_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(51 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -674,9 +674,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - Weight::from_ref_time(218_730_000 as u64) - // Standard Error: 318_000 - .saturating_add(Weight::from_ref_time(302_022_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(216_197_000 as u64) + // Standard Error: 341_000 + .saturating_add(Weight::from_ref_time(305_401_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -684,9 +684,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(425_128_000 as u64) - // Standard Error: 875_000 - .saturating_add(Weight::from_ref_time(60_095_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(423_033_000 as u64) + // Standard Error: 878_000 + .saturating_add(Weight::from_ref_time(61_940_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(51 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -694,9 +694,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - Weight::from_ref_time(208_039_000 as u64) - // Standard Error: 445_000 - .saturating_add(Weight::from_ref_time(425_933_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(204_244_000 as u64) + // Standard Error: 448_000 + .saturating_add(Weight::from_ref_time(429_399_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -705,9 +705,9 @@ impl WeightInfo for SubstrateWeight { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(518_112_000 as u64) - // Standard Error: 1_406_000 - .saturating_add(Weight::from_ref_time(159_006_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(516_945_000 as u64) + // Standard Error: 1_412_000 + .saturating_add(Weight::from_ref_time(162_098_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(52 as u64)) .saturating_add(T::DbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(T::DbWeight::get().writes(49 as u64)) @@ -720,9 +720,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - Weight::from_ref_time(169_573_000 as u64) - // Standard Error: 701_000 - .saturating_add(Weight::from_ref_time(1_345_943_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(170_412_000 as u64) + // Standard Error: 761_000 + .saturating_add(Weight::from_ref_time(1_367_307_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(4 as u64)) @@ -736,8 +736,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 8_472_000 - .saturating_add(Weight::from_ref_time(17_569_902_000 as u64).saturating_mul(r as u64)) + // Standard Error: 9_269_000 + .saturating_add(Weight::from_ref_time(17_505_281_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(7 as u64)) .saturating_add(T::DbWeight::get().reads((160 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(3 as u64)) @@ -751,8 +751,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 7_932_000 - .saturating_add(Weight::from_ref_time(17_368_706_000 as u64).saturating_mul(r as u64)) + // Standard Error: 8_780_000 + .saturating_add(Weight::from_ref_time(17_368_867_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads((158 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes((79 as u64).saturating_mul(r as u64))) } @@ -764,11 +764,11 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - Weight::from_ref_time(11_036_172_000 as u64) - // Standard Error: 5_683_000 - .saturating_add(Weight::from_ref_time(1_154_945_000 as u64).saturating_mul(t as u64)) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(8_670_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_076_579_000 as u64) + // Standard Error: 6_568_000 + .saturating_add(Weight::from_ref_time(1_158_818_000 as u64).saturating_mul(t as u64)) + // Standard Error: 9_000 + .saturating_add(Weight::from_ref_time(9_731_000 as u64).saturating_mul(c as u64)) .saturating_add(T::DbWeight::get().reads(167 as u64)) .saturating_add(T::DbWeight::get().reads((81 as u64).saturating_mul(t as u64))) .saturating_add(T::DbWeight::get().writes(163 as u64)) @@ -784,8 +784,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 25_721_000 - .saturating_add(Weight::from_ref_time(22_827_927_000 as u64).saturating_mul(r as u64)) + // Standard Error: 24_125_000 + .saturating_add(Weight::from_ref_time(22_830_521_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(8 as u64)) .saturating_add(T::DbWeight::get().reads((400 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes(5 as u64)) @@ -801,9 +801,9 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - Weight::from_ref_time(13_991_911_000 as u64) - // Standard Error: 70_000 - .saturating_add(Weight::from_ref_time(124_789_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(13_739_440_000 as u64) + // Standard Error: 79_000 + .saturating_add(Weight::from_ref_time(126_148_000 as u64).saturating_mul(s as u64)) .saturating_add(T::DbWeight::get().reads(249 as u64)) .saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(t as u64))) .saturating_add(T::DbWeight::get().writes(247 as u64)) @@ -816,9 +816,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - Weight::from_ref_time(244_026_000 as u64) - // Standard Error: 69_000 - .saturating_add(Weight::from_ref_time(58_077_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_753_000 as u64) + // Standard Error: 60_000 + .saturating_add(Weight::from_ref_time(55_067_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -830,8 +830,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 104_000 - .saturating_add(Weight::from_ref_time(320_432_000 as u64).saturating_mul(n as u64)) + // Standard Error: 95_000 + .saturating_add(Weight::from_ref_time(320_367_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -842,9 +842,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - Weight::from_ref_time(242_548_000 as u64) - // Standard Error: 88_000 - .saturating_add(Weight::from_ref_time(70_774_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(239_849_000 as u64) + // Standard Error: 80_000 + .saturating_add(Weight::from_ref_time(67_626_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -856,8 +856,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 152_000 - .saturating_add(Weight::from_ref_time(246_268_000 as u64).saturating_mul(n as u64)) + // Standard Error: 106_000 + .saturating_add(Weight::from_ref_time(247_771_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -868,9 +868,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - Weight::from_ref_time(242_368_000 as u64) - // Standard Error: 68_000 - .saturating_add(Weight::from_ref_time(48_368_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(242_162_000 as u64) + // Standard Error: 58_000 + .saturating_add(Weight::from_ref_time(45_169_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -882,8 +882,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 94_000 - .saturating_add(Weight::from_ref_time(95_913_000 as u64).saturating_mul(n as u64)) + // Standard Error: 95_000 + .saturating_add(Weight::from_ref_time(97_479_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -894,9 +894,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - Weight::from_ref_time(239_100_000 as u64) - // Standard Error: 56_000 - .saturating_add(Weight::from_ref_time(48_043_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(240_072_000 as u64) + // Standard Error: 53_000 + .saturating_add(Weight::from_ref_time(44_847_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -908,8 +908,8 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 93_000 - .saturating_add(Weight::from_ref_time(96_000_000 as u64).saturating_mul(n as u64)) + // Standard Error: 95_000 + .saturating_add(Weight::from_ref_time(97_432_000 as u64).saturating_mul(n as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -920,9 +920,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - Weight::from_ref_time(375_902_000 as u64) - // Standard Error: 613_000 - .saturating_add(Weight::from_ref_time(2_972_514_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(374_614_000 as u64) + // Standard Error: 634_000 + .saturating_add(Weight::from_ref_time(2_968_637_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -933,9 +933,9 @@ impl WeightInfo for SubstrateWeight { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - Weight::from_ref_time(260_758_000 as u64) - // Standard Error: 396_000 - .saturating_add(Weight::from_ref_time(2_069_937_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(249_022_000 as u64) + // Standard Error: 408_000 + .saturating_add(Weight::from_ref_time(2_062_013_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads(6 as u64)) .saturating_add(T::DbWeight::get().writes(3 as u64)) } @@ -948,316 +948,316 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 1_629_000 - .saturating_add(Weight::from_ref_time(1_093_632_000 as u64).saturating_mul(r as u64)) + // Standard Error: 1_536_000 + .saturating_add(Weight::from_ref_time(1_099_219_000 as u64).saturating_mul(r as u64)) .saturating_add(T::DbWeight::get().reads((158 as u64).saturating_mul(r as u64))) .saturating_add(T::DbWeight::get().writes((158 as u64).saturating_mul(r as u64))) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - Weight::from_ref_time(70_130_000 as u64) + Weight::from_ref_time(70_276_000 as u64) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(798_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(933_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - Weight::from_ref_time(70_439_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_717_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_309_000 as u64) + // Standard Error: 5_000 + .saturating_add(Weight::from_ref_time(2_977_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - Weight::from_ref_time(70_647_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(2_112_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(71_165_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(2_686_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - Weight::from_ref_time(70_045_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_228_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_872_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(2_374_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - Weight::from_ref_time(71_013_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_284_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_891_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(2_629_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - Weight::from_ref_time(69_846_000 as u64) + Weight::from_ref_time(69_747_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_278_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(1_639_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - Weight::from_ref_time(69_471_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_774_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_262_000 as u64) + // Standard Error: 4_000 + .saturating_add(Weight::from_ref_time(2_142_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - Weight::from_ref_time(68_967_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(1_984_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(68_808_000 as u64) + // Standard Error: 4_000 + .saturating_add(Weight::from_ref_time(2_342_000 as u64).saturating_mul(r as u64)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - Weight::from_ref_time(72_756_000 as u64) + Weight::from_ref_time(73_245_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(e as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - Weight::from_ref_time(70_426_000 as u64) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(7_095_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(71_308_000 as u64) + // Standard Error: 10_000 + .saturating_add(Weight::from_ref_time(7_333_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - Weight::from_ref_time(85_090_000 as u64) - // Standard Error: 34_000 - .saturating_add(Weight::from_ref_time(8_897_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(83_967_000 as u64) + // Standard Error: 12_000 + .saturating_add(Weight::from_ref_time(9_205_000 as u64).saturating_mul(r as u64)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - Weight::from_ref_time(94_306_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(585_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(93_600_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(546_000 as u64).saturating_mul(p as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - Weight::from_ref_time(70_494_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(857_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_449_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_052_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - Weight::from_ref_time(70_467_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(890_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_326_000 as u64) + // Standard Error: 5_000 + .saturating_add(Weight::from_ref_time(998_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - Weight::from_ref_time(70_451_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_196_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_525_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_467_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - Weight::from_ref_time(72_857_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_442_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(73_703_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_495_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - Weight::from_ref_time(72_589_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(1_682_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(73_578_000 as u64) + // Standard Error: 5_000 + .saturating_add(Weight::from_ref_time(1_546_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - Weight::from_ref_time(70_230_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(820_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_379_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(934_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - Weight::from_ref_time(71_027_000 as u64) - // Standard Error: 296_000 - .saturating_add(Weight::from_ref_time(177_139_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(71_069_000 as u64) + // Standard Error: 114_000 + .saturating_add(Weight::from_ref_time(182_540_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - Weight::from_ref_time(70_270_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_250_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_188_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_358_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - Weight::from_ref_time(70_088_000 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(1_281_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_970_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_366_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - Weight::from_ref_time(69_538_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_283_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_352_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_356_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - Weight::from_ref_time(69_842_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_266_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_229_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_354_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - Weight::from_ref_time(69_754_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_230_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_202_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_355_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - Weight::from_ref_time(70_842_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_193_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_065_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_358_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - Weight::from_ref_time(69_670_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_281_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_252_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_356_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - Weight::from_ref_time(69_728_000 as u64) + Weight::from_ref_time(70_049_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_770_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(1_823_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - Weight::from_ref_time(70_522_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(1_767_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_519_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_815_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - Weight::from_ref_time(71_224_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(1_752_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_953_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_834_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - Weight::from_ref_time(70_625_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(1_763_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_299_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_818_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - Weight::from_ref_time(71_816_000 as u64) - // Standard Error: 31_000 - .saturating_add(Weight::from_ref_time(1_852_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_141_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_825_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - Weight::from_ref_time(70_019_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_780_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_209_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_827_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - Weight::from_ref_time(69_881_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_783_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_980_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_831_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - Weight::from_ref_time(70_021_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_766_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_022_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_829_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - Weight::from_ref_time(72_156_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(1_712_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_030_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_826_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - Weight::from_ref_time(70_004_000 as u64) + Weight::from_ref_time(70_170_000 as u64) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_820_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(1_833_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - Weight::from_ref_time(70_028_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_772_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_895_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_826_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - Weight::from_ref_time(69_159_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(1_813_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_932_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(1_830_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - Weight::from_ref_time(70_033_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_760_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_091_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_825_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - Weight::from_ref_time(69_702_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(2_512_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_025_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(2_556_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - Weight::from_ref_time(68_933_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(2_501_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(71_910_000 as u64) + // Standard Error: 19_000 + .saturating_add(Weight::from_ref_time(2_290_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - Weight::from_ref_time(69_447_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(2_555_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_268_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(2_550_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - Weight::from_ref_time(69_872_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(2_459_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_126_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(2_340_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - Weight::from_ref_time(69_867_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_783_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_381_000 as u64) + // Standard Error: 9_000 + .saturating_add(Weight::from_ref_time(1_844_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - Weight::from_ref_time(69_982_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_772_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_095_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_844_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - Weight::from_ref_time(69_822_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_779_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_471_000 as u64) + // Standard Error: 8_000 + .saturating_add(Weight::from_ref_time(1_836_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - Weight::from_ref_time(69_511_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_806_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_302_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_841_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - Weight::from_ref_time(69_956_000 as u64) + Weight::from_ref_time(70_097_000 as u64) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_788_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(1_850_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - Weight::from_ref_time(70_069_000 as u64) - // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(1_789_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_166_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_845_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - Weight::from_ref_time(69_719_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_792_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_630_000 as u64) + // Standard Error: 4_000 + .saturating_add(Weight::from_ref_time(1_879_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - Weight::from_ref_time(69_709_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_800_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_101_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(1_861_000 as u64).saturating_mul(r as u64)) } } @@ -1265,15 +1265,15 @@ impl WeightInfo for SubstrateWeight { impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) fn on_process_deletion_queue_batch() -> Weight { - Weight::from_ref_time(2_985_000 as u64) + Weight::from_ref_time(3_089_000 as u64) .saturating_add(RocksDbWeight::get().reads(1 as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { - Weight::from_ref_time(14_335_000 as u64) + Weight::from_ref_time(13_917_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(891_000 as u64).saturating_mul(k as u64)) + .saturating_add(Weight::from_ref_time(901_000 as u64).saturating_mul(k as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) .saturating_add(RocksDbWeight::get().writes((1 as u64).saturating_mul(k as u64))) @@ -1281,9 +1281,9 @@ impl WeightInfo for () { // Storage: Contracts DeletionQueue (r:1 w:0) /// The range of component `q` is `[0, 128]`. fn on_initialize_per_queue_item(q: u32, ) -> Weight { - Weight::from_ref_time(13_905_000 as u64) + Weight::from_ref_time(14_172_000 as u64) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_257_000 as u64).saturating_mul(q as u64)) + .saturating_add(Weight::from_ref_time(1_301_000 as u64).saturating_mul(q as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -1291,9 +1291,9 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn reinstrument(c: u32, ) -> Weight { - Weight::from_ref_time(26_333_000 as u64) + Weight::from_ref_time(21_644_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(44_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(1 as u64)) .saturating_add(RocksDbWeight::get().writes(1 as u64)) } @@ -1304,9 +1304,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `c` is `[0, 131072]`. fn call_with_code_per_byte(c: u32, ) -> Weight { - Weight::from_ref_time(238_784_000 as u64) + Weight::from_ref_time(234_349_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -1321,9 +1321,9 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 64226]`. /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, s: u32, ) -> Weight { - Weight::from_ref_time(325_497_000 as u64) + Weight::from_ref_time(294_077_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(107_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(110_000 as u64).saturating_mul(c as u64)) // Standard Error: 0 .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(8 as u64)) @@ -1338,7 +1338,7 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `s` is `[0, 1048576]`. fn instantiate(s: u32, ) -> Weight { - Weight::from_ref_time(201_129_000 as u64) + Weight::from_ref_time(199_028_000 as u64) // Standard Error: 0 .saturating_add(Weight::from_ref_time(2_000 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(8 as u64)) @@ -1350,7 +1350,7 @@ impl WeightInfo for () { // Storage: System Account (r:1 w:1) // Storage: System EventTopics (r:2 w:2) fn call() -> Weight { - Weight::from_ref_time(176_645_000 as u64) + Weight::from_ref_time(176_247_000 as u64) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -1360,9 +1360,9 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:0 w:1) /// The range of component `c` is `[0, 64226]`. fn upload_code(c: u32, ) -> Weight { - Weight::from_ref_time(53_613_000 as u64) + Weight::from_ref_time(54_917_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(45_000 as u64).saturating_mul(c as u64)) + .saturating_add(Weight::from_ref_time(46_000 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -1371,7 +1371,7 @@ impl WeightInfo for () { // Storage: Contracts CodeStorage (r:0 w:1) // Storage: Contracts PristineCode (r:0 w:1) fn remove_code() -> Weight { - Weight::from_ref_time(37_441_000 as u64) + Weight::from_ref_time(37_611_000 as u64) .saturating_add(RocksDbWeight::get().reads(2 as u64)) .saturating_add(RocksDbWeight::get().writes(4 as u64)) } @@ -1379,7 +1379,7 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:2 w:2) // Storage: System EventTopics (r:3 w:3) fn set_code() -> Weight { - Weight::from_ref_time(40_030_000 as u64) + Weight::from_ref_time(40_121_000 as u64) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(6 as u64)) } @@ -1390,9 +1390,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_caller(r: u32, ) -> Weight { - Weight::from_ref_time(241_426_000 as u64) - // Standard Error: 46_000 - .saturating_add(Weight::from_ref_time(37_834_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_129_000 as u64) + // Standard Error: 54_000 + .saturating_add(Weight::from_ref_time(35_413_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1403,9 +1403,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_is_contract(r: u32, ) -> Weight { - Weight::from_ref_time(181_406_000 as u64) - // Standard Error: 474_000 - .saturating_add(Weight::from_ref_time(206_995_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(189_418_000 as u64) + // Standard Error: 419_000 + .saturating_add(Weight::from_ref_time(207_107_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1417,9 +1417,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_code_hash(r: u32, ) -> Weight { - Weight::from_ref_time(198_301_000 as u64) - // Standard Error: 432_000 - .saturating_add(Weight::from_ref_time(264_877_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(203_928_000 as u64) + // Standard Error: 439_000 + .saturating_add(Weight::from_ref_time(268_983_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1431,9 +1431,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_own_code_hash(r: u32, ) -> Weight { - Weight::from_ref_time(243_754_000 as u64) - // Standard Error: 51_000 - .saturating_add(Weight::from_ref_time(41_219_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(243_800_000 as u64) + // Standard Error: 40_000 + .saturating_add(Weight::from_ref_time(38_797_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1444,9 +1444,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_caller_is_origin(r: u32, ) -> Weight { - Weight::from_ref_time(239_352_000 as u64) - // Standard Error: 33_000 - .saturating_add(Weight::from_ref_time(15_228_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(239_667_000 as u64) + // Standard Error: 27_000 + .saturating_add(Weight::from_ref_time(15_826_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1457,9 +1457,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_address(r: u32, ) -> Weight { - Weight::from_ref_time(240_637_000 as u64) - // Standard Error: 45_000 - .saturating_add(Weight::from_ref_time(37_717_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_116_000 as u64) + // Standard Error: 41_000 + .saturating_add(Weight::from_ref_time(35_402_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1470,9 +1470,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_gas_left(r: u32, ) -> Weight { - Weight::from_ref_time(241_127_000 as u64) - // Standard Error: 45_000 - .saturating_add(Weight::from_ref_time(37_481_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(240_515_000 as u64) + // Standard Error: 50_000 + .saturating_add(Weight::from_ref_time(35_144_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1483,9 +1483,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_balance(r: u32, ) -> Weight { - Weight::from_ref_time(246_236_000 as u64) - // Standard Error: 97_000 - .saturating_add(Weight::from_ref_time(110_095_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(244_087_000 as u64) + // Standard Error: 87_000 + .saturating_add(Weight::from_ref_time(110_236_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1496,9 +1496,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_value_transferred(r: u32, ) -> Weight { - Weight::from_ref_time(241_552_000 as u64) - // Standard Error: 38_000 - .saturating_add(Weight::from_ref_time(37_189_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_774_000 as u64) + // Standard Error: 50_000 + .saturating_add(Weight::from_ref_time(35_216_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1509,9 +1509,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_minimum_balance(r: u32, ) -> Weight { - Weight::from_ref_time(239_622_000 as u64) - // Standard Error: 56_000 - .saturating_add(Weight::from_ref_time(37_630_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_146_000 as u64) + // Standard Error: 54_000 + .saturating_add(Weight::from_ref_time(35_101_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1522,9 +1522,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_block_number(r: u32, ) -> Weight { - Weight::from_ref_time(240_284_000 as u64) - // Standard Error: 49_000 - .saturating_add(Weight::from_ref_time(37_375_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(244_096_000 as u64) + // Standard Error: 55_000 + .saturating_add(Weight::from_ref_time(34_612_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1535,9 +1535,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_now(r: u32, ) -> Weight { - Weight::from_ref_time(241_463_000 as u64) - // Standard Error: 43_000 - .saturating_add(Weight::from_ref_time(37_313_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(242_978_000 as u64) + // Standard Error: 53_000 + .saturating_add(Weight::from_ref_time(34_780_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1549,9 +1549,9 @@ impl WeightInfo for () { // Storage: TransactionPayment NextFeeMultiplier (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_weight_to_fee(r: u32, ) -> Weight { - Weight::from_ref_time(245_287_000 as u64) - // Standard Error: 88_000 - .saturating_add(Weight::from_ref_time(99_890_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(246_175_000 as u64) + // Standard Error: 86_000 + .saturating_add(Weight::from_ref_time(99_827_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1562,9 +1562,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_gas(r: u32, ) -> Weight { - Weight::from_ref_time(168_156_000 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(17_991_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(168_655_000 as u64) + // Standard Error: 16_000 + .saturating_add(Weight::from_ref_time(15_635_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1575,9 +1575,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_input(r: u32, ) -> Weight { - Weight::from_ref_time(240_833_000 as u64) - // Standard Error: 50_000 - .saturating_add(Weight::from_ref_time(35_622_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(239_729_000 as u64) + // Standard Error: 52_000 + .saturating_add(Weight::from_ref_time(33_477_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1588,9 +1588,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `n` is `[0, 1024]`. fn seal_input_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(330_765_000 as u64) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(8_609_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(296_718_000 as u64) + // Standard Error: 4_000 + .saturating_add(Weight::from_ref_time(9_616_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1601,9 +1601,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 1]`. fn seal_return(r: u32, ) -> Weight { - Weight::from_ref_time(237_729_000 as u64) - // Standard Error: 488_000 - .saturating_add(Weight::from_ref_time(2_053_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(237_666_000 as u64) + // Standard Error: 497_000 + .saturating_add(Weight::from_ref_time(2_090_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1614,9 +1614,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `n` is `[0, 1024]`. fn seal_return_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(240_005_000 as u64) + Weight::from_ref_time(239_842_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(169_000 as u64).saturating_mul(n as u64)) + .saturating_add(Weight::from_ref_time(184_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1629,9 +1629,9 @@ impl WeightInfo for () { // Storage: Contracts OwnerInfoOf (r:1 w:1) /// The range of component `r` is `[0, 1]`. fn seal_terminate(r: u32, ) -> Weight { - Weight::from_ref_time(240_524_000 as u64) - // Standard Error: 426_000 - .saturating_add(Weight::from_ref_time(51_863_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(240_563_000 as u64) + // Standard Error: 519_000 + .saturating_add(Weight::from_ref_time(52_855_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().reads((5 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1645,9 +1645,9 @@ impl WeightInfo for () { // Storage: RandomnessCollectiveFlip RandomMaterial (r:1 w:0) /// The range of component `r` is `[0, 20]`. fn seal_random(r: u32, ) -> Weight { - Weight::from_ref_time(250_710_000 as u64) - // Standard Error: 95_000 - .saturating_add(Weight::from_ref_time(132_741_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(248_136_000 as u64) + // Standard Error: 94_000 + .saturating_add(Weight::from_ref_time(137_406_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1658,9 +1658,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_deposit_event(r: u32, ) -> Weight { - Weight::from_ref_time(245_816_000 as u64) - // Standard Error: 115_000 - .saturating_add(Weight::from_ref_time(235_313_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(253_433_000 as u64) + // Standard Error: 105_000 + .saturating_add(Weight::from_ref_time(242_337_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1672,11 +1672,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16]`. fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight { - Weight::from_ref_time(469_886_000 as u64) - // Standard Error: 463_000 - .saturating_add(Weight::from_ref_time(177_286_000 as u64).saturating_mul(t as u64)) - // Standard Error: 127_000 - .saturating_add(Weight::from_ref_time(64_646_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(478_106_000 as u64) + // Standard Error: 557_000 + .saturating_add(Weight::from_ref_time(176_325_000 as u64).saturating_mul(t as u64)) + // Standard Error: 153_000 + .saturating_add(Weight::from_ref_time(67_413_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(t as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1689,18 +1689,18 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { - Weight::from_ref_time(174_414_000 as u64) - // Standard Error: 26_000 - .saturating_add(Weight::from_ref_time(29_037_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(172_751_000 as u64) + // Standard Error: 37_000 + .saturating_add(Weight::from_ref_time(26_536_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_set_storage(r: u32, ) -> Weight { - Weight::from_ref_time(196_960_000 as u64) - // Standard Error: 414_000 - .saturating_add(Weight::from_ref_time(412_810_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(196_276_000 as u64) + // Standard Error: 428_000 + .saturating_add(Weight::from_ref_time(416_783_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1709,9 +1709,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_new_kb(n: u32, ) -> Weight { - Weight::from_ref_time(529_493_000 as u64) - // Standard Error: 1_251_000 - .saturating_add(Weight::from_ref_time(88_835_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(532_439_000 as u64) + // Standard Error: 1_323_000 + .saturating_add(Weight::from_ref_time(93_843_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(52 as u64)) .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(RocksDbWeight::get().writes(50 as u64)) @@ -1720,9 +1720,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_set_storage_per_old_kb(n: u32, ) -> Weight { - Weight::from_ref_time(512_531_000 as u64) - // Standard Error: 1_107_000 - .saturating_add(Weight::from_ref_time(67_926_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(511_358_000 as u64) + // Standard Error: 1_144_000 + .saturating_add(Weight::from_ref_time(68_754_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(52 as u64)) .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(RocksDbWeight::get().writes(50 as u64)) @@ -1731,9 +1731,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_clear_storage(r: u32, ) -> Weight { - Weight::from_ref_time(208_848_000 as u64) - // Standard Error: 398_000 - .saturating_add(Weight::from_ref_time(400_478_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(204_133_000 as u64) + // Standard Error: 498_000 + .saturating_add(Weight::from_ref_time(406_798_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(4 as u64)) @@ -1742,9 +1742,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_clear_storage_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(488_903_000 as u64) - // Standard Error: 1_226_000 - .saturating_add(Weight::from_ref_time(69_519_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(489_339_000 as u64) + // Standard Error: 1_269_000 + .saturating_add(Weight::from_ref_time(70_700_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(51 as u64)) .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(RocksDbWeight::get().writes(49 as u64)) @@ -1753,9 +1753,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_get_storage(r: u32, ) -> Weight { - Weight::from_ref_time(211_825_000 as u64) - // Standard Error: 401_000 - .saturating_add(Weight::from_ref_time(328_607_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(211_344_000 as u64) + // Standard Error: 399_000 + .saturating_add(Weight::from_ref_time(330_244_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1763,9 +1763,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_get_storage_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(452_324_000 as u64) - // Standard Error: 1_026_000 - .saturating_add(Weight::from_ref_time(150_657_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(449_353_000 as u64) + // Standard Error: 1_027_000 + .saturating_add(Weight::from_ref_time(153_022_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(51 as u64)) .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1773,9 +1773,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_contains_storage(r: u32, ) -> Weight { - Weight::from_ref_time(218_730_000 as u64) - // Standard Error: 318_000 - .saturating_add(Weight::from_ref_time(302_022_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(216_197_000 as u64) + // Standard Error: 341_000 + .saturating_add(Weight::from_ref_time(305_401_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1783,9 +1783,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_contains_storage_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(425_128_000 as u64) - // Standard Error: 875_000 - .saturating_add(Weight::from_ref_time(60_095_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(423_033_000 as u64) + // Standard Error: 878_000 + .saturating_add(Weight::from_ref_time(61_940_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(51 as u64)) .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1793,9 +1793,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `r` is `[0, 10]`. fn seal_take_storage(r: u32, ) -> Weight { - Weight::from_ref_time(208_039_000 as u64) - // Standard Error: 445_000 - .saturating_add(Weight::from_ref_time(425_933_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(204_244_000 as u64) + // Standard Error: 448_000 + .saturating_add(Weight::from_ref_time(429_399_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(4 as u64)) @@ -1804,9 +1804,9 @@ impl WeightInfo for () { // Storage: Skipped Metadata (r:0 w:0) /// The range of component `n` is `[0, 8]`. fn seal_take_storage_per_kb(n: u32, ) -> Weight { - Weight::from_ref_time(518_112_000 as u64) - // Standard Error: 1_406_000 - .saturating_add(Weight::from_ref_time(159_006_000 as u64).saturating_mul(n as u64)) + Weight::from_ref_time(516_945_000 as u64) + // Standard Error: 1_412_000 + .saturating_add(Weight::from_ref_time(162_098_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(52 as u64)) .saturating_add(RocksDbWeight::get().reads((7 as u64).saturating_mul(n as u64))) .saturating_add(RocksDbWeight::get().writes(49 as u64)) @@ -1819,9 +1819,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_transfer(r: u32, ) -> Weight { - Weight::from_ref_time(169_573_000 as u64) - // Standard Error: 701_000 - .saturating_add(Weight::from_ref_time(1_345_943_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(170_412_000 as u64) + // Standard Error: 761_000 + .saturating_add(Weight::from_ref_time(1_367_307_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().reads((80 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(4 as u64)) @@ -1835,8 +1835,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_call(r: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 8_472_000 - .saturating_add(Weight::from_ref_time(17_569_902_000 as u64).saturating_mul(r as u64)) + // Standard Error: 9_269_000 + .saturating_add(Weight::from_ref_time(17_505_281_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(7 as u64)) .saturating_add(RocksDbWeight::get().reads((160 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(3 as u64)) @@ -1850,8 +1850,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_delegate_call(r: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 7_932_000 - .saturating_add(Weight::from_ref_time(17_368_706_000 as u64).saturating_mul(r as u64)) + // Standard Error: 8_780_000 + .saturating_add(Weight::from_ref_time(17_368_867_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads((158 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes((79 as u64).saturating_mul(r as u64))) } @@ -1863,11 +1863,11 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1024]`. fn seal_call_per_transfer_clone_kb(t: u32, c: u32, ) -> Weight { - Weight::from_ref_time(11_036_172_000 as u64) - // Standard Error: 5_683_000 - .saturating_add(Weight::from_ref_time(1_154_945_000 as u64).saturating_mul(t as u64)) - // Standard Error: 8_000 - .saturating_add(Weight::from_ref_time(8_670_000 as u64).saturating_mul(c as u64)) + Weight::from_ref_time(11_076_579_000 as u64) + // Standard Error: 6_568_000 + .saturating_add(Weight::from_ref_time(1_158_818_000 as u64).saturating_mul(t as u64)) + // Standard Error: 9_000 + .saturating_add(Weight::from_ref_time(9_731_000 as u64).saturating_mul(c as u64)) .saturating_add(RocksDbWeight::get().reads(167 as u64)) .saturating_add(RocksDbWeight::get().reads((81 as u64).saturating_mul(t as u64))) .saturating_add(RocksDbWeight::get().writes(163 as u64)) @@ -1883,8 +1883,8 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_instantiate(r: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 25_721_000 - .saturating_add(Weight::from_ref_time(22_827_927_000 as u64).saturating_mul(r as u64)) + // Standard Error: 24_125_000 + .saturating_add(Weight::from_ref_time(22_830_521_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(8 as u64)) .saturating_add(RocksDbWeight::get().reads((400 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes(5 as u64)) @@ -1900,9 +1900,9 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `s` is `[0, 960]`. fn seal_instantiate_per_transfer_salt_kb(t: u32, s: u32, ) -> Weight { - Weight::from_ref_time(13_991_911_000 as u64) - // Standard Error: 70_000 - .saturating_add(Weight::from_ref_time(124_789_000 as u64).saturating_mul(s as u64)) + Weight::from_ref_time(13_739_440_000 as u64) + // Standard Error: 79_000 + .saturating_add(Weight::from_ref_time(126_148_000 as u64).saturating_mul(s as u64)) .saturating_add(RocksDbWeight::get().reads(249 as u64)) .saturating_add(RocksDbWeight::get().reads((1 as u64).saturating_mul(t as u64))) .saturating_add(RocksDbWeight::get().writes(247 as u64)) @@ -1915,9 +1915,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_hash_sha2_256(r: u32, ) -> Weight { - Weight::from_ref_time(244_026_000 as u64) - // Standard Error: 69_000 - .saturating_add(Weight::from_ref_time(58_077_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(241_753_000 as u64) + // Standard Error: 60_000 + .saturating_add(Weight::from_ref_time(55_067_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1929,8 +1929,8 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 1024]`. fn seal_hash_sha2_256_per_kb(n: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 104_000 - .saturating_add(Weight::from_ref_time(320_432_000 as u64).saturating_mul(n as u64)) + // Standard Error: 95_000 + .saturating_add(Weight::from_ref_time(320_367_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1941,9 +1941,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { - Weight::from_ref_time(242_548_000 as u64) - // Standard Error: 88_000 - .saturating_add(Weight::from_ref_time(70_774_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(239_849_000 as u64) + // Standard Error: 80_000 + .saturating_add(Weight::from_ref_time(67_626_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1955,8 +1955,8 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 1024]`. fn seal_hash_keccak_256_per_kb(n: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 152_000 - .saturating_add(Weight::from_ref_time(246_268_000 as u64).saturating_mul(n as u64)) + // Standard Error: 106_000 + .saturating_add(Weight::from_ref_time(247_771_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1967,9 +1967,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { - Weight::from_ref_time(242_368_000 as u64) - // Standard Error: 68_000 - .saturating_add(Weight::from_ref_time(48_368_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(242_162_000 as u64) + // Standard Error: 58_000 + .saturating_add(Weight::from_ref_time(45_169_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1981,8 +1981,8 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_256_per_kb(n: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 94_000 - .saturating_add(Weight::from_ref_time(95_913_000 as u64).saturating_mul(n as u64)) + // Standard Error: 95_000 + .saturating_add(Weight::from_ref_time(97_479_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -1993,9 +1993,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { - Weight::from_ref_time(239_100_000 as u64) - // Standard Error: 56_000 - .saturating_add(Weight::from_ref_time(48_043_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(240_072_000 as u64) + // Standard Error: 53_000 + .saturating_add(Weight::from_ref_time(44_847_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -2007,8 +2007,8 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 1024]`. fn seal_hash_blake2_128_per_kb(n: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 93_000 - .saturating_add(Weight::from_ref_time(96_000_000 as u64).saturating_mul(n as u64)) + // Standard Error: 95_000 + .saturating_add(Weight::from_ref_time(97_432_000 as u64).saturating_mul(n as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -2019,9 +2019,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { - Weight::from_ref_time(375_902_000 as u64) - // Standard Error: 613_000 - .saturating_add(Weight::from_ref_time(2_972_514_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(374_614_000 as u64) + // Standard Error: 634_000 + .saturating_add(Weight::from_ref_time(2_968_637_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -2032,9 +2032,9 @@ impl WeightInfo for () { // Storage: System EventTopics (r:2 w:2) /// The range of component `r` is `[0, 20]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { - Weight::from_ref_time(260_758_000 as u64) - // Standard Error: 396_000 - .saturating_add(Weight::from_ref_time(2_069_937_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(249_022_000 as u64) + // Standard Error: 408_000 + .saturating_add(Weight::from_ref_time(2_062_013_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads(6 as u64)) .saturating_add(RocksDbWeight::get().writes(3 as u64)) } @@ -2047,315 +2047,315 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_set_code_hash(r: u32, ) -> Weight { Weight::from_ref_time(0 as u64) - // Standard Error: 1_629_000 - .saturating_add(Weight::from_ref_time(1_093_632_000 as u64).saturating_mul(r as u64)) + // Standard Error: 1_536_000 + .saturating_add(Weight::from_ref_time(1_099_219_000 as u64).saturating_mul(r as u64)) .saturating_add(RocksDbWeight::get().reads((158 as u64).saturating_mul(r as u64))) .saturating_add(RocksDbWeight::get().writes((158 as u64).saturating_mul(r as u64))) } /// The range of component `r` is `[0, 50]`. fn instr_i64const(r: u32, ) -> Weight { - Weight::from_ref_time(70_130_000 as u64) + Weight::from_ref_time(70_276_000 as u64) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(798_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(933_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { - Weight::from_ref_time(70_439_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_717_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_309_000 as u64) + // Standard Error: 5_000 + .saturating_add(Weight::from_ref_time(2_977_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { - Weight::from_ref_time(70_647_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(2_112_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(71_165_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(2_686_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { - Weight::from_ref_time(70_045_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(2_228_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_872_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(2_374_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { - Weight::from_ref_time(71_013_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(2_284_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_891_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(2_629_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { - Weight::from_ref_time(69_846_000 as u64) + Weight::from_ref_time(69_747_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_278_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(1_639_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { - Weight::from_ref_time(69_471_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_774_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_262_000 as u64) + // Standard Error: 4_000 + .saturating_add(Weight::from_ref_time(2_142_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { - Weight::from_ref_time(68_967_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(1_984_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(68_808_000 as u64) + // Standard Error: 4_000 + .saturating_add(Weight::from_ref_time(2_342_000 as u64).saturating_mul(r as u64)) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { - Weight::from_ref_time(72_756_000 as u64) + Weight::from_ref_time(73_245_000 as u64) // Standard Error: 0 - .saturating_add(Weight::from_ref_time(4_000 as u64).saturating_mul(e as u64)) + .saturating_add(Weight::from_ref_time(3_000 as u64).saturating_mul(e as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { - Weight::from_ref_time(70_426_000 as u64) - // Standard Error: 13_000 - .saturating_add(Weight::from_ref_time(7_095_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(71_308_000 as u64) + // Standard Error: 10_000 + .saturating_add(Weight::from_ref_time(7_333_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { - Weight::from_ref_time(85_090_000 as u64) - // Standard Error: 34_000 - .saturating_add(Weight::from_ref_time(8_897_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(83_967_000 as u64) + // Standard Error: 12_000 + .saturating_add(Weight::from_ref_time(9_205_000 as u64).saturating_mul(r as u64)) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { - Weight::from_ref_time(94_306_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(585_000 as u64).saturating_mul(p as u64)) + Weight::from_ref_time(93_600_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(546_000 as u64).saturating_mul(p as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { - Weight::from_ref_time(70_494_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(857_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_449_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_052_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { - Weight::from_ref_time(70_467_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(890_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_326_000 as u64) + // Standard Error: 5_000 + .saturating_add(Weight::from_ref_time(998_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { - Weight::from_ref_time(70_451_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_196_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_525_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_467_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { - Weight::from_ref_time(72_857_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_442_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(73_703_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_495_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { - Weight::from_ref_time(72_589_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(1_682_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(73_578_000 as u64) + // Standard Error: 5_000 + .saturating_add(Weight::from_ref_time(1_546_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { - Weight::from_ref_time(70_230_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(820_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_379_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(934_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { - Weight::from_ref_time(71_027_000 as u64) - // Standard Error: 296_000 - .saturating_add(Weight::from_ref_time(177_139_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(71_069_000 as u64) + // Standard Error: 114_000 + .saturating_add(Weight::from_ref_time(182_540_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { - Weight::from_ref_time(70_270_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_250_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_188_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_358_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { - Weight::from_ref_time(70_088_000 as u64) - // Standard Error: 14_000 - .saturating_add(Weight::from_ref_time(1_281_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_970_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_366_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { - Weight::from_ref_time(69_538_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_283_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_352_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_356_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { - Weight::from_ref_time(69_842_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_266_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_229_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_354_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { - Weight::from_ref_time(69_754_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_230_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_202_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_355_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { - Weight::from_ref_time(70_842_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_193_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_065_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_358_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { - Weight::from_ref_time(69_670_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_281_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_252_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_356_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { - Weight::from_ref_time(69_728_000 as u64) + Weight::from_ref_time(70_049_000 as u64) // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(1_770_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(1_823_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { - Weight::from_ref_time(70_522_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(1_767_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_519_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_815_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { - Weight::from_ref_time(71_224_000 as u64) - // Standard Error: 10_000 - .saturating_add(Weight::from_ref_time(1_752_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_953_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_834_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { - Weight::from_ref_time(70_625_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(1_763_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_299_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_818_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { - Weight::from_ref_time(71_816_000 as u64) - // Standard Error: 31_000 - .saturating_add(Weight::from_ref_time(1_852_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_141_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_825_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { - Weight::from_ref_time(70_019_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_780_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_209_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_827_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { - Weight::from_ref_time(69_881_000 as u64) - // Standard Error: 5_000 - .saturating_add(Weight::from_ref_time(1_783_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_980_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_831_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { - Weight::from_ref_time(70_021_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_766_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_022_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_829_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { - Weight::from_ref_time(72_156_000 as u64) - // Standard Error: 17_000 - .saturating_add(Weight::from_ref_time(1_712_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_030_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_826_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { - Weight::from_ref_time(70_004_000 as u64) + Weight::from_ref_time(70_170_000 as u64) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_820_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(1_833_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { - Weight::from_ref_time(70_028_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_772_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_895_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_826_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { - Weight::from_ref_time(69_159_000 as u64) - // Standard Error: 7_000 - .saturating_add(Weight::from_ref_time(1_813_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_932_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(1_830_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { - Weight::from_ref_time(70_033_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_760_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_091_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_825_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { - Weight::from_ref_time(69_702_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(2_512_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_025_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(2_556_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { - Weight::from_ref_time(68_933_000 as u64) - // Standard Error: 23_000 - .saturating_add(Weight::from_ref_time(2_501_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(71_910_000 as u64) + // Standard Error: 19_000 + .saturating_add(Weight::from_ref_time(2_290_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { - Weight::from_ref_time(69_447_000 as u64) - // Standard Error: 1_000 - .saturating_add(Weight::from_ref_time(2_555_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_268_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(2_550_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { - Weight::from_ref_time(69_872_000 as u64) - // Standard Error: 6_000 - .saturating_add(Weight::from_ref_time(2_459_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_126_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(2_340_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { - Weight::from_ref_time(69_867_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_783_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_381_000 as u64) + // Standard Error: 9_000 + .saturating_add(Weight::from_ref_time(1_844_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { - Weight::from_ref_time(69_982_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_772_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_095_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_844_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { - Weight::from_ref_time(69_822_000 as u64) - // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_779_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_471_000 as u64) + // Standard Error: 8_000 + .saturating_add(Weight::from_ref_time(1_836_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { - Weight::from_ref_time(69_511_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_806_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_302_000 as u64) + // Standard Error: 2_000 + .saturating_add(Weight::from_ref_time(1_841_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { - Weight::from_ref_time(69_956_000 as u64) + Weight::from_ref_time(70_097_000 as u64) // Standard Error: 3_000 - .saturating_add(Weight::from_ref_time(1_788_000 as u64).saturating_mul(r as u64)) + .saturating_add(Weight::from_ref_time(1_850_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { - Weight::from_ref_time(70_069_000 as u64) - // Standard Error: 11_000 - .saturating_add(Weight::from_ref_time(1_789_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_166_000 as u64) + // Standard Error: 1_000 + .saturating_add(Weight::from_ref_time(1_845_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { - Weight::from_ref_time(69_719_000 as u64) - // Standard Error: 2_000 - .saturating_add(Weight::from_ref_time(1_792_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(69_630_000 as u64) + // Standard Error: 4_000 + .saturating_add(Weight::from_ref_time(1_879_000 as u64).saturating_mul(r as u64)) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { - Weight::from_ref_time(69_709_000 as u64) - // Standard Error: 4_000 - .saturating_add(Weight::from_ref_time(1_800_000 as u64).saturating_mul(r as u64)) + Weight::from_ref_time(70_101_000 as u64) + // Standard Error: 3_000 + .saturating_add(Weight::from_ref_time(1_861_000 as u64).saturating_mul(r as u64)) } } diff --git a/primitives/core/Cargo.toml b/primitives/core/Cargo.toml index d591657ee4bd9..27865f0e61a4f 100644 --- a/primitives/core/Cargo.toml +++ b/primitives/core/Cargo.toml @@ -23,7 +23,7 @@ serde = { version = "1.0.136", optional = true, features = ["derive"] } byteorder = { version = "1.3.2", default-features = false } primitive-types = { version = "0.11.1", default-features = false, features = ["codec", "scale-info"] } impl-serde = { version = "0.3.0", optional = true } -wasmi = { version = "0.9.1", optional = true } +wasmi = { version = "0.13", optional = true } hash-db = { version = "0.15.2", default-features = false } hash256-std-hasher = { version = "0.15.2", default-features = false } base58 = { version = "0.2.0", optional = true } diff --git a/primitives/sandbox/Cargo.toml b/primitives/sandbox/Cargo.toml index 6a83e20a94618..90b7df105ecde 100644 --- a/primitives/sandbox/Cargo.toml +++ b/primitives/sandbox/Cargo.toml @@ -12,16 +12,10 @@ readme = "README.md" [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] -[target.'cfg(target_arch = "wasm32")'.dependencies] -wasmi = { version = "0.9.1", default-features = false, features = ["core"] } - -[target.'cfg(not(target_arch = "wasm32"))'.dependencies] -wasmi = "0.9.0" - [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false } log = { version = "0.4", default-features = false } -wasmi = { version = "0.9.0", optional = true } +wasmi = { version = "0.13", default-features = false } sp-core = { version = "6.0.0", default-features = false, path = "../core" } sp-io = { version = "6.0.0", default-features = false, path = "../io" } sp-std = { version = "4.0.0", default-features = false, path = "../std" } @@ -40,7 +34,7 @@ std = [ "sp-io/std", "sp-std/std", "sp-wasm-interface/std", - "wasmi", + "wasmi/std", ] strict = [] wasmer-sandbox = [] diff --git a/primitives/sandbox/src/embedded_executor.rs b/primitives/sandbox/src/embedded_executor.rs index 0e8ae77e8735b..2739674a76a0d 100644 --- a/primitives/sandbox/src/embedded_executor.rs +++ b/primitives/sandbox/src/embedded_executor.rs @@ -22,7 +22,7 @@ use alloc::string::String; use wasmi::{ memory_units::Pages, Externals, FuncInstance, FuncRef, GlobalDescriptor, GlobalRef, ImportResolver, MemoryDescriptor, MemoryInstance, MemoryRef, Module, ModuleInstance, ModuleRef, - RuntimeArgs, RuntimeValue, Signature, TableDescriptor, TableRef, Trap, TrapKind, + RuntimeArgs, RuntimeValue, Signature, TableDescriptor, TableRef, Trap, }; use sp_std::{ @@ -124,7 +124,7 @@ impl<'a, T> Externals for GuestExternals<'a, T> { ReturnValue::Value(v) => Some(to_wasmi(v)), ReturnValue::Unit => None, }), - Err(HostError) => Err(TrapKind::Host(Box::new(DummyHostError)).into()), + Err(HostError) => Err(Trap::host(DummyHostError)), } } } diff --git a/primitives/version/Cargo.toml b/primitives/version/Cargo.toml index 0ca78940fbbbc..1750ebb8cd90b 100644 --- a/primitives/version/Cargo.toml +++ b/primitives/version/Cargo.toml @@ -16,7 +16,7 @@ targets = ["x86_64-unknown-linux-gnu"] [dependencies] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } impl-serde = { version = "0.3.1", optional = true } -parity-wasm = { version = "0.42.2", optional = true } +parity-wasm = { version = "0.45", optional = true } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } serde = { version = "1.0.136", features = ["derive"], optional = true } thiserror = { version = "1.0.30", optional = true } diff --git a/primitives/wasm-interface/Cargo.toml b/primitives/wasm-interface/Cargo.toml index 89542d8229a0c..05ccad88ec37a 100644 --- a/primitives/wasm-interface/Cargo.toml +++ b/primitives/wasm-interface/Cargo.toml @@ -17,7 +17,7 @@ targets = ["x86_64-unknown-linux-gnu"] codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } impl-trait-for-tuples = "0.2.2" log = { version = "0.4.17", optional = true } -wasmi = { version = "0.9.1", optional = true } +wasmi = { version = "0.13", optional = true } wasmtime = { version = "0.40.1", default-features = false, optional = true } sp-std = { version = "4.0.0", default-features = false, path = "../std" }