diff --git a/Cargo.lock b/Cargo.lock index 0c2f8518473ff..ef320a85f05a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1186,8 +1186,7 @@ checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba" [[package]] name = "cranelift-bforest" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f3d54eab028f5805ae3b26fd60eca3f3a9cfb76b989d9bab173be3f61356cc3" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "cranelift-entity", ] @@ -1195,8 +1194,7 @@ dependencies = [ [[package]] name = "cranelift-codegen" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2be1d5f2c3cca1efb691844bc1988b89c77291f13f778499a3f3c0cf49c0ed61" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "arrayvec 0.7.2", "bumpalo", @@ -1216,8 +1214,7 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9b1b1089750ce4005893af7ee00bb08a2cf1c9779999c0f7164cbc8ad2e0d2" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "cranelift-codegen-shared", ] @@ -1225,14 +1222,12 @@ dependencies = [ [[package]] name = "cranelift-codegen-shared" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc5fbaec51de47297fd7304986fd53c8c0030abbe69728a60d72e1c63559318d" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" [[package]] name = "cranelift-entity" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dab984c94593f876090fae92e984bdcc74d9b1acf740ab5f79036001c65cba13" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "serde", ] @@ -1240,8 +1235,7 @@ dependencies = [ [[package]] name = "cranelift-frontend" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e0cb3102d21a2fe5f3210af608748ddd0cd09825ac12d42dc56ed5ed8725fe0" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "cranelift-codegen", "log", @@ -1252,14 +1246,12 @@ dependencies = [ [[package]] name = "cranelift-isle" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72101dd1f441d629735143c41e00b3428f9267738176983ef588ff43382af0a0" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" [[package]] name = "cranelift-native" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c22b0d9fcbe3fc5a1af9e7021b44ce42b930bcefac446ce22e02e8f9a0d67120" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "cranelift-codegen", "libc", @@ -1269,8 +1261,7 @@ dependencies = [ [[package]] name = "cranelift-wasm" version = "0.92.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bddebe32fb14fbfd9efa5f130ffb8f4665795de019928dcd7247b136c46f9249" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -11932,8 +11923,7 @@ dependencies = [ [[package]] name = "wasmtime" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e5b183a159484980138cc05231419c536d395a7b25c1802091310ea2f74276a" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "anyhow", "bincode", @@ -11960,8 +11950,7 @@ dependencies = [ [[package]] name = "wasmtime-asm-macros" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0aeb1cb256d76cf07b20264c808351c8b525ece56de1ef4d93f87a0aaf342db" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "cfg-if", ] @@ -11969,8 +11958,7 @@ dependencies = [ [[package]] name = "wasmtime-cache" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830570847f905b8f6d2ca635c33cf42ce701dd8e4abd7d1806c631f8f06e9e4b" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "anyhow", "base64 0.13.1", @@ -11989,8 +11977,7 @@ dependencies = [ [[package]] name = "wasmtime-cranelift" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f7695d3814dcb508bf4d1c181a86ea6b97a209f6444478e95d86e2ffab8d1a3" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "anyhow", "cranelift-codegen", @@ -12010,8 +11997,7 @@ dependencies = [ [[package]] name = "wasmtime-environ" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5a2a5f0fb93aa837a727a48dd1076e8a9f882cc2fee20b433c04a18740ff63b" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "anyhow", "cranelift-entity", @@ -12029,8 +12015,7 @@ dependencies = [ [[package]] name = "wasmtime-jit" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01c78f9fb2922dbb5a95f009539d4badb44866caeeb53d156bf2cf4d683c3afd" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "addr2line 0.17.0", "anyhow", @@ -12053,8 +12038,7 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67cacdb52a77b8c8e744e510beeabf0bd698b1c94c59eed33c52b3fbd19639b0" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "object 0.29.0", "once_cell", @@ -12064,8 +12048,7 @@ dependencies = [ [[package]] name = "wasmtime-jit-icache-coherence" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08fcba5ebd96da2a9f0747ab6337fe9788adfb3f63fa2c180520d665562d257e" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "cfg-if", "libc", @@ -12075,8 +12058,7 @@ dependencies = [ [[package]] name = "wasmtime-runtime" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0793210acf50d4c69182c916abaee1d423dc5d172cdfde6acfea2f9446725940" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "anyhow", "cc", @@ -12099,8 +12081,7 @@ dependencies = [ [[package]] name = "wasmtime-types" version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d015ba8b231248a811e323cf7a525cd3f982d4be0b9e62d27685102e5f12b1" +source = "git+https://github.com/paritytech/wasmtime.git?branch=v5.0.0_lto_fix#8a02705ad378108e43abe23c538688adf73f3b71" dependencies = [ "cranelift-entity", "serde", diff --git a/client/executor/wasmtime/Cargo.toml b/client/executor/wasmtime/Cargo.toml index acd1a5aef9391..e29a195277681 100644 --- a/client/executor/wasmtime/Cargo.toml +++ b/client/executor/wasmtime/Cargo.toml @@ -25,7 +25,7 @@ wasmtime = { version = "5.0.0", default-features = false, features = [ "jitdump", "parallel-compilation", "pooling-allocator" -] } +], git = "https://github.com/paritytech/wasmtime.git", branch = "v5.0.0_lto_fix" } anyhow = "1.0.68" sc-allocator = { version = "4.1.0-dev", path = "../../allocator" } sc-executor-common = { version = "0.10.0-dev", path = "../common" } diff --git a/frame/contracts/fixtures/debug_message_invalid_utf8.wat b/frame/contracts/fixtures/debug_message_invalid_utf8.wat index c60371076440e..e8c447b42fca5 100644 --- a/frame/contracts/fixtures/debug_message_invalid_utf8.wat +++ b/frame/contracts/fixtures/debug_message_invalid_utf8.wat @@ -1,18 +1,28 @@ -;; Emit a "Hello World!" debug message +;; Emit a debug message with an invalid utf-8 code (module (import "seal0" "seal_debug_message" (func $seal_debug_message (param i32 i32) (result i32))) (import "env" "memory" (memory 1 1)) (data (i32.const 0) "\fc") - (func (export "call") - (call $seal_debug_message - (i32.const 0) ;; Pointer to the text buffer - (i32.const 12) ;; The size of the buffer + (func $assert_eq (param i32 i32) + (block $ok + (br_if $ok + (i32.eq (get_local 0) (get_local 1)) + ) + (unreachable) ) - ;; the above call traps because we supplied invalid utf8 - unreachable ) + (func (export "call") + (call $assert_eq + (call $seal_debug_message + (i32.const 0) ;; Pointer to the text buffer + (i32.const 12) ;; The size of the buffer + ) + (i32.const 0) ;; Success return code + ) + ) + (func (export "deploy")) ) diff --git a/frame/contracts/fixtures/debug_message_logging_disabled.wat b/frame/contracts/fixtures/debug_message_logging_disabled.wat index cfe238943ad06..fc6ee72df8b08 100644 --- a/frame/contracts/fixtures/debug_message_logging_disabled.wat +++ b/frame/contracts/fixtures/debug_message_logging_disabled.wat @@ -20,7 +20,7 @@ (i32.const 0) ;; Pointer to the text buffer (i32.const 12) ;; The size of the buffer ) - (i32.const 9) ;; LoggingDisabled return code + (i32.const 0) ;; Success return code ) ) diff --git a/frame/contracts/src/benchmarking/mod.rs b/frame/contracts/src/benchmarking/mod.rs index 708d92766d488..e834508a0e284 100644 --- a/frame/contracts/src/benchmarking/mod.rs +++ b/frame/contracts/src/benchmarking/mod.rs @@ -910,13 +910,12 @@ benchmarks! { let origin = RawOrigin::Signed(instance.caller.clone()); }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) - // The size of the supplied message does not influence the weight because as it is never - // processed during on-chain execution: It is only ever read during debugging which happens - // when the contract is called as RPC where weights do not matter. + // Benchmark debug_message call with zero input data. + // Whereas this function is used in RPC mode only, it still should be secured + // against an excessive use. #[pov_mode = Ignored] seal_debug_message { let r in 0 .. API_BENCHMARK_BATCHES; - let max_bytes = code::max_pages::() * 64 * 1024; let code = WasmModule::::from(ModuleDefinition { memory: Some(ImportedMemory { min_pages: 1, max_pages: 1 }), imported_functions: vec![ImportedFunction { @@ -927,15 +926,75 @@ benchmarks! { }], call_body: Some(body::repeated(r * API_BENCHMARK_BATCH_SIZE, &[ Instruction::I32Const(0), // value_ptr - Instruction::I32Const(max_bytes as i32), // value_len + Instruction::I32Const(0), // value_len Instruction::Call(0), Instruction::Drop, ])), .. Default::default() }); let instance = Contract::::new(code, vec![])?; - let origin = RawOrigin::Signed(instance.caller.clone()); - }: call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]) + }: { + >::bare_call( + instance.caller, + instance.account_id, + 0u32.into(), + Weight::MAX, + None, + vec![], + true, + Determinism::Deterministic, + ) + .result?; + } + + seal_debug_message_per_kb { + // Vary size of input in kilobytes up to maximum allowed contract memory + // or maximum allowed debug buffer size, whichever is less. + let i in 0 .. (T::Schedule::get().limits.memory_pages * 64).min(T::MaxDebugBufferLen::get() / 1024); + // We benchmark versus messages containing printable ASCII codes. + // About 1Kb goes to the instrumented contract code instructions, + // whereas all the space left we use for the initialization of the debug messages data. + let message = (0 .. T::MaxCodeLen::get() - 1024).zip((32..127).cycle()).map(|i| i.1).collect::>(); + let code = WasmModule::::from(ModuleDefinition { + memory: Some(ImportedMemory { + min_pages: T::Schedule::get().limits.memory_pages, + max_pages: T::Schedule::get().limits.memory_pages, + }), + imported_functions: vec![ImportedFunction { + module: "seal0", + name: "seal_debug_message", + params: vec![ValueType::I32, ValueType::I32], + return_type: Some(ValueType::I32), + }], + data_segments: vec![ + DataSegment { + offset: 0, + value: message, + }, + ], + call_body: Some(body::plain(vec![ + Instruction::I32Const(0), // value_ptr + Instruction::I32Const((i * 1024) as i32), // value_len increments by i Kb + Instruction::Call(0), + Instruction::Drop, + Instruction::End, + ])), + ..Default::default() + }); + let instance = Contract::::new(code, vec![])?; + }: { + >::bare_call( + instance.caller, + instance.account_id, + 0u32.into(), + Weight::MAX, + None, + vec![], + true, + Determinism::Deterministic, + ) + .result?; + } // Only the overhead of calling the function itself with minimal arguments. // The contract is a bit more complex because it needs to use different keys in order diff --git a/frame/contracts/src/exec.rs b/frame/contracts/src/exec.rs index 3eb59354d5c07..9b033a76cf0ff 100644 --- a/frame/contracts/src/exec.rs +++ b/frame/contracts/src/exec.rs @@ -1336,31 +1336,16 @@ where fn append_debug_buffer(&mut self, msg: &str) -> bool { if let Some(buffer) = &mut self.debug_message { - let err_msg = scale_info::prelude::format!( - "Debug message too big (size={}) for debug buffer (bound={})", - msg.len(), - DebugBufferVec::::bound(), - ); - - let mut msg = if msg.len() > DebugBufferVec::::bound() { - err_msg.bytes() - } else { - msg.bytes() - }; - - let num_drain = { - let capacity = DebugBufferVec::::bound().checked_sub(buffer.len()).expect( - " - `buffer` is of type `DebugBufferVec`, - `DebugBufferVec` is a `BoundedVec`, - `BoundedVec::len()` <= `BoundedVec::bound()`; - qed - ", - ); - msg.len().saturating_sub(capacity).min(buffer.len()) - }; - buffer.drain(0..num_drain); - buffer.try_extend(&mut msg).ok(); + buffer + .try_extend(&mut msg.bytes()) + .map_err(|_| { + log::debug!( + target: "runtime::contracts", + "Debug buffer (of {} bytes) exhausted!", + DebugBufferVec::::bound(), + ) + }) + .ok(); true } else { false @@ -2603,9 +2588,11 @@ mod tests { exec_success() }); - // Pre-fill the buffer up to its limit - let mut debug_buffer = - DebugBufferVec::::try_from(vec![0u8; DebugBufferVec::::bound()]).unwrap(); + // Pre-fill the buffer almost up to its limit, leaving not enough space to the message + let debug_buf_before = + DebugBufferVec::::try_from(vec![0u8; DebugBufferVec::::bound() - 5]) + .unwrap(); + let mut debug_buf_after = debug_buf_before.clone(); ExtBuilder::default().build().execute_with(|| { let schedule: Schedule = ::Schedule::get(); @@ -2622,15 +2609,11 @@ mod tests { &schedule, 0, vec![], - Some(&mut debug_buffer), + Some(&mut debug_buf_after), Determinism::Deterministic, ) .unwrap(); - assert_eq!( - &String::from_utf8(debug_buffer[DebugBufferVec::::bound() - 17..].to_vec()) - .unwrap(), - "overflowing bytes" - ); + assert_eq!(debug_buf_before, debug_buf_after); }); } diff --git a/frame/contracts/src/lib.rs b/frame/contracts/src/lib.rs index c067b264477e9..e131a2685bad9 100644 --- a/frame/contracts/src/lib.rs +++ b/frame/contracts/src/lib.rs @@ -912,8 +912,6 @@ pub mod pallet { /// /// This can be triggered by a call to `seal_terminate`. TerminatedInConstructor, - /// The debug message specified to `seal_debug_message` does contain invalid UTF-8. - DebugMessageInvalidUTF8, /// A call tried to invoke a contract that is flagged as non-reentrant. ReentranceDenied, /// Origin doesn't have enough balance to pay the required storage deposits. diff --git a/frame/contracts/src/schedule.rs b/frame/contracts/src/schedule.rs index 7e09d55b44c58..5e4798df147b2 100644 --- a/frame/contracts/src/schedule.rs +++ b/frame/contracts/src/schedule.rs @@ -323,6 +323,9 @@ pub struct HostFnWeights { /// Weight of calling `seal_debug_message`. pub debug_message: Weight, + /// Weight of calling `seal_debug_message` per byte of the message. + pub debug_message_per_byte: Weight, + /// Weight of calling `seal_set_storage`. pub set_storage: Weight, @@ -644,6 +647,7 @@ impl Default for HostFnWeights { 1 )), debug_message: to_weight!(cost_batched!(seal_debug_message)), + debug_message_per_byte: to_weight!(cost_byte!(seal_debug_message_per_kb)), set_storage: to_weight!(cost_batched!(seal_set_storage), 1024u64), set_code_hash: to_weight!(cost_batched!(seal_set_code_hash)), set_storage_per_new_byte: to_weight!(cost_byte_batched!(seal_set_storage_per_new_kb)), diff --git a/frame/contracts/src/tests.rs b/frame/contracts/src/tests.rs index 973fdefe141bf..958cbf772dba5 100644 --- a/frame/contracts/src/tests.rs +++ b/frame/contracts/src/tests.rs @@ -2714,7 +2714,8 @@ fn debug_message_invalid_utf8() { true, Determinism::Deterministic, ); - assert_err!(result.result, >::DebugMessageInvalidUTF8); + assert_ok!(result.result); + assert!(result.debug_message.is_empty()); }); } diff --git a/frame/contracts/src/wasm/mod.rs b/frame/contracts/src/wasm/mod.rs index 9bf36b47f0b06..3ca7326187a5b 100644 --- a/frame/contracts/src/wasm/mod.rs +++ b/frame/contracts/src/wasm/mod.rs @@ -2363,13 +2363,8 @@ mod tests { "#; let mut ext = MockExt::default(); let result = execute(CODE_DEBUG_MESSAGE_FAIL, vec![], &mut ext); - assert_eq!( - result, - Err(ExecError { - error: Error::::DebugMessageInvalidUTF8.into(), - origin: ErrorOrigin::Caller, - }) - ); + assert_ok!(result); + assert!(ext.debug_buffer.is_empty()); } const CODE_CALL_RUNTIME: &str = r#" diff --git a/frame/contracts/src/wasm/runtime.rs b/frame/contracts/src/wasm/runtime.rs index 9cdf0bf0928a9..ef0c35df73c6a 100644 --- a/frame/contracts/src/wasm/runtime.rs +++ b/frame/contracts/src/wasm/runtime.rs @@ -21,7 +21,7 @@ use crate::{ exec::{ExecError, ExecResult, Ext, FixSizedKey, TopicOf, VarSizedKey}, gas::{ChargedAmount, Token}, schedule::HostFnWeights, - BalanceOf, CodeHash, Config, Error, SENTINEL, + BalanceOf, CodeHash, Config, DebugBufferVec, Error, SENTINEL, }; use bitflags::bitflags; @@ -114,9 +114,6 @@ pub enum ReturnCode { CodeNotFound = 7, /// The contract that was called is no contract (a plain account). NotCallable = 8, - /// The call to `seal_debug_message` had no effect because debug message - /// recording was disabled. - LoggingDisabled = 9, /// The call dispatched by `seal_call_runtime` was executed but returned an error. CallRuntimeReturnedError = 10, /// ECDSA pubkey recovery failed (most probably wrong recovery id or signature), or @@ -229,8 +226,8 @@ pub enum RuntimeCosts { Random, /// Weight of calling `seal_deposit_event` with the given number of topics and event size. DepositEvent { num_topic: u32, len: u32 }, - /// Weight of calling `seal_debug_message`. - DebugMessage, + /// Weight of calling `seal_debug_message` per byte of passed message. + DebugMessage(u32), /// Weight of calling `seal_set_storage` for the given storage item sizes. SetStorage { old_bytes: u32, new_bytes: u32 }, /// Weight of calling `seal_clear_storage` per cleared byte. @@ -309,7 +306,9 @@ impl RuntimeCosts { .deposit_event .saturating_add(s.deposit_event_per_topic.saturating_mul(num_topic.into())) .saturating_add(s.deposit_event_per_byte.saturating_mul(len.into())), - DebugMessage => s.debug_message, + DebugMessage(len) => s + .debug_message + .saturating_add(s.deposit_event_per_byte.saturating_mul(len.into())), SetStorage { new_bytes, old_bytes } => s .set_storage .saturating_add(s.set_storage_per_new_byte.saturating_mul(new_bytes.into())) @@ -2054,7 +2053,7 @@ pub mod env { _delta_ptr: u32, _delta_count: u32, ) -> Result<(), TrapReason> { - ctx.charge_gas(RuntimeCosts::DebugMessage)?; + ctx.charge_gas(RuntimeCosts::DebugMessage(0))?; Ok(()) } @@ -2076,7 +2075,7 @@ pub mod env { _delta_ptr: u32, _delta_count: u32, ) -> Result<(), TrapReason> { - ctx.charge_gas(RuntimeCosts::DebugMessage)?; + ctx.charge_gas(RuntimeCosts::DebugMessage(0))?; Ok(()) } @@ -2094,7 +2093,7 @@ pub mod env { _value_ptr: u32, _value_len: u32, ) -> Result<(), TrapReason> { - ctx.charge_gas(RuntimeCosts::DebugMessage)?; + ctx.charge_gas(RuntimeCosts::DebugMessage(0))?; Ok(()) } @@ -2108,7 +2107,7 @@ pub mod env { #[prefixed_alias] #[deprecated] fn set_rent_allowance(ctx: _, _memory: _, _value_ptr: u32) -> Result<(), TrapReason> { - ctx.charge_gas(RuntimeCosts::DebugMessage)?; + ctx.charge_gas(RuntimeCosts::DebugMessage(0))?; Ok(()) } @@ -2362,7 +2361,7 @@ pub mod env { /// Emit a custom debug message. /// /// No newlines are added to the supplied message. - /// Specifying invalid UTF-8 triggers a trap. + /// Specifying invalid UTF-8 just drops the message with no trap. /// /// This is a no-op if debug message recording is disabled which is always the case /// when the code is executing on-chain. The message is interpreted as UTF-8 and @@ -2383,15 +2382,15 @@ pub mod env { str_ptr: u32, str_len: u32, ) -> Result { - ctx.charge_gas(RuntimeCosts::DebugMessage)?; + let str_len = str_len.min(DebugBufferVec::::bound() as u32); + ctx.charge_gas(RuntimeCosts::DebugMessage(str_len))?; if ctx.ext.append_debug_buffer("") { let data = ctx.read_sandbox_memory(memory, str_ptr, str_len)?; - let msg = - core::str::from_utf8(&data).map_err(|_| >::DebugMessageInvalidUTF8)?; - ctx.ext.append_debug_buffer(msg); - return Ok(ReturnCode::Success) + if let Some(msg) = core::str::from_utf8(&data).ok() { + ctx.ext.append_debug_buffer(msg); + } } - Ok(ReturnCode::LoggingDisabled) + Ok(ReturnCode::Success) } /// Call some dispatchable of the runtime. diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index d9ec1b10b2d37..50aa30e89e58b 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,25 +18,26 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-01-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-02-14, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `bm2`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` +//! HOSTNAME: `bm3`, CPU: `Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 // Executed Command: -// ./target/production/substrate +// /home/benchbot/cargo_target_dir/production/substrate // benchmark // pallet -// --chain=dev // --steps=50 // --repeat=20 -// --pallet=pallet_contracts // --extrinsic=* // --execution=wasm // --wasm-execution=compiled // --heap-pages=4096 -// --output=./frame/contracts/src/weights.rs +// --json-file=/var/lib/gitlab-runner/builds/zyw4fam_/0/parity/mirrors/substrate/.git/.artifacts/bench.json +// --pallet=pallet_contracts +// --chain=dev // --header=./HEADER-APACHE2 +// --output=./frame/contracts/src/weights.rs // --template=./.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -82,6 +83,7 @@ pub trait WeightInfo { fn seal_deposit_event(r: u32, ) -> Weight; fn seal_deposit_event_per_topic_and_kb(t: u32, n: u32, ) -> Weight; fn seal_debug_message(r: u32, ) -> Weight; + fn seal_debug_message_per_kb(i: u32, ) -> Weight; fn seal_set_storage(r: u32, ) -> Weight; fn seal_set_storage_per_new_kb(n: u32, ) -> Weight; fn seal_set_storage_per_old_kb(n: u32, ) -> Weight; @@ -176,8 +178,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `0` - // Minimum execution time: 2_305 nanoseconds. - Weight::from_ref_time(2_560_000) + // Minimum execution time: 2_564 nanoseconds. + Weight::from_ref_time(2_722_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Skipped Metadata (r:0 w:0) @@ -187,10 +190,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `481 + k * (69 ±0)` // Estimated: `0` - // Minimum execution time: 9_311 nanoseconds. - Weight::from_ref_time(5_419_288) - // Standard Error: 562 - .saturating_add(Weight::from_ref_time(911_962).saturating_mul(k.into())) + // Minimum execution time: 10_292 nanoseconds. + Weight::from_ref_time(7_474_496) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 901 + .saturating_add(Weight::from_ref_time(956_864).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -202,10 +206,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `281 + q * (33 ±0)` // Estimated: `0` - // Minimum execution time: 2_288 nanoseconds. - Weight::from_ref_time(9_442_437) - // Standard Error: 2_720 - .saturating_add(Weight::from_ref_time(1_076_950).saturating_mul(q.into())) + // Minimum execution time: 2_620 nanoseconds. + Weight::from_ref_time(10_288_873) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_073 + .saturating_add(Weight::from_ref_time(1_148_167).saturating_mul(q.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -218,10 +223,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `270 + c * (1 ±0)` // Estimated: `0` - // Minimum execution time: 27_539 nanoseconds. - Weight::from_ref_time(23_554_889) - // Standard Error: 56 - .saturating_add(Weight::from_ref_time(46_766).saturating_mul(c.into())) + // Minimum execution time: 28_004 nanoseconds. + Weight::from_ref_time(26_706_943) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 67 + .saturating_add(Weight::from_ref_time(51_603).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -240,10 +246,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `771` // Estimated: `0` - // Minimum execution time: 297_710 nanoseconds. - Weight::from_ref_time(307_327_529) - // Standard Error: 18 - .saturating_add(Weight::from_ref_time(29_849).saturating_mul(c.into())) + // Minimum execution time: 295_799 nanoseconds. + Weight::from_ref_time(308_660_753) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 20 + .saturating_add(Weight::from_ref_time(32_458).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -270,14 +277,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `257` // Estimated: `0` - // Minimum execution time: 3_586_223 nanoseconds. - Weight::from_ref_time(561_614_281) - // Standard Error: 274 - .saturating_add(Weight::from_ref_time(87_557).saturating_mul(c.into())) + // Minimum execution time: 3_754_887 nanoseconds. + Weight::from_ref_time(657_695_827) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 283 + .saturating_add(Weight::from_ref_time(94_808).saturating_mul(c.into())) // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_307).saturating_mul(i.into())) + .saturating_add(Weight::from_ref_time(1_357).saturating_mul(i.into())) // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_721).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(1_756).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -301,12 +309,13 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `533` // Estimated: `0` - // Minimum execution time: 1_885_437 nanoseconds. - Weight::from_ref_time(199_943_867) + // Minimum execution time: 1_961_131 nanoseconds. + Weight::from_ref_time(208_539_564) + .saturating_add(Weight::from_proof_size(0)) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_611).saturating_mul(i.into())) + .saturating_add(Weight::from_ref_time(1_688).saturating_mul(i.into())) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_737).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(1_802).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -324,8 +333,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `823` // Estimated: `0` - // Minimum execution time: 150_604 nanoseconds. - Weight::from_ref_time(151_777_000) + // Minimum execution time: 148_138 nanoseconds. + Weight::from_ref_time(148_862_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -342,10 +352,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `109` // Estimated: `0` - // Minimum execution time: 295_505 nanoseconds. - Weight::from_ref_time(305_609_098) - // Standard Error: 58 - .saturating_add(Weight::from_ref_time(88_676).saturating_mul(c.into())) + // Minimum execution time: 293_444 nanoseconds. + Weight::from_ref_time(293_242_988) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 156 + .saturating_add(Weight::from_ref_time(97_476).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -361,8 +372,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `287` // Estimated: `0` - // Minimum execution time: 25_949 nanoseconds. - Weight::from_ref_time(26_316_000) + // Minimum execution time: 26_802 nanoseconds. + Weight::from_ref_time(27_121_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -376,8 +388,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `634` // Estimated: `0` - // Minimum execution time: 29_005 nanoseconds. - Weight::from_ref_time(29_370_000) + // Minimum execution time: 31_079 nanoseconds. + Weight::from_ref_time(31_541_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -396,10 +409,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `845 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 281_880 nanoseconds. - Weight::from_ref_time(289_637_700) - // Standard Error: 22_662 - .saturating_add(Weight::from_ref_time(16_866_274).saturating_mul(r.into())) + // Minimum execution time: 284_877 nanoseconds. + Weight::from_ref_time(290_043_606) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 22_094 + .saturating_add(Weight::from_ref_time(18_094_219).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -418,10 +432,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `882 + r * (19218 ±0)` // Estimated: `0` - // Minimum execution time: 285_590 nanoseconds. - Weight::from_ref_time(231_277_523) - // Standard Error: 425_084 - .saturating_add(Weight::from_ref_time(192_985_377).saturating_mul(r.into())) + // Minimum execution time: 283_956 nanoseconds. + Weight::from_ref_time(129_690_397) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 531_270 + .saturating_add(Weight::from_ref_time(264_082_418).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -441,10 +456,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `889 + r * (19539 ±0)` // Estimated: `0` - // Minimum execution time: 282_966 nanoseconds. - Weight::from_ref_time(236_127_328) - // Standard Error: 405_193 - .saturating_add(Weight::from_ref_time(235_541_377).saturating_mul(r.into())) + // Minimum execution time: 287_077 nanoseconds. + Weight::from_ref_time(148_155_166) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 466_496 + .saturating_add(Weight::from_ref_time(306_625_930).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -464,10 +480,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `852 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 286_021 nanoseconds. - Weight::from_ref_time(290_200_599) - // Standard Error: 19_224 - .saturating_add(Weight::from_ref_time(20_692_099).saturating_mul(r.into())) + // Minimum execution time: 286_459 nanoseconds. + Weight::from_ref_time(292_826_594) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 27_808 + .saturating_add(Weight::from_ref_time(22_401_931).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -486,10 +503,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `842 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 284_175 nanoseconds. - Weight::from_ref_time(286_665_694) - // Standard Error: 14_104 - .saturating_add(Weight::from_ref_time(11_196_944).saturating_mul(r.into())) + // Minimum execution time: 284_330 nanoseconds. + Weight::from_ref_time(289_069_701) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 13_666 + .saturating_add(Weight::from_ref_time(11_157_859).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -508,10 +526,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `846 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 285_315 nanoseconds. - Weight::from_ref_time(289_734_189) - // Standard Error: 15_980 - .saturating_add(Weight::from_ref_time(16_940_657).saturating_mul(r.into())) + // Minimum execution time: 284_506 nanoseconds. + Weight::from_ref_time(290_155_141) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 22_944 + .saturating_add(Weight::from_ref_time(17_992_627).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -530,10 +549,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `847 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 285_708 nanoseconds. - Weight::from_ref_time(289_872_393) - // Standard Error: 16_551 - .saturating_add(Weight::from_ref_time(16_672_944).saturating_mul(r.into())) + // Minimum execution time: 284_177 nanoseconds. + Weight::from_ref_time(289_314_787) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 24_552 + .saturating_add(Weight::from_ref_time(17_754_919).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -552,10 +572,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1017 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 285_698 nanoseconds. - Weight::from_ref_time(295_636_093) - // Standard Error: 97_582 - .saturating_add(Weight::from_ref_time(92_891_252).saturating_mul(r.into())) + // Minimum execution time: 284_096 nanoseconds. + Weight::from_ref_time(293_655_130) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 56_379 + .saturating_add(Weight::from_ref_time(95_688_575).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -574,10 +595,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `856 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 282_057 nanoseconds. - Weight::from_ref_time(289_304_621) - // Standard Error: 17_818 - .saturating_add(Weight::from_ref_time(16_725_632).saturating_mul(r.into())) + // Minimum execution time: 285_967 nanoseconds. + Weight::from_ref_time(288_043_137) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 83_838 + .saturating_add(Weight::from_ref_time(18_256_709).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -596,10 +618,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `854 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 282_478 nanoseconds. - Weight::from_ref_time(289_682_366) - // Standard Error: 20_379 - .saturating_add(Weight::from_ref_time(16_517_079).saturating_mul(r.into())) + // Minimum execution time: 284_060 nanoseconds. + Weight::from_ref_time(290_577_678) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 26_131 + .saturating_add(Weight::from_ref_time(17_560_562).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -618,10 +641,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `851 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 283_826 nanoseconds. - Weight::from_ref_time(289_935_300) - // Standard Error: 15_180 - .saturating_add(Weight::from_ref_time(16_268_515).saturating_mul(r.into())) + // Minimum execution time: 286_068 nanoseconds. + Weight::from_ref_time(290_026_137) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 34_787 + .saturating_add(Weight::from_ref_time(17_597_404).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -640,10 +664,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `842 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 285_455 nanoseconds. - Weight::from_ref_time(289_682_526) - // Standard Error: 18_667 - .saturating_add(Weight::from_ref_time(16_502_025).saturating_mul(r.into())) + // Minimum execution time: 285_082 nanoseconds. + Weight::from_ref_time(290_487_103) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 22_743 + .saturating_add(Weight::from_ref_time(17_506_771).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -664,10 +689,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `919 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 286_106 nanoseconds. - Weight::from_ref_time(294_493_680) - // Standard Error: 76_469 - .saturating_add(Weight::from_ref_time(87_055_837).saturating_mul(r.into())) + // Minimum execution time: 285_309 nanoseconds. + Weight::from_ref_time(296_735_365) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 49_300 + .saturating_add(Weight::from_ref_time(87_678_979).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -686,10 +712,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `809 + r * (320 ±0)` // Estimated: `0` - // Minimum execution time: 137_877 nanoseconds. - Weight::from_ref_time(141_863_027) - // Standard Error: 10_200 - .saturating_add(Weight::from_ref_time(7_925_232).saturating_mul(r.into())) + // Minimum execution time: 136_110 nanoseconds. + Weight::from_ref_time(139_800_659) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 9_674 + .saturating_add(Weight::from_ref_time(8_302_834).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -708,10 +735,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `844 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 282_034 nanoseconds. - Weight::from_ref_time(289_388_799) - // Standard Error: 21_999 - .saturating_add(Weight::from_ref_time(15_039_420).saturating_mul(r.into())) + // Minimum execution time: 285_238 nanoseconds. + Weight::from_ref_time(289_723_839) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 19_531 + .saturating_add(Weight::from_ref_time(15_590_085).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -730,10 +758,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1324` // Estimated: `0` - // Minimum execution time: 303_229 nanoseconds. - Weight::from_ref_time(321_863_704) - // Standard Error: 2_754 - .saturating_add(Weight::from_ref_time(9_545_103).saturating_mul(n.into())) + // Minimum execution time: 303_189 nanoseconds. + Weight::from_ref_time(323_374_503) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_060 + .saturating_add(Weight::from_ref_time(9_799_357).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -752,10 +781,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `832 + r * (45 ±0)` // Estimated: `0` - // Minimum execution time: 278_824 nanoseconds. - Weight::from_ref_time(285_019_861) - // Standard Error: 101_646 - .saturating_add(Weight::from_ref_time(1_757_938).saturating_mul(r.into())) + // Minimum execution time: 280_736 nanoseconds. + Weight::from_ref_time(285_027_920) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 222_526 + .saturating_add(Weight::from_ref_time(1_814_579).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -774,10 +804,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `842` // Estimated: `0` - // Minimum execution time: 286_316 nanoseconds. - Weight::from_ref_time(287_206_936) - // Standard Error: 589 - .saturating_add(Weight::from_ref_time(186_684).saturating_mul(n.into())) + // Minimum execution time: 285_559 nanoseconds. + Weight::from_ref_time(290_522_234) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_578 + .saturating_add(Weight::from_ref_time(195_134).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -800,10 +831,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `874 + r * (280 ±0)` // Estimated: `0` - // Minimum execution time: 282_428 nanoseconds. - Weight::from_ref_time(287_101_148) - // Standard Error: 145_605 - .saturating_add(Weight::from_ref_time(58_079_551).saturating_mul(r.into())) + // Minimum execution time: 282_070 nanoseconds. + Weight::from_ref_time(286_466_489) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 238_285 + .saturating_add(Weight::from_ref_time(58_542_610).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -826,10 +858,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `889 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 281_516 nanoseconds. - Weight::from_ref_time(292_759_183) - // Standard Error: 152_698 - .saturating_add(Weight::from_ref_time(112_729_555).saturating_mul(r.into())) + // Minimum execution time: 284_147 nanoseconds. + Weight::from_ref_time(295_373_881) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 64_682 + .saturating_add(Weight::from_ref_time(114_198_680).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -848,10 +881,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `842 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 280_100 nanoseconds. - Weight::from_ref_time(299_862_082) - // Standard Error: 95_658 - .saturating_add(Weight::from_ref_time(234_211_246).saturating_mul(r.into())) + // Minimum execution time: 282_681 nanoseconds. + Weight::from_ref_time(290_974_649) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 77_850 + .saturating_add(Weight::from_ref_time(233_273_622).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -871,12 +905,13 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1778 + t * (2608 ±0) + n * (8 ±0)` // Estimated: `0` - // Minimum execution time: 1_197_721 nanoseconds. - Weight::from_ref_time(508_692_255) - // Standard Error: 538_596 - .saturating_add(Weight::from_ref_time(174_792_656).saturating_mul(t.into())) - // Standard Error: 147_924 - .saturating_add(Weight::from_ref_time(67_443_118).saturating_mul(n.into())) + // Minimum execution time: 1_226_868 nanoseconds. + Weight::from_ref_time(517_031_747) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 342_786 + .saturating_add(Weight::from_ref_time(183_829_556).saturating_mul(t.into())) + // Standard Error: 94_145 + .saturating_add(Weight::from_ref_time(70_675_099).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -895,12 +930,36 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `841 + r * (800 ±0)` + // Measured: `841 + r * (560 ±0)` // Estimated: `0` - // Minimum execution time: 149_687 nanoseconds. - Weight::from_ref_time(153_589_818) - // Standard Error: 13_361 - .saturating_add(Weight::from_ref_time(13_379_131).saturating_mul(r.into())) + // Minimum execution time: 143_026 nanoseconds. + Weight::from_ref_time(147_158_038) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 16_662 + .saturating_add(Weight::from_ref_time(14_990_989).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: MaxEncodedLen) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// The range of component `i` is `[0, 1024]`. + fn seal_debug_message_per_kb(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `125792` + // Estimated: `265059` + // Minimum execution time: 412_112 nanoseconds. + Weight::from_ref_time(415_624_011) + .saturating_add(Weight::from_proof_size(265059)) + // Standard Error: 1_190 + .saturating_add(Weight::from_ref_time(797_964).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -911,10 +970,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `883 + r * (23417 ±0)` // Estimated: `0` - // Minimum execution time: 281_920 nanoseconds. - Weight::from_ref_time(242_057_723) - // Standard Error: 464_911 - .saturating_add(Weight::from_ref_time(404_673_309).saturating_mul(r.into())) + // Minimum execution time: 286_118 nanoseconds. + Weight::from_ref_time(195_812_951) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 858_501 + .saturating_add(Weight::from_ref_time(485_357_331).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -927,10 +987,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `12583 + n * (11969 ±0)` // Estimated: `0` - // Minimum execution time: 423_923 nanoseconds. - Weight::from_ref_time(573_806_626) - // Standard Error: 1_371_107 - .saturating_add(Weight::from_ref_time(85_963_445).saturating_mul(n.into())) + // Minimum execution time: 433_181 nanoseconds. + Weight::from_ref_time(618_575_096) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_696_126 + .saturating_add(Weight::from_ref_time(96_213_633).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(52_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(50_u64)) @@ -943,10 +1004,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `15138 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 424_048 nanoseconds. - Weight::from_ref_time(542_298_050) - // Standard Error: 1_092_010 - .saturating_add(Weight::from_ref_time(60_111_206).saturating_mul(n.into())) + // Minimum execution time: 433_354 nanoseconds. + Weight::from_ref_time(597_131_349) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_509_003 + .saturating_add(Weight::from_ref_time(64_872_907).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(49_u64)) @@ -959,10 +1021,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `876 + r * (23098 ±0)` // Estimated: `0` - // Minimum execution time: 285_714 nanoseconds. - Weight::from_ref_time(245_068_941) - // Standard Error: 417_796 - .saturating_add(Weight::from_ref_time(394_288_572).saturating_mul(r.into())) + // Minimum execution time: 286_788 nanoseconds. + Weight::from_ref_time(207_787_332) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 778_284 + .saturating_add(Weight::from_ref_time(474_879_317).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -975,10 +1038,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `14863 + n * (175768 ±0)` // Estimated: `0` - // Minimum execution time: 385_278 nanoseconds. - Weight::from_ref_time(522_656_525) - // Standard Error: 1_259_587 - .saturating_add(Weight::from_ref_time(62_799_142).saturating_mul(n.into())) + // Minimum execution time: 397_414 nanoseconds. + Weight::from_ref_time(573_575_029) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_630_691 + .saturating_add(Weight::from_ref_time(67_888_226).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(48_u64)) @@ -991,10 +1055,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `878 + r * (23740 ±0)` // Estimated: `0` - // Minimum execution time: 282_513 nanoseconds. - Weight::from_ref_time(256_242_753) - // Standard Error: 362_571 - .saturating_add(Weight::from_ref_time(317_951_687).saturating_mul(r.into())) + // Minimum execution time: 286_098 nanoseconds. + Weight::from_ref_time(223_637_903) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 669_294 + .saturating_add(Weight::from_ref_time(387_577_627).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1006,10 +1071,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `15469 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 370_576 nanoseconds. - Weight::from_ref_time(487_764_999) - // Standard Error: 1_073_165 - .saturating_add(Weight::from_ref_time(147_588_190).saturating_mul(n.into())) + // Minimum execution time: 373_335 nanoseconds. + Weight::from_ref_time(531_442_564) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_474_336 + .saturating_add(Weight::from_ref_time(154_469_598).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1021,10 +1087,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `871 + r * (23100 ±0)` // Estimated: `0` - // Minimum execution time: 285_917 nanoseconds. - Weight::from_ref_time(259_066_807) - // Standard Error: 340_183 - .saturating_add(Weight::from_ref_time(306_291_698).saturating_mul(r.into())) + // Minimum execution time: 284_183 nanoseconds. + Weight::from_ref_time(223_325_689) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 644_587 + .saturating_add(Weight::from_ref_time(373_628_582).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1036,10 +1103,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `14814 + n * (175782 ±0)` // Estimated: `0` - // Minimum execution time: 366_225 nanoseconds. - Weight::from_ref_time(470_470_223) - // Standard Error: 953_976 - .saturating_add(Weight::from_ref_time(57_748_742).saturating_mul(n.into())) + // Minimum execution time: 368_310 nanoseconds. + Weight::from_ref_time(512_814_023) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_337_352 + .saturating_add(Weight::from_ref_time(62_871_539).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1051,10 +1119,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `879 + r * (23740 ±0)` // Estimated: `0` - // Minimum execution time: 286_867 nanoseconds. - Weight::from_ref_time(244_403_664) - // Standard Error: 435_431 - .saturating_add(Weight::from_ref_time(409_282_991).saturating_mul(r.into())) + // Minimum execution time: 287_096 nanoseconds. + Weight::from_ref_time(204_878_281) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 833_763 + .saturating_add(Weight::from_ref_time(483_927_706).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1067,10 +1136,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `15470 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 393_392 nanoseconds. - Weight::from_ref_time(540_938_487) - // Standard Error: 1_361_411 - .saturating_add(Weight::from_ref_time(153_456_560).saturating_mul(n.into())) + // Minimum execution time: 399_318 nanoseconds. + Weight::from_ref_time(586_658_466) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_734_497 + .saturating_add(Weight::from_ref_time(161_047_970).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(48_u64)) @@ -1091,10 +1161,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1393 + r * (3602 ±0)` // Estimated: `0` - // Minimum execution time: 286_766 nanoseconds. - Weight::from_ref_time(221_458_774) - // Standard Error: 714_182 - .saturating_add(Weight::from_ref_time(1_402_610_222).saturating_mul(r.into())) + // Minimum execution time: 285_460 nanoseconds. + Weight::from_ref_time(227_848_079) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 717_899 + .saturating_add(Weight::from_ref_time(1_434_112_130).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1115,10 +1186,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1551 + r * (20511 ±0)` // Estimated: `0` - // Minimum execution time: 287_158 nanoseconds. - Weight::from_ref_time(288_377_000) - // Standard Error: 6_108_706 - .saturating_add(Weight::from_ref_time(21_691_098_517).saturating_mul(r.into())) + // Minimum execution time: 286_947 nanoseconds. + Weight::from_ref_time(288_518_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 8_492_544 + .saturating_add(Weight::from_ref_time(21_606_377_662).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((160_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1139,10 +1211,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (71670 ±0)` // Estimated: `0` - // Minimum execution time: 287_380 nanoseconds. - Weight::from_ref_time(288_241_000) - // Standard Error: 7_007_658 - .saturating_add(Weight::from_ref_time(21_428_850_764).saturating_mul(r.into())) + // Minimum execution time: 285_196 nanoseconds. + Weight::from_ref_time(287_958_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 10_345_109 + .saturating_add(Weight::from_ref_time(21_395_365_662).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((150_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1164,12 +1237,13 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `21611 + t * (15369 ±0)` // Estimated: `0` - // Minimum execution time: 10_644_986 nanoseconds. - Weight::from_ref_time(9_596_635_640) - // Standard Error: 6_393_384 - .saturating_add(Weight::from_ref_time(1_304_764_528).saturating_mul(t.into())) - // Standard Error: 9_586 - .saturating_add(Weight::from_ref_time(9_663_819).saturating_mul(c.into())) + // Minimum execution time: 10_540_614 nanoseconds. + Weight::from_ref_time(9_281_766_912) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 5_409_378 + .saturating_add(Weight::from_ref_time(1_449_975_070).saturating_mul(t.into())) + // Standard Error: 8_111 + .saturating_add(Weight::from_ref_time(10_275_108).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(167_u64)) .saturating_add(T::DbWeight::get().reads((81_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(163_u64)) @@ -1194,10 +1268,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1613 + r * (25576 ±0)` // Estimated: `0` - // Minimum execution time: 284_948 nanoseconds. - Weight::from_ref_time(289_276_000) - // Standard Error: 18_674_951 - .saturating_add(Weight::from_ref_time(27_090_355_673).saturating_mul(r.into())) + // Minimum execution time: 285_643 nanoseconds. + Weight::from_ref_time(287_472_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 25_921_947 + .saturating_add(Weight::from_ref_time(27_745_815_511).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((400_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(5_u64)) @@ -1224,14 +1299,13 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `5666 + t * (17 ±0)` // Estimated: `0` - // Minimum execution time: 127_857_642 nanoseconds. - Weight::from_ref_time(11_399_054_049) - // Standard Error: 95_033_651 - .saturating_add(Weight::from_ref_time(434_246_236).saturating_mul(t.into())) - // Standard Error: 154_973 - .saturating_add(Weight::from_ref_time(121_130_672).saturating_mul(i.into())) - // Standard Error: 154_973 - .saturating_add(Weight::from_ref_time(121_554_853).saturating_mul(s.into())) + // Minimum execution time: 129_710_453 nanoseconds. + Weight::from_ref_time(14_347_603_160) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 194_692 + .saturating_add(Weight::from_ref_time(128_837_066).saturating_mul(i.into())) + // Standard Error: 194_692 + .saturating_add(Weight::from_ref_time(127_568_555).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(249_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(247_u64)) @@ -1252,10 +1326,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `839 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 280_949 nanoseconds. - Weight::from_ref_time(286_538_475) - // Standard Error: 124_866 - .saturating_add(Weight::from_ref_time(42_531_824).saturating_mul(r.into())) + // Minimum execution time: 282_059 nanoseconds. + Weight::from_ref_time(287_215_177) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 273_484 + .saturating_add(Weight::from_ref_time(44_941_522).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1274,10 +1349,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1641` // Estimated: `0` - // Minimum execution time: 328_414 nanoseconds. - Weight::from_ref_time(329_293_000) - // Standard Error: 50_816 - .saturating_add(Weight::from_ref_time(318_312_506).saturating_mul(n.into())) + // Minimum execution time: 330_822 nanoseconds. + Weight::from_ref_time(333_012_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 53_200 + .saturating_add(Weight::from_ref_time(327_144_474).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1296,10 +1372,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `841 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 282_208 nanoseconds. - Weight::from_ref_time(286_848_187) - // Standard Error: 106_214 - .saturating_add(Weight::from_ref_time(56_342_512).saturating_mul(r.into())) + // Minimum execution time: 282_859 nanoseconds. + Weight::from_ref_time(286_293_402) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 187_930 + .saturating_add(Weight::from_ref_time(57_415_297).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1318,10 +1395,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1643` // Estimated: `0` - // Minimum execution time: 342_478 nanoseconds. - Weight::from_ref_time(342_947_000) - // Standard Error: 60_809 - .saturating_add(Weight::from_ref_time(255_492_149).saturating_mul(n.into())) + // Minimum execution time: 342_221 nanoseconds. + Weight::from_ref_time(343_250_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 67_989 + .saturating_add(Weight::from_ref_time(261_498_077).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1340,10 +1418,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `841 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 279_059 nanoseconds. - Weight::from_ref_time(285_413_659) - // Standard Error: 123_081 - .saturating_add(Weight::from_ref_time(33_154_840).saturating_mul(r.into())) + // Minimum execution time: 282_158 nanoseconds. + Weight::from_ref_time(285_783_279) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 200_413 + .saturating_add(Weight::from_ref_time(35_099_520).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1362,10 +1441,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1643` // Estimated: `0` - // Minimum execution time: 317_518 nanoseconds. - Weight::from_ref_time(318_178_000) - // Standard Error: 60_074 - .saturating_add(Weight::from_ref_time(99_403_819).saturating_mul(n.into())) + // Minimum execution time: 317_376 nanoseconds. + Weight::from_ref_time(319_441_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 61_325 + .saturating_add(Weight::from_ref_time(101_080_739).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1384,10 +1464,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `841 + r * (679 ±0)` // Estimated: `0` - // Minimum execution time: 280_145 nanoseconds. - Weight::from_ref_time(285_483_032) - // Standard Error: 106_113 - .saturating_add(Weight::from_ref_time(33_475_067).saturating_mul(r.into())) + // Minimum execution time: 280_403 nanoseconds. + Weight::from_ref_time(282_592_267) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 237_832 + .saturating_add(Weight::from_ref_time(37_056_632).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1406,10 +1487,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1643` // Estimated: `0` - // Minimum execution time: 318_141 nanoseconds. - Weight::from_ref_time(318_699_000) - // Standard Error: 55_136 - .saturating_add(Weight::from_ref_time(99_275_434).saturating_mul(n.into())) + // Minimum execution time: 315_482 nanoseconds. + Weight::from_ref_time(316_160_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 40_926 + .saturating_add(Weight::from_ref_time(100_317_235).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1428,10 +1510,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `885 + r * (6083 ±0)` // Estimated: `0` - // Minimum execution time: 282_474 nanoseconds. - Weight::from_ref_time(288_078_802) - // Standard Error: 302_968 - .saturating_add(Weight::from_ref_time(2_944_967_597).saturating_mul(r.into())) + // Minimum execution time: 276_155 nanoseconds. + Weight::from_ref_time(278_531_728) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 510_501 + .saturating_add(Weight::from_ref_time(3_056_236_671).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1450,10 +1533,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `854 + r * (3362 ±0)` // Estimated: `0` - // Minimum execution time: 281_514 nanoseconds. - Weight::from_ref_time(287_458_651) - // Standard Error: 146_715 - .saturating_add(Weight::from_ref_time(731_367_948).saturating_mul(r.into())) + // Minimum execution time: 276_204 nanoseconds. + Weight::from_ref_time(278_114_283) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 217_508 + .saturating_add(Weight::from_ref_time(737_577_816).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1474,10 +1558,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (79300 ±0)` // Estimated: `0` - // Minimum execution time: 282_591 nanoseconds. - Weight::from_ref_time(286_842_000) - // Standard Error: 2_645_254 - .saturating_add(Weight::from_ref_time(1_394_535_676).saturating_mul(r.into())) + // Minimum execution time: 276_330 nanoseconds. + Weight::from_ref_time(277_573_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_652_635 + .saturating_add(Weight::from_ref_time(1_547_361_882).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((225_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1498,10 +1583,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `837 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 286_631 nanoseconds. - Weight::from_ref_time(288_787_650) - // Standard Error: 29_802 - .saturating_add(Weight::from_ref_time(11_115_811).saturating_mul(r.into())) + // Minimum execution time: 276_228 nanoseconds. + Weight::from_ref_time(281_135_551) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 18_737 + .saturating_add(Weight::from_ref_time(10_998_953).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1520,10 +1606,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2056 + r * (3153 ±0)` // Estimated: `0` - // Minimum execution time: 287_775 nanoseconds. - Weight::from_ref_time(319_806_123) - // Standard Error: 111_808 - .saturating_add(Weight::from_ref_time(17_641_181).saturating_mul(r.into())) + // Minimum execution time: 278_157 nanoseconds. + Weight::from_ref_time(300_739_078) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 72_695 + .saturating_add(Weight::from_ref_time(18_499_645).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1544,10 +1631,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `840 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 285_077 nanoseconds. - Weight::from_ref_time(289_980_475) - // Standard Error: 14_535 - .saturating_add(Weight::from_ref_time(9_295_346).saturating_mul(r.into())) + // Minimum execution time: 275_532 nanoseconds. + Weight::from_ref_time(281_299_677) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 21_719 + .saturating_add(Weight::from_ref_time(9_513_444).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -1556,520 +1644,572 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 777 nanoseconds. - Weight::from_ref_time(1_014_498) - // Standard Error: 154 - .saturating_add(Weight::from_ref_time(405_551).saturating_mul(r.into())) + // Minimum execution time: 856 nanoseconds. + Weight::from_ref_time(1_054_710) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 273 + .saturating_add(Weight::from_ref_time(411_548).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 862 nanoseconds. - Weight::from_ref_time(1_345_826) - // Standard Error: 457 - .saturating_add(Weight::from_ref_time(1_033_909).saturating_mul(r.into())) + // Minimum execution time: 980 nanoseconds. + Weight::from_ref_time(1_463_182) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 415 + .saturating_add(Weight::from_ref_time(1_063_436).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 892 nanoseconds. - Weight::from_ref_time(1_233_601) - // Standard Error: 341 - .saturating_add(Weight::from_ref_time(885_275).saturating_mul(r.into())) + // Minimum execution time: 991 nanoseconds. + Weight::from_ref_time(1_521_750) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 8_499 + .saturating_add(Weight::from_ref_time(997_972).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 771 nanoseconds. - Weight::from_ref_time(1_099_906) - // Standard Error: 261 - .saturating_add(Weight::from_ref_time(1_092_031).saturating_mul(r.into())) + // Minimum execution time: 833 nanoseconds. + Weight::from_ref_time(1_152_048) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 392 + .saturating_add(Weight::from_ref_time(1_147_506).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 785 nanoseconds. - Weight::from_ref_time(929_328) - // Standard Error: 333 - .saturating_add(Weight::from_ref_time(1_374_749).saturating_mul(r.into())) + // Minimum execution time: 866 nanoseconds. + Weight::from_ref_time(1_154_637) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 5_131 + .saturating_add(Weight::from_ref_time(1_320_580).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 772 nanoseconds. - Weight::from_ref_time(979_702) - // Standard Error: 351 - .saturating_add(Weight::from_ref_time(621_385).saturating_mul(r.into())) + // Minimum execution time: 849 nanoseconds. + Weight::from_ref_time(1_073_940) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 639 + .saturating_add(Weight::from_ref_time(642_885).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766 nanoseconds. - Weight::from_ref_time(1_303_783) - // Standard Error: 1_556 - .saturating_add(Weight::from_ref_time(841_842).saturating_mul(r.into())) + // Minimum execution time: 855 nanoseconds. + Weight::from_ref_time(728_631) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_730 + .saturating_add(Weight::from_ref_time(979_839).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 792 nanoseconds. - Weight::from_ref_time(1_093_901) - // Standard Error: 1_383 - .saturating_add(Weight::from_ref_time(1_145_435).saturating_mul(r.into())) + // Minimum execution time: 852 nanoseconds. + Weight::from_ref_time(658_935) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_373 + .saturating_add(Weight::from_ref_time(1_172_585).saturating_mul(r.into())) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_526 nanoseconds. - Weight::from_ref_time(2_872_561) - // Standard Error: 60 - .saturating_add(Weight::from_ref_time(4_365).saturating_mul(e.into())) + // Minimum execution time: 2_577 nanoseconds. + Weight::from_ref_time(2_872_555) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 70 + .saturating_add(Weight::from_ref_time(4_237).saturating_mul(e.into())) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 834 nanoseconds. - Weight::from_ref_time(1_431_876) - // Standard Error: 1_448 - .saturating_add(Weight::from_ref_time(2_268_715).saturating_mul(r.into())) + // Minimum execution time: 833 nanoseconds. + Weight::from_ref_time(874_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 30_863 + .saturating_add(Weight::from_ref_time(2_591_963).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 920 nanoseconds. - Weight::from_ref_time(2_167_004) - // Standard Error: 2_060 - .saturating_add(Weight::from_ref_time(2_921_443).saturating_mul(r.into())) + // Minimum execution time: 992 nanoseconds. + Weight::from_ref_time(2_772_709) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_822 + .saturating_add(Weight::from_ref_time(3_070_825).saturating_mul(r.into())) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_624 nanoseconds. - Weight::from_ref_time(5_534_325) - // Standard Error: 326 - .saturating_add(Weight::from_ref_time(184_307).saturating_mul(p.into())) + // Minimum execution time: 4_766 nanoseconds. + Weight::from_ref_time(5_559_951) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 315 + .saturating_add(Weight::from_ref_time(227_249).saturating_mul(p.into())) } /// The range of component `l` is `[0, 1024]`. fn instr_call_per_local(l: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_062 nanoseconds. - Weight::from_ref_time(4_432_879) - // Standard Error: 64 - .saturating_add(Weight::from_ref_time(46_196).saturating_mul(l.into())) + // Minimum execution time: 3_215 nanoseconds. + Weight::from_ref_time(4_697_732) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 99 + .saturating_add(Weight::from_ref_time(46_431).saturating_mul(l.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_036 nanoseconds. - Weight::from_ref_time(2_318_877) - // Standard Error: 172 - .saturating_add(Weight::from_ref_time(500_498).saturating_mul(r.into())) + // Minimum execution time: 2_193 nanoseconds. + Weight::from_ref_time(2_472_277) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 374 + .saturating_add(Weight::from_ref_time(459_651).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_027 nanoseconds. - Weight::from_ref_time(2_355_900) - // Standard Error: 220 - .saturating_add(Weight::from_ref_time(461_393).saturating_mul(r.into())) + // Minimum execution time: 2_112 nanoseconds. + Weight::from_ref_time(2_388_132) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 380 + .saturating_add(Weight::from_ref_time(485_216).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_038 nanoseconds. - Weight::from_ref_time(2_350_330) - // Standard Error: 224 - .saturating_add(Weight::from_ref_time(586_808).saturating_mul(r.into())) + // Minimum execution time: 2_219 nanoseconds. + Weight::from_ref_time(2_419_568) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 402 + .saturating_add(Weight::from_ref_time(658_484).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 897 nanoseconds. - Weight::from_ref_time(1_267_115) - // Standard Error: 189 - .saturating_add(Weight::from_ref_time(884_926).saturating_mul(r.into())) + // Minimum execution time: 959 nanoseconds. + Weight::from_ref_time(1_321_004) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 480 + .saturating_add(Weight::from_ref_time(898_447).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 892 nanoseconds. - Weight::from_ref_time(1_202_122) - // Standard Error: 286 - .saturating_add(Weight::from_ref_time(885_157).saturating_mul(r.into())) + // Minimum execution time: 934 nanoseconds. + Weight::from_ref_time(1_264_350) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_031 + .saturating_add(Weight::from_ref_time(922_243).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 852 nanoseconds. - Weight::from_ref_time(1_132_479) - // Standard Error: 224 - .saturating_add(Weight::from_ref_time(719_603).saturating_mul(r.into())) + // Minimum execution time: 941 nanoseconds. + Weight::from_ref_time(1_229_407) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 507 + .saturating_add(Weight::from_ref_time(824_206).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 786 nanoseconds. - Weight::from_ref_time(874_044) - // Standard Error: 91_309 - .saturating_add(Weight::from_ref_time(181_849_955).saturating_mul(r.into())) + // Minimum execution time: 870 nanoseconds. + Weight::from_ref_time(946_681) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 7_248 + .saturating_add(Weight::from_ref_time(179_759_218).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 763 nanoseconds. - Weight::from_ref_time(1_055_236) - // Standard Error: 207 - .saturating_add(Weight::from_ref_time(554_985).saturating_mul(r.into())) + // Minimum execution time: 843 nanoseconds. + Weight::from_ref_time(1_105_279) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 251 + .saturating_add(Weight::from_ref_time(633_218).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 756 nanoseconds. - Weight::from_ref_time(1_053_050) - // Standard Error: 165 - .saturating_add(Weight::from_ref_time(555_401).saturating_mul(r.into())) + // Minimum execution time: 843 nanoseconds. + Weight::from_ref_time(1_119_719) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 248 + .saturating_add(Weight::from_ref_time(633_064).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 791 nanoseconds. - Weight::from_ref_time(1_080_240) - // Standard Error: 164 - .saturating_add(Weight::from_ref_time(554_698).saturating_mul(r.into())) + // Minimum execution time: 865 nanoseconds. + Weight::from_ref_time(1_394_651) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 9_898 + .saturating_add(Weight::from_ref_time(630_054).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766 nanoseconds. - Weight::from_ref_time(1_074_739) - // Standard Error: 178 - .saturating_add(Weight::from_ref_time(565_891).saturating_mul(r.into())) + // Minimum execution time: 831 nanoseconds. + Weight::from_ref_time(1_095_288) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 271 + .saturating_add(Weight::from_ref_time(650_578).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 781 nanoseconds. - Weight::from_ref_time(1_077_122) - // Standard Error: 177 - .saturating_add(Weight::from_ref_time(548_846).saturating_mul(r.into())) + // Minimum execution time: 835 nanoseconds. + Weight::from_ref_time(1_128_234) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 239 + .saturating_add(Weight::from_ref_time(615_970).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 793 nanoseconds. - Weight::from_ref_time(1_086_278) - // Standard Error: 163 - .saturating_add(Weight::from_ref_time(548_765).saturating_mul(r.into())) + // Minimum execution time: 839 nanoseconds. + Weight::from_ref_time(1_111_296) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 303 + .saturating_add(Weight::from_ref_time(616_831).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 769 nanoseconds. - Weight::from_ref_time(1_096_044) - // Standard Error: 134 - .saturating_add(Weight::from_ref_time(547_353).saturating_mul(r.into())) + // Minimum execution time: 839 nanoseconds. + Weight::from_ref_time(1_082_700) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 236 + .saturating_add(Weight::from_ref_time(617_371).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766 nanoseconds. - Weight::from_ref_time(1_072_610) - // Standard Error: 161 - .saturating_add(Weight::from_ref_time(774_895).saturating_mul(r.into())) + // Minimum execution time: 837 nanoseconds. + Weight::from_ref_time(1_249_666) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 836 + .saturating_add(Weight::from_ref_time(904_457).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 751 nanoseconds. - Weight::from_ref_time(1_038_676) - // Standard Error: 158 - .saturating_add(Weight::from_ref_time(775_194).saturating_mul(r.into())) + // Minimum execution time: 818 nanoseconds. + Weight::from_ref_time(1_624_057) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 5_906 + .saturating_add(Weight::from_ref_time(893_488).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 798 nanoseconds. - Weight::from_ref_time(1_089_712) - // Standard Error: 144 - .saturating_add(Weight::from_ref_time(774_377).saturating_mul(r.into())) + // Minimum execution time: 836 nanoseconds. + Weight::from_ref_time(1_973_044) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 7_556 + .saturating_add(Weight::from_ref_time(885_369).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 758 nanoseconds. - Weight::from_ref_time(1_078_460) - // Standard Error: 180 - .saturating_add(Weight::from_ref_time(779_861).saturating_mul(r.into())) + // Minimum execution time: 846 nanoseconds. + Weight::from_ref_time(1_088_223) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 531 + .saturating_add(Weight::from_ref_time(909_313).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 758 nanoseconds. - Weight::from_ref_time(1_089_007) - // Standard Error: 164 - .saturating_add(Weight::from_ref_time(779_372).saturating_mul(r.into())) + // Minimum execution time: 842 nanoseconds. + Weight::from_ref_time(1_435_966) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_824 + .saturating_add(Weight::from_ref_time(898_198).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 772 nanoseconds. - Weight::from_ref_time(1_077_512) - // Standard Error: 165 - .saturating_add(Weight::from_ref_time(779_513).saturating_mul(r.into())) + // Minimum execution time: 846 nanoseconds. + Weight::from_ref_time(1_154_015) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 319 + .saturating_add(Weight::from_ref_time(918_083).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 760 nanoseconds. - Weight::from_ref_time(1_078_546) - // Standard Error: 168 - .saturating_add(Weight::from_ref_time(779_138).saturating_mul(r.into())) + // Minimum execution time: 848 nanoseconds. + Weight::from_ref_time(1_155_323) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 307 + .saturating_add(Weight::from_ref_time(906_516).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 757 nanoseconds. - Weight::from_ref_time(1_080_251) - // Standard Error: 168 - .saturating_add(Weight::from_ref_time(779_391).saturating_mul(r.into())) + // Minimum execution time: 877 nanoseconds. + Weight::from_ref_time(1_629_210) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 8_175 + .saturating_add(Weight::from_ref_time(906_657).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 786 nanoseconds. - Weight::from_ref_time(1_072_690) - // Standard Error: 219 - .saturating_add(Weight::from_ref_time(780_381).saturating_mul(r.into())) + // Minimum execution time: 843 nanoseconds. + Weight::from_ref_time(1_126_252) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 251 + .saturating_add(Weight::from_ref_time(907_052).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 771 nanoseconds. - Weight::from_ref_time(1_063_735) - // Standard Error: 162 - .saturating_add(Weight::from_ref_time(779_906).saturating_mul(r.into())) + // Minimum execution time: 852 nanoseconds. + Weight::from_ref_time(1_497_667) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 7_593 + .saturating_add(Weight::from_ref_time(897_474).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 785 nanoseconds. - Weight::from_ref_time(1_059_585) - // Standard Error: 155 - .saturating_add(Weight::from_ref_time(756_828).saturating_mul(r.into())) + // Minimum execution time: 856 nanoseconds. + Weight::from_ref_time(1_350_390) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_625 + .saturating_add(Weight::from_ref_time(889_609).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 800 nanoseconds. - Weight::from_ref_time(1_066_659) - // Standard Error: 154 - .saturating_add(Weight::from_ref_time(754_318).saturating_mul(r.into())) + // Minimum execution time: 841 nanoseconds. + Weight::from_ref_time(2_677_235) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 11_507 + .saturating_add(Weight::from_ref_time(846_704).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 769 nanoseconds. - Weight::from_ref_time(1_078_854) - // Standard Error: 172 - .saturating_add(Weight::from_ref_time(754_183).saturating_mul(r.into())) + // Minimum execution time: 846 nanoseconds. + Weight::from_ref_time(1_148_206) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 393 + .saturating_add(Weight::from_ref_time(884_886).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 770 nanoseconds. - Weight::from_ref_time(1_057_476) - // Standard Error: 191 - .saturating_add(Weight::from_ref_time(1_443_902).saturating_mul(r.into())) + // Minimum execution time: 865 nanoseconds. + Weight::from_ref_time(2_862_483) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 16_413 + .saturating_add(Weight::from_ref_time(1_481_623).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 764 nanoseconds. - Weight::from_ref_time(1_063_821) - // Standard Error: 193 - .saturating_add(Weight::from_ref_time(1_324_496).saturating_mul(r.into())) + // Minimum execution time: 1_443 nanoseconds. + Weight::from_ref_time(1_086_902) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_245 + .saturating_add(Weight::from_ref_time(1_463_145).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 747 nanoseconds. - Weight::from_ref_time(1_093_209) - // Standard Error: 270 - .saturating_add(Weight::from_ref_time(1_447_180).saturating_mul(r.into())) + // Minimum execution time: 878 nanoseconds. + Weight::from_ref_time(1_130_306) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 475 + .saturating_add(Weight::from_ref_time(1_522_011).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 805 nanoseconds. - Weight::from_ref_time(1_033_953) - // Standard Error: 152 - .saturating_add(Weight::from_ref_time(1_336_911).saturating_mul(r.into())) + // Minimum execution time: 827 nanoseconds. + Weight::from_ref_time(1_197_053) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 474 + .saturating_add(Weight::from_ref_time(1_449_062).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766 nanoseconds. - Weight::from_ref_time(1_059_430) - // Standard Error: 160 - .saturating_add(Weight::from_ref_time(757_265).saturating_mul(r.into())) + // Minimum execution time: 847 nanoseconds. + Weight::from_ref_time(1_152_423) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 296 + .saturating_add(Weight::from_ref_time(895_541).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 760 nanoseconds. - Weight::from_ref_time(1_077_376) - // Standard Error: 160 - .saturating_add(Weight::from_ref_time(755_800).saturating_mul(r.into())) + // Minimum execution time: 876 nanoseconds. + Weight::from_ref_time(1_169_485) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 571 + .saturating_add(Weight::from_ref_time(932_659).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 798 nanoseconds. - Weight::from_ref_time(1_070_570) - // Standard Error: 157 - .saturating_add(Weight::from_ref_time(756_839).saturating_mul(r.into())) + // Minimum execution time: 856 nanoseconds. + Weight::from_ref_time(1_155_127) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 256 + .saturating_add(Weight::from_ref_time(895_663).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 761 nanoseconds. - Weight::from_ref_time(1_074_645) - // Standard Error: 169 - .saturating_add(Weight::from_ref_time(771_486).saturating_mul(r.into())) + // Minimum execution time: 871 nanoseconds. + Weight::from_ref_time(1_139_722) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 367 + .saturating_add(Weight::from_ref_time(903_115).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 779 nanoseconds. - Weight::from_ref_time(1_107_671) - // Standard Error: 185 - .saturating_add(Weight::from_ref_time(769_168).saturating_mul(r.into())) + // Minimum execution time: 853 nanoseconds. + Weight::from_ref_time(1_155_542) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 541 + .saturating_add(Weight::from_ref_time(901_635).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 755 nanoseconds. - Weight::from_ref_time(1_075_769) - // Standard Error: 164 - .saturating_add(Weight::from_ref_time(770_334).saturating_mul(r.into())) + // Minimum execution time: 866 nanoseconds. + Weight::from_ref_time(2_260_588) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 12_944 + .saturating_add(Weight::from_ref_time(877_790).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 767 nanoseconds. - Weight::from_ref_time(608_749) - // Standard Error: 2_059 - .saturating_add(Weight::from_ref_time(804_228).saturating_mul(r.into())) + // Minimum execution time: 851 nanoseconds. + Weight::from_ref_time(1_627_816) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 4_004 + .saturating_add(Weight::from_ref_time(887_929).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 779 nanoseconds. - Weight::from_ref_time(1_054_998) - // Standard Error: 191 - .saturating_add(Weight::from_ref_time(770_225).saturating_mul(r.into())) + // Minimum execution time: 874 nanoseconds. + Weight::from_ref_time(2_611_817) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 10_026 + .saturating_add(Weight::from_ref_time(862_138).saturating_mul(r.into())) } } @@ -2081,8 +2221,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `109` // Estimated: `0` - // Minimum execution time: 2_305 nanoseconds. - Weight::from_ref_time(2_560_000) + // Minimum execution time: 2_564 nanoseconds. + Weight::from_ref_time(2_722_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: Skipped Metadata (r:0 w:0) @@ -2092,10 +2233,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `481 + k * (69 ±0)` // Estimated: `0` - // Minimum execution time: 9_311 nanoseconds. - Weight::from_ref_time(5_419_288) - // Standard Error: 562 - .saturating_add(Weight::from_ref_time(911_962).saturating_mul(k.into())) + // Minimum execution time: 10_292 nanoseconds. + Weight::from_ref_time(7_474_496) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 901 + .saturating_add(Weight::from_ref_time(956_864).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -2107,10 +2249,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `281 + q * (33 ±0)` // Estimated: `0` - // Minimum execution time: 2_288 nanoseconds. - Weight::from_ref_time(9_442_437) - // Standard Error: 2_720 - .saturating_add(Weight::from_ref_time(1_076_950).saturating_mul(q.into())) + // Minimum execution time: 2_620 nanoseconds. + Weight::from_ref_time(10_288_873) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_073 + .saturating_add(Weight::from_ref_time(1_148_167).saturating_mul(q.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2123,10 +2266,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `270 + c * (1 ±0)` // Estimated: `0` - // Minimum execution time: 27_539 nanoseconds. - Weight::from_ref_time(23_554_889) - // Standard Error: 56 - .saturating_add(Weight::from_ref_time(46_766).saturating_mul(c.into())) + // Minimum execution time: 28_004 nanoseconds. + Weight::from_ref_time(26_706_943) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 67 + .saturating_add(Weight::from_ref_time(51_603).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2145,10 +2289,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `771` // Estimated: `0` - // Minimum execution time: 297_710 nanoseconds. - Weight::from_ref_time(307_327_529) - // Standard Error: 18 - .saturating_add(Weight::from_ref_time(29_849).saturating_mul(c.into())) + // Minimum execution time: 295_799 nanoseconds. + Weight::from_ref_time(308_660_753) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 20 + .saturating_add(Weight::from_ref_time(32_458).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2175,14 +2320,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `257` // Estimated: `0` - // Minimum execution time: 3_586_223 nanoseconds. - Weight::from_ref_time(561_614_281) - // Standard Error: 274 - .saturating_add(Weight::from_ref_time(87_557).saturating_mul(c.into())) + // Minimum execution time: 3_754_887 nanoseconds. + Weight::from_ref_time(657_695_827) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 283 + .saturating_add(Weight::from_ref_time(94_808).saturating_mul(c.into())) // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_307).saturating_mul(i.into())) + .saturating_add(Weight::from_ref_time(1_357).saturating_mul(i.into())) // Standard Error: 16 - .saturating_add(Weight::from_ref_time(1_721).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(1_756).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(9_u64)) } @@ -2206,12 +2352,13 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `533` // Estimated: `0` - // Minimum execution time: 1_885_437 nanoseconds. - Weight::from_ref_time(199_943_867) + // Minimum execution time: 1_961_131 nanoseconds. + Weight::from_ref_time(208_539_564) + .saturating_add(Weight::from_proof_size(0)) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_611).saturating_mul(i.into())) + .saturating_add(Weight::from_ref_time(1_688).saturating_mul(i.into())) // Standard Error: 8 - .saturating_add(Weight::from_ref_time(1_737).saturating_mul(s.into())) + .saturating_add(Weight::from_ref_time(1_802).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -2229,8 +2376,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `823` // Estimated: `0` - // Minimum execution time: 150_604 nanoseconds. - Weight::from_ref_time(151_777_000) + // Minimum execution time: 148_138 nanoseconds. + Weight::from_ref_time(148_862_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2247,10 +2395,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `109` // Estimated: `0` - // Minimum execution time: 295_505 nanoseconds. - Weight::from_ref_time(305_609_098) - // Standard Error: 58 - .saturating_add(Weight::from_ref_time(88_676).saturating_mul(c.into())) + // Minimum execution time: 293_444 nanoseconds. + Weight::from_ref_time(293_242_988) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 156 + .saturating_add(Weight::from_ref_time(97_476).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2266,8 +2415,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `287` // Estimated: `0` - // Minimum execution time: 25_949 nanoseconds. - Weight::from_ref_time(26_316_000) + // Minimum execution time: 26_802 nanoseconds. + Weight::from_ref_time(27_121_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2281,8 +2431,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `634` // Estimated: `0` - // Minimum execution time: 29_005 nanoseconds. - Weight::from_ref_time(29_370_000) + // Minimum execution time: 31_079 nanoseconds. + Weight::from_ref_time(31_541_000) + .saturating_add(Weight::from_proof_size(0)) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -2301,10 +2452,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `845 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 281_880 nanoseconds. - Weight::from_ref_time(289_637_700) - // Standard Error: 22_662 - .saturating_add(Weight::from_ref_time(16_866_274).saturating_mul(r.into())) + // Minimum execution time: 284_877 nanoseconds. + Weight::from_ref_time(290_043_606) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 22_094 + .saturating_add(Weight::from_ref_time(18_094_219).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2323,10 +2475,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `882 + r * (19218 ±0)` // Estimated: `0` - // Minimum execution time: 285_590 nanoseconds. - Weight::from_ref_time(231_277_523) - // Standard Error: 425_084 - .saturating_add(Weight::from_ref_time(192_985_377).saturating_mul(r.into())) + // Minimum execution time: 283_956 nanoseconds. + Weight::from_ref_time(129_690_397) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 531_270 + .saturating_add(Weight::from_ref_time(264_082_418).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2346,10 +2499,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `889 + r * (19539 ±0)` // Estimated: `0` - // Minimum execution time: 282_966 nanoseconds. - Weight::from_ref_time(236_127_328) - // Standard Error: 405_193 - .saturating_add(Weight::from_ref_time(235_541_377).saturating_mul(r.into())) + // Minimum execution time: 287_077 nanoseconds. + Weight::from_ref_time(148_155_166) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 466_496 + .saturating_add(Weight::from_ref_time(306_625_930).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2369,10 +2523,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `852 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 286_021 nanoseconds. - Weight::from_ref_time(290_200_599) - // Standard Error: 19_224 - .saturating_add(Weight::from_ref_time(20_692_099).saturating_mul(r.into())) + // Minimum execution time: 286_459 nanoseconds. + Weight::from_ref_time(292_826_594) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 27_808 + .saturating_add(Weight::from_ref_time(22_401_931).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2391,10 +2546,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `842 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 284_175 nanoseconds. - Weight::from_ref_time(286_665_694) - // Standard Error: 14_104 - .saturating_add(Weight::from_ref_time(11_196_944).saturating_mul(r.into())) + // Minimum execution time: 284_330 nanoseconds. + Weight::from_ref_time(289_069_701) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 13_666 + .saturating_add(Weight::from_ref_time(11_157_859).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2413,10 +2569,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `846 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 285_315 nanoseconds. - Weight::from_ref_time(289_734_189) - // Standard Error: 15_980 - .saturating_add(Weight::from_ref_time(16_940_657).saturating_mul(r.into())) + // Minimum execution time: 284_506 nanoseconds. + Weight::from_ref_time(290_155_141) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 22_944 + .saturating_add(Weight::from_ref_time(17_992_627).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2435,10 +2592,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `847 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 285_708 nanoseconds. - Weight::from_ref_time(289_872_393) - // Standard Error: 16_551 - .saturating_add(Weight::from_ref_time(16_672_944).saturating_mul(r.into())) + // Minimum execution time: 284_177 nanoseconds. + Weight::from_ref_time(289_314_787) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 24_552 + .saturating_add(Weight::from_ref_time(17_754_919).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2457,10 +2615,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1017 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 285_698 nanoseconds. - Weight::from_ref_time(295_636_093) - // Standard Error: 97_582 - .saturating_add(Weight::from_ref_time(92_891_252).saturating_mul(r.into())) + // Minimum execution time: 284_096 nanoseconds. + Weight::from_ref_time(293_655_130) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 56_379 + .saturating_add(Weight::from_ref_time(95_688_575).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2479,10 +2638,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `856 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 282_057 nanoseconds. - Weight::from_ref_time(289_304_621) - // Standard Error: 17_818 - .saturating_add(Weight::from_ref_time(16_725_632).saturating_mul(r.into())) + // Minimum execution time: 285_967 nanoseconds. + Weight::from_ref_time(288_043_137) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 83_838 + .saturating_add(Weight::from_ref_time(18_256_709).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2501,10 +2661,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `854 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 282_478 nanoseconds. - Weight::from_ref_time(289_682_366) - // Standard Error: 20_379 - .saturating_add(Weight::from_ref_time(16_517_079).saturating_mul(r.into())) + // Minimum execution time: 284_060 nanoseconds. + Weight::from_ref_time(290_577_678) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 26_131 + .saturating_add(Weight::from_ref_time(17_560_562).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2523,10 +2684,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `851 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 283_826 nanoseconds. - Weight::from_ref_time(289_935_300) - // Standard Error: 15_180 - .saturating_add(Weight::from_ref_time(16_268_515).saturating_mul(r.into())) + // Minimum execution time: 286_068 nanoseconds. + Weight::from_ref_time(290_026_137) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 34_787 + .saturating_add(Weight::from_ref_time(17_597_404).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2545,10 +2707,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `842 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 285_455 nanoseconds. - Weight::from_ref_time(289_682_526) - // Standard Error: 18_667 - .saturating_add(Weight::from_ref_time(16_502_025).saturating_mul(r.into())) + // Minimum execution time: 285_082 nanoseconds. + Weight::from_ref_time(290_487_103) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 22_743 + .saturating_add(Weight::from_ref_time(17_506_771).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2569,10 +2732,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `919 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 286_106 nanoseconds. - Weight::from_ref_time(294_493_680) - // Standard Error: 76_469 - .saturating_add(Weight::from_ref_time(87_055_837).saturating_mul(r.into())) + // Minimum execution time: 285_309 nanoseconds. + Weight::from_ref_time(296_735_365) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 49_300 + .saturating_add(Weight::from_ref_time(87_678_979).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2591,10 +2755,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `809 + r * (320 ±0)` // Estimated: `0` - // Minimum execution time: 137_877 nanoseconds. - Weight::from_ref_time(141_863_027) - // Standard Error: 10_200 - .saturating_add(Weight::from_ref_time(7_925_232).saturating_mul(r.into())) + // Minimum execution time: 136_110 nanoseconds. + Weight::from_ref_time(139_800_659) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 9_674 + .saturating_add(Weight::from_ref_time(8_302_834).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2613,10 +2778,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `844 + r * (480 ±0)` // Estimated: `0` - // Minimum execution time: 282_034 nanoseconds. - Weight::from_ref_time(289_388_799) - // Standard Error: 21_999 - .saturating_add(Weight::from_ref_time(15_039_420).saturating_mul(r.into())) + // Minimum execution time: 285_238 nanoseconds. + Weight::from_ref_time(289_723_839) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 19_531 + .saturating_add(Weight::from_ref_time(15_590_085).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2635,10 +2801,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1324` // Estimated: `0` - // Minimum execution time: 303_229 nanoseconds. - Weight::from_ref_time(321_863_704) - // Standard Error: 2_754 - .saturating_add(Weight::from_ref_time(9_545_103).saturating_mul(n.into())) + // Minimum execution time: 303_189 nanoseconds. + Weight::from_ref_time(323_374_503) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_060 + .saturating_add(Weight::from_ref_time(9_799_357).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2657,10 +2824,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `832 + r * (45 ±0)` // Estimated: `0` - // Minimum execution time: 278_824 nanoseconds. - Weight::from_ref_time(285_019_861) - // Standard Error: 101_646 - .saturating_add(Weight::from_ref_time(1_757_938).saturating_mul(r.into())) + // Minimum execution time: 280_736 nanoseconds. + Weight::from_ref_time(285_027_920) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 222_526 + .saturating_add(Weight::from_ref_time(1_814_579).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2679,10 +2847,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `842` // Estimated: `0` - // Minimum execution time: 286_316 nanoseconds. - Weight::from_ref_time(287_206_936) - // Standard Error: 589 - .saturating_add(Weight::from_ref_time(186_684).saturating_mul(n.into())) + // Minimum execution time: 285_559 nanoseconds. + Weight::from_ref_time(290_522_234) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_578 + .saturating_add(Weight::from_ref_time(195_134).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2705,10 +2874,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `874 + r * (280 ±0)` // Estimated: `0` - // Minimum execution time: 282_428 nanoseconds. - Weight::from_ref_time(287_101_148) - // Standard Error: 145_605 - .saturating_add(Weight::from_ref_time(58_079_551).saturating_mul(r.into())) + // Minimum execution time: 282_070 nanoseconds. + Weight::from_ref_time(286_466_489) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 238_285 + .saturating_add(Weight::from_ref_time(58_542_610).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2731,10 +2901,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `889 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 281_516 nanoseconds. - Weight::from_ref_time(292_759_183) - // Standard Error: 152_698 - .saturating_add(Weight::from_ref_time(112_729_555).saturating_mul(r.into())) + // Minimum execution time: 284_147 nanoseconds. + Weight::from_ref_time(295_373_881) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 64_682 + .saturating_add(Weight::from_ref_time(114_198_680).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2753,10 +2924,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `842 + r * (800 ±0)` // Estimated: `0` - // Minimum execution time: 280_100 nanoseconds. - Weight::from_ref_time(299_862_082) - // Standard Error: 95_658 - .saturating_add(Weight::from_ref_time(234_211_246).saturating_mul(r.into())) + // Minimum execution time: 282_681 nanoseconds. + Weight::from_ref_time(290_974_649) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 77_850 + .saturating_add(Weight::from_ref_time(233_273_622).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2776,12 +2948,13 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1778 + t * (2608 ±0) + n * (8 ±0)` // Estimated: `0` - // Minimum execution time: 1_197_721 nanoseconds. - Weight::from_ref_time(508_692_255) - // Standard Error: 538_596 - .saturating_add(Weight::from_ref_time(174_792_656).saturating_mul(t.into())) - // Standard Error: 147_924 - .saturating_add(Weight::from_ref_time(67_443_118).saturating_mul(n.into())) + // Minimum execution time: 1_226_868 nanoseconds. + Weight::from_ref_time(517_031_747) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 342_786 + .saturating_add(Weight::from_ref_time(183_829_556).saturating_mul(t.into())) + // Standard Error: 94_145 + .saturating_add(Weight::from_ref_time(70_675_099).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2800,12 +2973,36 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 20]`. fn seal_debug_message(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `841 + r * (800 ±0)` + // Measured: `841 + r * (560 ±0)` // Estimated: `0` - // Minimum execution time: 149_687 nanoseconds. - Weight::from_ref_time(153_589_818) - // Standard Error: 13_361 - .saturating_add(Weight::from_ref_time(13_379_131).saturating_mul(r.into())) + // Minimum execution time: 143_026 nanoseconds. + Weight::from_ref_time(147_158_038) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 16_662 + .saturating_add(Weight::from_ref_time(14_990_989).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) + } + /// Storage: System Account (r:1 w:0) + /// Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) + /// Storage: Contracts ContractInfoOf (r:1 w:1) + /// Proof: Contracts ContractInfoOf (max_values: None, max_size: Some(258), added: 2733, mode: MaxEncodedLen) + /// Storage: Contracts CodeStorage (r:1 w:0) + /// Proof: Contracts CodeStorage (max_values: None, max_size: Some(126001), added: 128476, mode: MaxEncodedLen) + /// Storage: Timestamp Now (r:1 w:0) + /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, mode: MaxEncodedLen) + /// Storage: System EventTopics (r:2 w:2) + /// Proof Skipped: System EventTopics (max_values: None, max_size: None, mode: Measured) + /// The range of component `i` is `[0, 1024]`. + fn seal_debug_message_per_kb(i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `125792` + // Estimated: `265059` + // Minimum execution time: 412_112 nanoseconds. + Weight::from_ref_time(415_624_011) + .saturating_add(Weight::from_proof_size(265059)) + // Standard Error: 1_190 + .saturating_add(Weight::from_ref_time(797_964).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2816,10 +3013,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `883 + r * (23417 ±0)` // Estimated: `0` - // Minimum execution time: 281_920 nanoseconds. - Weight::from_ref_time(242_057_723) - // Standard Error: 464_911 - .saturating_add(Weight::from_ref_time(404_673_309).saturating_mul(r.into())) + // Minimum execution time: 286_118 nanoseconds. + Weight::from_ref_time(195_812_951) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 858_501 + .saturating_add(Weight::from_ref_time(485_357_331).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2832,10 +3030,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `12583 + n * (11969 ±0)` // Estimated: `0` - // Minimum execution time: 423_923 nanoseconds. - Weight::from_ref_time(573_806_626) - // Standard Error: 1_371_107 - .saturating_add(Weight::from_ref_time(85_963_445).saturating_mul(n.into())) + // Minimum execution time: 433_181 nanoseconds. + Weight::from_ref_time(618_575_096) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_696_126 + .saturating_add(Weight::from_ref_time(96_213_633).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(52_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(50_u64)) @@ -2848,10 +3047,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `15138 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 424_048 nanoseconds. - Weight::from_ref_time(542_298_050) - // Standard Error: 1_092_010 - .saturating_add(Weight::from_ref_time(60_111_206).saturating_mul(n.into())) + // Minimum execution time: 433_354 nanoseconds. + Weight::from_ref_time(597_131_349) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_509_003 + .saturating_add(Weight::from_ref_time(64_872_907).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(49_u64)) @@ -2864,10 +3064,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `876 + r * (23098 ±0)` // Estimated: `0` - // Minimum execution time: 285_714 nanoseconds. - Weight::from_ref_time(245_068_941) - // Standard Error: 417_796 - .saturating_add(Weight::from_ref_time(394_288_572).saturating_mul(r.into())) + // Minimum execution time: 286_788 nanoseconds. + Weight::from_ref_time(207_787_332) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 778_284 + .saturating_add(Weight::from_ref_time(474_879_317).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2880,10 +3081,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `14863 + n * (175768 ±0)` // Estimated: `0` - // Minimum execution time: 385_278 nanoseconds. - Weight::from_ref_time(522_656_525) - // Standard Error: 1_259_587 - .saturating_add(Weight::from_ref_time(62_799_142).saturating_mul(n.into())) + // Minimum execution time: 397_414 nanoseconds. + Weight::from_ref_time(573_575_029) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_630_691 + .saturating_add(Weight::from_ref_time(67_888_226).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(48_u64)) @@ -2896,10 +3098,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `878 + r * (23740 ±0)` // Estimated: `0` - // Minimum execution time: 282_513 nanoseconds. - Weight::from_ref_time(256_242_753) - // Standard Error: 362_571 - .saturating_add(Weight::from_ref_time(317_951_687).saturating_mul(r.into())) + // Minimum execution time: 286_098 nanoseconds. + Weight::from_ref_time(223_637_903) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 669_294 + .saturating_add(Weight::from_ref_time(387_577_627).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2911,10 +3114,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `15469 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 370_576 nanoseconds. - Weight::from_ref_time(487_764_999) - // Standard Error: 1_073_165 - .saturating_add(Weight::from_ref_time(147_588_190).saturating_mul(n.into())) + // Minimum execution time: 373_335 nanoseconds. + Weight::from_ref_time(531_442_564) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_474_336 + .saturating_add(Weight::from_ref_time(154_469_598).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2926,10 +3130,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `871 + r * (23100 ±0)` // Estimated: `0` - // Minimum execution time: 285_917 nanoseconds. - Weight::from_ref_time(259_066_807) - // Standard Error: 340_183 - .saturating_add(Weight::from_ref_time(306_291_698).saturating_mul(r.into())) + // Minimum execution time: 284_183 nanoseconds. + Weight::from_ref_time(223_325_689) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 644_587 + .saturating_add(Weight::from_ref_time(373_628_582).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2941,10 +3146,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `14814 + n * (175782 ±0)` // Estimated: `0` - // Minimum execution time: 366_225 nanoseconds. - Weight::from_ref_time(470_470_223) - // Standard Error: 953_976 - .saturating_add(Weight::from_ref_time(57_748_742).saturating_mul(n.into())) + // Minimum execution time: 368_310 nanoseconds. + Weight::from_ref_time(512_814_023) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_337_352 + .saturating_add(Weight::from_ref_time(62_871_539).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2956,10 +3162,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `879 + r * (23740 ±0)` // Estimated: `0` - // Minimum execution time: 286_867 nanoseconds. - Weight::from_ref_time(244_403_664) - // Standard Error: 435_431 - .saturating_add(Weight::from_ref_time(409_282_991).saturating_mul(r.into())) + // Minimum execution time: 287_096 nanoseconds. + Weight::from_ref_time(204_878_281) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 833_763 + .saturating_add(Weight::from_ref_time(483_927_706).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2972,10 +3179,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `15470 + n * (175775 ±0)` // Estimated: `0` - // Minimum execution time: 393_392 nanoseconds. - Weight::from_ref_time(540_938_487) - // Standard Error: 1_361_411 - .saturating_add(Weight::from_ref_time(153_456_560).saturating_mul(n.into())) + // Minimum execution time: 399_318 nanoseconds. + Weight::from_ref_time(586_658_466) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_734_497 + .saturating_add(Weight::from_ref_time(161_047_970).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((7_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(48_u64)) @@ -2996,10 +3204,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1393 + r * (3602 ±0)` // Estimated: `0` - // Minimum execution time: 286_766 nanoseconds. - Weight::from_ref_time(221_458_774) - // Standard Error: 714_182 - .saturating_add(Weight::from_ref_time(1_402_610_222).saturating_mul(r.into())) + // Minimum execution time: 285_460 nanoseconds. + Weight::from_ref_time(227_848_079) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 717_899 + .saturating_add(Weight::from_ref_time(1_434_112_130).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((80_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -3020,10 +3229,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1551 + r * (20511 ±0)` // Estimated: `0` - // Minimum execution time: 287_158 nanoseconds. - Weight::from_ref_time(288_377_000) - // Standard Error: 6_108_706 - .saturating_add(Weight::from_ref_time(21_691_098_517).saturating_mul(r.into())) + // Minimum execution time: 286_947 nanoseconds. + Weight::from_ref_time(288_518_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 8_492_544 + .saturating_add(Weight::from_ref_time(21_606_377_662).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((160_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3044,10 +3254,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (71670 ±0)` // Estimated: `0` - // Minimum execution time: 287_380 nanoseconds. - Weight::from_ref_time(288_241_000) - // Standard Error: 7_007_658 - .saturating_add(Weight::from_ref_time(21_428_850_764).saturating_mul(r.into())) + // Minimum execution time: 285_196 nanoseconds. + Weight::from_ref_time(287_958_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 10_345_109 + .saturating_add(Weight::from_ref_time(21_395_365_662).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((150_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3069,12 +3280,13 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `21611 + t * (15369 ±0)` // Estimated: `0` - // Minimum execution time: 10_644_986 nanoseconds. - Weight::from_ref_time(9_596_635_640) - // Standard Error: 6_393_384 - .saturating_add(Weight::from_ref_time(1_304_764_528).saturating_mul(t.into())) - // Standard Error: 9_586 - .saturating_add(Weight::from_ref_time(9_663_819).saturating_mul(c.into())) + // Minimum execution time: 10_540_614 nanoseconds. + Weight::from_ref_time(9_281_766_912) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 5_409_378 + .saturating_add(Weight::from_ref_time(1_449_975_070).saturating_mul(t.into())) + // Standard Error: 8_111 + .saturating_add(Weight::from_ref_time(10_275_108).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(167_u64)) .saturating_add(RocksDbWeight::get().reads((81_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(163_u64)) @@ -3099,10 +3311,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1613 + r * (25576 ±0)` // Estimated: `0` - // Minimum execution time: 284_948 nanoseconds. - Weight::from_ref_time(289_276_000) - // Standard Error: 18_674_951 - .saturating_add(Weight::from_ref_time(27_090_355_673).saturating_mul(r.into())) + // Minimum execution time: 285_643 nanoseconds. + Weight::from_ref_time(287_472_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 25_921_947 + .saturating_add(Weight::from_ref_time(27_745_815_511).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((400_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(5_u64)) @@ -3129,14 +3342,13 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `5666 + t * (17 ±0)` // Estimated: `0` - // Minimum execution time: 127_857_642 nanoseconds. - Weight::from_ref_time(11_399_054_049) - // Standard Error: 95_033_651 - .saturating_add(Weight::from_ref_time(434_246_236).saturating_mul(t.into())) - // Standard Error: 154_973 - .saturating_add(Weight::from_ref_time(121_130_672).saturating_mul(i.into())) - // Standard Error: 154_973 - .saturating_add(Weight::from_ref_time(121_554_853).saturating_mul(s.into())) + // Minimum execution time: 129_710_453 nanoseconds. + Weight::from_ref_time(14_347_603_160) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 194_692 + .saturating_add(Weight::from_ref_time(128_837_066).saturating_mul(i.into())) + // Standard Error: 194_692 + .saturating_add(Weight::from_ref_time(127_568_555).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(249_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(247_u64)) @@ -3157,10 +3369,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `839 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 280_949 nanoseconds. - Weight::from_ref_time(286_538_475) - // Standard Error: 124_866 - .saturating_add(Weight::from_ref_time(42_531_824).saturating_mul(r.into())) + // Minimum execution time: 282_059 nanoseconds. + Weight::from_ref_time(287_215_177) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 273_484 + .saturating_add(Weight::from_ref_time(44_941_522).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3179,10 +3392,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1641` // Estimated: `0` - // Minimum execution time: 328_414 nanoseconds. - Weight::from_ref_time(329_293_000) - // Standard Error: 50_816 - .saturating_add(Weight::from_ref_time(318_312_506).saturating_mul(n.into())) + // Minimum execution time: 330_822 nanoseconds. + Weight::from_ref_time(333_012_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 53_200 + .saturating_add(Weight::from_ref_time(327_144_474).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3201,10 +3415,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `841 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 282_208 nanoseconds. - Weight::from_ref_time(286_848_187) - // Standard Error: 106_214 - .saturating_add(Weight::from_ref_time(56_342_512).saturating_mul(r.into())) + // Minimum execution time: 282_859 nanoseconds. + Weight::from_ref_time(286_293_402) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 187_930 + .saturating_add(Weight::from_ref_time(57_415_297).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3223,10 +3438,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1643` // Estimated: `0` - // Minimum execution time: 342_478 nanoseconds. - Weight::from_ref_time(342_947_000) - // Standard Error: 60_809 - .saturating_add(Weight::from_ref_time(255_492_149).saturating_mul(n.into())) + // Minimum execution time: 342_221 nanoseconds. + Weight::from_ref_time(343_250_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 67_989 + .saturating_add(Weight::from_ref_time(261_498_077).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3245,10 +3461,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `841 + r * (642 ±0)` // Estimated: `0` - // Minimum execution time: 279_059 nanoseconds. - Weight::from_ref_time(285_413_659) - // Standard Error: 123_081 - .saturating_add(Weight::from_ref_time(33_154_840).saturating_mul(r.into())) + // Minimum execution time: 282_158 nanoseconds. + Weight::from_ref_time(285_783_279) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 200_413 + .saturating_add(Weight::from_ref_time(35_099_520).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3267,10 +3484,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1643` // Estimated: `0` - // Minimum execution time: 317_518 nanoseconds. - Weight::from_ref_time(318_178_000) - // Standard Error: 60_074 - .saturating_add(Weight::from_ref_time(99_403_819).saturating_mul(n.into())) + // Minimum execution time: 317_376 nanoseconds. + Weight::from_ref_time(319_441_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 61_325 + .saturating_add(Weight::from_ref_time(101_080_739).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3289,10 +3507,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `841 + r * (679 ±0)` // Estimated: `0` - // Minimum execution time: 280_145 nanoseconds. - Weight::from_ref_time(285_483_032) - // Standard Error: 106_113 - .saturating_add(Weight::from_ref_time(33_475_067).saturating_mul(r.into())) + // Minimum execution time: 280_403 nanoseconds. + Weight::from_ref_time(282_592_267) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 237_832 + .saturating_add(Weight::from_ref_time(37_056_632).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3311,10 +3530,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1643` // Estimated: `0` - // Minimum execution time: 318_141 nanoseconds. - Weight::from_ref_time(318_699_000) - // Standard Error: 55_136 - .saturating_add(Weight::from_ref_time(99_275_434).saturating_mul(n.into())) + // Minimum execution time: 315_482 nanoseconds. + Weight::from_ref_time(316_160_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 40_926 + .saturating_add(Weight::from_ref_time(100_317_235).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3333,10 +3553,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `885 + r * (6083 ±0)` // Estimated: `0` - // Minimum execution time: 282_474 nanoseconds. - Weight::from_ref_time(288_078_802) - // Standard Error: 302_968 - .saturating_add(Weight::from_ref_time(2_944_967_597).saturating_mul(r.into())) + // Minimum execution time: 276_155 nanoseconds. + Weight::from_ref_time(278_531_728) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 510_501 + .saturating_add(Weight::from_ref_time(3_056_236_671).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3355,10 +3576,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `854 + r * (3362 ±0)` // Estimated: `0` - // Minimum execution time: 281_514 nanoseconds. - Weight::from_ref_time(287_458_651) - // Standard Error: 146_715 - .saturating_add(Weight::from_ref_time(731_367_948).saturating_mul(r.into())) + // Minimum execution time: 276_204 nanoseconds. + Weight::from_ref_time(278_114_283) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 217_508 + .saturating_add(Weight::from_ref_time(737_577_816).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3379,10 +3601,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (79300 ±0)` // Estimated: `0` - // Minimum execution time: 282_591 nanoseconds. - Weight::from_ref_time(286_842_000) - // Standard Error: 2_645_254 - .saturating_add(Weight::from_ref_time(1_394_535_676).saturating_mul(r.into())) + // Minimum execution time: 276_330 nanoseconds. + Weight::from_ref_time(277_573_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_652_635 + .saturating_add(Weight::from_ref_time(1_547_361_882).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((225_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3403,10 +3626,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `837 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 286_631 nanoseconds. - Weight::from_ref_time(288_787_650) - // Standard Error: 29_802 - .saturating_add(Weight::from_ref_time(11_115_811).saturating_mul(r.into())) + // Minimum execution time: 276_228 nanoseconds. + Weight::from_ref_time(281_135_551) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 18_737 + .saturating_add(Weight::from_ref_time(10_998_953).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3425,10 +3649,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2056 + r * (3153 ±0)` // Estimated: `0` - // Minimum execution time: 287_775 nanoseconds. - Weight::from_ref_time(319_806_123) - // Standard Error: 111_808 - .saturating_add(Weight::from_ref_time(17_641_181).saturating_mul(r.into())) + // Minimum execution time: 278_157 nanoseconds. + Weight::from_ref_time(300_739_078) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 72_695 + .saturating_add(Weight::from_ref_time(18_499_645).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3449,10 +3674,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `840 + r * (240 ±0)` // Estimated: `0` - // Minimum execution time: 285_077 nanoseconds. - Weight::from_ref_time(289_980_475) - // Standard Error: 14_535 - .saturating_add(Weight::from_ref_time(9_295_346).saturating_mul(r.into())) + // Minimum execution time: 275_532 nanoseconds. + Weight::from_ref_time(281_299_677) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 21_719 + .saturating_add(Weight::from_ref_time(9_513_444).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -3461,519 +3687,571 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 777 nanoseconds. - Weight::from_ref_time(1_014_498) - // Standard Error: 154 - .saturating_add(Weight::from_ref_time(405_551).saturating_mul(r.into())) + // Minimum execution time: 856 nanoseconds. + Weight::from_ref_time(1_054_710) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 273 + .saturating_add(Weight::from_ref_time(411_548).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64load(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 862 nanoseconds. - Weight::from_ref_time(1_345_826) - // Standard Error: 457 - .saturating_add(Weight::from_ref_time(1_033_909).saturating_mul(r.into())) + // Minimum execution time: 980 nanoseconds. + Weight::from_ref_time(1_463_182) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 415 + .saturating_add(Weight::from_ref_time(1_063_436).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64store(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 892 nanoseconds. - Weight::from_ref_time(1_233_601) - // Standard Error: 341 - .saturating_add(Weight::from_ref_time(885_275).saturating_mul(r.into())) + // Minimum execution time: 991 nanoseconds. + Weight::from_ref_time(1_521_750) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 8_499 + .saturating_add(Weight::from_ref_time(997_972).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_select(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 771 nanoseconds. - Weight::from_ref_time(1_099_906) - // Standard Error: 261 - .saturating_add(Weight::from_ref_time(1_092_031).saturating_mul(r.into())) + // Minimum execution time: 833 nanoseconds. + Weight::from_ref_time(1_152_048) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 392 + .saturating_add(Weight::from_ref_time(1_147_506).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_if(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 785 nanoseconds. - Weight::from_ref_time(929_328) - // Standard Error: 333 - .saturating_add(Weight::from_ref_time(1_374_749).saturating_mul(r.into())) + // Minimum execution time: 866 nanoseconds. + Weight::from_ref_time(1_154_637) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 5_131 + .saturating_add(Weight::from_ref_time(1_320_580).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 772 nanoseconds. - Weight::from_ref_time(979_702) - // Standard Error: 351 - .saturating_add(Weight::from_ref_time(621_385).saturating_mul(r.into())) + // Minimum execution time: 849 nanoseconds. + Weight::from_ref_time(1_073_940) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 639 + .saturating_add(Weight::from_ref_time(642_885).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br_if(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766 nanoseconds. - Weight::from_ref_time(1_303_783) - // Standard Error: 1_556 - .saturating_add(Weight::from_ref_time(841_842).saturating_mul(r.into())) + // Minimum execution time: 855 nanoseconds. + Weight::from_ref_time(728_631) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_730 + .saturating_add(Weight::from_ref_time(979_839).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_br_table(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 792 nanoseconds. - Weight::from_ref_time(1_093_901) - // Standard Error: 1_383 - .saturating_add(Weight::from_ref_time(1_145_435).saturating_mul(r.into())) + // Minimum execution time: 852 nanoseconds. + Weight::from_ref_time(658_935) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_373 + .saturating_add(Weight::from_ref_time(1_172_585).saturating_mul(r.into())) } /// The range of component `e` is `[1, 256]`. fn instr_br_table_per_entry(e: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_526 nanoseconds. - Weight::from_ref_time(2_872_561) - // Standard Error: 60 - .saturating_add(Weight::from_ref_time(4_365).saturating_mul(e.into())) + // Minimum execution time: 2_577 nanoseconds. + Weight::from_ref_time(2_872_555) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 70 + .saturating_add(Weight::from_ref_time(4_237).saturating_mul(e.into())) } /// The range of component `r` is `[0, 50]`. fn instr_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 834 nanoseconds. - Weight::from_ref_time(1_431_876) - // Standard Error: 1_448 - .saturating_add(Weight::from_ref_time(2_268_715).saturating_mul(r.into())) + // Minimum execution time: 833 nanoseconds. + Weight::from_ref_time(874_000) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 30_863 + .saturating_add(Weight::from_ref_time(2_591_963).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_call_indirect(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 920 nanoseconds. - Weight::from_ref_time(2_167_004) - // Standard Error: 2_060 - .saturating_add(Weight::from_ref_time(2_921_443).saturating_mul(r.into())) + // Minimum execution time: 992 nanoseconds. + Weight::from_ref_time(2_772_709) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_822 + .saturating_add(Weight::from_ref_time(3_070_825).saturating_mul(r.into())) } /// The range of component `p` is `[0, 128]`. fn instr_call_indirect_per_param(p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_624 nanoseconds. - Weight::from_ref_time(5_534_325) - // Standard Error: 326 - .saturating_add(Weight::from_ref_time(184_307).saturating_mul(p.into())) + // Minimum execution time: 4_766 nanoseconds. + Weight::from_ref_time(5_559_951) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 315 + .saturating_add(Weight::from_ref_time(227_249).saturating_mul(p.into())) } /// The range of component `l` is `[0, 1024]`. fn instr_call_per_local(l: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_062 nanoseconds. - Weight::from_ref_time(4_432_879) - // Standard Error: 64 - .saturating_add(Weight::from_ref_time(46_196).saturating_mul(l.into())) + // Minimum execution time: 3_215 nanoseconds. + Weight::from_ref_time(4_697_732) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 99 + .saturating_add(Weight::from_ref_time(46_431).saturating_mul(l.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_get(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_036 nanoseconds. - Weight::from_ref_time(2_318_877) - // Standard Error: 172 - .saturating_add(Weight::from_ref_time(500_498).saturating_mul(r.into())) + // Minimum execution time: 2_193 nanoseconds. + Weight::from_ref_time(2_472_277) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 374 + .saturating_add(Weight::from_ref_time(459_651).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_027 nanoseconds. - Weight::from_ref_time(2_355_900) - // Standard Error: 220 - .saturating_add(Weight::from_ref_time(461_393).saturating_mul(r.into())) + // Minimum execution time: 2_112 nanoseconds. + Weight::from_ref_time(2_388_132) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 380 + .saturating_add(Weight::from_ref_time(485_216).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_local_tee(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_038 nanoseconds. - Weight::from_ref_time(2_350_330) - // Standard Error: 224 - .saturating_add(Weight::from_ref_time(586_808).saturating_mul(r.into())) + // Minimum execution time: 2_219 nanoseconds. + Weight::from_ref_time(2_419_568) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 402 + .saturating_add(Weight::from_ref_time(658_484).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_global_get(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 897 nanoseconds. - Weight::from_ref_time(1_267_115) - // Standard Error: 189 - .saturating_add(Weight::from_ref_time(884_926).saturating_mul(r.into())) + // Minimum execution time: 959 nanoseconds. + Weight::from_ref_time(1_321_004) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 480 + .saturating_add(Weight::from_ref_time(898_447).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_global_set(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 892 nanoseconds. - Weight::from_ref_time(1_202_122) - // Standard Error: 286 - .saturating_add(Weight::from_ref_time(885_157).saturating_mul(r.into())) + // Minimum execution time: 934 nanoseconds. + Weight::from_ref_time(1_264_350) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 1_031 + .saturating_add(Weight::from_ref_time(922_243).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_memory_current(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 852 nanoseconds. - Weight::from_ref_time(1_132_479) - // Standard Error: 224 - .saturating_add(Weight::from_ref_time(719_603).saturating_mul(r.into())) + // Minimum execution time: 941 nanoseconds. + Weight::from_ref_time(1_229_407) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 507 + .saturating_add(Weight::from_ref_time(824_206).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1]`. fn instr_memory_grow(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 786 nanoseconds. - Weight::from_ref_time(874_044) - // Standard Error: 91_309 - .saturating_add(Weight::from_ref_time(181_849_955).saturating_mul(r.into())) + // Minimum execution time: 870 nanoseconds. + Weight::from_ref_time(946_681) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 7_248 + .saturating_add(Weight::from_ref_time(179_759_218).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64clz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 763 nanoseconds. - Weight::from_ref_time(1_055_236) - // Standard Error: 207 - .saturating_add(Weight::from_ref_time(554_985).saturating_mul(r.into())) + // Minimum execution time: 843 nanoseconds. + Weight::from_ref_time(1_105_279) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 251 + .saturating_add(Weight::from_ref_time(633_218).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ctz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 756 nanoseconds. - Weight::from_ref_time(1_053_050) - // Standard Error: 165 - .saturating_add(Weight::from_ref_time(555_401).saturating_mul(r.into())) + // Minimum execution time: 843 nanoseconds. + Weight::from_ref_time(1_119_719) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 248 + .saturating_add(Weight::from_ref_time(633_064).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64popcnt(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 791 nanoseconds. - Weight::from_ref_time(1_080_240) - // Standard Error: 164 - .saturating_add(Weight::from_ref_time(554_698).saturating_mul(r.into())) + // Minimum execution time: 865 nanoseconds. + Weight::from_ref_time(1_394_651) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 9_898 + .saturating_add(Weight::from_ref_time(630_054).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64eqz(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766 nanoseconds. - Weight::from_ref_time(1_074_739) - // Standard Error: 178 - .saturating_add(Weight::from_ref_time(565_891).saturating_mul(r.into())) + // Minimum execution time: 831 nanoseconds. + Weight::from_ref_time(1_095_288) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 271 + .saturating_add(Weight::from_ref_time(650_578).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendsi32(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 781 nanoseconds. - Weight::from_ref_time(1_077_122) - // Standard Error: 177 - .saturating_add(Weight::from_ref_time(548_846).saturating_mul(r.into())) + // Minimum execution time: 835 nanoseconds. + Weight::from_ref_time(1_128_234) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 239 + .saturating_add(Weight::from_ref_time(615_970).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64extendui32(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 793 nanoseconds. - Weight::from_ref_time(1_086_278) - // Standard Error: 163 - .saturating_add(Weight::from_ref_time(548_765).saturating_mul(r.into())) + // Minimum execution time: 839 nanoseconds. + Weight::from_ref_time(1_111_296) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 303 + .saturating_add(Weight::from_ref_time(616_831).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i32wrapi64(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 769 nanoseconds. - Weight::from_ref_time(1_096_044) - // Standard Error: 134 - .saturating_add(Weight::from_ref_time(547_353).saturating_mul(r.into())) + // Minimum execution time: 839 nanoseconds. + Weight::from_ref_time(1_082_700) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 236 + .saturating_add(Weight::from_ref_time(617_371).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64eq(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766 nanoseconds. - Weight::from_ref_time(1_072_610) - // Standard Error: 161 - .saturating_add(Weight::from_ref_time(774_895).saturating_mul(r.into())) + // Minimum execution time: 837 nanoseconds. + Weight::from_ref_time(1_249_666) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 836 + .saturating_add(Weight::from_ref_time(904_457).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ne(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 751 nanoseconds. - Weight::from_ref_time(1_038_676) - // Standard Error: 158 - .saturating_add(Weight::from_ref_time(775_194).saturating_mul(r.into())) + // Minimum execution time: 818 nanoseconds. + Weight::from_ref_time(1_624_057) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 5_906 + .saturating_add(Weight::from_ref_time(893_488).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64lts(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 798 nanoseconds. - Weight::from_ref_time(1_089_712) - // Standard Error: 144 - .saturating_add(Weight::from_ref_time(774_377).saturating_mul(r.into())) + // Minimum execution time: 836 nanoseconds. + Weight::from_ref_time(1_973_044) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 7_556 + .saturating_add(Weight::from_ref_time(885_369).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ltu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 758 nanoseconds. - Weight::from_ref_time(1_078_460) - // Standard Error: 180 - .saturating_add(Weight::from_ref_time(779_861).saturating_mul(r.into())) + // Minimum execution time: 846 nanoseconds. + Weight::from_ref_time(1_088_223) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 531 + .saturating_add(Weight::from_ref_time(909_313).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64gts(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 758 nanoseconds. - Weight::from_ref_time(1_089_007) - // Standard Error: 164 - .saturating_add(Weight::from_ref_time(779_372).saturating_mul(r.into())) + // Minimum execution time: 842 nanoseconds. + Weight::from_ref_time(1_435_966) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 3_824 + .saturating_add(Weight::from_ref_time(898_198).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64gtu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 772 nanoseconds. - Weight::from_ref_time(1_077_512) - // Standard Error: 165 - .saturating_add(Weight::from_ref_time(779_513).saturating_mul(r.into())) + // Minimum execution time: 846 nanoseconds. + Weight::from_ref_time(1_154_015) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 319 + .saturating_add(Weight::from_ref_time(918_083).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64les(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 760 nanoseconds. - Weight::from_ref_time(1_078_546) - // Standard Error: 168 - .saturating_add(Weight::from_ref_time(779_138).saturating_mul(r.into())) + // Minimum execution time: 848 nanoseconds. + Weight::from_ref_time(1_155_323) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 307 + .saturating_add(Weight::from_ref_time(906_516).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64leu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 757 nanoseconds. - Weight::from_ref_time(1_080_251) - // Standard Error: 168 - .saturating_add(Weight::from_ref_time(779_391).saturating_mul(r.into())) + // Minimum execution time: 877 nanoseconds. + Weight::from_ref_time(1_629_210) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 8_175 + .saturating_add(Weight::from_ref_time(906_657).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64ges(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 786 nanoseconds. - Weight::from_ref_time(1_072_690) - // Standard Error: 219 - .saturating_add(Weight::from_ref_time(780_381).saturating_mul(r.into())) + // Minimum execution time: 843 nanoseconds. + Weight::from_ref_time(1_126_252) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 251 + .saturating_add(Weight::from_ref_time(907_052).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64geu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 771 nanoseconds. - Weight::from_ref_time(1_063_735) - // Standard Error: 162 - .saturating_add(Weight::from_ref_time(779_906).saturating_mul(r.into())) + // Minimum execution time: 852 nanoseconds. + Weight::from_ref_time(1_497_667) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 7_593 + .saturating_add(Weight::from_ref_time(897_474).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64add(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 785 nanoseconds. - Weight::from_ref_time(1_059_585) - // Standard Error: 155 - .saturating_add(Weight::from_ref_time(756_828).saturating_mul(r.into())) + // Minimum execution time: 856 nanoseconds. + Weight::from_ref_time(1_350_390) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_625 + .saturating_add(Weight::from_ref_time(889_609).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64sub(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 800 nanoseconds. - Weight::from_ref_time(1_066_659) - // Standard Error: 154 - .saturating_add(Weight::from_ref_time(754_318).saturating_mul(r.into())) + // Minimum execution time: 841 nanoseconds. + Weight::from_ref_time(2_677_235) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 11_507 + .saturating_add(Weight::from_ref_time(846_704).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64mul(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 769 nanoseconds. - Weight::from_ref_time(1_078_854) - // Standard Error: 172 - .saturating_add(Weight::from_ref_time(754_183).saturating_mul(r.into())) + // Minimum execution time: 846 nanoseconds. + Weight::from_ref_time(1_148_206) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 393 + .saturating_add(Weight::from_ref_time(884_886).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64divs(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 770 nanoseconds. - Weight::from_ref_time(1_057_476) - // Standard Error: 191 - .saturating_add(Weight::from_ref_time(1_443_902).saturating_mul(r.into())) + // Minimum execution time: 865 nanoseconds. + Weight::from_ref_time(2_862_483) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 16_413 + .saturating_add(Weight::from_ref_time(1_481_623).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64divu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 764 nanoseconds. - Weight::from_ref_time(1_063_821) - // Standard Error: 193 - .saturating_add(Weight::from_ref_time(1_324_496).saturating_mul(r.into())) + // Minimum execution time: 1_443 nanoseconds. + Weight::from_ref_time(1_086_902) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 2_245 + .saturating_add(Weight::from_ref_time(1_463_145).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rems(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 747 nanoseconds. - Weight::from_ref_time(1_093_209) - // Standard Error: 270 - .saturating_add(Weight::from_ref_time(1_447_180).saturating_mul(r.into())) + // Minimum execution time: 878 nanoseconds. + Weight::from_ref_time(1_130_306) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 475 + .saturating_add(Weight::from_ref_time(1_522_011).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64remu(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 805 nanoseconds. - Weight::from_ref_time(1_033_953) - // Standard Error: 152 - .saturating_add(Weight::from_ref_time(1_336_911).saturating_mul(r.into())) + // Minimum execution time: 827 nanoseconds. + Weight::from_ref_time(1_197_053) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 474 + .saturating_add(Weight::from_ref_time(1_449_062).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64and(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766 nanoseconds. - Weight::from_ref_time(1_059_430) - // Standard Error: 160 - .saturating_add(Weight::from_ref_time(757_265).saturating_mul(r.into())) + // Minimum execution time: 847 nanoseconds. + Weight::from_ref_time(1_152_423) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 296 + .saturating_add(Weight::from_ref_time(895_541).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64or(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 760 nanoseconds. - Weight::from_ref_time(1_077_376) - // Standard Error: 160 - .saturating_add(Weight::from_ref_time(755_800).saturating_mul(r.into())) + // Minimum execution time: 876 nanoseconds. + Weight::from_ref_time(1_169_485) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 571 + .saturating_add(Weight::from_ref_time(932_659).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64xor(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 798 nanoseconds. - Weight::from_ref_time(1_070_570) - // Standard Error: 157 - .saturating_add(Weight::from_ref_time(756_839).saturating_mul(r.into())) + // Minimum execution time: 856 nanoseconds. + Weight::from_ref_time(1_155_127) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 256 + .saturating_add(Weight::from_ref_time(895_663).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shl(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 761 nanoseconds. - Weight::from_ref_time(1_074_645) - // Standard Error: 169 - .saturating_add(Weight::from_ref_time(771_486).saturating_mul(r.into())) + // Minimum execution time: 871 nanoseconds. + Weight::from_ref_time(1_139_722) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 367 + .saturating_add(Weight::from_ref_time(903_115).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shrs(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 779 nanoseconds. - Weight::from_ref_time(1_107_671) - // Standard Error: 185 - .saturating_add(Weight::from_ref_time(769_168).saturating_mul(r.into())) + // Minimum execution time: 853 nanoseconds. + Weight::from_ref_time(1_155_542) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 541 + .saturating_add(Weight::from_ref_time(901_635).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64shru(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 755 nanoseconds. - Weight::from_ref_time(1_075_769) - // Standard Error: 164 - .saturating_add(Weight::from_ref_time(770_334).saturating_mul(r.into())) + // Minimum execution time: 866 nanoseconds. + Weight::from_ref_time(2_260_588) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 12_944 + .saturating_add(Weight::from_ref_time(877_790).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotl(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 767 nanoseconds. - Weight::from_ref_time(608_749) - // Standard Error: 2_059 - .saturating_add(Weight::from_ref_time(804_228).saturating_mul(r.into())) + // Minimum execution time: 851 nanoseconds. + Weight::from_ref_time(1_627_816) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 4_004 + .saturating_add(Weight::from_ref_time(887_929).saturating_mul(r.into())) } /// The range of component `r` is `[0, 50]`. fn instr_i64rotr(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 779 nanoseconds. - Weight::from_ref_time(1_054_998) - // Standard Error: 191 - .saturating_add(Weight::from_ref_time(770_225).saturating_mul(r.into())) + // Minimum execution time: 874 nanoseconds. + Weight::from_ref_time(2_611_817) + .saturating_add(Weight::from_proof_size(0)) + // Standard Error: 10_026 + .saturating_add(Weight::from_ref_time(862_138).saturating_mul(r.into())) } } diff --git a/primitives/wasm-interface/Cargo.toml b/primitives/wasm-interface/Cargo.toml index 5f914ae3aa177..21b0bb4329ed7 100644 --- a/primitives/wasm-interface/Cargo.toml +++ b/primitives/wasm-interface/Cargo.toml @@ -18,7 +18,7 @@ codec = { package = "parity-scale-codec", version = "3.2.2", default-features = impl-trait-for-tuples = "0.2.2" log = { version = "0.4.17", optional = true } wasmi = { version = "0.13", optional = true } -wasmtime = { version = "5.0.0", default-features = false, optional = true } +wasmtime = { version = "5.0.0", default-features = false, optional = true, git = "https://github.com/paritytech/wasmtime.git", branch = "v5.0.0_lto_fix" } anyhow = { version = "1.0.68", optional = true } sp-std = { version = "5.0.0", default-features = false, path = "../std" }