From 94fe74927b3348cff32f2227dd7f7f7b8a9d8d94 Mon Sep 17 00:00:00 2001 From: PG Herveou Date: Fri, 22 Mar 2024 09:41:32 +0100 Subject: [PATCH 01/75] Only load module once when validating --- .../contracts/src/benchmarking/sandbox.rs | 15 +- substrate/frame/contracts/src/tests.rs | 32 +- substrate/frame/contracts/src/wasm/mod.rs | 43 +- substrate/frame/contracts/src/wasm/prepare.rs | 68 +- substrate/frame/contracts/src/weights.rs | 1218 ++++++++--------- 5 files changed, 722 insertions(+), 654 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/sandbox.rs b/substrate/frame/contracts/src/benchmarking/sandbox.rs index c3abbcad5f2b..308bf6873e49 100644 --- a/substrate/frame/contracts/src/benchmarking/sandbox.rs +++ b/substrate/frame/contracts/src/benchmarking/sandbox.rs @@ -20,7 +20,8 @@ /// ! environment that provides the seal interface as imported functions. use super::{code::WasmModule, Config}; use crate::wasm::{ - AllowDeprecatedInterface, AllowUnstableInterface, Determinism, Environment, WasmBlob, + AllowDeprecatedInterface, AllowUnstableInterface, Determinism, Environment, LoadedModule, + LoadingMode, WasmBlob, }; use sp_core::Get; use wasmi::{errors::LinkerError, Func, Linker, StackLimits, Store}; @@ -42,12 +43,18 @@ impl From<&WasmModule> for Sandbox { /// Creates an instance from the supplied module. /// Sets the execution engine fuel level to `u64::MAX`. fn from(module: &WasmModule) -> Self { - let (mut store, _memory, instance) = WasmBlob::::instantiate::( + let contract = LoadedModule::new::( &module.code, + Determinism::Relaxed, + Some(StackLimits::default()), + LoadingMode::Checked, + ) + .expect("Failed to load Wasm module"); + + let (mut store, _memory, instance) = WasmBlob::::instantiate::( + contract, (), &::Schedule::get(), - Determinism::Relaxed, - StackLimits::default(), // We are testing with an empty environment anyways AllowDeprecatedInterface::No, ) diff --git a/substrate/frame/contracts/src/tests.rs b/substrate/frame/contracts/src/tests.rs index db6b2e80d07f..d0d0cf67bd00 100644 --- a/substrate/frame/contracts/src/tests.rs +++ b/substrate/frame/contracts/src/tests.rs @@ -33,7 +33,7 @@ use crate::{ primitives::CodeUploadReturnValue, storage::DeletionQueueManager, tests::test_utils::{get_contract, get_contract_checked}, - wasm::{Determinism, ReturnErrorCode as RuntimeReturnCode}, + wasm::{Determinism, LoadingMode, ReturnErrorCode as RuntimeReturnCode}, weights::WeightInfo, Array, BalanceOf, Code, CodeHash, CodeInfoOf, CollectEvents, Config, ContractInfo, ContractInfoOf, DebugInfo, DefaultAddressGenerator, DeletionQueueCounter, Error, HoldReason, @@ -1299,6 +1299,36 @@ fn delegate_call() { }); } +#[test] +fn track_check_uncheck_module_call() { + let (wasm, code_hash) = compile_module::("dummy").unwrap(); + ExtBuilder::default().build().execute_with(|| { + let _ = ::Currency::set_balance(&ALICE, 1_000_000); + + Contracts::bare_upload_code(ALICE, wasm, None, Determinism::Enforced).unwrap(); + + Contracts::bare_instantiate( + ALICE, + 1_000, + GAS_LIMIT, + None, + Code::Existing(code_hash), + vec![], + vec![], + DebugInfo::Skip, + CollectEvents::Skip, + ) + .result + .unwrap() + .account_id; + }); + + assert_eq!( + crate::wasm::tracker::LOADED_MODULE.with(|stack| stack.borrow().clone()), + vec![LoadingMode::Checked, LoadingMode::Unchecked] + ); +} + #[test] fn transfer_expendable_cannot_kill_account() { let (wasm, _code_hash) = compile_module::("dummy").unwrap(); diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index af287a6f2dff..8695d91ab72a 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -21,26 +21,26 @@ mod prepare; mod runtime; -#[cfg(test)] -pub use runtime::STABLE_API_COUNT; - #[cfg(doc)] pub use crate::wasm::runtime::api_doc; -pub use crate::wasm::runtime::{ - AllowDeprecatedInterface, AllowUnstableInterface, Environment, Runtime, RuntimeCosts, -}; - #[cfg(test)] -pub use tests::MockExt; +pub use { + crate::wasm::{prepare::tracker, runtime::ReturnErrorCode}, + runtime::STABLE_API_COUNT, + tests::MockExt, +}; -#[cfg(test)] -pub use crate::wasm::runtime::ReturnErrorCode; +pub use crate::wasm::{ + prepare::{LoadedModule, LoadingMode}, + runtime::{ + AllowDeprecatedInterface, AllowUnstableInterface, Environment, Runtime, RuntimeCosts, + }, +}; use crate::{ exec::{ExecResult, Executable, ExportedFunction, Ext}, gas::{GasMeter, Token}, - wasm::prepare::LoadedModule, weights::WeightInfo, AccountIdOf, BadOrigin, BalanceOf, CodeHash, CodeInfoOf, CodeVec, Config, Error, Event, HoldReason, Pallet, PristineCode, Schedule, Weight, LOG_TARGET, @@ -201,17 +201,14 @@ impl WasmBlob { /// When validating we pass `()` as `host_state`. Please note that such a dummy instance must /// **never** be called/executed, since it will panic the executor. pub fn instantiate( - code: &[u8], + contract: LoadedModule, host_state: H, schedule: &Schedule, - determinism: Determinism, - stack_limits: StackLimits, allow_deprecated: AllowDeprecatedInterface, ) -> Result<(Store, Memory, InstancePre), &'static str> where E: Environment, { - let contract = LoadedModule::new::(&code, determinism, Some(stack_limits))?; let mut store = Store::new(&contract.engine, host_state); let mut linker = Linker::new(&contract.engine); E::define( @@ -358,12 +355,22 @@ impl Executable for WasmBlob { // Instantiate the Wasm module to the engine. let runtime = Runtime::new(ext, input_data); let schedule = ::Schedule::get(); + + let contract = LoadedModule::new::( + &code, + self.code_info.determinism, + Some(StackLimits::default()), + LoadingMode::Unchecked, + ) + .map_err(|err| { + log::debug!(target: LOG_TARGET, "failed to create wasmi module: {err:?}"); + Error::::CodeRejected + })?; + let (mut store, memory, instance) = Self::instantiate::( - code, + contract, runtime, &schedule, - self.code_info.determinism, - StackLimits::default(), match function { ExportedFunction::Call => AllowDeprecatedInterface::Yes, ExportedFunction::Constructor => AllowDeprecatedInterface::No, diff --git a/substrate/frame/contracts/src/wasm/prepare.rs b/substrate/frame/contracts/src/wasm/prepare.rs index 5efea8c3a23b..0d9a12d8ae83 100644 --- a/substrate/frame/contracts/src/wasm/prepare.rs +++ b/substrate/frame/contracts/src/wasm/prepare.rs @@ -48,6 +48,20 @@ pub struct LoadedModule { pub engine: Engine, } +#[derive(PartialEq, Debug, Clone)] +pub enum LoadingMode { + Checked, + Unchecked, +} + +#[cfg(test)] +pub mod tracker { + use sp_std::cell::RefCell; + thread_local! { + pub static LOADED_MODULE: RefCell> = RefCell::new(Vec::new()); + } +} + impl LoadedModule { /// Creates a new instance of `LoadedModule`. /// @@ -57,6 +71,7 @@ impl LoadedModule { code: &[u8], determinism: Determinism, stack_limits: Option, + _mode: LoadingMode, ) -> Result { // NOTE: wasmi does not support unstable WebAssembly features. The module is implicitly // checked for not having those ones when creating `wasmi::Module` below. @@ -79,11 +94,16 @@ impl LoadedModule { } let engine = Engine::new(&config); + + // TODO use Module::new_unchecked when validate_module is true once we are on wasmi@0.32 let module = Module::new(&engine, code).map_err(|err| { log::debug!(target: LOG_TARGET, "Module creation failed: {:?}", err); "Can't load the module into wasmi!" })?; + #[cfg(test)] + tracker::LOADED_MODULE.with(|t| t.borrow_mut().push(_mode)); + // Return a `LoadedModule` instance with // __valid__ module. Ok(LoadedModule { module, engine }) @@ -229,24 +249,38 @@ where E: Environment<()>, T: Config, { - (|| { + let module = (|| { + // We don't actually ever execute this instance so we can get away with a minimal stack + // which reduces the amount of memory that needs to be zeroed. + let stack_limits = Some(StackLimits::new(1, 1, 0).expect("initial <= max; qed")); + // We check that the module is generally valid, // and does not have restricted WebAssembly features, here. let contract_module = match *determinism { Determinism::Relaxed => - if let Ok(module) = LoadedModule::new::(code, Determinism::Enforced, None) { + if let Ok(module) = LoadedModule::new::( + code, + Determinism::Enforced, + stack_limits, + LoadingMode::Checked, + ) { *determinism = Determinism::Enforced; module } else { - LoadedModule::new::(code, Determinism::Relaxed, None)? + LoadedModule::new::(code, Determinism::Relaxed, None, LoadingMode::Checked)? }, - Determinism::Enforced => LoadedModule::new::(code, Determinism::Enforced, None)?, + Determinism::Enforced => LoadedModule::new::( + code, + Determinism::Enforced, + stack_limits, + LoadingMode::Checked, + )?, }; // The we check that module satisfies constraints the pallet puts on contracts. contract_module.scan_exports()?; contract_module.scan_imports::(schedule)?; - Ok(()) + Ok(contract_module) })() .map_err(|msg: &str| { log::debug!(target: LOG_TARGET, "New code rejected on validation: {}", msg); @@ -257,22 +291,11 @@ where // // - It doesn't use any unknown imports. // - It doesn't explode the wasmi bytecode generation. - // - // We don't actually ever execute this instance so we can get away with a minimal stack which - // reduces the amount of memory that needs to be zeroed. - let stack_limits = StackLimits::new(1, 1, 0).expect("initial <= max; qed"); - WasmBlob::::instantiate::( - &code, - (), - schedule, - *determinism, - stack_limits, - AllowDeprecatedInterface::No, - ) - .map_err(|err| { - log::debug!(target: LOG_TARGET, "{}", err); - (Error::::CodeRejected.into(), "New code rejected on wasmi instantiation!") - })?; + WasmBlob::::instantiate::(module, (), schedule, AllowDeprecatedInterface::No) + .map_err(|err| { + log::debug!(target: LOG_TARGET, "{err}"); + (Error::::CodeRejected.into(), "New code rejected on wasmi instantiation!") + })?; Ok(()) } @@ -325,7 +348,8 @@ pub mod benchmarking { owner: AccountIdOf, ) -> Result, DispatchError> { let determinism = Determinism::Enforced; - let contract_module = LoadedModule::new::(&code, determinism, None)?; + let contract_module = + LoadedModule::new::(&code, determinism, None, LoadingMode::Checked)?; let _ = contract_module.scan_imports::(schedule)?; let code: CodeVec = code.try_into().map_err(|_| >::CodeTooLarge)?; let code_info = CodeInfo { diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index aa75ca8b29e3..0368ef7a03d6 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-03-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-h2rr8wx7-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -142,8 +142,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_130_000 picoseconds. - Weight::from_parts(2_247_000, 1627) + // Minimum execution time: 2_062_000 picoseconds. + Weight::from_parts(2_204_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -153,10 +153,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_748_000 picoseconds. - Weight::from_parts(13_001_000, 442) - // Standard Error: 1_206 - .saturating_add(Weight::from_parts(1_146_159, 0).saturating_mul(k.into())) + // Minimum execution time: 12_515_000 picoseconds. + Weight::from_parts(12_838_000, 442) + // Standard Error: 1_292 + .saturating_add(Weight::from_parts(1_117_155, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -170,8 +170,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_636_000 picoseconds. - Weight::from_parts(8_664_917, 6149) + // Minimum execution time: 8_304_000 picoseconds. + Weight::from_parts(8_716_545, 6149) // Standard Error: 1 .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) @@ -186,8 +186,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_838_000 picoseconds. - Weight::from_parts(17_400_000, 6450) + // Minimum execution time: 17_042_000 picoseconds. + Weight::from_parts(17_587_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -200,10 +200,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_876_000 picoseconds. - Weight::from_parts(2_654_935, 3635) - // Standard Error: 2_001 - .saturating_add(Weight::from_parts(1_258_085, 0).saturating_mul(k.into())) + // Minimum execution time: 3_651_000 picoseconds. + Weight::from_parts(1_177_541, 3635) + // Standard Error: 2_128 + .saturating_add(Weight::from_parts(1_186_813, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -224,10 +224,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_038_000 picoseconds. - Weight::from_parts(20_890_548, 6266) + // Minimum execution time: 20_602_000 picoseconds. + Weight::from_parts(21_098_751, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(435, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(404, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -238,8 +238,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_579_000 picoseconds. - Weight::from_parts(13_486_000, 6380) + // Minimum execution time: 12_910_000 picoseconds. + Weight::from_parts(13_489_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -253,8 +253,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_123_000 picoseconds. - Weight::from_parts(48_284_000, 6292) + // Minimum execution time: 46_396_000 picoseconds. + Weight::from_parts(48_166_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -266,8 +266,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_237_000 picoseconds. - Weight::from_parts(57_996_000, 6534) + // Minimum execution time: 54_706_000 picoseconds. + Weight::from_parts(56_702_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -277,8 +277,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_766_000 picoseconds. - Weight::from_parts(2_807_000, 1627) + // Minimum execution time: 2_570_000 picoseconds. + Weight::from_parts(2_695_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -290,8 +290,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_243_000 picoseconds. - Weight::from_parts(12_890_000, 3631) + // Minimum execution time: 12_110_000 picoseconds. + Weight::from_parts(12_711_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -301,8 +301,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_951_000 picoseconds. - Weight::from_parts(5_232_000, 3607) + // Minimum execution time: 4_802_000 picoseconds. + Weight::from_parts(5_010_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -313,8 +313,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_530_000 picoseconds. - Weight::from_parts(6_726_000, 3632) + // Minimum execution time: 6_307_000 picoseconds. + Weight::from_parts(6_564_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -325,8 +325,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_227_000 picoseconds. - Weight::from_parts(6_708_000, 3607) + // Minimum execution time: 6_152_000 picoseconds. + Weight::from_parts(6_649_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -351,10 +351,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 309_889_000 picoseconds. - Weight::from_parts(277_084_159, 9217) - // Standard Error: 71 - .saturating_add(Weight::from_parts(33_471, 0).saturating_mul(c.into())) + // Minimum execution time: 290_074_000 picoseconds. + Weight::from_parts(278_261_858, 9217) + // Standard Error: 67 + .saturating_add(Weight::from_parts(34_488, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -386,14 +386,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_909_680_000 picoseconds. - Weight::from_parts(446_471_160, 8740) - // Standard Error: 159 - .saturating_add(Weight::from_parts(101_085, 0).saturating_mul(c.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_598, 0).saturating_mul(i.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_879, 0).saturating_mul(s.into())) + // Minimum execution time: 3_803_487_000 picoseconds. + Weight::from_parts(601_488_797, 8740) + // Standard Error: 167 + .saturating_add(Weight::from_parts(69_590, 0).saturating_mul(c.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_533, 0).saturating_mul(i.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_672, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -423,12 +423,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 1_968_545_000 picoseconds. - Weight::from_parts(420_048_028, 8982) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_685, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_645, 0).saturating_mul(s.into())) + // Minimum execution time: 2_003_284_000 picoseconds. + Weight::from_parts(476_389_493, 8982) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_610, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_631, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -452,8 +452,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 207_564_000 picoseconds. - Weight::from_parts(216_983_000, 9244) + // Minimum execution time: 203_451_000 picoseconds. + Weight::from_parts(211_897_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -474,10 +474,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 273_555_000 picoseconds. - Weight::from_parts(257_517_935, 6085) - // Standard Error: 148 - .saturating_add(Weight::from_parts(64_488, 0).saturating_mul(c.into())) + // Minimum execution time: 270_244_000 picoseconds. + Weight::from_parts(291_868_392, 6085) + // Standard Error: 65 + .saturating_add(Weight::from_parts(33_436, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -498,10 +498,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 289_672_000 picoseconds. - Weight::from_parts(297_020_278, 6085) - // Standard Error: 86 - .saturating_add(Weight::from_parts(64_340, 0).saturating_mul(c.into())) + // Minimum execution time: 274_665_000 picoseconds. + Weight::from_parts(296_146_185, 6085) + // Standard Error: 87 + .saturating_add(Weight::from_parts(33_976, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -519,8 +519,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_930_000 picoseconds. - Weight::from_parts(47_288_000, 3780) + // Minimum execution time: 45_902_000 picoseconds. + Weight::from_parts(46_906_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -536,8 +536,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 35_421_000 picoseconds. - Weight::from_parts(36_909_000, 8967) + // Minimum execution time: 35_326_000 picoseconds. + Weight::from_parts(36_432_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -562,10 +562,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `869 + r * (6 ±0)` // Estimated: `9284 + r * (6 ±0)` - // Minimum execution time: 275_531_000 picoseconds. - Weight::from_parts(292_269_656, 9284) - // Standard Error: 672 - .saturating_add(Weight::from_parts(339_728, 0).saturating_mul(r.into())) + // Minimum execution time: 265_404_000 picoseconds. + Weight::from_parts(290_004_630, 9284) + // Standard Error: 1_063 + .saturating_add(Weight::from_parts(347_053, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -591,10 +591,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `925 + r * (209 ±0)` // Estimated: `9304 + r * (2684 ±0)` - // Minimum execution time: 275_829_000 picoseconds. - Weight::from_parts(124_543_289, 9304) - // Standard Error: 6_085 - .saturating_add(Weight::from_parts(3_702_964, 0).saturating_mul(r.into())) + // Minimum execution time: 277_751_000 picoseconds. + Weight::from_parts(136_479_029, 9304) + // Standard Error: 6_360 + .saturating_add(Weight::from_parts(3_618_074, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -621,10 +621,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `924 + r * (213 ±0)` // Estimated: `9308 + r * (2688 ±0)` - // Minimum execution time: 276_666_000 picoseconds. - Weight::from_parts(96_951_288, 9308) - // Standard Error: 8_876 - .saturating_add(Weight::from_parts(4_604_699, 0).saturating_mul(r.into())) + // Minimum execution time: 269_973_000 picoseconds. + Weight::from_parts(125_294_729, 9308) + // Standard Error: 6_449 + .saturating_add(Weight::from_parts(4_450_282, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -651,10 +651,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `876 + r * (6 ±0)` // Estimated: `9293 + r * (6 ±0)` - // Minimum execution time: 271_301_000 picoseconds. - Weight::from_parts(284_126_054, 9293) - // Standard Error: 886 - .saturating_add(Weight::from_parts(437_127, 0).saturating_mul(r.into())) + // Minimum execution time: 262_879_000 picoseconds. + Weight::from_parts(291_351_948, 9293) + // Standard Error: 1_043 + .saturating_add(Weight::from_parts(426_810, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -680,10 +680,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 274_778_000 picoseconds. - Weight::from_parts(289_355_269, 9282) - // Standard Error: 382 - .saturating_add(Weight::from_parts(175_342, 0).saturating_mul(r.into())) + // Minimum execution time: 270_042_000 picoseconds. + Weight::from_parts(285_325_038, 9282) + // Standard Error: 389 + .saturating_add(Weight::from_parts(175_091, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -707,10 +707,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `756 + r * (3 ±0)` // Estimated: `9171 + r * (3 ±0)` - // Minimum execution time: 257_310_000 picoseconds. - Weight::from_parts(276_410_847, 9171) - // Standard Error: 733 - .saturating_add(Weight::from_parts(160_094, 0).saturating_mul(r.into())) + // Minimum execution time: 246_547_000 picoseconds. + Weight::from_parts(276_333_778, 9171) + // Standard Error: 391 + .saturating_add(Weight::from_parts(154_311, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -736,10 +736,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `870 + r * (6 ±0)` // Estimated: `9285 + r * (6 ±0)` - // Minimum execution time: 278_305_000 picoseconds. - Weight::from_parts(282_372_935, 9285) - // Standard Error: 1_154 - .saturating_add(Weight::from_parts(343_382, 0).saturating_mul(r.into())) + // Minimum execution time: 283_743_000 picoseconds. + Weight::from_parts(291_529_016, 9285) + // Standard Error: 803 + .saturating_add(Weight::from_parts(334_482, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -765,10 +765,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866 + r * (6 ±0)` // Estimated: `9284 + r * (6 ±0)` - // Minimum execution time: 280_349_000 picoseconds. - Weight::from_parts(294_864_875, 9284) - // Standard Error: 1_010 - .saturating_add(Weight::from_parts(368_740, 0).saturating_mul(r.into())) + // Minimum execution time: 267_490_000 picoseconds. + Weight::from_parts(287_918_132, 9284) + // Standard Error: 691 + .saturating_add(Weight::from_parts(379_225, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -794,10 +794,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1010 + r * (6 ±0)` // Estimated: `9409 + r * (6 ±0)` - // Minimum execution time: 274_578_000 picoseconds. - Weight::from_parts(313_285_034, 9409) - // Standard Error: 2_800 - .saturating_add(Weight::from_parts(1_653_468, 0).saturating_mul(r.into())) + // Minimum execution time: 262_734_000 picoseconds. + Weight::from_parts(309_136_510, 9409) + // Standard Error: 1_641 + .saturating_add(Weight::from_parts(1_608_535, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -823,10 +823,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `880 + r * (6 ±0)` // Estimated: `9301 + r * (6 ±0)` - // Minimum execution time: 287_127_000 picoseconds. - Weight::from_parts(290_489_909, 9301) - // Standard Error: 864 - .saturating_add(Weight::from_parts(332_977, 0).saturating_mul(r.into())) + // Minimum execution time: 258_340_000 picoseconds. + Weight::from_parts(292_372_138, 9301) + // Standard Error: 748 + .saturating_add(Weight::from_parts(323_960, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -852,10 +852,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `878 + r * (6 ±0)` // Estimated: `9294 + r * (6 ±0)` - // Minimum execution time: 273_291_000 picoseconds. - Weight::from_parts(293_650_716, 9294) - // Standard Error: 725 - .saturating_add(Weight::from_parts(323_281, 0).saturating_mul(r.into())) + // Minimum execution time: 270_072_000 picoseconds. + Weight::from_parts(289_886_197, 9294) + // Standard Error: 985 + .saturating_add(Weight::from_parts(334_672, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -881,10 +881,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `875 + r * (6 ±0)` // Estimated: `9297 + r * (6 ±0)` - // Minimum execution time: 282_061_000 picoseconds. - Weight::from_parts(291_729_751, 9297) - // Standard Error: 929 - .saturating_add(Weight::from_parts(324_683, 0).saturating_mul(r.into())) + // Minimum execution time: 261_046_000 picoseconds. + Weight::from_parts(288_645_723, 9297) + // Standard Error: 1_104 + .saturating_add(Weight::from_parts(334_718, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -910,10 +910,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866 + r * (6 ±0)` // Estimated: `9282 + r * (6 ±0)` - // Minimum execution time: 264_505_000 picoseconds. - Weight::from_parts(293_440_286, 9282) - // Standard Error: 704 - .saturating_add(Weight::from_parts(329_851, 0).saturating_mul(r.into())) + // Minimum execution time: 266_412_000 picoseconds. + Weight::from_parts(294_159_921, 9282) + // Standard Error: 927 + .saturating_add(Weight::from_parts(327_224, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -941,10 +941,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `940 + r * (14 ±0)` // Estimated: `9350 + r * (14 ±0)` - // Minimum execution time: 277_208_000 picoseconds. - Weight::from_parts(304_294_691, 9350) - // Standard Error: 1_083 - .saturating_add(Weight::from_parts(824_245, 0).saturating_mul(r.into())) + // Minimum execution time: 263_009_000 picoseconds. + Weight::from_parts(296_493_758, 9350) + // Standard Error: 805 + .saturating_add(Weight::from_parts(823_177, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 14).saturating_mul(r.into())) @@ -970,10 +970,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `868 + r * (6 ±0)` // Estimated: `9285 + r * (6 ±0)` - // Minimum execution time: 278_293_000 picoseconds. - Weight::from_parts(289_743_005, 9285) - // Standard Error: 672 - .saturating_add(Weight::from_parts(267_553, 0).saturating_mul(r.into())) + // Minimum execution time: 273_423_000 picoseconds. + Weight::from_parts(287_649_444, 9285) + // Standard Error: 666 + .saturating_add(Weight::from_parts(264_262, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -999,10 +999,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 279_495_000 picoseconds. - Weight::from_parts(232_736_994, 9287) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_008, 0).saturating_mul(n.into())) + // Minimum execution time: 273_363_000 picoseconds. + Weight::from_parts(232_119_082, 9287) + // Standard Error: 24 + .saturating_add(Weight::from_parts(991, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1027,10 +1027,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `856 + r * (45 ±0)` // Estimated: `9271 + r * (45 ±0)` - // Minimum execution time: 257_920_000 picoseconds. - Weight::from_parts(282_276_265, 9271) - // Standard Error: 948_490 - .saturating_add(Weight::from_parts(2_408_134, 0).saturating_mul(r.into())) + // Minimum execution time: 255_323_000 picoseconds. + Weight::from_parts(282_504_746, 9271) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(r.into())) @@ -1056,10 +1054,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866` // Estimated: `9288` - // Minimum execution time: 278_149_000 picoseconds. - Weight::from_parts(287_020_337, 9288) + // Minimum execution time: 265_992_000 picoseconds. + Weight::from_parts(282_204_782, 9288) // Standard Error: 0 - .saturating_add(Weight::from_parts(321, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(323, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1090,10 +1088,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 307_763_000 picoseconds. - Weight::from_parts(323_648_618, 13220) - // Standard Error: 879_890 - .saturating_add(Weight::from_parts(249_045_481, 0).saturating_mul(r.into())) + // Minimum execution time: 295_957_000 picoseconds. + Weight::from_parts(321_256_673, 13220) + // Standard Error: 803_166 + .saturating_add(Weight::from_parts(258_603_226, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1123,10 +1121,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `947 + r * (10 ±0)` // Estimated: `9363 + r * (10 ±0)` - // Minimum execution time: 278_400_000 picoseconds. - Weight::from_parts(293_743_000, 9363) - // Standard Error: 1_686 - .saturating_add(Weight::from_parts(1_288_603, 0).saturating_mul(r.into())) + // Minimum execution time: 275_156_000 picoseconds. + Weight::from_parts(306_788_972, 9363) + // Standard Error: 1_241 + .saturating_add(Weight::from_parts(1_256_474, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -1152,10 +1150,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866 + r * (10 ±0)` // Estimated: `9283 + r * (10 ±0)` - // Minimum execution time: 272_110_000 picoseconds. - Weight::from_parts(295_620_726, 9283) - // Standard Error: 5_481 - .saturating_add(Weight::from_parts(2_031_955, 0).saturating_mul(r.into())) + // Minimum execution time: 261_136_000 picoseconds. + Weight::from_parts(295_277_479, 9283) + // Standard Error: 1_143 + .saturating_add(Weight::from_parts(2_007_463, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -1182,12 +1180,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `883 + t * (32 ±0)` // Estimated: `9303 + t * (2508 ±0)` - // Minimum execution time: 277_409_000 picoseconds. - Weight::from_parts(293_838_037, 9303) - // Standard Error: 87_977 - .saturating_add(Weight::from_parts(2_911_340, 0).saturating_mul(t.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(531, 0).saturating_mul(n.into())) + // Minimum execution time: 272_927_000 picoseconds. + Weight::from_parts(293_216_756, 9303) + // Standard Error: 114_131 + .saturating_add(Weight::from_parts(2_840_571, 0).saturating_mul(t.into())) + // Standard Error: 31 + .saturating_add(Weight::from_parts(491, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1215,10 +1213,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `865 + r * (7 ±0)` // Estimated: `9285 + r * (7 ±0)` - // Minimum execution time: 172_634_000 picoseconds. - Weight::from_parts(183_322_840, 9285) - // Standard Error: 384 - .saturating_add(Weight::from_parts(226_007, 0).saturating_mul(r.into())) + // Minimum execution time: 169_169_000 picoseconds. + Weight::from_parts(180_765_224, 9285) + // Standard Error: 405 + .saturating_add(Weight::from_parts(229_603, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 7).saturating_mul(r.into())) @@ -1244,10 +1242,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `125816` // Estimated: `131758` - // Minimum execution time: 425_713_000 picoseconds. - Weight::from_parts(394_260_924, 131758) + // Minimum execution time: 400_215_000 picoseconds. + Weight::from_parts(388_084_146, 131758) // Standard Error: 12 - .saturating_add(Weight::from_parts(1_032, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_031, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1258,10 +1256,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `927 + r * (292 ±0)` // Estimated: `929 + r * (293 ±0)` - // Minimum execution time: 268_128_000 picoseconds. - Weight::from_parts(186_787_113, 929) - // Standard Error: 10_796 - .saturating_add(Weight::from_parts(6_454_780, 0).saturating_mul(r.into())) + // Minimum execution time: 279_742_000 picoseconds. + Weight::from_parts(187_348_557, 929) + // Standard Error: 10_207 + .saturating_add(Weight::from_parts(6_441_197, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1275,10 +1273,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1450` // Estimated: `1433` - // Minimum execution time: 286_565_000 picoseconds. - Weight::from_parts(349_504_932, 1433) - // Standard Error: 70 - .saturating_add(Weight::from_parts(530, 0).saturating_mul(n.into())) + // Minimum execution time: 280_033_000 picoseconds. + Weight::from_parts(345_687_618, 1433) + // Standard Error: 73 + .saturating_add(Weight::from_parts(845, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(8_u64)) } @@ -1289,10 +1287,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1256 + n * (1 ±0)` // Estimated: `1256 + n * (1 ±0)` - // Minimum execution time: 282_478_000 picoseconds. - Weight::from_parts(303_448_260, 1256) - // Standard Error: 34 - .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) + // Minimum execution time: 276_118_000 picoseconds. + Weight::from_parts(305_327_046, 1256) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1304,10 +1300,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `924 + r * (288 ±0)` // Estimated: `930 + r * (289 ±0)` - // Minimum execution time: 271_793_000 picoseconds. - Weight::from_parts(179_158_648, 930) - // Standard Error: 11_868 - .saturating_add(Weight::from_parts(6_397_986, 0).saturating_mul(r.into())) + // Minimum execution time: 263_205_000 picoseconds. + Weight::from_parts(189_950_089, 930) + // Standard Error: 9_690 + .saturating_add(Weight::from_parts(6_367_259, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1321,10 +1317,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1252 + n * (1 ±0)` // Estimated: `1252 + n * (1 ±0)` - // Minimum execution time: 273_945_000 picoseconds. - Weight::from_parts(299_855_996, 1252) - // Standard Error: 31 - .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) + // Minimum execution time: 275_764_000 picoseconds. + Weight::from_parts(300_997_238, 1252) + // Standard Error: 34 + .saturating_add(Weight::from_parts(360, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1336,10 +1332,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `924 + r * (296 ±0)` // Estimated: `926 + r * (297 ±0)` - // Minimum execution time: 275_285_000 picoseconds. - Weight::from_parts(207_735_572, 926) - // Standard Error: 9_736 - .saturating_add(Weight::from_parts(5_162_837, 0).saturating_mul(r.into())) + // Minimum execution time: 261_974_000 picoseconds. + Weight::from_parts(208_414_361, 926) + // Standard Error: 8_221 + .saturating_add(Weight::from_parts(5_324_378, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1352,10 +1348,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1268 + n * (1 ±0)` // Estimated: `1268 + n * (1 ±0)` - // Minimum execution time: 278_929_000 picoseconds. - Weight::from_parts(302_251_674, 1268) - // Standard Error: 34 - .saturating_add(Weight::from_parts(583, 0).saturating_mul(n.into())) + // Minimum execution time: 275_202_000 picoseconds. + Weight::from_parts(300_523_927, 1268) + // Standard Error: 37 + .saturating_add(Weight::from_parts(896, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1367,10 +1363,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `935 + r * (288 ±0)` // Estimated: `932 + r * (289 ±0)` - // Minimum execution time: 258_476_000 picoseconds. - Weight::from_parts(209_578_051, 932) - // Standard Error: 8_255 - .saturating_add(Weight::from_parts(4_942_572, 0).saturating_mul(r.into())) + // Minimum execution time: 259_760_000 picoseconds. + Weight::from_parts(214_297_401, 932) + // Standard Error: 8_148 + .saturating_add(Weight::from_parts(5_062_314, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1383,8 +1379,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1255 + n * (1 ±0)` // Estimated: `1255 + n * (1 ±0)` - // Minimum execution time: 273_089_000 picoseconds. - Weight::from_parts(302_452_604, 1255) + // Minimum execution time: 273_649_000 picoseconds. + Weight::from_parts(300_580_439, 1255) + // Standard Error: 41 + .saturating_add(Weight::from_parts(420, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1396,10 +1394,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `917 + r * (296 ±0)` // Estimated: `922 + r * (297 ±0)` - // Minimum execution time: 274_301_000 picoseconds. - Weight::from_parts(172_245_469, 922) - // Standard Error: 11_306 - .saturating_add(Weight::from_parts(6_526_825, 0).saturating_mul(r.into())) + // Minimum execution time: 277_589_000 picoseconds. + Weight::from_parts(187_203_548, 922) + // Standard Error: 10_371 + .saturating_add(Weight::from_parts(6_546_015, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1413,10 +1411,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1269 + n * (1 ±0)` // Estimated: `1269 + n * (1 ±0)` - // Minimum execution time: 280_399_000 picoseconds. - Weight::from_parts(305_970_974, 1269) - // Standard Error: 36 - .saturating_add(Weight::from_parts(568, 0).saturating_mul(n.into())) + // Minimum execution time: 277_586_000 picoseconds. + Weight::from_parts(303_066_623, 1269) + // Standard Error: 39 + .saturating_add(Weight::from_parts(768, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1442,10 +1440,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1418 + r * (45 ±0)` // Estimated: `9785 + r * (2520 ±0)` - // Minimum execution time: 258_452_000 picoseconds. - Weight::from_parts(276_401_000, 9785) - // Standard Error: 65_648 - .saturating_add(Weight::from_parts(33_890_852, 0).saturating_mul(r.into())) + // Minimum execution time: 263_865_000 picoseconds. + Weight::from_parts(88_499_163, 9785) + // Standard Error: 56_755 + .saturating_add(Weight::from_parts(35_027_950, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1473,10 +1471,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1263 + r * (245 ±0)` // Estimated: `9635 + r * (2721 ±0)` - // Minimum execution time: 281_394_000 picoseconds. - Weight::from_parts(286_475_000, 9635) - // Standard Error: 156_302 - .saturating_add(Weight::from_parts(250_370_283, 0).saturating_mul(r.into())) + // Minimum execution time: 267_533_000 picoseconds. + Weight::from_parts(284_794_000, 9635) + // Standard Error: 119_200 + .saturating_add(Weight::from_parts(245_684_062, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1503,11 +1501,11 @@ impl WeightInfo for SubstrateWeight { fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (576 ±0)` - // Estimated: `9290 + r * (2637 ±10)` - // Minimum execution time: 278_193_000 picoseconds. - Weight::from_parts(280_814_000, 9290) - // Standard Error: 164_401 - .saturating_add(Weight::from_parts(251_272_834, 0).saturating_mul(r.into())) + // Estimated: `9290 + r * (2637 ±3)` + // Minimum execution time: 283_568_000 picoseconds. + Weight::from_parts(288_748_000, 9290) + // Standard Error: 111_332 + .saturating_add(Weight::from_parts(245_179_585, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1536,12 +1534,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1310 + t * (277 ±0)` // Estimated: `12200 + t * (5227 ±0)` - // Minimum execution time: 476_812_000 picoseconds. - Weight::from_parts(70_715_306, 12200) - // Standard Error: 12_232_109 - .saturating_add(Weight::from_parts(374_277_042, 0).saturating_mul(t.into())) + // Minimum execution time: 468_779_000 picoseconds. + Weight::from_parts(65_285_795, 12200) + // Standard Error: 11_994_654 + .saturating_add(Weight::from_parts(376_501_120, 0).saturating_mul(t.into())) // Standard Error: 17 - .saturating_add(Weight::from_parts(1_022, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(991, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) @@ -1573,10 +1571,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1281 + r * (255 ±0)` // Estimated: `9623 + r * (2731 ±0)` - // Minimum execution time: 656_480_000 picoseconds. - Weight::from_parts(668_579_000, 9623) - // Standard Error: 365_458 - .saturating_add(Weight::from_parts(379_238_223, 0).saturating_mul(r.into())) + // Minimum execution time: 658_965_000 picoseconds. + Weight::from_parts(669_440_000, 9623) + // Standard Error: 296_640 + .saturating_add(Weight::from_parts(371_697_976, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -1610,12 +1608,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1306 + t * (104 ±0)` // Estimated: `12214 + t * (2549 ±1)` - // Minimum execution time: 2_148_964_000 picoseconds. - Weight::from_parts(1_557_685_999, 12214) - // Standard Error: 36 - .saturating_add(Weight::from_parts(864, 0).saturating_mul(i.into())) - // Standard Error: 36 - .saturating_add(Weight::from_parts(1_092, 0).saturating_mul(s.into())) + // Minimum execution time: 2_131_937_000 picoseconds. + Weight::from_parts(1_174_599_346, 12214) + // Standard Error: 13_331_202 + .saturating_add(Weight::from_parts(10_375_233, 0).saturating_mul(t.into())) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_042, 0).saturating_mul(i.into())) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(11_u64)) @@ -1643,10 +1643,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `865 + r * (8 ±0)` // Estimated: `9279 + r * (8 ±0)` - // Minimum execution time: 279_377_000 picoseconds. - Weight::from_parts(287_951_287, 9279) - // Standard Error: 659 - .saturating_add(Weight::from_parts(376_476, 0).saturating_mul(r.into())) + // Minimum execution time: 263_660_000 picoseconds. + Weight::from_parts(285_027_248, 9279) + // Standard Error: 578 + .saturating_add(Weight::from_parts(376_064, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1672,10 +1672,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `873` // Estimated: `9286` - // Minimum execution time: 276_151_000 picoseconds. - Weight::from_parts(267_656_959, 9286) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_108, 0).saturating_mul(n.into())) + // Minimum execution time: 273_302_000 picoseconds. + Weight::from_parts(271_540_758, 9286) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_097, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1700,10 +1700,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867 + r * (8 ±0)` // Estimated: `9284 + r * (8 ±0)` - // Minimum execution time: 275_247_000 picoseconds. - Weight::from_parts(286_675_317, 9284) - // Standard Error: 601 - .saturating_add(Weight::from_parts(788_160, 0).saturating_mul(r.into())) + // Minimum execution time: 261_373_000 picoseconds. + Weight::from_parts(287_143_849, 9284) + // Standard Error: 587 + .saturating_add(Weight::from_parts(774_120, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1729,10 +1729,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `875` // Estimated: `9292` - // Minimum execution time: 281_585_000 picoseconds. - Weight::from_parts(287_637_844, 9292) + // Minimum execution time: 263_235_000 picoseconds. + Weight::from_parts(283_901_892, 9292) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_351, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_347, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1757,10 +1757,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867 + r * (8 ±0)` // Estimated: `9286 + r * (8 ±0)` - // Minimum execution time: 273_678_000 picoseconds. - Weight::from_parts(289_879_306, 9286) - // Standard Error: 607 - .saturating_add(Weight::from_parts(439_482, 0).saturating_mul(r.into())) + // Minimum execution time: 255_622_000 picoseconds. + Weight::from_parts(284_903_093, 9286) + // Standard Error: 558 + .saturating_add(Weight::from_parts(443_856, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1786,10 +1786,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `875` // Estimated: `9291` - // Minimum execution time: 275_126_000 picoseconds. - Weight::from_parts(276_684_594, 9291) + // Minimum execution time: 271_250_000 picoseconds. + Weight::from_parts(273_107_390, 9291) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1814,10 +1814,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867 + r * (8 ±0)` // Estimated: `9283 + r * (8 ±0)` - // Minimum execution time: 273_229_000 picoseconds. - Weight::from_parts(287_793_841, 9283) - // Standard Error: 451 - .saturating_add(Weight::from_parts(447_922, 0).saturating_mul(r.into())) + // Minimum execution time: 277_037_000 picoseconds. + Weight::from_parts(284_462_817, 9283) + // Standard Error: 589 + .saturating_add(Weight::from_parts(443_782, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1843,10 +1843,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `875` // Estimated: `9289` - // Minimum execution time: 277_843_000 picoseconds. - Weight::from_parts(279_900_099, 9289) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(n.into())) + // Minimum execution time: 271_853_000 picoseconds. + Weight::from_parts(278_806_382, 9289) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1871,10 +1871,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1000 + n * (1 ±0)` // Estimated: `9412 + n * (1 ±0)` - // Minimum execution time: 331_840_000 picoseconds. - Weight::from_parts(338_767_191, 9412) + // Minimum execution time: 333_560_000 picoseconds. + Weight::from_parts(344_205_307, 9412) // Standard Error: 11 - .saturating_add(Weight::from_parts(5_971, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(5_635, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1900,10 +1900,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `808 + r * (112 ±0)` // Estimated: `9226 + r * (112 ±0)` - // Minimum execution time: 277_912_000 picoseconds. - Weight::from_parts(344_538_960, 9226) - // Standard Error: 13_422 - .saturating_add(Weight::from_parts(41_592_887, 0).saturating_mul(r.into())) + // Minimum execution time: 279_822_000 picoseconds. + Weight::from_parts(317_314_426, 9226) + // Standard Error: 28_184 + .saturating_add(Weight::from_parts(50_193_474, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(r.into())) @@ -1929,10 +1929,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `910 + r * (76 ±0)` // Estimated: `9279 + r * (77 ±0)` - // Minimum execution time: 280_383_000 picoseconds. - Weight::from_parts(348_542_377, 9279) - // Standard Error: 13_985 - .saturating_add(Weight::from_parts(45_983_827, 0).saturating_mul(r.into())) + // Minimum execution time: 261_655_000 picoseconds. + Weight::from_parts(339_705_825, 9279) + // Standard Error: 17_438 + .saturating_add(Weight::from_parts(45_941_629, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 77).saturating_mul(r.into())) @@ -1958,10 +1958,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `880 + r * (42 ±0)` // Estimated: `9294 + r * (42 ±0)` - // Minimum execution time: 277_764_000 picoseconds. - Weight::from_parts(320_288_180, 9294) - // Standard Error: 10_140 - .saturating_add(Weight::from_parts(12_046_137, 0).saturating_mul(r.into())) + // Minimum execution time: 273_755_000 picoseconds. + Weight::from_parts(307_014_685, 9294) + // Standard Error: 10_405 + .saturating_add(Weight::from_parts(12_096_129, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 42).saturating_mul(r.into())) @@ -1987,10 +1987,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (965 ±0)` // Estimated: `9285 + r * (3090 ±7)` - // Minimum execution time: 271_356_000 picoseconds. - Weight::from_parts(282_924_000, 9285) - // Standard Error: 60_493 - .saturating_add(Weight::from_parts(28_319_267, 0).saturating_mul(r.into())) + // Minimum execution time: 262_646_000 picoseconds. + Weight::from_parts(278_228_000, 9285) + // Standard Error: 46_013 + .saturating_add(Weight::from_parts(27_201_737, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -2018,10 +2018,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `937 + r * (131 ±0)` // Estimated: `9346 + r * (2607 ±0)` - // Minimum execution time: 269_698_000 picoseconds. - Weight::from_parts(294_325_127, 9346) - // Standard Error: 22_352 - .saturating_add(Weight::from_parts(6_744_117, 0).saturating_mul(r.into())) + // Minimum execution time: 266_233_000 picoseconds. + Weight::from_parts(295_045_759, 9346) + // Standard Error: 21_486 + .saturating_add(Weight::from_parts(6_588_383, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -2049,10 +2049,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `972 + r * (184 ±0)` // Estimated: `129453 + r * (2568 ±0)` - // Minimum execution time: 261_226_000 picoseconds. - Weight::from_parts(294_299_527, 129453) - // Standard Error: 27_898 - .saturating_add(Weight::from_parts(6_031_601, 0).saturating_mul(r.into())) + // Minimum execution time: 259_992_000 picoseconds. + Weight::from_parts(292_630_388, 129453) + // Standard Error: 24_038 + .saturating_add(Weight::from_parts(6_004_673, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -2080,10 +2080,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 270_729_000 picoseconds. - Weight::from_parts(289_622_807, 9282) - // Standard Error: 394 - .saturating_add(Weight::from_parts(167_010, 0).saturating_mul(r.into())) + // Minimum execution time: 258_793_000 picoseconds. + Weight::from_parts(289_641_499, 9282) + // Standard Error: 455 + .saturating_add(Weight::from_parts(164_536, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2109,10 +2109,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2112 + r * (39 ±0)` // Estimated: `10377 + r * (40 ±0)` - // Minimum execution time: 272_228_000 picoseconds. - Weight::from_parts(351_059_276, 10377) - // Standard Error: 1_761 - .saturating_add(Weight::from_parts(312_269, 0).saturating_mul(r.into())) + // Minimum execution time: 259_954_000 picoseconds. + Weight::from_parts(325_371_604, 10377) + // Standard Error: 1_265 + .saturating_add(Weight::from_parts(281_358, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 40).saturating_mul(r.into())) @@ -2140,10 +2140,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `864 + r * (3 ±0)` // Estimated: `9279 + r * (3 ±0)` - // Minimum execution time: 272_497_000 picoseconds. - Weight::from_parts(288_213_060, 9279) - // Standard Error: 469 - .saturating_add(Weight::from_parts(155_530, 0).saturating_mul(r.into())) + // Minimum execution time: 260_344_000 picoseconds. + Weight::from_parts(285_358_489, 9279) + // Standard Error: 348 + .saturating_add(Weight::from_parts(153_525, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2153,10 +2153,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_990_000 picoseconds. - Weight::from_parts(1_778_221, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(14_888, 0).saturating_mul(r.into())) + // Minimum execution time: 2_061_000 picoseconds. + Weight::from_parts(2_461_260, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(14_278, 0).saturating_mul(r.into())) } } @@ -2168,8 +2168,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_130_000 picoseconds. - Weight::from_parts(2_247_000, 1627) + // Minimum execution time: 2_062_000 picoseconds. + Weight::from_parts(2_204_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -2179,10 +2179,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_748_000 picoseconds. - Weight::from_parts(13_001_000, 442) - // Standard Error: 1_206 - .saturating_add(Weight::from_parts(1_146_159, 0).saturating_mul(k.into())) + // Minimum execution time: 12_515_000 picoseconds. + Weight::from_parts(12_838_000, 442) + // Standard Error: 1_292 + .saturating_add(Weight::from_parts(1_117_155, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2196,8 +2196,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_636_000 picoseconds. - Weight::from_parts(8_664_917, 6149) + // Minimum execution time: 8_304_000 picoseconds. + Weight::from_parts(8_716_545, 6149) // Standard Error: 1 .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) @@ -2212,8 +2212,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_838_000 picoseconds. - Weight::from_parts(17_400_000, 6450) + // Minimum execution time: 17_042_000 picoseconds. + Weight::from_parts(17_587_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2226,10 +2226,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_876_000 picoseconds. - Weight::from_parts(2_654_935, 3635) - // Standard Error: 2_001 - .saturating_add(Weight::from_parts(1_258_085, 0).saturating_mul(k.into())) + // Minimum execution time: 3_651_000 picoseconds. + Weight::from_parts(1_177_541, 3635) + // Standard Error: 2_128 + .saturating_add(Weight::from_parts(1_186_813, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -2250,10 +2250,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_038_000 picoseconds. - Weight::from_parts(20_890_548, 6266) + // Minimum execution time: 20_602_000 picoseconds. + Weight::from_parts(21_098_751, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(435, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(404, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -2264,8 +2264,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_579_000 picoseconds. - Weight::from_parts(13_486_000, 6380) + // Minimum execution time: 12_910_000 picoseconds. + Weight::from_parts(13_489_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2279,8 +2279,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_123_000 picoseconds. - Weight::from_parts(48_284_000, 6292) + // Minimum execution time: 46_396_000 picoseconds. + Weight::from_parts(48_166_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2292,8 +2292,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_237_000 picoseconds. - Weight::from_parts(57_996_000, 6534) + // Minimum execution time: 54_706_000 picoseconds. + Weight::from_parts(56_702_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2303,8 +2303,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_766_000 picoseconds. - Weight::from_parts(2_807_000, 1627) + // Minimum execution time: 2_570_000 picoseconds. + Weight::from_parts(2_695_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2316,8 +2316,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_243_000 picoseconds. - Weight::from_parts(12_890_000, 3631) + // Minimum execution time: 12_110_000 picoseconds. + Weight::from_parts(12_711_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2327,8 +2327,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_951_000 picoseconds. - Weight::from_parts(5_232_000, 3607) + // Minimum execution time: 4_802_000 picoseconds. + Weight::from_parts(5_010_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -2339,8 +2339,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_530_000 picoseconds. - Weight::from_parts(6_726_000, 3632) + // Minimum execution time: 6_307_000 picoseconds. + Weight::from_parts(6_564_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -2351,8 +2351,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_227_000 picoseconds. - Weight::from_parts(6_708_000, 3607) + // Minimum execution time: 6_152_000 picoseconds. + Weight::from_parts(6_649_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2377,10 +2377,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 309_889_000 picoseconds. - Weight::from_parts(277_084_159, 9217) - // Standard Error: 71 - .saturating_add(Weight::from_parts(33_471, 0).saturating_mul(c.into())) + // Minimum execution time: 290_074_000 picoseconds. + Weight::from_parts(278_261_858, 9217) + // Standard Error: 67 + .saturating_add(Weight::from_parts(34_488, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -2412,14 +2412,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_909_680_000 picoseconds. - Weight::from_parts(446_471_160, 8740) - // Standard Error: 159 - .saturating_add(Weight::from_parts(101_085, 0).saturating_mul(c.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_598, 0).saturating_mul(i.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_879, 0).saturating_mul(s.into())) + // Minimum execution time: 3_803_487_000 picoseconds. + Weight::from_parts(601_488_797, 8740) + // Standard Error: 167 + .saturating_add(Weight::from_parts(69_590, 0).saturating_mul(c.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_533, 0).saturating_mul(i.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_672, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -2449,12 +2449,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 1_968_545_000 picoseconds. - Weight::from_parts(420_048_028, 8982) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_685, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_645, 0).saturating_mul(s.into())) + // Minimum execution time: 2_003_284_000 picoseconds. + Weight::from_parts(476_389_493, 8982) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_610, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_631, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -2478,8 +2478,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 207_564_000 picoseconds. - Weight::from_parts(216_983_000, 9244) + // Minimum execution time: 203_451_000 picoseconds. + Weight::from_parts(211_897_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2500,10 +2500,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 273_555_000 picoseconds. - Weight::from_parts(257_517_935, 6085) - // Standard Error: 148 - .saturating_add(Weight::from_parts(64_488, 0).saturating_mul(c.into())) + // Minimum execution time: 270_244_000 picoseconds. + Weight::from_parts(291_868_392, 6085) + // Standard Error: 65 + .saturating_add(Weight::from_parts(33_436, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2524,10 +2524,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 289_672_000 picoseconds. - Weight::from_parts(297_020_278, 6085) - // Standard Error: 86 - .saturating_add(Weight::from_parts(64_340, 0).saturating_mul(c.into())) + // Minimum execution time: 274_665_000 picoseconds. + Weight::from_parts(296_146_185, 6085) + // Standard Error: 87 + .saturating_add(Weight::from_parts(33_976, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2545,8 +2545,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_930_000 picoseconds. - Weight::from_parts(47_288_000, 3780) + // Minimum execution time: 45_902_000 picoseconds. + Weight::from_parts(46_906_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2562,8 +2562,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 35_421_000 picoseconds. - Weight::from_parts(36_909_000, 8967) + // Minimum execution time: 35_326_000 picoseconds. + Weight::from_parts(36_432_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -2588,10 +2588,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `869 + r * (6 ±0)` // Estimated: `9284 + r * (6 ±0)` - // Minimum execution time: 275_531_000 picoseconds. - Weight::from_parts(292_269_656, 9284) - // Standard Error: 672 - .saturating_add(Weight::from_parts(339_728, 0).saturating_mul(r.into())) + // Minimum execution time: 265_404_000 picoseconds. + Weight::from_parts(290_004_630, 9284) + // Standard Error: 1_063 + .saturating_add(Weight::from_parts(347_053, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2617,10 +2617,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `925 + r * (209 ±0)` // Estimated: `9304 + r * (2684 ±0)` - // Minimum execution time: 275_829_000 picoseconds. - Weight::from_parts(124_543_289, 9304) - // Standard Error: 6_085 - .saturating_add(Weight::from_parts(3_702_964, 0).saturating_mul(r.into())) + // Minimum execution time: 277_751_000 picoseconds. + Weight::from_parts(136_479_029, 9304) + // Standard Error: 6_360 + .saturating_add(Weight::from_parts(3_618_074, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2647,10 +2647,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `924 + r * (213 ±0)` // Estimated: `9308 + r * (2688 ±0)` - // Minimum execution time: 276_666_000 picoseconds. - Weight::from_parts(96_951_288, 9308) - // Standard Error: 8_876 - .saturating_add(Weight::from_parts(4_604_699, 0).saturating_mul(r.into())) + // Minimum execution time: 269_973_000 picoseconds. + Weight::from_parts(125_294_729, 9308) + // Standard Error: 6_449 + .saturating_add(Weight::from_parts(4_450_282, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2677,10 +2677,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `876 + r * (6 ±0)` // Estimated: `9293 + r * (6 ±0)` - // Minimum execution time: 271_301_000 picoseconds. - Weight::from_parts(284_126_054, 9293) - // Standard Error: 886 - .saturating_add(Weight::from_parts(437_127, 0).saturating_mul(r.into())) + // Minimum execution time: 262_879_000 picoseconds. + Weight::from_parts(291_351_948, 9293) + // Standard Error: 1_043 + .saturating_add(Weight::from_parts(426_810, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2706,10 +2706,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 274_778_000 picoseconds. - Weight::from_parts(289_355_269, 9282) - // Standard Error: 382 - .saturating_add(Weight::from_parts(175_342, 0).saturating_mul(r.into())) + // Minimum execution time: 270_042_000 picoseconds. + Weight::from_parts(285_325_038, 9282) + // Standard Error: 389 + .saturating_add(Weight::from_parts(175_091, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2733,10 +2733,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `756 + r * (3 ±0)` // Estimated: `9171 + r * (3 ±0)` - // Minimum execution time: 257_310_000 picoseconds. - Weight::from_parts(276_410_847, 9171) - // Standard Error: 733 - .saturating_add(Weight::from_parts(160_094, 0).saturating_mul(r.into())) + // Minimum execution time: 246_547_000 picoseconds. + Weight::from_parts(276_333_778, 9171) + // Standard Error: 391 + .saturating_add(Weight::from_parts(154_311, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2762,10 +2762,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `870 + r * (6 ±0)` // Estimated: `9285 + r * (6 ±0)` - // Minimum execution time: 278_305_000 picoseconds. - Weight::from_parts(282_372_935, 9285) - // Standard Error: 1_154 - .saturating_add(Weight::from_parts(343_382, 0).saturating_mul(r.into())) + // Minimum execution time: 283_743_000 picoseconds. + Weight::from_parts(291_529_016, 9285) + // Standard Error: 803 + .saturating_add(Weight::from_parts(334_482, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2791,10 +2791,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866 + r * (6 ±0)` // Estimated: `9284 + r * (6 ±0)` - // Minimum execution time: 280_349_000 picoseconds. - Weight::from_parts(294_864_875, 9284) - // Standard Error: 1_010 - .saturating_add(Weight::from_parts(368_740, 0).saturating_mul(r.into())) + // Minimum execution time: 267_490_000 picoseconds. + Weight::from_parts(287_918_132, 9284) + // Standard Error: 691 + .saturating_add(Weight::from_parts(379_225, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2820,10 +2820,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1010 + r * (6 ±0)` // Estimated: `9409 + r * (6 ±0)` - // Minimum execution time: 274_578_000 picoseconds. - Weight::from_parts(313_285_034, 9409) - // Standard Error: 2_800 - .saturating_add(Weight::from_parts(1_653_468, 0).saturating_mul(r.into())) + // Minimum execution time: 262_734_000 picoseconds. + Weight::from_parts(309_136_510, 9409) + // Standard Error: 1_641 + .saturating_add(Weight::from_parts(1_608_535, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2849,10 +2849,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `880 + r * (6 ±0)` // Estimated: `9301 + r * (6 ±0)` - // Minimum execution time: 287_127_000 picoseconds. - Weight::from_parts(290_489_909, 9301) - // Standard Error: 864 - .saturating_add(Weight::from_parts(332_977, 0).saturating_mul(r.into())) + // Minimum execution time: 258_340_000 picoseconds. + Weight::from_parts(292_372_138, 9301) + // Standard Error: 748 + .saturating_add(Weight::from_parts(323_960, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2878,10 +2878,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `878 + r * (6 ±0)` // Estimated: `9294 + r * (6 ±0)` - // Minimum execution time: 273_291_000 picoseconds. - Weight::from_parts(293_650_716, 9294) - // Standard Error: 725 - .saturating_add(Weight::from_parts(323_281, 0).saturating_mul(r.into())) + // Minimum execution time: 270_072_000 picoseconds. + Weight::from_parts(289_886_197, 9294) + // Standard Error: 985 + .saturating_add(Weight::from_parts(334_672, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2907,10 +2907,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `875 + r * (6 ±0)` // Estimated: `9297 + r * (6 ±0)` - // Minimum execution time: 282_061_000 picoseconds. - Weight::from_parts(291_729_751, 9297) - // Standard Error: 929 - .saturating_add(Weight::from_parts(324_683, 0).saturating_mul(r.into())) + // Minimum execution time: 261_046_000 picoseconds. + Weight::from_parts(288_645_723, 9297) + // Standard Error: 1_104 + .saturating_add(Weight::from_parts(334_718, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2936,10 +2936,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866 + r * (6 ±0)` // Estimated: `9282 + r * (6 ±0)` - // Minimum execution time: 264_505_000 picoseconds. - Weight::from_parts(293_440_286, 9282) - // Standard Error: 704 - .saturating_add(Weight::from_parts(329_851, 0).saturating_mul(r.into())) + // Minimum execution time: 266_412_000 picoseconds. + Weight::from_parts(294_159_921, 9282) + // Standard Error: 927 + .saturating_add(Weight::from_parts(327_224, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2967,10 +2967,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `940 + r * (14 ±0)` // Estimated: `9350 + r * (14 ±0)` - // Minimum execution time: 277_208_000 picoseconds. - Weight::from_parts(304_294_691, 9350) - // Standard Error: 1_083 - .saturating_add(Weight::from_parts(824_245, 0).saturating_mul(r.into())) + // Minimum execution time: 263_009_000 picoseconds. + Weight::from_parts(296_493_758, 9350) + // Standard Error: 805 + .saturating_add(Weight::from_parts(823_177, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 14).saturating_mul(r.into())) @@ -2996,10 +2996,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `868 + r * (6 ±0)` // Estimated: `9285 + r * (6 ±0)` - // Minimum execution time: 278_293_000 picoseconds. - Weight::from_parts(289_743_005, 9285) - // Standard Error: 672 - .saturating_add(Weight::from_parts(267_553, 0).saturating_mul(r.into())) + // Minimum execution time: 273_423_000 picoseconds. + Weight::from_parts(287_649_444, 9285) + // Standard Error: 666 + .saturating_add(Weight::from_parts(264_262, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -3025,10 +3025,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 279_495_000 picoseconds. - Weight::from_parts(232_736_994, 9287) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_008, 0).saturating_mul(n.into())) + // Minimum execution time: 273_363_000 picoseconds. + Weight::from_parts(232_119_082, 9287) + // Standard Error: 24 + .saturating_add(Weight::from_parts(991, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3053,10 +3053,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `856 + r * (45 ±0)` // Estimated: `9271 + r * (45 ±0)` - // Minimum execution time: 257_920_000 picoseconds. - Weight::from_parts(282_276_265, 9271) - // Standard Error: 948_490 - .saturating_add(Weight::from_parts(2_408_134, 0).saturating_mul(r.into())) + // Minimum execution time: 255_323_000 picoseconds. + Weight::from_parts(282_504_746, 9271) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(r.into())) @@ -3082,10 +3080,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866` // Estimated: `9288` - // Minimum execution time: 278_149_000 picoseconds. - Weight::from_parts(287_020_337, 9288) + // Minimum execution time: 265_992_000 picoseconds. + Weight::from_parts(282_204_782, 9288) // Standard Error: 0 - .saturating_add(Weight::from_parts(321, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(323, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3116,10 +3114,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 307_763_000 picoseconds. - Weight::from_parts(323_648_618, 13220) - // Standard Error: 879_890 - .saturating_add(Weight::from_parts(249_045_481, 0).saturating_mul(r.into())) + // Minimum execution time: 295_957_000 picoseconds. + Weight::from_parts(321_256_673, 13220) + // Standard Error: 803_166 + .saturating_add(Weight::from_parts(258_603_226, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3149,10 +3147,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `947 + r * (10 ±0)` // Estimated: `9363 + r * (10 ±0)` - // Minimum execution time: 278_400_000 picoseconds. - Weight::from_parts(293_743_000, 9363) - // Standard Error: 1_686 - .saturating_add(Weight::from_parts(1_288_603, 0).saturating_mul(r.into())) + // Minimum execution time: 275_156_000 picoseconds. + Weight::from_parts(306_788_972, 9363) + // Standard Error: 1_241 + .saturating_add(Weight::from_parts(1_256_474, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -3178,10 +3176,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866 + r * (10 ±0)` // Estimated: `9283 + r * (10 ±0)` - // Minimum execution time: 272_110_000 picoseconds. - Weight::from_parts(295_620_726, 9283) - // Standard Error: 5_481 - .saturating_add(Weight::from_parts(2_031_955, 0).saturating_mul(r.into())) + // Minimum execution time: 261_136_000 picoseconds. + Weight::from_parts(295_277_479, 9283) + // Standard Error: 1_143 + .saturating_add(Weight::from_parts(2_007_463, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -3208,12 +3206,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `883 + t * (32 ±0)` // Estimated: `9303 + t * (2508 ±0)` - // Minimum execution time: 277_409_000 picoseconds. - Weight::from_parts(293_838_037, 9303) - // Standard Error: 87_977 - .saturating_add(Weight::from_parts(2_911_340, 0).saturating_mul(t.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(531, 0).saturating_mul(n.into())) + // Minimum execution time: 272_927_000 picoseconds. + Weight::from_parts(293_216_756, 9303) + // Standard Error: 114_131 + .saturating_add(Weight::from_parts(2_840_571, 0).saturating_mul(t.into())) + // Standard Error: 31 + .saturating_add(Weight::from_parts(491, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3241,10 +3239,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `865 + r * (7 ±0)` // Estimated: `9285 + r * (7 ±0)` - // Minimum execution time: 172_634_000 picoseconds. - Weight::from_parts(183_322_840, 9285) - // Standard Error: 384 - .saturating_add(Weight::from_parts(226_007, 0).saturating_mul(r.into())) + // Minimum execution time: 169_169_000 picoseconds. + Weight::from_parts(180_765_224, 9285) + // Standard Error: 405 + .saturating_add(Weight::from_parts(229_603, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 7).saturating_mul(r.into())) @@ -3270,10 +3268,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `125816` // Estimated: `131758` - // Minimum execution time: 425_713_000 picoseconds. - Weight::from_parts(394_260_924, 131758) + // Minimum execution time: 400_215_000 picoseconds. + Weight::from_parts(388_084_146, 131758) // Standard Error: 12 - .saturating_add(Weight::from_parts(1_032, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_031, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3284,10 +3282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `927 + r * (292 ±0)` // Estimated: `929 + r * (293 ±0)` - // Minimum execution time: 268_128_000 picoseconds. - Weight::from_parts(186_787_113, 929) - // Standard Error: 10_796 - .saturating_add(Weight::from_parts(6_454_780, 0).saturating_mul(r.into())) + // Minimum execution time: 279_742_000 picoseconds. + Weight::from_parts(187_348_557, 929) + // Standard Error: 10_207 + .saturating_add(Weight::from_parts(6_441_197, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3301,10 +3299,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1450` // Estimated: `1433` - // Minimum execution time: 286_565_000 picoseconds. - Weight::from_parts(349_504_932, 1433) - // Standard Error: 70 - .saturating_add(Weight::from_parts(530, 0).saturating_mul(n.into())) + // Minimum execution time: 280_033_000 picoseconds. + Weight::from_parts(345_687_618, 1433) + // Standard Error: 73 + .saturating_add(Weight::from_parts(845, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(8_u64)) } @@ -3315,10 +3313,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1256 + n * (1 ±0)` // Estimated: `1256 + n * (1 ±0)` - // Minimum execution time: 282_478_000 picoseconds. - Weight::from_parts(303_448_260, 1256) - // Standard Error: 34 - .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) + // Minimum execution time: 276_118_000 picoseconds. + Weight::from_parts(305_327_046, 1256) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3330,10 +3326,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `924 + r * (288 ±0)` // Estimated: `930 + r * (289 ±0)` - // Minimum execution time: 271_793_000 picoseconds. - Weight::from_parts(179_158_648, 930) - // Standard Error: 11_868 - .saturating_add(Weight::from_parts(6_397_986, 0).saturating_mul(r.into())) + // Minimum execution time: 263_205_000 picoseconds. + Weight::from_parts(189_950_089, 930) + // Standard Error: 9_690 + .saturating_add(Weight::from_parts(6_367_259, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3347,10 +3343,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1252 + n * (1 ±0)` // Estimated: `1252 + n * (1 ±0)` - // Minimum execution time: 273_945_000 picoseconds. - Weight::from_parts(299_855_996, 1252) - // Standard Error: 31 - .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) + // Minimum execution time: 275_764_000 picoseconds. + Weight::from_parts(300_997_238, 1252) + // Standard Error: 34 + .saturating_add(Weight::from_parts(360, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3362,10 +3358,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `924 + r * (296 ±0)` // Estimated: `926 + r * (297 ±0)` - // Minimum execution time: 275_285_000 picoseconds. - Weight::from_parts(207_735_572, 926) - // Standard Error: 9_736 - .saturating_add(Weight::from_parts(5_162_837, 0).saturating_mul(r.into())) + // Minimum execution time: 261_974_000 picoseconds. + Weight::from_parts(208_414_361, 926) + // Standard Error: 8_221 + .saturating_add(Weight::from_parts(5_324_378, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3378,10 +3374,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1268 + n * (1 ±0)` // Estimated: `1268 + n * (1 ±0)` - // Minimum execution time: 278_929_000 picoseconds. - Weight::from_parts(302_251_674, 1268) - // Standard Error: 34 - .saturating_add(Weight::from_parts(583, 0).saturating_mul(n.into())) + // Minimum execution time: 275_202_000 picoseconds. + Weight::from_parts(300_523_927, 1268) + // Standard Error: 37 + .saturating_add(Weight::from_parts(896, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3393,10 +3389,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `935 + r * (288 ±0)` // Estimated: `932 + r * (289 ±0)` - // Minimum execution time: 258_476_000 picoseconds. - Weight::from_parts(209_578_051, 932) - // Standard Error: 8_255 - .saturating_add(Weight::from_parts(4_942_572, 0).saturating_mul(r.into())) + // Minimum execution time: 259_760_000 picoseconds. + Weight::from_parts(214_297_401, 932) + // Standard Error: 8_148 + .saturating_add(Weight::from_parts(5_062_314, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3409,8 +3405,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1255 + n * (1 ±0)` // Estimated: `1255 + n * (1 ±0)` - // Minimum execution time: 273_089_000 picoseconds. - Weight::from_parts(302_452_604, 1255) + // Minimum execution time: 273_649_000 picoseconds. + Weight::from_parts(300_580_439, 1255) + // Standard Error: 41 + .saturating_add(Weight::from_parts(420, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3422,10 +3420,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `917 + r * (296 ±0)` // Estimated: `922 + r * (297 ±0)` - // Minimum execution time: 274_301_000 picoseconds. - Weight::from_parts(172_245_469, 922) - // Standard Error: 11_306 - .saturating_add(Weight::from_parts(6_526_825, 0).saturating_mul(r.into())) + // Minimum execution time: 277_589_000 picoseconds. + Weight::from_parts(187_203_548, 922) + // Standard Error: 10_371 + .saturating_add(Weight::from_parts(6_546_015, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3439,10 +3437,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1269 + n * (1 ±0)` // Estimated: `1269 + n * (1 ±0)` - // Minimum execution time: 280_399_000 picoseconds. - Weight::from_parts(305_970_974, 1269) - // Standard Error: 36 - .saturating_add(Weight::from_parts(568, 0).saturating_mul(n.into())) + // Minimum execution time: 277_586_000 picoseconds. + Weight::from_parts(303_066_623, 1269) + // Standard Error: 39 + .saturating_add(Weight::from_parts(768, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3468,10 +3466,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1418 + r * (45 ±0)` // Estimated: `9785 + r * (2520 ±0)` - // Minimum execution time: 258_452_000 picoseconds. - Weight::from_parts(276_401_000, 9785) - // Standard Error: 65_648 - .saturating_add(Weight::from_parts(33_890_852, 0).saturating_mul(r.into())) + // Minimum execution time: 263_865_000 picoseconds. + Weight::from_parts(88_499_163, 9785) + // Standard Error: 56_755 + .saturating_add(Weight::from_parts(35_027_950, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -3499,10 +3497,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1263 + r * (245 ±0)` // Estimated: `9635 + r * (2721 ±0)` - // Minimum execution time: 281_394_000 picoseconds. - Weight::from_parts(286_475_000, 9635) - // Standard Error: 156_302 - .saturating_add(Weight::from_parts(250_370_283, 0).saturating_mul(r.into())) + // Minimum execution time: 267_533_000 picoseconds. + Weight::from_parts(284_794_000, 9635) + // Standard Error: 119_200 + .saturating_add(Weight::from_parts(245_684_062, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -3529,11 +3527,11 @@ impl WeightInfo for () { fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (576 ±0)` - // Estimated: `9290 + r * (2637 ±10)` - // Minimum execution time: 278_193_000 picoseconds. - Weight::from_parts(280_814_000, 9290) - // Standard Error: 164_401 - .saturating_add(Weight::from_parts(251_272_834, 0).saturating_mul(r.into())) + // Estimated: `9290 + r * (2637 ±3)` + // Minimum execution time: 283_568_000 picoseconds. + Weight::from_parts(288_748_000, 9290) + // Standard Error: 111_332 + .saturating_add(Weight::from_parts(245_179_585, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3562,12 +3560,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1310 + t * (277 ±0)` // Estimated: `12200 + t * (5227 ±0)` - // Minimum execution time: 476_812_000 picoseconds. - Weight::from_parts(70_715_306, 12200) - // Standard Error: 12_232_109 - .saturating_add(Weight::from_parts(374_277_042, 0).saturating_mul(t.into())) + // Minimum execution time: 468_779_000 picoseconds. + Weight::from_parts(65_285_795, 12200) + // Standard Error: 11_994_654 + .saturating_add(Weight::from_parts(376_501_120, 0).saturating_mul(t.into())) // Standard Error: 17 - .saturating_add(Weight::from_parts(1_022, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(991, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) @@ -3599,10 +3597,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1281 + r * (255 ±0)` // Estimated: `9623 + r * (2731 ±0)` - // Minimum execution time: 656_480_000 picoseconds. - Weight::from_parts(668_579_000, 9623) - // Standard Error: 365_458 - .saturating_add(Weight::from_parts(379_238_223, 0).saturating_mul(r.into())) + // Minimum execution time: 658_965_000 picoseconds. + Weight::from_parts(669_440_000, 9623) + // Standard Error: 296_640 + .saturating_add(Weight::from_parts(371_697_976, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -3636,12 +3634,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1306 + t * (104 ±0)` // Estimated: `12214 + t * (2549 ±1)` - // Minimum execution time: 2_148_964_000 picoseconds. - Weight::from_parts(1_557_685_999, 12214) - // Standard Error: 36 - .saturating_add(Weight::from_parts(864, 0).saturating_mul(i.into())) - // Standard Error: 36 - .saturating_add(Weight::from_parts(1_092, 0).saturating_mul(s.into())) + // Minimum execution time: 2_131_937_000 picoseconds. + Weight::from_parts(1_174_599_346, 12214) + // Standard Error: 13_331_202 + .saturating_add(Weight::from_parts(10_375_233, 0).saturating_mul(t.into())) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_042, 0).saturating_mul(i.into())) + // Standard Error: 21 + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(11_u64)) @@ -3669,10 +3669,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `865 + r * (8 ±0)` // Estimated: `9279 + r * (8 ±0)` - // Minimum execution time: 279_377_000 picoseconds. - Weight::from_parts(287_951_287, 9279) - // Standard Error: 659 - .saturating_add(Weight::from_parts(376_476, 0).saturating_mul(r.into())) + // Minimum execution time: 263_660_000 picoseconds. + Weight::from_parts(285_027_248, 9279) + // Standard Error: 578 + .saturating_add(Weight::from_parts(376_064, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -3698,10 +3698,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `873` // Estimated: `9286` - // Minimum execution time: 276_151_000 picoseconds. - Weight::from_parts(267_656_959, 9286) - // Standard Error: 2 - .saturating_add(Weight::from_parts(1_108, 0).saturating_mul(n.into())) + // Minimum execution time: 273_302_000 picoseconds. + Weight::from_parts(271_540_758, 9286) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_097, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3726,10 +3726,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867 + r * (8 ±0)` // Estimated: `9284 + r * (8 ±0)` - // Minimum execution time: 275_247_000 picoseconds. - Weight::from_parts(286_675_317, 9284) - // Standard Error: 601 - .saturating_add(Weight::from_parts(788_160, 0).saturating_mul(r.into())) + // Minimum execution time: 261_373_000 picoseconds. + Weight::from_parts(287_143_849, 9284) + // Standard Error: 587 + .saturating_add(Weight::from_parts(774_120, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -3755,10 +3755,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `875` // Estimated: `9292` - // Minimum execution time: 281_585_000 picoseconds. - Weight::from_parts(287_637_844, 9292) + // Minimum execution time: 263_235_000 picoseconds. + Weight::from_parts(283_901_892, 9292) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_351, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_347, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3783,10 +3783,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867 + r * (8 ±0)` // Estimated: `9286 + r * (8 ±0)` - // Minimum execution time: 273_678_000 picoseconds. - Weight::from_parts(289_879_306, 9286) - // Standard Error: 607 - .saturating_add(Weight::from_parts(439_482, 0).saturating_mul(r.into())) + // Minimum execution time: 255_622_000 picoseconds. + Weight::from_parts(284_903_093, 9286) + // Standard Error: 558 + .saturating_add(Weight::from_parts(443_856, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -3812,10 +3812,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `875` // Estimated: `9291` - // Minimum execution time: 275_126_000 picoseconds. - Weight::from_parts(276_684_594, 9291) + // Minimum execution time: 271_250_000 picoseconds. + Weight::from_parts(273_107_390, 9291) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3840,10 +3840,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867 + r * (8 ±0)` // Estimated: `9283 + r * (8 ±0)` - // Minimum execution time: 273_229_000 picoseconds. - Weight::from_parts(287_793_841, 9283) - // Standard Error: 451 - .saturating_add(Weight::from_parts(447_922, 0).saturating_mul(r.into())) + // Minimum execution time: 277_037_000 picoseconds. + Weight::from_parts(284_462_817, 9283) + // Standard Error: 589 + .saturating_add(Weight::from_parts(443_782, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -3869,10 +3869,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `875` // Estimated: `9289` - // Minimum execution time: 277_843_000 picoseconds. - Weight::from_parts(279_900_099, 9289) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(n.into())) + // Minimum execution time: 271_853_000 picoseconds. + Weight::from_parts(278_806_382, 9289) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3897,10 +3897,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1000 + n * (1 ±0)` // Estimated: `9412 + n * (1 ±0)` - // Minimum execution time: 331_840_000 picoseconds. - Weight::from_parts(338_767_191, 9412) + // Minimum execution time: 333_560_000 picoseconds. + Weight::from_parts(344_205_307, 9412) // Standard Error: 11 - .saturating_add(Weight::from_parts(5_971, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(5_635, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3926,10 +3926,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `808 + r * (112 ±0)` // Estimated: `9226 + r * (112 ±0)` - // Minimum execution time: 277_912_000 picoseconds. - Weight::from_parts(344_538_960, 9226) - // Standard Error: 13_422 - .saturating_add(Weight::from_parts(41_592_887, 0).saturating_mul(r.into())) + // Minimum execution time: 279_822_000 picoseconds. + Weight::from_parts(317_314_426, 9226) + // Standard Error: 28_184 + .saturating_add(Weight::from_parts(50_193_474, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(r.into())) @@ -3955,10 +3955,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `910 + r * (76 ±0)` // Estimated: `9279 + r * (77 ±0)` - // Minimum execution time: 280_383_000 picoseconds. - Weight::from_parts(348_542_377, 9279) - // Standard Error: 13_985 - .saturating_add(Weight::from_parts(45_983_827, 0).saturating_mul(r.into())) + // Minimum execution time: 261_655_000 picoseconds. + Weight::from_parts(339_705_825, 9279) + // Standard Error: 17_438 + .saturating_add(Weight::from_parts(45_941_629, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 77).saturating_mul(r.into())) @@ -3984,10 +3984,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `880 + r * (42 ±0)` // Estimated: `9294 + r * (42 ±0)` - // Minimum execution time: 277_764_000 picoseconds. - Weight::from_parts(320_288_180, 9294) - // Standard Error: 10_140 - .saturating_add(Weight::from_parts(12_046_137, 0).saturating_mul(r.into())) + // Minimum execution time: 273_755_000 picoseconds. + Weight::from_parts(307_014_685, 9294) + // Standard Error: 10_405 + .saturating_add(Weight::from_parts(12_096_129, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 42).saturating_mul(r.into())) @@ -4013,10 +4013,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (965 ±0)` // Estimated: `9285 + r * (3090 ±7)` - // Minimum execution time: 271_356_000 picoseconds. - Weight::from_parts(282_924_000, 9285) - // Standard Error: 60_493 - .saturating_add(Weight::from_parts(28_319_267, 0).saturating_mul(r.into())) + // Minimum execution time: 262_646_000 picoseconds. + Weight::from_parts(278_228_000, 9285) + // Standard Error: 46_013 + .saturating_add(Weight::from_parts(27_201_737, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -4044,10 +4044,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `937 + r * (131 ±0)` // Estimated: `9346 + r * (2607 ±0)` - // Minimum execution time: 269_698_000 picoseconds. - Weight::from_parts(294_325_127, 9346) - // Standard Error: 22_352 - .saturating_add(Weight::from_parts(6_744_117, 0).saturating_mul(r.into())) + // Minimum execution time: 266_233_000 picoseconds. + Weight::from_parts(295_045_759, 9346) + // Standard Error: 21_486 + .saturating_add(Weight::from_parts(6_588_383, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -4075,10 +4075,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `972 + r * (184 ±0)` // Estimated: `129453 + r * (2568 ±0)` - // Minimum execution time: 261_226_000 picoseconds. - Weight::from_parts(294_299_527, 129453) - // Standard Error: 27_898 - .saturating_add(Weight::from_parts(6_031_601, 0).saturating_mul(r.into())) + // Minimum execution time: 259_992_000 picoseconds. + Weight::from_parts(292_630_388, 129453) + // Standard Error: 24_038 + .saturating_add(Weight::from_parts(6_004_673, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -4106,10 +4106,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 270_729_000 picoseconds. - Weight::from_parts(289_622_807, 9282) - // Standard Error: 394 - .saturating_add(Weight::from_parts(167_010, 0).saturating_mul(r.into())) + // Minimum execution time: 258_793_000 picoseconds. + Weight::from_parts(289_641_499, 9282) + // Standard Error: 455 + .saturating_add(Weight::from_parts(164_536, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -4135,10 +4135,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2112 + r * (39 ±0)` // Estimated: `10377 + r * (40 ±0)` - // Minimum execution time: 272_228_000 picoseconds. - Weight::from_parts(351_059_276, 10377) - // Standard Error: 1_761 - .saturating_add(Weight::from_parts(312_269, 0).saturating_mul(r.into())) + // Minimum execution time: 259_954_000 picoseconds. + Weight::from_parts(325_371_604, 10377) + // Standard Error: 1_265 + .saturating_add(Weight::from_parts(281_358, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 40).saturating_mul(r.into())) @@ -4166,10 +4166,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `864 + r * (3 ±0)` // Estimated: `9279 + r * (3 ±0)` - // Minimum execution time: 272_497_000 picoseconds. - Weight::from_parts(288_213_060, 9279) - // Standard Error: 469 - .saturating_add(Weight::from_parts(155_530, 0).saturating_mul(r.into())) + // Minimum execution time: 260_344_000 picoseconds. + Weight::from_parts(285_358_489, 9279) + // Standard Error: 348 + .saturating_add(Weight::from_parts(153_525, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -4179,9 +4179,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_990_000 picoseconds. - Weight::from_parts(1_778_221, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(14_888, 0).saturating_mul(r.into())) + // Minimum execution time: 2_061_000 picoseconds. + Weight::from_parts(2_461_260, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(14_278, 0).saturating_mul(r.into())) } } From a38c8a6145474549e06b1ffcd2e24041f4749452 Mon Sep 17 00:00:00 2001 From: PG Herveou Date: Fri, 22 Mar 2024 09:21:01 +0100 Subject: [PATCH 02/75] bump wasmi to 0.32 --- Cargo.lock | 65 +++++++++++++++-- prdoc/pr_3679.prdoc | 10 +++ substrate/frame/contracts/Cargo.toml | 2 +- .../frame/contracts/proc-macro/src/lib.rs | 11 +-- .../contracts/src/benchmarking/sandbox.rs | 3 +- substrate/frame/contracts/src/wasm/mod.rs | 3 +- substrate/frame/contracts/src/wasm/prepare.rs | 40 ++++++++--- substrate/frame/contracts/src/wasm/runtime.rs | 72 ++++++++++--------- 8 files changed, 148 insertions(+), 58 deletions(-) create mode 100644 prdoc/pr_3679.prdoc diff --git a/Cargo.lock b/Cargo.lock index bdbf6ddac268..cfaf1c584c2d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8284,6 +8284,12 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "multi-stash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685a9ac4b61f4e728e1d2c6a7844609c16527aeb5e6c865915c08e619c16410f" + [[package]] name = "multiaddr" version = "0.17.1" @@ -8807,6 +8813,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + [[package]] name = "num-format" version = "0.4.4" @@ -9568,7 +9585,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi", + "wasmi 0.32.0-beta.7", "wat", ] @@ -17653,9 +17670,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "smol" @@ -17732,7 +17749,7 @@ dependencies = [ "smallvec", "soketto", "twox-hash", - "wasmi", + "wasmi 0.31.2", "x25519-dalek 2.0.0", "zeroize", ] @@ -21548,8 +21565,26 @@ checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" dependencies = [ "smallvec", "spin 0.9.8", - "wasmi_arena", - "wasmi_core", + "wasmi_arena 0.4.1", + "wasmi_core 0.13.0", + "wasmparser-nostd", +] + +[[package]] +name = "wasmi" +version = "0.32.0-beta.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20ae225a373bdfc7412ec39f3b409fe8a540a1907f698f21030a3bc010435ef0" +dependencies = [ + "arrayvec 0.7.4", + "multi-stash", + "num-derive", + "num-traits", + "slice-group-by", + "smallvec", + "spin 0.9.8", + "wasmi_arena 0.5.0", + "wasmi_core 0.16.0", "wasmparser-nostd", ] @@ -21559,6 +21594,12 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" +[[package]] +name = "wasmi_arena" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f686876d8f92a573a9a1e005b78ec1e893158bbdc3ac75a1270384ca86d6c6b" + [[package]] name = "wasmi_core" version = "0.13.0" @@ -21571,6 +21612,18 @@ dependencies = [ "paste", ] +[[package]] +name = "wasmi_core" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02377ef0c323a5e462f033ededb94ddce7ea78cc6312f5f89d936bfa789e90c9" +dependencies = [ + "downcast-rs", + "libm", + "num-traits", + "paste", +] + [[package]] name = "wasmparser" version = "0.102.0" diff --git a/prdoc/pr_3679.prdoc b/prdoc/pr_3679.prdoc new file mode 100644 index 000000000000..c6a78569f067 --- /dev/null +++ b/prdoc/pr_3679.prdoc @@ -0,0 +1,10 @@ +title: "[pallet-contracts] use lazy compilation mode in wasmi" + +doc: + - audience: Runtime Dev + description: | + Turn on lazy compilation mode in wasmi. + See https://docs.rs/wasmi/0.32.0-beta.7/wasmi/enum.CompilationMode.html#variant.Lazy + +crates: + - name: pallet-contracts diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index be3bafcd23fa..572f42589ff9 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -29,7 +29,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.31", default-features = false } +wasmi = { version = "0.32.0-beta.7", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index 1794d09d5ad2..f946b7ec3c5d 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -149,7 +149,7 @@ impl HostFnReturn { Self::U64 => quote! { ::core::primitive::u64 }, }; quote! { - ::core::result::Result<#ok, ::wasmi::core::Trap> + ::core::result::Result<#ok, ::wasmi::Error> } } } @@ -628,7 +628,7 @@ fn expand_functions(def: &EnvDef, expand_blocks: bool, host_state: TokenStream2) let into_host = if expand_blocks { quote! { |reason| { - ::wasmi::core::Trap::from(reason) + ::wasmi::Error::host(reason) } } } else { @@ -667,10 +667,13 @@ fn expand_functions(def: &EnvDef, expand_blocks: bool, host_state: TokenStream2) .ext() .gas_meter_mut() .sync_to_executor(__gas_left_before__) - .map_err(TrapReason::from)?; + .map_err(|err| { + let err = TrapReason::from(err); + wasmi::Error::host(err) + })?; __caller__ .consume_fuel(fuel_consumed.into()) - .map_err(|_| TrapReason::from(Error::::OutOfGas))?; + .map_err(|_| wasmi::Error::host(TrapReason::from(Error::::OutOfGas)))?; } } else { quote! { } diff --git a/substrate/frame/contracts/src/benchmarking/sandbox.rs b/substrate/frame/contracts/src/benchmarking/sandbox.rs index 308bf6873e49..9496c246726d 100644 --- a/substrate/frame/contracts/src/benchmarking/sandbox.rs +++ b/substrate/frame/contracts/src/benchmarking/sandbox.rs @@ -24,7 +24,7 @@ use crate::wasm::{ LoadingMode, WasmBlob, }; use sp_core::Get; -use wasmi::{errors::LinkerError, Func, Linker, StackLimits, Store}; +use wasmi::{errors::LinkerError, CompilationMode, Func, Linker, StackLimits, Store}; /// Minimal execution environment without any imported functions. pub struct Sandbox { @@ -48,6 +48,7 @@ impl From<&WasmModule> for Sandbox { Determinism::Relaxed, Some(StackLimits::default()), LoadingMode::Checked, + CompilationMode::Eager, ) .expect("Failed to load Wasm module"); diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index 8695d91ab72a..e3326f6f24fa 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -54,7 +54,7 @@ use frame_support::{ use sp_core::Get; use sp_runtime::{DispatchError, RuntimeDebug}; use sp_std::prelude::*; -use wasmi::{InstancePre, Linker, Memory, MemoryType, StackLimits, Store}; +use wasmi::{CompilationMode, InstancePre, Linker, Memory, MemoryType, StackLimits, Store}; const BYTES_PER_PAGE: usize = 64 * 1024; @@ -361,6 +361,7 @@ impl Executable for WasmBlob { self.code_info.determinism, Some(StackLimits::default()), LoadingMode::Unchecked, + CompilationMode::Lazy, ) .map_err(|err| { log::debug!(target: LOG_TARGET, "failed to create wasmi module: {err:?}"); diff --git a/substrate/frame/contracts/src/wasm/prepare.rs b/substrate/frame/contracts/src/wasm/prepare.rs index 0d9a12d8ae83..01df155674ab 100644 --- a/substrate/frame/contracts/src/wasm/prepare.rs +++ b/substrate/frame/contracts/src/wasm/prepare.rs @@ -33,8 +33,8 @@ use sp_runtime::{traits::Hash, DispatchError}; #[cfg(any(test, feature = "runtime-benchmarks"))] use sp_std::prelude::Vec; use wasmi::{ - core::ValueType as WasmiValueType, Config as WasmiConfig, Engine, ExternType, - FuelConsumptionMode, Module, StackLimits, + core::ValueType as WasmiValueType, CompilationMode, Config as WasmiConfig, Engine, ExternType, + Module, StackLimits, }; /// Imported memory must be located inside this module. The reason for hardcoding is that current @@ -71,7 +71,8 @@ impl LoadedModule { code: &[u8], determinism: Determinism, stack_limits: Option, - _mode: LoadingMode, + loading_mode: LoadingMode, + compilation_mode: CompilationMode, ) -> Result { // NOTE: wasmi does not support unstable WebAssembly features. The module is implicitly // checked for not having those ones when creating `wasmi::Module` below. @@ -86,8 +87,8 @@ impl LoadedModule { .wasm_extended_const(false) .wasm_saturating_float_to_int(false) .floats(matches!(determinism, Determinism::Relaxed)) - .consume_fuel(true) - .fuel_consumption_mode(FuelConsumptionMode::Eager); + .compilation_mode(compilation_mode) + .consume_fuel(true); if let Some(stack_limits) = stack_limits { config.set_stack_limits(stack_limits); @@ -95,14 +96,18 @@ impl LoadedModule { let engine = Engine::new(&config); - // TODO use Module::new_unchecked when validate_module is true once we are on wasmi@0.32 - let module = Module::new(&engine, code).map_err(|err| { + let module = match loading_mode { + LoadingMode::Checked => Module::new(&engine, code), + // Safety: The code has been validated, Therefore we know that it's a valid binary. + LoadingMode::Unchecked => unsafe { Module::new_unchecked(&engine, code) }, + } + .map_err(|err| { log::debug!(target: LOG_TARGET, "Module creation failed: {:?}", err); "Can't load the module into wasmi!" })?; #[cfg(test)] - tracker::LOADED_MODULE.with(|t| t.borrow_mut().push(_mode)); + tracker::LOADED_MODULE.with(|t| t.borrow_mut().push(loading_mode)); // Return a `LoadedModule` instance with // __valid__ module. @@ -263,17 +268,25 @@ where Determinism::Enforced, stack_limits, LoadingMode::Checked, + CompilationMode::Eager, ) { *determinism = Determinism::Enforced; module } else { - LoadedModule::new::(code, Determinism::Relaxed, None, LoadingMode::Checked)? + LoadedModule::new::( + code, + Determinism::Relaxed, + None, + LoadingMode::Checked, + CompilationMode::Eager, + )? }, Determinism::Enforced => LoadedModule::new::( code, Determinism::Enforced, stack_limits, LoadingMode::Checked, + CompilationMode::Eager, )?, }; @@ -348,8 +361,13 @@ pub mod benchmarking { owner: AccountIdOf, ) -> Result, DispatchError> { let determinism = Determinism::Enforced; - let contract_module = - LoadedModule::new::(&code, determinism, None, LoadingMode::Checked)?; + let contract_module = LoadedModule::new::( + &code, + determinism, + None, + LoadingMode::Checked, + CompilationMode::Eager, + )?; let _ = contract_module.scan_imports::(schedule)?; let code: CodeVec = code.try_into().map_err(|_| >::CodeTooLarge)?; let code_info = CodeInfo { diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index 7d43d30ba580..120efa901493 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -429,49 +429,53 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> { /// Converts the sandbox result and the runtime state into the execution outcome. pub fn to_execution_result(self, sandbox_result: Result<(), wasmi::Error>) -> ExecResult { - use wasmi::core::TrapCode::OutOfFuel; + use wasmi::{ + core::TrapCode, + errors::{ErrorKind, FuelError}, + }; use TrapReason::*; - match sandbox_result { + let Err(error) = sandbox_result else { // Contract returned from main function -> no data was returned. - Ok(_) => Ok(ExecReturnValue { flags: ReturnFlags::empty(), data: Vec::new() }), + return Ok(ExecReturnValue { flags: ReturnFlags::empty(), data: Vec::new() }) + }; + if let ErrorKind::Fuel(FuelError::OutOfFuel) = error.kind() { // `OutOfGas` when host asks engine to consume more than left in the _store_. // We should never get this case, as gas meter is being charged (and hence raises error) // first. - Err(wasmi::Error::Store(_)) => Err(Error::::OutOfGas.into()), - // Contract either trapped or some host function aborted the execution. - Err(wasmi::Error::Trap(trap)) => { - if let Some(OutOfFuel) = trap.trap_code() { - // `OutOfGas` during engine execution. - return Err(Error::::OutOfGas.into()) - } - // If we encoded a reason then it is some abort generated by a host function. - if let Some(reason) = &trap.downcast_ref::() { - match &reason { - Return(ReturnData { flags, data }) => { - let flags = ReturnFlags::from_bits(*flags) - .ok_or(Error::::InvalidCallFlags)?; - return Ok(ExecReturnValue { flags, data: data.to_vec() }) - }, - Termination => - return Ok(ExecReturnValue { - flags: ReturnFlags::empty(), - data: Vec::new(), - }), - SupervisorError(error) => return Err((*error).into()), - } - } + return Err(Error::::OutOfGas.into()) + } + match error.as_trap_code() { + Some(TrapCode::OutOfFuel) => { + // `OutOfGas` during engine execution. + return Err(Error::::OutOfGas.into()) + }, + Some(_trap_code) => { // Otherwise the trap came from the contract itself. - Err(Error::::ContractTrapped.into()) + return Err(Error::::ContractTrapped.into()) }, - // Any other error is returned only if instantiation or linking failed (i.e. - // wasm binary tried to import a function that is not provided by the host). - // This shouldn't happen because validation process ought to reject such binaries. - // - // Because panics are really undesirable in the runtime code, we treat this as - // a trap for now. Eventually, we might want to revisit this. - Err(_) => Err(Error::::CodeRejected.into()), + None => {}, + } + // If we encoded a reason then it is some abort generated by a host function. + if let Some(reason) = &error.downcast_ref::() { + match &reason { + Return(ReturnData { flags, data }) => { + let flags = + ReturnFlags::from_bits(*flags).ok_or(Error::::InvalidCallFlags)?; + return Ok(ExecReturnValue { flags, data: data.to_vec() }) + }, + Termination => + return Ok(ExecReturnValue { flags: ReturnFlags::empty(), data: Vec::new() }), + SupervisorError(error) => return Err((*error).into()), + } } + // Any other error is returned only if instantiation or linking failed (i.e. + // wasm binary tried to import a function that is not provided by the host). + // This shouldn't happen because validation process ought to reject such binaries. + // + // Because panics are really undesirable in the runtime code, we treat this as + // a trap for now. Eventually, we might want to revisit this. + Err(Error::::CodeRejected.into()) } /// Get a mutable reference to the inner `Ext`. From 0b96f38cbfe415417af82a67eec2073cad1d4e4e Mon Sep 17 00:00:00 2001 From: PG Herveou Date: Wed, 10 Apr 2024 21:51:26 +0200 Subject: [PATCH 03/75] fix lock --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e2d10931e272..4e5da4b34e1d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9229,8 +9229,8 @@ version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" dependencies = [ - "proc-macro2", - "quote", + "proc-macro2 1.0.75", + "quote 1.0.35", "syn 2.0.53", ] From 88abfcf17e53c4d59e1e38b0f43335298746fbe9 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Wed, 10 Apr 2024 21:25:26 +0000 Subject: [PATCH 04/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 1220 +++++++++++----------- 1 file changed, 612 insertions(+), 608 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 5c69d9218fa6..974a5604d707 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -142,8 +142,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_047_000 picoseconds. - Weight::from_parts(2_116_000, 1627) + // Minimum execution time: 2_017_000 picoseconds. + Weight::from_parts(2_134_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -153,10 +153,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_474_000 picoseconds. - Weight::from_parts(12_767_000, 442) - // Standard Error: 1_081 - .saturating_add(Weight::from_parts(1_187_278, 0).saturating_mul(k.into())) + // Minimum execution time: 12_356_000 picoseconds. + Weight::from_parts(12_856_000, 442) + // Standard Error: 798 + .saturating_add(Weight::from_parts(1_095_914, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -170,10 +170,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_307_000 picoseconds. - Weight::from_parts(8_939_322, 6149) + // Minimum execution time: 8_236_000 picoseconds. + Weight::from_parts(8_788_033, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_180, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -186,8 +186,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_915_000 picoseconds. - Weight::from_parts(17_638_000, 6450) + // Minimum execution time: 16_902_000 picoseconds. + Weight::from_parts(17_706_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -200,10 +200,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_607_000 picoseconds. - Weight::from_parts(1_979_323, 3635) - // Standard Error: 1_018 - .saturating_add(Weight::from_parts(1_196_162, 0).saturating_mul(k.into())) + // Minimum execution time: 3_378_000 picoseconds. + Weight::from_parts(3_537_000, 3635) + // Standard Error: 569 + .saturating_add(Weight::from_parts(1_181_755, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -224,10 +224,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_056_000 picoseconds. - Weight::from_parts(21_633_895, 6266) + // Minimum execution time: 20_661_000 picoseconds. + Weight::from_parts(20_869_606, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(390, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(407, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -238,8 +238,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_860_000 picoseconds. - Weight::from_parts(13_525_000, 6380) + // Minimum execution time: 12_725_000 picoseconds. + Weight::from_parts(13_528_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -253,8 +253,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_926_000 picoseconds. - Weight::from_parts(47_828_000, 6292) + // Minimum execution time: 46_391_000 picoseconds. + Weight::from_parts(47_920_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -266,8 +266,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_081_000 picoseconds. - Weight::from_parts(56_899_000, 6534) + // Minimum execution time: 55_787_000 picoseconds. + Weight::from_parts(57_813_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -277,8 +277,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_480_000 picoseconds. - Weight::from_parts(2_663_000, 1627) + // Minimum execution time: 2_472_000 picoseconds. + Weight::from_parts(2_625_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -290,8 +290,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_115_000 picoseconds. - Weight::from_parts(12_506_000, 3631) + // Minimum execution time: 12_088_000 picoseconds. + Weight::from_parts(12_503_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -301,8 +301,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_757_000 picoseconds. - Weight::from_parts(5_082_000, 3607) + // Minimum execution time: 4_816_000 picoseconds. + Weight::from_parts(5_045_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -313,8 +313,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_017_000 picoseconds. - Weight::from_parts(6_421_000, 3632) + // Minimum execution time: 6_093_000 picoseconds. + Weight::from_parts(6_417_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -325,8 +325,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_238_000 picoseconds. - Weight::from_parts(6_587_000, 3607) + // Minimum execution time: 6_233_000 picoseconds. + Weight::from_parts(6_549_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -351,10 +351,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 288_968_000 picoseconds. - Weight::from_parts(267_291_922, 9217) - // Standard Error: 78 - .saturating_add(Weight::from_parts(34_879, 0).saturating_mul(c.into())) + // Minimum execution time: 297_117_000 picoseconds. + Weight::from_parts(312_806_506, 9217) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -386,14 +386,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_948_426_000 picoseconds. - Weight::from_parts(440_017_623, 8740) - // Standard Error: 555 - .saturating_add(Weight::from_parts(71_483, 0).saturating_mul(c.into())) - // Standard Error: 66 - .saturating_add(Weight::from_parts(1_831, 0).saturating_mul(i.into())) - // Standard Error: 66 - .saturating_add(Weight::from_parts(1_694, 0).saturating_mul(s.into())) + // Minimum execution time: 3_745_757_000 picoseconds. + Weight::from_parts(680_948_502, 8740) + // Standard Error: 107 + .saturating_add(Weight::from_parts(50_863, 0).saturating_mul(c.into())) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_538, 0).saturating_mul(i.into())) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -423,11 +423,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 2_011_037_000 picoseconds. - Weight::from_parts(2_047_025_000, 8982) - // Standard Error: 28 - .saturating_add(Weight::from_parts(968, 0).saturating_mul(i.into())) - // Standard Error: 28 + // Minimum execution time: 1_984_149_000 picoseconds. + Weight::from_parts(2_005_980_000, 8982) + // Standard Error: 26 + .saturating_add(Weight::from_parts(811, 0).saturating_mul(i.into())) + // Standard Error: 26 .saturating_add(Weight::from_parts(780, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -452,8 +452,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 202_190_000 picoseconds. - Weight::from_parts(209_378_000, 9244) + // Minimum execution time: 209_777_000 picoseconds. + Weight::from_parts(218_960_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -474,10 +474,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 271_161_000 picoseconds. - Weight::from_parts(279_218_977, 6085) - // Standard Error: 80 - .saturating_add(Weight::from_parts(33_973, 0).saturating_mul(c.into())) + // Minimum execution time: 274_447_000 picoseconds. + Weight::from_parts(297_579_037, 6085) + // Standard Error: 46 + .saturating_add(Weight::from_parts(49_702, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -498,10 +498,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 273_684_000 picoseconds. - Weight::from_parts(284_348_722, 6085) - // Standard Error: 79 - .saturating_add(Weight::from_parts(34_205, 0).saturating_mul(c.into())) + // Minimum execution time: 275_457_000 picoseconds. + Weight::from_parts(319_480_552, 6085) + // Standard Error: 41 + .saturating_add(Weight::from_parts(49_856, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -519,8 +519,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_150_000 picoseconds. - Weight::from_parts(46_780_000, 3780) + // Minimum execution time: 44_590_000 picoseconds. + Weight::from_parts(45_882_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -536,8 +536,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_738_000 picoseconds. - Weight::from_parts(35_918_000, 8967) + // Minimum execution time: 34_318_000 picoseconds. + Weight::from_parts(35_502_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -546,10 +546,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_094_000 picoseconds. - Weight::from_parts(10_253_702, 0) - // Standard Error: 223 - .saturating_add(Weight::from_parts(250_757, 0).saturating_mul(r.into())) + // Minimum execution time: 12_645_000 picoseconds. + Weight::from_parts(10_923_424, 0) + // Standard Error: 1_302 + .saturating_add(Weight::from_parts(410_067, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -558,10 +558,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 9_102_000 picoseconds. - Weight::from_parts(9_238_000, 1467) - // Standard Error: 6_076 - .saturating_add(Weight::from_parts(3_293_012, 0).saturating_mul(r.into())) + // Minimum execution time: 12_454_000 picoseconds. + Weight::from_parts(12_557_000, 1467) + // Standard Error: 6_234 + .saturating_add(Weight::from_parts(3_515_004, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -572,10 +572,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 9_255_000 picoseconds. - Weight::from_parts(9_406_000, 1468) - // Standard Error: 6_826 - .saturating_add(Weight::from_parts(4_205_039, 0).saturating_mul(r.into())) + // Minimum execution time: 14_423_000 picoseconds. + Weight::from_parts(14_537_000, 1468) + // Standard Error: 6_082 + .saturating_add(Weight::from_parts(4_351_104, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -584,50 +584,50 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_388_000 picoseconds. - Weight::from_parts(9_322_209, 0) - // Standard Error: 269 - .saturating_add(Weight::from_parts(358_189, 0).saturating_mul(r.into())) + // Minimum execution time: 14_235_000 picoseconds. + Weight::from_parts(16_960_384, 0) + // Standard Error: 427 + .saturating_add(Weight::from_parts(528_234, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_300_000 picoseconds. - Weight::from_parts(10_268_326, 0) - // Standard Error: 72 - .saturating_add(Weight::from_parts(104_650, 0).saturating_mul(r.into())) + // Minimum execution time: 14_124_000 picoseconds. + Weight::from_parts(16_945_056, 0) + // Standard Error: 202 + .saturating_add(Weight::from_parts(178_268, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_162_000 picoseconds. - Weight::from_parts(10_059_984, 0) - // Standard Error: 87 - .saturating_add(Weight::from_parts(87_627, 0).saturating_mul(r.into())) + // Minimum execution time: 12_495_000 picoseconds. + Weight::from_parts(15_440_404, 0) + // Standard Error: 144 + .saturating_add(Weight::from_parts(155_935, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_193_000 picoseconds. - Weight::from_parts(10_160_715, 0) - // Standard Error: 152 - .saturating_add(Weight::from_parts(263_703, 0).saturating_mul(r.into())) + // Minimum execution time: 12_524_000 picoseconds. + Weight::from_parts(15_814_939, 0) + // Standard Error: 231 + .saturating_add(Weight::from_parts(382_887, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_109_000 picoseconds. - Weight::from_parts(9_766_924, 0) - // Standard Error: 212 - .saturating_add(Weight::from_parts(291_694, 0).saturating_mul(r.into())) + // Minimum execution time: 12_514_000 picoseconds. + Weight::from_parts(16_080_567, 0) + // Standard Error: 251 + .saturating_add(Weight::from_parts(422_545, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -636,10 +636,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 9_463_000 picoseconds. - Weight::from_parts(9_541_000, 3599) - // Standard Error: 3_075 - .saturating_add(Weight::from_parts(1_606_043, 0).saturating_mul(r.into())) + // Minimum execution time: 12_359_000 picoseconds. + Weight::from_parts(26_729_141, 3599) + // Standard Error: 771 + .saturating_add(Weight::from_parts(1_672_474, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -647,40 +647,40 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_080_000 picoseconds. - Weight::from_parts(8_121_924, 0) - // Standard Error: 198 - .saturating_add(Weight::from_parts(247_527, 0).saturating_mul(r.into())) + // Minimum execution time: 12_572_000 picoseconds. + Weight::from_parts(17_181_699, 0) + // Standard Error: 243 + .saturating_add(Weight::from_parts(383_218, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_393_000 picoseconds. - Weight::from_parts(9_999_247, 0) - // Standard Error: 169 - .saturating_add(Weight::from_parts(244_563, 0).saturating_mul(r.into())) + // Minimum execution time: 13_197_000 picoseconds. + Weight::from_parts(23_117_101, 0) + // Standard Error: 1_433 + .saturating_add(Weight::from_parts(384_439, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_236_000 picoseconds. - Weight::from_parts(9_561_435, 0) - // Standard Error: 195 - .saturating_add(Weight::from_parts(239_812, 0).saturating_mul(r.into())) + // Minimum execution time: 12_927_000 picoseconds. + Weight::from_parts(15_876_896, 0) + // Standard Error: 242 + .saturating_add(Weight::from_parts(377_310, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_259_000 picoseconds. - Weight::from_parts(10_353_960, 0) - // Standard Error: 216 - .saturating_add(Weight::from_parts(243_754, 0).saturating_mul(r.into())) + // Minimum execution time: 13_300_000 picoseconds. + Weight::from_parts(16_942_284, 0) + // Standard Error: 238 + .saturating_add(Weight::from_parts(378_033, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -689,10 +689,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 9_145_000 picoseconds. - Weight::from_parts(16_524_937, 1552) - // Standard Error: 438 - .saturating_add(Weight::from_parts(666_821, 0).saturating_mul(r.into())) + // Minimum execution time: 13_071_000 picoseconds. + Weight::from_parts(26_096_553, 1552) + // Standard Error: 525 + .saturating_add(Weight::from_parts(899_440, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -700,10 +700,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_179_000 picoseconds. - Weight::from_parts(8_893_261, 0) - // Standard Error: 215 - .saturating_add(Weight::from_parts(175_586, 0).saturating_mul(r.into())) + // Minimum execution time: 12_859_000 picoseconds. + Weight::from_parts(14_703_362, 0) + // Standard Error: 257 + .saturating_add(Weight::from_parts(317_991, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -726,10 +726,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 259_315_000 picoseconds. - Weight::from_parts(137_461_362, 9287) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_388, 0).saturating_mul(n.into())) + // Minimum execution time: 269_809_000 picoseconds. + Weight::from_parts(150_158_370, 9287) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -738,20 +738,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_919_000 picoseconds. - Weight::from_parts(9_465_187, 0) - // Standard Error: 32_481 - .saturating_add(Weight::from_parts(992_912, 0).saturating_mul(r.into())) + // Minimum execution time: 12_440_000 picoseconds. + Weight::from_parts(12_998_995, 0) + // Standard Error: 23_901 + .saturating_add(Weight::from_parts(2_554_504, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_244_000 picoseconds. - Weight::from_parts(10_654_989, 0) + // Minimum execution time: 15_428_000 picoseconds. + Weight::from_parts(15_716_175, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(315, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(314, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -780,10 +780,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 303_028_000 picoseconds. - Weight::from_parts(323_032_397, 13220) - // Standard Error: 848_406 - .saturating_add(Weight::from_parts(242_988_002, 0).saturating_mul(r.into())) + // Minimum execution time: 295_683_000 picoseconds. + Weight::from_parts(321_440_653, 13220) + // Standard Error: 833_204 + .saturating_add(Weight::from_parts(255_404_246, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -797,10 +797,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_227_000 picoseconds. - Weight::from_parts(14_055_283, 1561) - // Standard Error: 758 - .saturating_add(Weight::from_parts(1_104_996, 0).saturating_mul(r.into())) + // Minimum execution time: 12_594_000 picoseconds. + Weight::from_parts(21_068_365, 1561) + // Standard Error: 623 + .saturating_add(Weight::from_parts(1_310_719, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -808,10 +808,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_483_000 picoseconds. - Weight::from_parts(20_453_059, 0) - // Standard Error: 3_271 - .saturating_add(Weight::from_parts(1_713_468, 0).saturating_mul(r.into())) + // Minimum execution time: 13_296_000 picoseconds. + Weight::from_parts(24_176_800, 0) + // Standard Error: 672 + .saturating_add(Weight::from_parts(1_883_333, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -821,12 +821,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 23_517_000 picoseconds. - Weight::from_parts(15_543_153, 990) - // Standard Error: 13_814 - .saturating_add(Weight::from_parts(2_357_255, 0).saturating_mul(t.into())) - // Standard Error: 3 - .saturating_add(Weight::from_parts(573, 0).saturating_mul(n.into())) + // Minimum execution time: 28_601_000 picoseconds. + Weight::from_parts(19_756_621, 990) + // Standard Error: 15_337 + .saturating_add(Weight::from_parts(2_608_361, 0).saturating_mul(t.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(630, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -836,20 +836,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_448_000 picoseconds. - Weight::from_parts(9_845_841, 0) - // Standard Error: 58 - .saturating_add(Weight::from_parts(105_442, 0).saturating_mul(r.into())) + // Minimum execution time: 11_015_000 picoseconds. + Weight::from_parts(14_924_014, 0) + // Standard Error: 192 + .saturating_add(Weight::from_parts(248_925, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_869_000 picoseconds. - Weight::from_parts(11_024_000, 0) + // Minimum execution time: 15_329_000 picoseconds. + Weight::from_parts(15_476_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(991, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(977, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -858,10 +858,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_119_000 picoseconds. - Weight::from_parts(9_270_000, 105) - // Standard Error: 8_960 - .saturating_add(Weight::from_parts(5_215_976, 0).saturating_mul(r.into())) + // Minimum execution time: 12_668_000 picoseconds. + Weight::from_parts(12_802_000, 105) + // Standard Error: 8_052 + .saturating_add(Weight::from_parts(5_543_594, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -873,10 +873,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 17_833_000 picoseconds. - Weight::from_parts(18_940_114, 245) - // Standard Error: 2 - .saturating_add(Weight::from_parts(316, 0).saturating_mul(n.into())) + // Minimum execution time: 23_727_000 picoseconds. + Weight::from_parts(24_506_588, 245) + // Standard Error: 3 + .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -887,10 +887,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_428_000 picoseconds. - Weight::from_parts(19_372_726, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) + // Minimum execution time: 24_012_000 picoseconds. + Weight::from_parts(25_312_336, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(65, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -902,10 +902,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_335_000 picoseconds. - Weight::from_parts(9_459_000, 105) - // Standard Error: 9_156 - .saturating_add(Weight::from_parts(5_166_621, 0).saturating_mul(r.into())) + // Minimum execution time: 12_707_000 picoseconds. + Weight::from_parts(12_888_000, 105) + // Standard Error: 8_072 + .saturating_add(Weight::from_parts(5_410_167, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -917,10 +917,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_308_000 picoseconds. - Weight::from_parts(19_421_433, 248) + // Minimum execution time: 24_098_000 picoseconds. + Weight::from_parts(25_694_868, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(62, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -932,10 +932,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_184_000 picoseconds. - Weight::from_parts(9_245_000, 105) - // Standard Error: 8_442 - .saturating_add(Weight::from_parts(4_543_991, 0).saturating_mul(r.into())) + // Minimum execution time: 13_014_000 picoseconds. + Weight::from_parts(13_202_000, 105) + // Standard Error: 6_914 + .saturating_add(Weight::from_parts(5_039_619, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -946,10 +946,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_194_000 picoseconds. - Weight::from_parts(19_032_094, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(590, 0).saturating_mul(n.into())) + // Minimum execution time: 22_845_000 picoseconds. + Weight::from_parts(24_816_617, 248) + // Standard Error: 4 + .saturating_add(Weight::from_parts(604, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -960,10 +960,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_380_000 picoseconds. - Weight::from_parts(9_501_000, 105) - // Standard Error: 7_029 - .saturating_add(Weight::from_parts(4_406_690, 0).saturating_mul(r.into())) + // Minimum execution time: 12_407_000 picoseconds. + Weight::from_parts(12_591_000, 105) + // Standard Error: 6_730 + .saturating_add(Weight::from_parts(4_701_987, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -974,10 +974,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 16_400_000 picoseconds. - Weight::from_parts(17_993_941, 248) + // Minimum execution time: 22_324_000 picoseconds. + Weight::from_parts(23_874_966, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(68, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(69, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -988,10 +988,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_109_000 picoseconds. - Weight::from_parts(9_265_000, 105) - // Standard Error: 8_733 - .saturating_add(Weight::from_parts(5_218_811, 0).saturating_mul(r.into())) + // Minimum execution time: 12_603_000 picoseconds. + Weight::from_parts(12_732_000, 105) + // Standard Error: 8_317 + .saturating_add(Weight::from_parts(5_688_161, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -1003,10 +1003,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_423_000 picoseconds. - Weight::from_parts(20_025_132, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(628, 0).saturating_mul(n.into())) + // Minimum execution time: 24_326_000 picoseconds. + Weight::from_parts(26_500_315, 248) + // Standard Error: 4 + .saturating_add(Weight::from_parts(597, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1018,10 +1018,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_043_000 picoseconds. - Weight::from_parts(9_176_000, 4221) - // Standard Error: 12_901 - .saturating_add(Weight::from_parts(32_297_438, 0).saturating_mul(r.into())) + // Minimum execution time: 12_657_000 picoseconds. + Weight::from_parts(12_851_000, 4221) + // Standard Error: 47_102 + .saturating_add(Weight::from_parts(32_495_860, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -1043,10 +1043,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_299_000 picoseconds. - Weight::from_parts(9_427_000, 6463) - // Standard Error: 101_949 - .saturating_add(Weight::from_parts(244_143_691, 0).saturating_mul(r.into())) + // Minimum execution time: 12_416_000 picoseconds. + Weight::from_parts(12_810_000, 6463) + // Standard Error: 119_256 + .saturating_add(Weight::from_parts(245_636_625, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1068,10 +1068,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±3)` - // Minimum execution time: 9_359_000 picoseconds. - Weight::from_parts(9_425_000, 6447) - // Standard Error: 193_938 - .saturating_add(Weight::from_parts(244_904_401, 0).saturating_mul(r.into())) + // Minimum execution time: 12_233_000 picoseconds. + Weight::from_parts(12_413_000, 6447) + // Standard Error: 129_445 + .saturating_add(Weight::from_parts(245_311_722, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -1094,12 +1094,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 214_588_000 picoseconds. - Weight::from_parts(129_214_481, 6639) - // Standard Error: 2_468_090 - .saturating_add(Weight::from_parts(32_514_739, 0).saturating_mul(t.into())) + // Minimum execution time: 217_238_000 picoseconds. + Weight::from_parts(124_709_444, 6639) + // Standard Error: 2_523_507 + .saturating_add(Weight::from_parts(42_222_611, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(418, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(424, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1125,10 +1125,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 352_925_000 picoseconds. - Weight::from_parts(355_487_000, 6990) - // Standard Error: 261_528 - .saturating_add(Weight::from_parts(337_897_187, 0).saturating_mul(r.into())) + // Minimum execution time: 359_636_000 picoseconds. + Weight::from_parts(364_367_000, 6990) + // Standard Error: 316_066 + .saturating_add(Weight::from_parts(333_832_133, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1156,12 +1156,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_870_832_000 picoseconds. - Weight::from_parts(949_110_245, 6719) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_084, 0).saturating_mul(i.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_206, 0).saturating_mul(s.into())) + // Minimum execution time: 1_853_423_000 picoseconds. + Weight::from_parts(866_989_578, 6719) + // Standard Error: 12_275_133 + .saturating_add(Weight::from_parts(8_240_652, 0).saturating_mul(t.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(i.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_197, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -1173,120 +1175,120 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_142_000 picoseconds. - Weight::from_parts(9_787_220, 0) - // Standard Error: 236 - .saturating_add(Weight::from_parts(267_264, 0).saturating_mul(r.into())) + // Minimum execution time: 12_501_000 picoseconds. + Weight::from_parts(14_858_332, 0) + // Standard Error: 260 + .saturating_add(Weight::from_parts(439_538, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_485_000 picoseconds. - Weight::from_parts(1_870_250, 0) + // Minimum execution time: 15_281_000 picoseconds. + Weight::from_parts(5_337_749, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_073, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_082, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_005_000 picoseconds. - Weight::from_parts(8_943_937, 0) - // Standard Error: 1_385 - .saturating_add(Weight::from_parts(665_970, 0).saturating_mul(r.into())) + // Minimum execution time: 12_489_000 picoseconds. + Weight::from_parts(17_042_239, 0) + // Standard Error: 287 + .saturating_add(Weight::from_parts(842_631, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_965_000 picoseconds. - Weight::from_parts(11_749_746, 0) - // Standard Error: 6 - .saturating_add(Weight::from_parts(3_330, 0).saturating_mul(n.into())) + // Minimum execution time: 16_333_000 picoseconds. + Weight::from_parts(9_677_652, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_350, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_400_000 picoseconds. - Weight::from_parts(13_857_546, 0) - // Standard Error: 246 - .saturating_add(Weight::from_parts(326_483, 0).saturating_mul(r.into())) + // Minimum execution time: 14_325_000 picoseconds. + Weight::from_parts(20_190_930, 0) + // Standard Error: 258 + .saturating_add(Weight::from_parts(496_772, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_064_000 picoseconds. - Weight::from_parts(1_885_873, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) + // Minimum execution time: 15_200_000 picoseconds. + Weight::from_parts(4_038_459, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_068_000 picoseconds. - Weight::from_parts(17_169_362, 0) - // Standard Error: 1_580 - .saturating_add(Weight::from_parts(330_195, 0).saturating_mul(r.into())) + // Minimum execution time: 12_660_000 picoseconds. + Weight::from_parts(18_005_040, 0) + // Standard Error: 277 + .saturating_add(Weight::from_parts(500_626, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_169_000 picoseconds. - Weight::from_parts(2_159_277, 0) + // Minimum execution time: 15_160_000 picoseconds. + Weight::from_parts(6_251_009, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_200, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 53_863_000 picoseconds. - Weight::from_parts(54_902_157, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_588, 0).saturating_mul(n.into())) + // Minimum execution time: 63_682_000 picoseconds. + Weight::from_parts(66_073_277, 0) + // Standard Error: 6 + .saturating_add(Weight::from_parts(4_685, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_107_000 picoseconds. - Weight::from_parts(24_115_247, 0) - // Standard Error: 7_427 - .saturating_add(Weight::from_parts(41_116_827, 0).saturating_mul(r.into())) + // Minimum execution time: 12_819_000 picoseconds. + Weight::from_parts(17_796_309, 0) + // Standard Error: 5_115 + .saturating_add(Weight::from_parts(50_173_955, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_404_000 picoseconds. - Weight::from_parts(31_763_334, 0) - // Standard Error: 9_833 - .saturating_add(Weight::from_parts(45_529_880, 0).saturating_mul(r.into())) + // Minimum execution time: 12_450_000 picoseconds. + Weight::from_parts(31_578_617, 0) + // Standard Error: 7_580 + .saturating_add(Weight::from_parts(45_687_521, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_409_000 picoseconds. - Weight::from_parts(15_072_835, 0) - // Standard Error: 4_591 - .saturating_add(Weight::from_parts(11_619_283, 0).saturating_mul(r.into())) + // Minimum execution time: 12_575_000 picoseconds. + Weight::from_parts(18_104_917, 0) + // Standard Error: 3_110 + .saturating_add(Weight::from_parts(11_853_704, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1301,10 +1303,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` // Estimated: `8969 + r * (3047 ±10)` - // Minimum execution time: 9_269_000 picoseconds. - Weight::from_parts(9_372_000, 8969) - // Standard Error: 61_354 - .saturating_add(Weight::from_parts(26_280_409, 0).saturating_mul(r.into())) + // Minimum execution time: 12_705_000 picoseconds. + Weight::from_parts(12_803_000, 8969) + // Standard Error: 42_763 + .saturating_add(Weight::from_parts(24_634_941, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -1316,10 +1318,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_103_000 picoseconds. - Weight::from_parts(14_404_626, 1265) - // Standard Error: 9_343 - .saturating_add(Weight::from_parts(5_154_949, 0).saturating_mul(r.into())) + // Minimum execution time: 12_526_000 picoseconds. + Weight::from_parts(19_599_422, 1265) + // Standard Error: 11_873 + .saturating_add(Weight::from_parts(5_396_158, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -1331,10 +1333,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 9_219_000 picoseconds. - Weight::from_parts(14_085_456, 990) - // Standard Error: 11_206 - .saturating_add(Weight::from_parts(4_422_122, 0).saturating_mul(r.into())) + // Minimum execution time: 12_587_000 picoseconds. + Weight::from_parts(19_578_272, 990) + // Standard Error: 10_563 + .saturating_add(Weight::from_parts(4_554_479, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -1360,10 +1362,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 269_333_000 picoseconds. - Weight::from_parts(286_922_618, 9282) - // Standard Error: 443 - .saturating_add(Weight::from_parts(168_869, 0).saturating_mul(r.into())) + // Minimum execution time: 260_652_000 picoseconds. + Weight::from_parts(289_545_458, 9282) + // Standard Error: 442 + .saturating_add(Weight::from_parts(173_560, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1373,10 +1375,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_328_000 picoseconds. - Weight::from_parts(14_019_583, 0) - // Standard Error: 171 - .saturating_add(Weight::from_parts(88_751, 0).saturating_mul(r.into())) + // Minimum execution time: 12_825_000 picoseconds. + Weight::from_parts(14_231_866, 0) + // Standard Error: 263 + .saturating_add(Weight::from_parts(288_833, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1385,10 +1387,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 9_267_000 picoseconds. - Weight::from_parts(15_304_284, 1704) - // Standard Error: 1_219 - .saturating_add(Weight::from_parts(74_696, 0).saturating_mul(r.into())) + // Minimum execution time: 12_634_000 picoseconds. + Weight::from_parts(18_571_026, 1704) + // Standard Error: 162 + .saturating_add(Weight::from_parts(146_334, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1396,10 +1398,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 911_000 picoseconds. - Weight::from_parts(449_666, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(14_797, 0).saturating_mul(r.into())) + // Minimum execution time: 990_000 picoseconds. + Weight::from_parts(753_029, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(6_280, 0).saturating_mul(r.into())) } } @@ -1411,8 +1413,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_047_000 picoseconds. - Weight::from_parts(2_116_000, 1627) + // Minimum execution time: 2_017_000 picoseconds. + Weight::from_parts(2_134_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1422,10 +1424,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_474_000 picoseconds. - Weight::from_parts(12_767_000, 442) - // Standard Error: 1_081 - .saturating_add(Weight::from_parts(1_187_278, 0).saturating_mul(k.into())) + // Minimum execution time: 12_356_000 picoseconds. + Weight::from_parts(12_856_000, 442) + // Standard Error: 798 + .saturating_add(Weight::from_parts(1_095_914, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1439,10 +1441,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_307_000 picoseconds. - Weight::from_parts(8_939_322, 6149) + // Minimum execution time: 8_236_000 picoseconds. + Weight::from_parts(8_788_033, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_180, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1455,8 +1457,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_915_000 picoseconds. - Weight::from_parts(17_638_000, 6450) + // Minimum execution time: 16_902_000 picoseconds. + Weight::from_parts(17_706_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1469,10 +1471,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_607_000 picoseconds. - Weight::from_parts(1_979_323, 3635) - // Standard Error: 1_018 - .saturating_add(Weight::from_parts(1_196_162, 0).saturating_mul(k.into())) + // Minimum execution time: 3_378_000 picoseconds. + Weight::from_parts(3_537_000, 3635) + // Standard Error: 569 + .saturating_add(Weight::from_parts(1_181_755, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1493,10 +1495,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_056_000 picoseconds. - Weight::from_parts(21_633_895, 6266) + // Minimum execution time: 20_661_000 picoseconds. + Weight::from_parts(20_869_606, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(390, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(407, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1507,8 +1509,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_860_000 picoseconds. - Weight::from_parts(13_525_000, 6380) + // Minimum execution time: 12_725_000 picoseconds. + Weight::from_parts(13_528_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1522,8 +1524,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_926_000 picoseconds. - Weight::from_parts(47_828_000, 6292) + // Minimum execution time: 46_391_000 picoseconds. + Weight::from_parts(47_920_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1535,8 +1537,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_081_000 picoseconds. - Weight::from_parts(56_899_000, 6534) + // Minimum execution time: 55_787_000 picoseconds. + Weight::from_parts(57_813_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1546,8 +1548,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_480_000 picoseconds. - Weight::from_parts(2_663_000, 1627) + // Minimum execution time: 2_472_000 picoseconds. + Weight::from_parts(2_625_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1559,8 +1561,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_115_000 picoseconds. - Weight::from_parts(12_506_000, 3631) + // Minimum execution time: 12_088_000 picoseconds. + Weight::from_parts(12_503_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1570,8 +1572,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_757_000 picoseconds. - Weight::from_parts(5_082_000, 3607) + // Minimum execution time: 4_816_000 picoseconds. + Weight::from_parts(5_045_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1582,8 +1584,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_017_000 picoseconds. - Weight::from_parts(6_421_000, 3632) + // Minimum execution time: 6_093_000 picoseconds. + Weight::from_parts(6_417_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1594,8 +1596,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_238_000 picoseconds. - Weight::from_parts(6_587_000, 3607) + // Minimum execution time: 6_233_000 picoseconds. + Weight::from_parts(6_549_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1620,10 +1622,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 288_968_000 picoseconds. - Weight::from_parts(267_291_922, 9217) - // Standard Error: 78 - .saturating_add(Weight::from_parts(34_879, 0).saturating_mul(c.into())) + // Minimum execution time: 297_117_000 picoseconds. + Weight::from_parts(312_806_506, 9217) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1655,14 +1657,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_948_426_000 picoseconds. - Weight::from_parts(440_017_623, 8740) - // Standard Error: 555 - .saturating_add(Weight::from_parts(71_483, 0).saturating_mul(c.into())) - // Standard Error: 66 - .saturating_add(Weight::from_parts(1_831, 0).saturating_mul(i.into())) - // Standard Error: 66 - .saturating_add(Weight::from_parts(1_694, 0).saturating_mul(s.into())) + // Minimum execution time: 3_745_757_000 picoseconds. + Weight::from_parts(680_948_502, 8740) + // Standard Error: 107 + .saturating_add(Weight::from_parts(50_863, 0).saturating_mul(c.into())) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_538, 0).saturating_mul(i.into())) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1692,11 +1694,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 2_011_037_000 picoseconds. - Weight::from_parts(2_047_025_000, 8982) - // Standard Error: 28 - .saturating_add(Weight::from_parts(968, 0).saturating_mul(i.into())) - // Standard Error: 28 + // Minimum execution time: 1_984_149_000 picoseconds. + Weight::from_parts(2_005_980_000, 8982) + // Standard Error: 26 + .saturating_add(Weight::from_parts(811, 0).saturating_mul(i.into())) + // Standard Error: 26 .saturating_add(Weight::from_parts(780, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -1721,8 +1723,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 202_190_000 picoseconds. - Weight::from_parts(209_378_000, 9244) + // Minimum execution time: 209_777_000 picoseconds. + Weight::from_parts(218_960_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1743,10 +1745,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 271_161_000 picoseconds. - Weight::from_parts(279_218_977, 6085) - // Standard Error: 80 - .saturating_add(Weight::from_parts(33_973, 0).saturating_mul(c.into())) + // Minimum execution time: 274_447_000 picoseconds. + Weight::from_parts(297_579_037, 6085) + // Standard Error: 46 + .saturating_add(Weight::from_parts(49_702, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1767,10 +1769,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 273_684_000 picoseconds. - Weight::from_parts(284_348_722, 6085) - // Standard Error: 79 - .saturating_add(Weight::from_parts(34_205, 0).saturating_mul(c.into())) + // Minimum execution time: 275_457_000 picoseconds. + Weight::from_parts(319_480_552, 6085) + // Standard Error: 41 + .saturating_add(Weight::from_parts(49_856, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1788,8 +1790,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_150_000 picoseconds. - Weight::from_parts(46_780_000, 3780) + // Minimum execution time: 44_590_000 picoseconds. + Weight::from_parts(45_882_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1805,8 +1807,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_738_000 picoseconds. - Weight::from_parts(35_918_000, 8967) + // Minimum execution time: 34_318_000 picoseconds. + Weight::from_parts(35_502_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1815,10 +1817,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_094_000 picoseconds. - Weight::from_parts(10_253_702, 0) - // Standard Error: 223 - .saturating_add(Weight::from_parts(250_757, 0).saturating_mul(r.into())) + // Minimum execution time: 12_645_000 picoseconds. + Weight::from_parts(10_923_424, 0) + // Standard Error: 1_302 + .saturating_add(Weight::from_parts(410_067, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1827,10 +1829,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 9_102_000 picoseconds. - Weight::from_parts(9_238_000, 1467) - // Standard Error: 6_076 - .saturating_add(Weight::from_parts(3_293_012, 0).saturating_mul(r.into())) + // Minimum execution time: 12_454_000 picoseconds. + Weight::from_parts(12_557_000, 1467) + // Standard Error: 6_234 + .saturating_add(Weight::from_parts(3_515_004, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -1841,10 +1843,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 9_255_000 picoseconds. - Weight::from_parts(9_406_000, 1468) - // Standard Error: 6_826 - .saturating_add(Weight::from_parts(4_205_039, 0).saturating_mul(r.into())) + // Minimum execution time: 14_423_000 picoseconds. + Weight::from_parts(14_537_000, 1468) + // Standard Error: 6_082 + .saturating_add(Weight::from_parts(4_351_104, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -1853,50 +1855,50 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_388_000 picoseconds. - Weight::from_parts(9_322_209, 0) - // Standard Error: 269 - .saturating_add(Weight::from_parts(358_189, 0).saturating_mul(r.into())) + // Minimum execution time: 14_235_000 picoseconds. + Weight::from_parts(16_960_384, 0) + // Standard Error: 427 + .saturating_add(Weight::from_parts(528_234, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_300_000 picoseconds. - Weight::from_parts(10_268_326, 0) - // Standard Error: 72 - .saturating_add(Weight::from_parts(104_650, 0).saturating_mul(r.into())) + // Minimum execution time: 14_124_000 picoseconds. + Weight::from_parts(16_945_056, 0) + // Standard Error: 202 + .saturating_add(Weight::from_parts(178_268, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_162_000 picoseconds. - Weight::from_parts(10_059_984, 0) - // Standard Error: 87 - .saturating_add(Weight::from_parts(87_627, 0).saturating_mul(r.into())) + // Minimum execution time: 12_495_000 picoseconds. + Weight::from_parts(15_440_404, 0) + // Standard Error: 144 + .saturating_add(Weight::from_parts(155_935, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_193_000 picoseconds. - Weight::from_parts(10_160_715, 0) - // Standard Error: 152 - .saturating_add(Weight::from_parts(263_703, 0).saturating_mul(r.into())) + // Minimum execution time: 12_524_000 picoseconds. + Weight::from_parts(15_814_939, 0) + // Standard Error: 231 + .saturating_add(Weight::from_parts(382_887, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_109_000 picoseconds. - Weight::from_parts(9_766_924, 0) - // Standard Error: 212 - .saturating_add(Weight::from_parts(291_694, 0).saturating_mul(r.into())) + // Minimum execution time: 12_514_000 picoseconds. + Weight::from_parts(16_080_567, 0) + // Standard Error: 251 + .saturating_add(Weight::from_parts(422_545, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1905,10 +1907,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 9_463_000 picoseconds. - Weight::from_parts(9_541_000, 3599) - // Standard Error: 3_075 - .saturating_add(Weight::from_parts(1_606_043, 0).saturating_mul(r.into())) + // Minimum execution time: 12_359_000 picoseconds. + Weight::from_parts(26_729_141, 3599) + // Standard Error: 771 + .saturating_add(Weight::from_parts(1_672_474, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1916,40 +1918,40 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_080_000 picoseconds. - Weight::from_parts(8_121_924, 0) - // Standard Error: 198 - .saturating_add(Weight::from_parts(247_527, 0).saturating_mul(r.into())) + // Minimum execution time: 12_572_000 picoseconds. + Weight::from_parts(17_181_699, 0) + // Standard Error: 243 + .saturating_add(Weight::from_parts(383_218, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_393_000 picoseconds. - Weight::from_parts(9_999_247, 0) - // Standard Error: 169 - .saturating_add(Weight::from_parts(244_563, 0).saturating_mul(r.into())) + // Minimum execution time: 13_197_000 picoseconds. + Weight::from_parts(23_117_101, 0) + // Standard Error: 1_433 + .saturating_add(Weight::from_parts(384_439, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_236_000 picoseconds. - Weight::from_parts(9_561_435, 0) - // Standard Error: 195 - .saturating_add(Weight::from_parts(239_812, 0).saturating_mul(r.into())) + // Minimum execution time: 12_927_000 picoseconds. + Weight::from_parts(15_876_896, 0) + // Standard Error: 242 + .saturating_add(Weight::from_parts(377_310, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_259_000 picoseconds. - Weight::from_parts(10_353_960, 0) - // Standard Error: 216 - .saturating_add(Weight::from_parts(243_754, 0).saturating_mul(r.into())) + // Minimum execution time: 13_300_000 picoseconds. + Weight::from_parts(16_942_284, 0) + // Standard Error: 238 + .saturating_add(Weight::from_parts(378_033, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1958,10 +1960,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 9_145_000 picoseconds. - Weight::from_parts(16_524_937, 1552) - // Standard Error: 438 - .saturating_add(Weight::from_parts(666_821, 0).saturating_mul(r.into())) + // Minimum execution time: 13_071_000 picoseconds. + Weight::from_parts(26_096_553, 1552) + // Standard Error: 525 + .saturating_add(Weight::from_parts(899_440, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1969,10 +1971,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_179_000 picoseconds. - Weight::from_parts(8_893_261, 0) - // Standard Error: 215 - .saturating_add(Weight::from_parts(175_586, 0).saturating_mul(r.into())) + // Minimum execution time: 12_859_000 picoseconds. + Weight::from_parts(14_703_362, 0) + // Standard Error: 257 + .saturating_add(Weight::from_parts(317_991, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -1995,10 +1997,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 259_315_000 picoseconds. - Weight::from_parts(137_461_362, 9287) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_388, 0).saturating_mul(n.into())) + // Minimum execution time: 269_809_000 picoseconds. + Weight::from_parts(150_158_370, 9287) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2007,20 +2009,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_919_000 picoseconds. - Weight::from_parts(9_465_187, 0) - // Standard Error: 32_481 - .saturating_add(Weight::from_parts(992_912, 0).saturating_mul(r.into())) + // Minimum execution time: 12_440_000 picoseconds. + Weight::from_parts(12_998_995, 0) + // Standard Error: 23_901 + .saturating_add(Weight::from_parts(2_554_504, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_244_000 picoseconds. - Weight::from_parts(10_654_989, 0) + // Minimum execution time: 15_428_000 picoseconds. + Weight::from_parts(15_716_175, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(315, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(314, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2049,10 +2051,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 303_028_000 picoseconds. - Weight::from_parts(323_032_397, 13220) - // Standard Error: 848_406 - .saturating_add(Weight::from_parts(242_988_002, 0).saturating_mul(r.into())) + // Minimum execution time: 295_683_000 picoseconds. + Weight::from_parts(321_440_653, 13220) + // Standard Error: 833_204 + .saturating_add(Weight::from_parts(255_404_246, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2066,10 +2068,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_227_000 picoseconds. - Weight::from_parts(14_055_283, 1561) - // Standard Error: 758 - .saturating_add(Weight::from_parts(1_104_996, 0).saturating_mul(r.into())) + // Minimum execution time: 12_594_000 picoseconds. + Weight::from_parts(21_068_365, 1561) + // Standard Error: 623 + .saturating_add(Weight::from_parts(1_310_719, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -2077,10 +2079,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_483_000 picoseconds. - Weight::from_parts(20_453_059, 0) - // Standard Error: 3_271 - .saturating_add(Weight::from_parts(1_713_468, 0).saturating_mul(r.into())) + // Minimum execution time: 13_296_000 picoseconds. + Weight::from_parts(24_176_800, 0) + // Standard Error: 672 + .saturating_add(Weight::from_parts(1_883_333, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2090,12 +2092,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 23_517_000 picoseconds. - Weight::from_parts(15_543_153, 990) - // Standard Error: 13_814 - .saturating_add(Weight::from_parts(2_357_255, 0).saturating_mul(t.into())) - // Standard Error: 3 - .saturating_add(Weight::from_parts(573, 0).saturating_mul(n.into())) + // Minimum execution time: 28_601_000 picoseconds. + Weight::from_parts(19_756_621, 990) + // Standard Error: 15_337 + .saturating_add(Weight::from_parts(2_608_361, 0).saturating_mul(t.into())) + // Standard Error: 4 + .saturating_add(Weight::from_parts(630, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -2105,20 +2107,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_448_000 picoseconds. - Weight::from_parts(9_845_841, 0) - // Standard Error: 58 - .saturating_add(Weight::from_parts(105_442, 0).saturating_mul(r.into())) + // Minimum execution time: 11_015_000 picoseconds. + Weight::from_parts(14_924_014, 0) + // Standard Error: 192 + .saturating_add(Weight::from_parts(248_925, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_869_000 picoseconds. - Weight::from_parts(11_024_000, 0) + // Minimum execution time: 15_329_000 picoseconds. + Weight::from_parts(15_476_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(991, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(977, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2127,10 +2129,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_119_000 picoseconds. - Weight::from_parts(9_270_000, 105) - // Standard Error: 8_960 - .saturating_add(Weight::from_parts(5_215_976, 0).saturating_mul(r.into())) + // Minimum execution time: 12_668_000 picoseconds. + Weight::from_parts(12_802_000, 105) + // Standard Error: 8_052 + .saturating_add(Weight::from_parts(5_543_594, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2142,10 +2144,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 17_833_000 picoseconds. - Weight::from_parts(18_940_114, 245) - // Standard Error: 2 - .saturating_add(Weight::from_parts(316, 0).saturating_mul(n.into())) + // Minimum execution time: 23_727_000 picoseconds. + Weight::from_parts(24_506_588, 245) + // Standard Error: 3 + .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2156,10 +2158,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_428_000 picoseconds. - Weight::from_parts(19_372_726, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) + // Minimum execution time: 24_012_000 picoseconds. + Weight::from_parts(25_312_336, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(65, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2171,10 +2173,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_335_000 picoseconds. - Weight::from_parts(9_459_000, 105) - // Standard Error: 9_156 - .saturating_add(Weight::from_parts(5_166_621, 0).saturating_mul(r.into())) + // Minimum execution time: 12_707_000 picoseconds. + Weight::from_parts(12_888_000, 105) + // Standard Error: 8_072 + .saturating_add(Weight::from_parts(5_410_167, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2186,10 +2188,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_308_000 picoseconds. - Weight::from_parts(19_421_433, 248) + // Minimum execution time: 24_098_000 picoseconds. + Weight::from_parts(25_694_868, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(62, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2201,10 +2203,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_184_000 picoseconds. - Weight::from_parts(9_245_000, 105) - // Standard Error: 8_442 - .saturating_add(Weight::from_parts(4_543_991, 0).saturating_mul(r.into())) + // Minimum execution time: 13_014_000 picoseconds. + Weight::from_parts(13_202_000, 105) + // Standard Error: 6_914 + .saturating_add(Weight::from_parts(5_039_619, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2215,10 +2217,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_194_000 picoseconds. - Weight::from_parts(19_032_094, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(590, 0).saturating_mul(n.into())) + // Minimum execution time: 22_845_000 picoseconds. + Weight::from_parts(24_816_617, 248) + // Standard Error: 4 + .saturating_add(Weight::from_parts(604, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2229,10 +2231,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_380_000 picoseconds. - Weight::from_parts(9_501_000, 105) - // Standard Error: 7_029 - .saturating_add(Weight::from_parts(4_406_690, 0).saturating_mul(r.into())) + // Minimum execution time: 12_407_000 picoseconds. + Weight::from_parts(12_591_000, 105) + // Standard Error: 6_730 + .saturating_add(Weight::from_parts(4_701_987, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2243,10 +2245,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 16_400_000 picoseconds. - Weight::from_parts(17_993_941, 248) + // Minimum execution time: 22_324_000 picoseconds. + Weight::from_parts(23_874_966, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(68, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(69, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2257,10 +2259,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_109_000 picoseconds. - Weight::from_parts(9_265_000, 105) - // Standard Error: 8_733 - .saturating_add(Weight::from_parts(5_218_811, 0).saturating_mul(r.into())) + // Minimum execution time: 12_603_000 picoseconds. + Weight::from_parts(12_732_000, 105) + // Standard Error: 8_317 + .saturating_add(Weight::from_parts(5_688_161, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2272,10 +2274,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_423_000 picoseconds. - Weight::from_parts(20_025_132, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(628, 0).saturating_mul(n.into())) + // Minimum execution time: 24_326_000 picoseconds. + Weight::from_parts(26_500_315, 248) + // Standard Error: 4 + .saturating_add(Weight::from_parts(597, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2287,10 +2289,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_043_000 picoseconds. - Weight::from_parts(9_176_000, 4221) - // Standard Error: 12_901 - .saturating_add(Weight::from_parts(32_297_438, 0).saturating_mul(r.into())) + // Minimum execution time: 12_657_000 picoseconds. + Weight::from_parts(12_851_000, 4221) + // Standard Error: 47_102 + .saturating_add(Weight::from_parts(32_495_860, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2312,10 +2314,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_299_000 picoseconds. - Weight::from_parts(9_427_000, 6463) - // Standard Error: 101_949 - .saturating_add(Weight::from_parts(244_143_691, 0).saturating_mul(r.into())) + // Minimum execution time: 12_416_000 picoseconds. + Weight::from_parts(12_810_000, 6463) + // Standard Error: 119_256 + .saturating_add(Weight::from_parts(245_636_625, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2337,10 +2339,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±3)` - // Minimum execution time: 9_359_000 picoseconds. - Weight::from_parts(9_425_000, 6447) - // Standard Error: 193_938 - .saturating_add(Weight::from_parts(244_904_401, 0).saturating_mul(r.into())) + // Minimum execution time: 12_233_000 picoseconds. + Weight::from_parts(12_413_000, 6447) + // Standard Error: 129_445 + .saturating_add(Weight::from_parts(245_311_722, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -2363,12 +2365,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 214_588_000 picoseconds. - Weight::from_parts(129_214_481, 6639) - // Standard Error: 2_468_090 - .saturating_add(Weight::from_parts(32_514_739, 0).saturating_mul(t.into())) + // Minimum execution time: 217_238_000 picoseconds. + Weight::from_parts(124_709_444, 6639) + // Standard Error: 2_523_507 + .saturating_add(Weight::from_parts(42_222_611, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(418, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(424, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2394,10 +2396,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 352_925_000 picoseconds. - Weight::from_parts(355_487_000, 6990) - // Standard Error: 261_528 - .saturating_add(Weight::from_parts(337_897_187, 0).saturating_mul(r.into())) + // Minimum execution time: 359_636_000 picoseconds. + Weight::from_parts(364_367_000, 6990) + // Standard Error: 316_066 + .saturating_add(Weight::from_parts(333_832_133, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2425,12 +2427,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_870_832_000 picoseconds. - Weight::from_parts(949_110_245, 6719) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_084, 0).saturating_mul(i.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_206, 0).saturating_mul(s.into())) + // Minimum execution time: 1_853_423_000 picoseconds. + Weight::from_parts(866_989_578, 6719) + // Standard Error: 12_275_133 + .saturating_add(Weight::from_parts(8_240_652, 0).saturating_mul(t.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(i.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_197, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -2442,120 +2446,120 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_142_000 picoseconds. - Weight::from_parts(9_787_220, 0) - // Standard Error: 236 - .saturating_add(Weight::from_parts(267_264, 0).saturating_mul(r.into())) + // Minimum execution time: 12_501_000 picoseconds. + Weight::from_parts(14_858_332, 0) + // Standard Error: 260 + .saturating_add(Weight::from_parts(439_538, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_485_000 picoseconds. - Weight::from_parts(1_870_250, 0) + // Minimum execution time: 15_281_000 picoseconds. + Weight::from_parts(5_337_749, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_073, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_082, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_005_000 picoseconds. - Weight::from_parts(8_943_937, 0) - // Standard Error: 1_385 - .saturating_add(Weight::from_parts(665_970, 0).saturating_mul(r.into())) + // Minimum execution time: 12_489_000 picoseconds. + Weight::from_parts(17_042_239, 0) + // Standard Error: 287 + .saturating_add(Weight::from_parts(842_631, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_965_000 picoseconds. - Weight::from_parts(11_749_746, 0) - // Standard Error: 6 - .saturating_add(Weight::from_parts(3_330, 0).saturating_mul(n.into())) + // Minimum execution time: 16_333_000 picoseconds. + Weight::from_parts(9_677_652, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_350, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_400_000 picoseconds. - Weight::from_parts(13_857_546, 0) - // Standard Error: 246 - .saturating_add(Weight::from_parts(326_483, 0).saturating_mul(r.into())) + // Minimum execution time: 14_325_000 picoseconds. + Weight::from_parts(20_190_930, 0) + // Standard Error: 258 + .saturating_add(Weight::from_parts(496_772, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_064_000 picoseconds. - Weight::from_parts(1_885_873, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) + // Minimum execution time: 15_200_000 picoseconds. + Weight::from_parts(4_038_459, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_068_000 picoseconds. - Weight::from_parts(17_169_362, 0) - // Standard Error: 1_580 - .saturating_add(Weight::from_parts(330_195, 0).saturating_mul(r.into())) + // Minimum execution time: 12_660_000 picoseconds. + Weight::from_parts(18_005_040, 0) + // Standard Error: 277 + .saturating_add(Weight::from_parts(500_626, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_169_000 picoseconds. - Weight::from_parts(2_159_277, 0) + // Minimum execution time: 15_160_000 picoseconds. + Weight::from_parts(6_251_009, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_200, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 53_863_000 picoseconds. - Weight::from_parts(54_902_157, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_588, 0).saturating_mul(n.into())) + // Minimum execution time: 63_682_000 picoseconds. + Weight::from_parts(66_073_277, 0) + // Standard Error: 6 + .saturating_add(Weight::from_parts(4_685, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_107_000 picoseconds. - Weight::from_parts(24_115_247, 0) - // Standard Error: 7_427 - .saturating_add(Weight::from_parts(41_116_827, 0).saturating_mul(r.into())) + // Minimum execution time: 12_819_000 picoseconds. + Weight::from_parts(17_796_309, 0) + // Standard Error: 5_115 + .saturating_add(Weight::from_parts(50_173_955, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_404_000 picoseconds. - Weight::from_parts(31_763_334, 0) - // Standard Error: 9_833 - .saturating_add(Weight::from_parts(45_529_880, 0).saturating_mul(r.into())) + // Minimum execution time: 12_450_000 picoseconds. + Weight::from_parts(31_578_617, 0) + // Standard Error: 7_580 + .saturating_add(Weight::from_parts(45_687_521, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_409_000 picoseconds. - Weight::from_parts(15_072_835, 0) - // Standard Error: 4_591 - .saturating_add(Weight::from_parts(11_619_283, 0).saturating_mul(r.into())) + // Minimum execution time: 12_575_000 picoseconds. + Weight::from_parts(18_104_917, 0) + // Standard Error: 3_110 + .saturating_add(Weight::from_parts(11_853_704, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -2570,10 +2574,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` // Estimated: `8969 + r * (3047 ±10)` - // Minimum execution time: 9_269_000 picoseconds. - Weight::from_parts(9_372_000, 8969) - // Standard Error: 61_354 - .saturating_add(Weight::from_parts(26_280_409, 0).saturating_mul(r.into())) + // Minimum execution time: 12_705_000 picoseconds. + Weight::from_parts(12_803_000, 8969) + // Standard Error: 42_763 + .saturating_add(Weight::from_parts(24_634_941, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -2585,10 +2589,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_103_000 picoseconds. - Weight::from_parts(14_404_626, 1265) - // Standard Error: 9_343 - .saturating_add(Weight::from_parts(5_154_949, 0).saturating_mul(r.into())) + // Minimum execution time: 12_526_000 picoseconds. + Weight::from_parts(19_599_422, 1265) + // Standard Error: 11_873 + .saturating_add(Weight::from_parts(5_396_158, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -2600,10 +2604,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 9_219_000 picoseconds. - Weight::from_parts(14_085_456, 990) - // Standard Error: 11_206 - .saturating_add(Weight::from_parts(4_422_122, 0).saturating_mul(r.into())) + // Minimum execution time: 12_587_000 picoseconds. + Weight::from_parts(19_578_272, 990) + // Standard Error: 10_563 + .saturating_add(Weight::from_parts(4_554_479, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -2629,10 +2633,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 269_333_000 picoseconds. - Weight::from_parts(286_922_618, 9282) - // Standard Error: 443 - .saturating_add(Weight::from_parts(168_869, 0).saturating_mul(r.into())) + // Minimum execution time: 260_652_000 picoseconds. + Weight::from_parts(289_545_458, 9282) + // Standard Error: 442 + .saturating_add(Weight::from_parts(173_560, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2642,10 +2646,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_328_000 picoseconds. - Weight::from_parts(14_019_583, 0) - // Standard Error: 171 - .saturating_add(Weight::from_parts(88_751, 0).saturating_mul(r.into())) + // Minimum execution time: 12_825_000 picoseconds. + Weight::from_parts(14_231_866, 0) + // Standard Error: 263 + .saturating_add(Weight::from_parts(288_833, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2654,10 +2658,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 9_267_000 picoseconds. - Weight::from_parts(15_304_284, 1704) - // Standard Error: 1_219 - .saturating_add(Weight::from_parts(74_696, 0).saturating_mul(r.into())) + // Minimum execution time: 12_634_000 picoseconds. + Weight::from_parts(18_571_026, 1704) + // Standard Error: 162 + .saturating_add(Weight::from_parts(146_334, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -2665,9 +2669,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 911_000 picoseconds. - Weight::from_parts(449_666, 0) - // Standard Error: 26 - .saturating_add(Weight::from_parts(14_797, 0).saturating_mul(r.into())) + // Minimum execution time: 990_000 picoseconds. + Weight::from_parts(753_029, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(6_280, 0).saturating_mul(r.into())) } } From 45035907b27459e49f78aaf356386ca48d6b39bb Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 11 Apr 2024 06:23:46 +0000 Subject: [PATCH 05/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 1242 +++++++++++----------- 1 file changed, 621 insertions(+), 621 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 2df77ad80794..b300aea25350 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -143,8 +143,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_017_000 picoseconds. - Weight::from_parts(2_134_000, 1627) + // Minimum execution time: 2_085_000 picoseconds. + Weight::from_parts(2_140_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -154,10 +154,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_356_000 picoseconds. - Weight::from_parts(12_856_000, 442) - // Standard Error: 798 - .saturating_add(Weight::from_parts(1_095_914, 0).saturating_mul(k.into())) + // Minimum execution time: 12_436_000 picoseconds. + Weight::from_parts(12_816_000, 442) + // Standard Error: 1_230 + .saturating_add(Weight::from_parts(1_227_014, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -171,10 +171,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_236_000 picoseconds. - Weight::from_parts(8_788_033, 6149) + // Minimum execution time: 8_512_000 picoseconds. + Weight::from_parts(8_771_649, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_180, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_185, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -187,8 +187,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_902_000 picoseconds. - Weight::from_parts(17_706_000, 6450) + // Minimum execution time: 16_960_000 picoseconds. + Weight::from_parts(17_810_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -201,10 +201,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_378_000 picoseconds. - Weight::from_parts(3_537_000, 3635) - // Standard Error: 569 - .saturating_add(Weight::from_parts(1_181_755, 0).saturating_mul(k.into())) + // Minimum execution time: 3_465_000 picoseconds. + Weight::from_parts(3_566_000, 3635) + // Standard Error: 1_611 + .saturating_add(Weight::from_parts(1_212_145, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -225,10 +225,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_661_000 picoseconds. - Weight::from_parts(20_869_606, 6266) + // Minimum execution time: 21_347_000 picoseconds. + Weight::from_parts(21_218_888, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(407, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(416, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -239,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_725_000 picoseconds. - Weight::from_parts(13_528_000, 6380) + // Minimum execution time: 12_876_000 picoseconds. + Weight::from_parts(13_498_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -254,8 +254,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_391_000 picoseconds. - Weight::from_parts(47_920_000, 6292) + // Minimum execution time: 47_624_000 picoseconds. + Weight::from_parts(48_794_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -267,8 +267,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_787_000 picoseconds. - Weight::from_parts(57_813_000, 6534) + // Minimum execution time: 55_934_000 picoseconds. + Weight::from_parts(57_894_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -278,8 +278,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_595_000 picoseconds. - Weight::from_parts(13_059_000, 6349) + // Minimum execution time: 12_171_000 picoseconds. + Weight::from_parts(12_884_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -289,8 +289,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_472_000 picoseconds. - Weight::from_parts(2_625_000, 1627) + // Minimum execution time: 2_540_000 picoseconds. + Weight::from_parts(2_644_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -302,8 +302,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_088_000 picoseconds. - Weight::from_parts(12_503_000, 3631) + // Minimum execution time: 12_121_000 picoseconds. + Weight::from_parts(12_663_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -313,8 +313,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_816_000 picoseconds. - Weight::from_parts(5_045_000, 3607) + // Minimum execution time: 4_774_000 picoseconds. + Weight::from_parts(4_977_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -325,8 +325,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_093_000 picoseconds. - Weight::from_parts(6_417_000, 3632) + // Minimum execution time: 5_858_000 picoseconds. + Weight::from_parts(6_250_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -337,8 +337,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_233_000 picoseconds. - Weight::from_parts(6_549_000, 3607) + // Minimum execution time: 6_074_000 picoseconds. + Weight::from_parts(6_454_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -363,10 +363,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 297_117_000 picoseconds. - Weight::from_parts(312_806_506, 9217) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(c.into())) + // Minimum execution time: 290_547_000 picoseconds. + Weight::from_parts(323_525_996, 9217) + // Standard Error: 15 + .saturating_add(Weight::from_parts(2_122, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -398,14 +398,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_745_757_000 picoseconds. - Weight::from_parts(680_948_502, 8740) - // Standard Error: 107 - .saturating_add(Weight::from_parts(50_863, 0).saturating_mul(c.into())) + // Minimum execution time: 4_360_132_000 picoseconds. + Weight::from_parts(644_170_980, 8740) + // Standard Error: 104 + .saturating_add(Weight::from_parts(53_524, 0).saturating_mul(c.into())) // Standard Error: 12 - .saturating_add(Weight::from_parts(1_538, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_896, 0).saturating_mul(i.into())) // Standard Error: 12 - .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_824, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -435,12 +435,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 1_984_149_000 picoseconds. - Weight::from_parts(2_005_980_000, 8982) - // Standard Error: 26 - .saturating_add(Weight::from_parts(811, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(780, 0).saturating_mul(s.into())) + // Minimum execution time: 2_166_318_000 picoseconds. + Weight::from_parts(2_186_292_000, 8982) + // Standard Error: 30 + .saturating_add(Weight::from_parts(1_048, 0).saturating_mul(i.into())) + // Standard Error: 30 + .saturating_add(Weight::from_parts(816, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -464,8 +464,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 209_777_000 picoseconds. - Weight::from_parts(218_960_000, 9244) + // Minimum execution time: 210_572_000 picoseconds. + Weight::from_parts(216_676_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -486,10 +486,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 274_447_000 picoseconds. - Weight::from_parts(297_579_037, 6085) - // Standard Error: 46 - .saturating_add(Weight::from_parts(49_702, 0).saturating_mul(c.into())) + // Minimum execution time: 274_894_000 picoseconds. + Weight::from_parts(317_740_873, 6085) + // Standard Error: 51 + .saturating_add(Weight::from_parts(50_865, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -510,10 +510,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 275_457_000 picoseconds. - Weight::from_parts(319_480_552, 6085) - // Standard Error: 41 - .saturating_add(Weight::from_parts(49_856, 0).saturating_mul(c.into())) + // Minimum execution time: 290_164_000 picoseconds. + Weight::from_parts(313_506_138, 6085) + // Standard Error: 46 + .saturating_add(Weight::from_parts(51_175, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -531,8 +531,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 44_590_000 picoseconds. - Weight::from_parts(45_882_000, 3780) + // Minimum execution time: 45_560_000 picoseconds. + Weight::from_parts(47_016_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -548,8 +548,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_318_000 picoseconds. - Weight::from_parts(35_502_000, 8967) + // Minimum execution time: 34_424_000 picoseconds. + Weight::from_parts(36_047_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -558,10 +558,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_645_000 picoseconds. - Weight::from_parts(10_923_424, 0) - // Standard Error: 1_302 - .saturating_add(Weight::from_parts(410_067, 0).saturating_mul(r.into())) + // Minimum execution time: 12_134_000 picoseconds. + Weight::from_parts(14_286_849, 0) + // Standard Error: 355 + .saturating_add(Weight::from_parts(388_402, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -570,10 +570,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 12_454_000 picoseconds. - Weight::from_parts(12_557_000, 1467) - // Standard Error: 6_234 - .saturating_add(Weight::from_parts(3_515_004, 0).saturating_mul(r.into())) + // Minimum execution time: 12_161_000 picoseconds. + Weight::from_parts(12_296_000, 1467) + // Standard Error: 7_660 + .saturating_add(Weight::from_parts(3_752_524, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -584,10 +584,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 14_423_000 picoseconds. - Weight::from_parts(14_537_000, 1468) - // Standard Error: 6_082 - .saturating_add(Weight::from_parts(4_351_104, 0).saturating_mul(r.into())) + // Minimum execution time: 12_421_000 picoseconds. + Weight::from_parts(12_590_000, 1468) + // Standard Error: 7_009 + .saturating_add(Weight::from_parts(4_690_003, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -596,50 +596,50 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_235_000 picoseconds. - Weight::from_parts(16_960_384, 0) - // Standard Error: 427 - .saturating_add(Weight::from_parts(528_234, 0).saturating_mul(r.into())) + // Minimum execution time: 12_812_000 picoseconds. + Weight::from_parts(16_595_423, 0) + // Standard Error: 319 + .saturating_add(Weight::from_parts(478_640, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_124_000 picoseconds. - Weight::from_parts(16_945_056, 0) - // Standard Error: 202 - .saturating_add(Weight::from_parts(178_268, 0).saturating_mul(r.into())) + // Minimum execution time: 12_445_000 picoseconds. + Weight::from_parts(15_909_980, 0) + // Standard Error: 229 + .saturating_add(Weight::from_parts(181_269, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_495_000 picoseconds. - Weight::from_parts(15_440_404, 0) - // Standard Error: 144 - .saturating_add(Weight::from_parts(155_935, 0).saturating_mul(r.into())) + // Minimum execution time: 12_333_000 picoseconds. + Weight::from_parts(15_495_536, 0) + // Standard Error: 152 + .saturating_add(Weight::from_parts(160_987, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_524_000 picoseconds. - Weight::from_parts(15_814_939, 0) - // Standard Error: 231 - .saturating_add(Weight::from_parts(382_887, 0).saturating_mul(r.into())) + // Minimum execution time: 12_754_000 picoseconds. + Weight::from_parts(15_742_828, 0) + // Standard Error: 290 + .saturating_add(Weight::from_parts(385_459, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_514_000 picoseconds. - Weight::from_parts(16_080_567, 0) - // Standard Error: 251 - .saturating_add(Weight::from_parts(422_545, 0).saturating_mul(r.into())) + // Minimum execution time: 12_786_000 picoseconds. + Weight::from_parts(16_988_131, 0) + // Standard Error: 255 + .saturating_add(Weight::from_parts(422_440, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -648,10 +648,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 12_359_000 picoseconds. - Weight::from_parts(26_729_141, 3599) - // Standard Error: 771 - .saturating_add(Weight::from_parts(1_672_474, 0).saturating_mul(r.into())) + // Minimum execution time: 12_414_000 picoseconds. + Weight::from_parts(28_963_777, 3599) + // Standard Error: 1_753 + .saturating_add(Weight::from_parts(1_771_504, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -659,40 +659,40 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_572_000 picoseconds. - Weight::from_parts(17_181_699, 0) - // Standard Error: 243 - .saturating_add(Weight::from_parts(383_218, 0).saturating_mul(r.into())) + // Minimum execution time: 11_837_000 picoseconds. + Weight::from_parts(14_907_225, 0) + // Standard Error: 228 + .saturating_add(Weight::from_parts(396_219, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_197_000 picoseconds. - Weight::from_parts(23_117_101, 0) - // Standard Error: 1_433 - .saturating_add(Weight::from_parts(384_439, 0).saturating_mul(r.into())) + // Minimum execution time: 12_284_000 picoseconds. + Weight::from_parts(18_597_225, 0) + // Standard Error: 476 + .saturating_add(Weight::from_parts(386_026, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_927_000 picoseconds. - Weight::from_parts(15_876_896, 0) - // Standard Error: 242 - .saturating_add(Weight::from_parts(377_310, 0).saturating_mul(r.into())) + // Minimum execution time: 12_271_000 picoseconds. + Weight::from_parts(15_558_022, 0) + // Standard Error: 249 + .saturating_add(Weight::from_parts(381_098, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_300_000 picoseconds. - Weight::from_parts(16_942_284, 0) - // Standard Error: 238 - .saturating_add(Weight::from_parts(378_033, 0).saturating_mul(r.into())) + // Minimum execution time: 12_177_000 picoseconds. + Weight::from_parts(17_221_268, 0) + // Standard Error: 287 + .saturating_add(Weight::from_parts(376_013, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -701,10 +701,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 13_071_000 picoseconds. - Weight::from_parts(26_096_553, 1552) - // Standard Error: 525 - .saturating_add(Weight::from_parts(899_440, 0).saturating_mul(r.into())) + // Minimum execution time: 12_136_000 picoseconds. + Weight::from_parts(20_845_947, 1552) + // Standard Error: 589 + .saturating_add(Weight::from_parts(904_680, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -712,10 +712,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_859_000 picoseconds. - Weight::from_parts(14_703_362, 0) - // Standard Error: 257 - .saturating_add(Weight::from_parts(317_991, 0).saturating_mul(r.into())) + // Minimum execution time: 12_044_000 picoseconds. + Weight::from_parts(15_223_638, 0) + // Standard Error: 385 + .saturating_add(Weight::from_parts(319_163, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -738,10 +738,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 269_809_000 picoseconds. - Weight::from_parts(150_158_370, 9287) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(n.into())) + // Minimum execution time: 278_830_000 picoseconds. + Weight::from_parts(130_589_408, 9287) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_441, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -750,20 +750,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_440_000 picoseconds. - Weight::from_parts(12_998_995, 0) - // Standard Error: 23_901 - .saturating_add(Weight::from_parts(2_554_504, 0).saturating_mul(r.into())) + // Minimum execution time: 12_093_000 picoseconds. + Weight::from_parts(12_714_028, 0) + // Standard Error: 38_930 + .saturating_add(Weight::from_parts(3_086_671, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_428_000 picoseconds. - Weight::from_parts(15_716_175, 0) + // Minimum execution time: 15_420_000 picoseconds. + Weight::from_parts(16_085_671, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(314, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(316, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -792,10 +792,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 295_683_000 picoseconds. - Weight::from_parts(321_440_653, 13220) - // Standard Error: 833_204 - .saturating_add(Weight::from_parts(255_404_246, 0).saturating_mul(r.into())) + // Minimum execution time: 312_097_000 picoseconds. + Weight::from_parts(334_236_075, 13220) + // Standard Error: 1_496_813 + .saturating_add(Weight::from_parts(271_903_824, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -809,10 +809,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 12_594_000 picoseconds. - Weight::from_parts(21_068_365, 1561) - // Standard Error: 623 - .saturating_add(Weight::from_parts(1_310_719, 0).saturating_mul(r.into())) + // Minimum execution time: 12_131_000 picoseconds. + Weight::from_parts(12_270_286, 1561) + // Standard Error: 786 + .saturating_add(Weight::from_parts(1_333_081, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -820,10 +820,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_296_000 picoseconds. - Weight::from_parts(24_176_800, 0) - // Standard Error: 672 - .saturating_add(Weight::from_parts(1_883_333, 0).saturating_mul(r.into())) + // Minimum execution time: 12_397_000 picoseconds. + Weight::from_parts(20_822_695, 0) + // Standard Error: 1_522 + .saturating_add(Weight::from_parts(1_931_626, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -833,12 +833,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 28_601_000 picoseconds. - Weight::from_parts(19_756_621, 990) - // Standard Error: 15_337 - .saturating_add(Weight::from_parts(2_608_361, 0).saturating_mul(t.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(630, 0).saturating_mul(n.into())) + // Minimum execution time: 29_115_000 picoseconds. + Weight::from_parts(22_457_813, 990) + // Standard Error: 26_443 + .saturating_add(Weight::from_parts(2_079_455, 0).saturating_mul(t.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(571, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -848,20 +848,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_015_000 picoseconds. - Weight::from_parts(14_924_014, 0) - // Standard Error: 192 - .saturating_add(Weight::from_parts(248_925, 0).saturating_mul(r.into())) + // Minimum execution time: 10_973_000 picoseconds. + Weight::from_parts(13_790_468, 0) + // Standard Error: 222 + .saturating_add(Weight::from_parts(258_905, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_329_000 picoseconds. - Weight::from_parts(15_476_000, 0) + // Minimum execution time: 16_190_000 picoseconds. + Weight::from_parts(16_489_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(977, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_007, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -870,10 +870,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_668_000 picoseconds. - Weight::from_parts(12_802_000, 105) - // Standard Error: 8_052 - .saturating_add(Weight::from_parts(5_543_594, 0).saturating_mul(r.into())) + // Minimum execution time: 12_347_000 picoseconds. + Weight::from_parts(12_378_000, 105) + // Standard Error: 10_320 + .saturating_add(Weight::from_parts(5_900_033, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -885,10 +885,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 23_727_000 picoseconds. - Weight::from_parts(24_506_588, 245) - // Standard Error: 3 - .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) + // Minimum execution time: 23_880_000 picoseconds. + Weight::from_parts(24_681_687, 245) + // Standard Error: 2 + .saturating_add(Weight::from_parts(331, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -899,10 +899,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 24_012_000 picoseconds. - Weight::from_parts(25_312_336, 248) + // Minimum execution time: 23_824_000 picoseconds. + Weight::from_parts(25_606_167, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(65, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(72, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -914,10 +914,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_707_000 picoseconds. - Weight::from_parts(12_888_000, 105) - // Standard Error: 8_072 - .saturating_add(Weight::from_parts(5_410_167, 0).saturating_mul(r.into())) + // Minimum execution time: 12_310_000 picoseconds. + Weight::from_parts(12_498_000, 105) + // Standard Error: 9_436 + .saturating_add(Weight::from_parts(5_677_789, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -929,10 +929,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 24_098_000 picoseconds. - Weight::from_parts(25_694_868, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(62, 0).saturating_mul(n.into())) + // Minimum execution time: 23_698_000 picoseconds. + Weight::from_parts(25_066_659, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(101, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -944,10 +944,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 13_014_000 picoseconds. - Weight::from_parts(13_202_000, 105) - // Standard Error: 6_914 - .saturating_add(Weight::from_parts(5_039_619, 0).saturating_mul(r.into())) + // Minimum execution time: 12_552_000 picoseconds. + Weight::from_parts(12_816_000, 105) + // Standard Error: 7_571 + .saturating_add(Weight::from_parts(5_321_285, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -958,10 +958,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 22_845_000 picoseconds. - Weight::from_parts(24_816_617, 248) + // Minimum execution time: 25_097_000 picoseconds. + Weight::from_parts(27_139_550, 248) // Standard Error: 4 - .saturating_add(Weight::from_parts(604, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(601, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -972,10 +972,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_407_000 picoseconds. - Weight::from_parts(12_591_000, 105) - // Standard Error: 6_730 - .saturating_add(Weight::from_parts(4_701_987, 0).saturating_mul(r.into())) + // Minimum execution time: 14_732_000 picoseconds. + Weight::from_parts(15_157_000, 105) + // Standard Error: 8_079 + .saturating_add(Weight::from_parts(4_920_894, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -986,10 +986,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 22_324_000 picoseconds. - Weight::from_parts(23_874_966, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(69, 0).saturating_mul(n.into())) + // Minimum execution time: 21_900_000 picoseconds. + Weight::from_parts(23_956_296, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(53, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1000,10 +1000,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_603_000 picoseconds. - Weight::from_parts(12_732_000, 105) - // Standard Error: 8_317 - .saturating_add(Weight::from_parts(5_688_161, 0).saturating_mul(r.into())) + // Minimum execution time: 12_642_000 picoseconds. + Weight::from_parts(12_892_000, 105) + // Standard Error: 11_319 + .saturating_add(Weight::from_parts(6_012_849, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -1015,10 +1015,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 24_326_000 picoseconds. - Weight::from_parts(26_500_315, 248) + // Minimum execution time: 24_080_000 picoseconds. + Weight::from_parts(26_539_435, 248) // Standard Error: 4 - .saturating_add(Weight::from_parts(597, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(570, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1030,10 +1030,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 12_657_000 picoseconds. - Weight::from_parts(12_851_000, 4221) - // Standard Error: 47_102 - .saturating_add(Weight::from_parts(32_495_860, 0).saturating_mul(r.into())) + // Minimum execution time: 12_131_000 picoseconds. + Weight::from_parts(12_283_000, 4221) + // Standard Error: 29_463 + .saturating_add(Weight::from_parts(33_271_772, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -1055,10 +1055,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 12_416_000 picoseconds. - Weight::from_parts(12_810_000, 6463) - // Standard Error: 119_256 - .saturating_add(Weight::from_parts(245_636_625, 0).saturating_mul(r.into())) + // Minimum execution time: 12_415_000 picoseconds. + Weight::from_parts(12_577_000, 6463) + // Standard Error: 160_176 + .saturating_add(Weight::from_parts(248_953_731, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1079,11 +1079,11 @@ impl WeightInfo for SubstrateWeight { fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` - // Estimated: `6447 + r * (2583 ±3)` - // Minimum execution time: 12_233_000 picoseconds. - Weight::from_parts(12_413_000, 6447) - // Standard Error: 129_445 - .saturating_add(Weight::from_parts(245_311_722, 0).saturating_mul(r.into())) + // Estimated: `6447 + r * (2583 ±10)` + // Minimum execution time: 12_039_000 picoseconds. + Weight::from_parts(12_251_000, 6447) + // Standard Error: 177_063 + .saturating_add(Weight::from_parts(251_187_056, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -1106,12 +1106,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 217_238_000 picoseconds. - Weight::from_parts(124_709_444, 6639) - // Standard Error: 2_523_507 - .saturating_add(Weight::from_parts(42_222_611, 0).saturating_mul(t.into())) + // Minimum execution time: 222_480_000 picoseconds. + Weight::from_parts(139_806_727, 6639) + // Standard Error: 2_423_879 + .saturating_add(Weight::from_parts(33_638_500, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(424, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(428, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1126,10 +1126,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:800 w:801) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::Account` (r:802 w:802) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Parameters::Parameters` (r:2 w:0) + /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:801 w:801) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[1, 800]`. @@ -1137,10 +1137,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 359_636_000 picoseconds. - Weight::from_parts(364_367_000, 6990) - // Standard Error: 316_066 - .saturating_add(Weight::from_parts(333_832_133, 0).saturating_mul(r.into())) + // Minimum execution time: 372_894_000 picoseconds. + Weight::from_parts(377_395_000, 6990) + // Standard Error: 240_077 + .saturating_add(Weight::from_parts(342_592_337, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1155,10 +1155,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Parameters::Parameters` (r:2 w:0) + /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. @@ -1168,14 +1168,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_853_423_000 picoseconds. - Weight::from_parts(866_989_578, 6719) - // Standard Error: 12_275_133 - .saturating_add(Weight::from_parts(8_240_652, 0).saturating_mul(t.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(i.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_197, 0).saturating_mul(s.into())) + // Minimum execution time: 1_944_105_000 picoseconds. + Weight::from_parts(734_306_034, 6719) + // Standard Error: 12_967_210 + .saturating_add(Weight::from_parts(23_842_717, 0).saturating_mul(t.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_316, 0).saturating_mul(i.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -1187,120 +1187,120 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_501_000 picoseconds. - Weight::from_parts(14_858_332, 0) - // Standard Error: 260 - .saturating_add(Weight::from_parts(439_538, 0).saturating_mul(r.into())) + // Minimum execution time: 12_092_000 picoseconds. + Weight::from_parts(15_547_614, 0) + // Standard Error: 283 + .saturating_add(Weight::from_parts(434_785, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_281_000 picoseconds. - Weight::from_parts(5_337_749, 0) + // Minimum execution time: 15_052_000 picoseconds. + Weight::from_parts(5_222_981, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_082, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_088, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_489_000 picoseconds. - Weight::from_parts(17_042_239, 0) - // Standard Error: 287 - .saturating_add(Weight::from_parts(842_631, 0).saturating_mul(r.into())) + // Minimum execution time: 12_003_000 picoseconds. + Weight::from_parts(11_681_109, 0) + // Standard Error: 507 + .saturating_add(Weight::from_parts(846_579, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_333_000 picoseconds. - Weight::from_parts(9_677_652, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_350, 0).saturating_mul(n.into())) + // Minimum execution time: 18_307_000 picoseconds. + Weight::from_parts(6_124_877, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_368, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_325_000 picoseconds. - Weight::from_parts(20_190_930, 0) - // Standard Error: 258 - .saturating_add(Weight::from_parts(496_772, 0).saturating_mul(r.into())) + // Minimum execution time: 12_053_000 picoseconds. + Weight::from_parts(18_797_845, 0) + // Standard Error: 386 + .saturating_add(Weight::from_parts(502_447, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_200_000 picoseconds. - Weight::from_parts(4_038_459, 0) + // Minimum execution time: 14_820_000 picoseconds. + Weight::from_parts(5_660_259, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_660_000 picoseconds. - Weight::from_parts(18_005_040, 0) - // Standard Error: 277 - .saturating_add(Weight::from_parts(500_626, 0).saturating_mul(r.into())) + // Minimum execution time: 11_745_000 picoseconds. + Weight::from_parts(15_197_331, 0) + // Standard Error: 611 + .saturating_add(Weight::from_parts(513_067, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_160_000 picoseconds. - Weight::from_parts(6_251_009, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(n.into())) + // Minimum execution time: 15_304_000 picoseconds. + Weight::from_parts(7_076_503, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 63_682_000 picoseconds. - Weight::from_parts(66_073_277, 0) - // Standard Error: 6 - .saturating_add(Weight::from_parts(4_685, 0).saturating_mul(n.into())) + // Minimum execution time: 59_364_000 picoseconds. + Weight::from_parts(61_439_060, 0) + // Standard Error: 8 + .saturating_add(Weight::from_parts(4_743, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_819_000 picoseconds. - Weight::from_parts(17_796_309, 0) - // Standard Error: 5_115 - .saturating_add(Weight::from_parts(50_173_955, 0).saturating_mul(r.into())) + // Minimum execution time: 12_102_000 picoseconds. + Weight::from_parts(28_610_791, 0) + // Standard Error: 7_966 + .saturating_add(Weight::from_parts(41_629_076, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_450_000 picoseconds. - Weight::from_parts(31_578_617, 0) - // Standard Error: 7_580 - .saturating_add(Weight::from_parts(45_687_521, 0).saturating_mul(r.into())) + // Minimum execution time: 12_346_000 picoseconds. + Weight::from_parts(35_774_414, 0) + // Standard Error: 9_721 + .saturating_add(Weight::from_parts(46_147_116, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_575_000 picoseconds. - Weight::from_parts(18_104_917, 0) - // Standard Error: 3_110 - .saturating_add(Weight::from_parts(11_853_704, 0).saturating_mul(r.into())) + // Minimum execution time: 12_047_000 picoseconds. + Weight::from_parts(19_345_175, 0) + // Standard Error: 4_941 + .saturating_add(Weight::from_parts(12_010_893, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1315,10 +1315,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` // Estimated: `8969 + r * (3047 ±10)` - // Minimum execution time: 12_705_000 picoseconds. - Weight::from_parts(12_803_000, 8969) - // Standard Error: 42_763 - .saturating_add(Weight::from_parts(24_634_941, 0).saturating_mul(r.into())) + // Minimum execution time: 12_494_000 picoseconds. + Weight::from_parts(12_639_000, 8969) + // Standard Error: 60_477 + .saturating_add(Weight::from_parts(27_557_747, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -1331,9 +1331,9 @@ impl WeightInfo for SubstrateWeight { // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` // Minimum execution time: 12_526_000 picoseconds. - Weight::from_parts(19_599_422, 1265) - // Standard Error: 11_873 - .saturating_add(Weight::from_parts(5_396_158, 0).saturating_mul(r.into())) + Weight::from_parts(18_257_234, 1265) + // Standard Error: 11_152 + .saturating_add(Weight::from_parts(5_647_434, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -1345,10 +1345,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 12_587_000 picoseconds. - Weight::from_parts(19_578_272, 990) - // Standard Error: 10_563 - .saturating_add(Weight::from_parts(4_554_479, 0).saturating_mul(r.into())) + // Minimum execution time: 12_272_000 picoseconds. + Weight::from_parts(19_132_974, 990) + // Standard Error: 10_711 + .saturating_add(Weight::from_parts(4_708_596, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -1374,10 +1374,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 260_652_000 picoseconds. - Weight::from_parts(289_545_458, 9282) - // Standard Error: 442 - .saturating_add(Weight::from_parts(173_560, 0).saturating_mul(r.into())) + // Minimum execution time: 279_359_000 picoseconds. + Weight::from_parts(286_340_330, 9282) + // Standard Error: 360 + .saturating_add(Weight::from_parts(181_405, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1387,10 +1387,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_825_000 picoseconds. - Weight::from_parts(14_231_866, 0) - // Standard Error: 263 - .saturating_add(Weight::from_parts(288_833, 0).saturating_mul(r.into())) + // Minimum execution time: 12_488_000 picoseconds. + Weight::from_parts(29_200_438, 0) + // Standard Error: 469 + .saturating_add(Weight::from_parts(309_673, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1399,10 +1399,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 12_634_000 picoseconds. - Weight::from_parts(18_571_026, 1704) - // Standard Error: 162 - .saturating_add(Weight::from_parts(146_334, 0).saturating_mul(r.into())) + // Minimum execution time: 12_346_000 picoseconds. + Weight::from_parts(16_520_211, 1704) + // Standard Error: 459 + .saturating_add(Weight::from_parts(158_391, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1410,10 +1410,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 990_000 picoseconds. - Weight::from_parts(753_029, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(6_280, 0).saturating_mul(r.into())) + // Minimum execution time: 957_000 picoseconds. + Weight::from_parts(718_218, 0) + // Standard Error: 11 + .saturating_add(Weight::from_parts(6_346, 0).saturating_mul(r.into())) } } @@ -1425,8 +1425,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_017_000 picoseconds. - Weight::from_parts(2_134_000, 1627) + // Minimum execution time: 2_085_000 picoseconds. + Weight::from_parts(2_140_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1436,10 +1436,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_356_000 picoseconds. - Weight::from_parts(12_856_000, 442) - // Standard Error: 798 - .saturating_add(Weight::from_parts(1_095_914, 0).saturating_mul(k.into())) + // Minimum execution time: 12_436_000 picoseconds. + Weight::from_parts(12_816_000, 442) + // Standard Error: 1_230 + .saturating_add(Weight::from_parts(1_227_014, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1453,10 +1453,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_236_000 picoseconds. - Weight::from_parts(8_788_033, 6149) + // Minimum execution time: 8_512_000 picoseconds. + Weight::from_parts(8_771_649, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_180, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_185, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1469,8 +1469,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_902_000 picoseconds. - Weight::from_parts(17_706_000, 6450) + // Minimum execution time: 16_960_000 picoseconds. + Weight::from_parts(17_810_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1483,10 +1483,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_378_000 picoseconds. - Weight::from_parts(3_537_000, 3635) - // Standard Error: 569 - .saturating_add(Weight::from_parts(1_181_755, 0).saturating_mul(k.into())) + // Minimum execution time: 3_465_000 picoseconds. + Weight::from_parts(3_566_000, 3635) + // Standard Error: 1_611 + .saturating_add(Weight::from_parts(1_212_145, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1507,10 +1507,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_661_000 picoseconds. - Weight::from_parts(20_869_606, 6266) + // Minimum execution time: 21_347_000 picoseconds. + Weight::from_parts(21_218_888, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(407, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(416, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1521,8 +1521,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_725_000 picoseconds. - Weight::from_parts(13_528_000, 6380) + // Minimum execution time: 12_876_000 picoseconds. + Weight::from_parts(13_498_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1536,8 +1536,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_391_000 picoseconds. - Weight::from_parts(47_920_000, 6292) + // Minimum execution time: 47_624_000 picoseconds. + Weight::from_parts(48_794_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1549,8 +1549,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_787_000 picoseconds. - Weight::from_parts(57_813_000, 6534) + // Minimum execution time: 55_934_000 picoseconds. + Weight::from_parts(57_894_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1560,8 +1560,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_595_000 picoseconds. - Weight::from_parts(13_059_000, 6349) + // Minimum execution time: 12_171_000 picoseconds. + Weight::from_parts(12_884_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1571,8 +1571,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_472_000 picoseconds. - Weight::from_parts(2_625_000, 1627) + // Minimum execution time: 2_540_000 picoseconds. + Weight::from_parts(2_644_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1584,8 +1584,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_088_000 picoseconds. - Weight::from_parts(12_503_000, 3631) + // Minimum execution time: 12_121_000 picoseconds. + Weight::from_parts(12_663_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1595,8 +1595,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_816_000 picoseconds. - Weight::from_parts(5_045_000, 3607) + // Minimum execution time: 4_774_000 picoseconds. + Weight::from_parts(4_977_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1607,8 +1607,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_093_000 picoseconds. - Weight::from_parts(6_417_000, 3632) + // Minimum execution time: 5_858_000 picoseconds. + Weight::from_parts(6_250_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1619,8 +1619,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_233_000 picoseconds. - Weight::from_parts(6_549_000, 3607) + // Minimum execution time: 6_074_000 picoseconds. + Weight::from_parts(6_454_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1645,10 +1645,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 297_117_000 picoseconds. - Weight::from_parts(312_806_506, 9217) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(c.into())) + // Minimum execution time: 290_547_000 picoseconds. + Weight::from_parts(323_525_996, 9217) + // Standard Error: 15 + .saturating_add(Weight::from_parts(2_122, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1680,14 +1680,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_745_757_000 picoseconds. - Weight::from_parts(680_948_502, 8740) - // Standard Error: 107 - .saturating_add(Weight::from_parts(50_863, 0).saturating_mul(c.into())) + // Minimum execution time: 4_360_132_000 picoseconds. + Weight::from_parts(644_170_980, 8740) + // Standard Error: 104 + .saturating_add(Weight::from_parts(53_524, 0).saturating_mul(c.into())) // Standard Error: 12 - .saturating_add(Weight::from_parts(1_538, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_896, 0).saturating_mul(i.into())) // Standard Error: 12 - .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_824, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1717,12 +1717,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 1_984_149_000 picoseconds. - Weight::from_parts(2_005_980_000, 8982) - // Standard Error: 26 - .saturating_add(Weight::from_parts(811, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(780, 0).saturating_mul(s.into())) + // Minimum execution time: 2_166_318_000 picoseconds. + Weight::from_parts(2_186_292_000, 8982) + // Standard Error: 30 + .saturating_add(Weight::from_parts(1_048, 0).saturating_mul(i.into())) + // Standard Error: 30 + .saturating_add(Weight::from_parts(816, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1746,8 +1746,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 209_777_000 picoseconds. - Weight::from_parts(218_960_000, 9244) + // Minimum execution time: 210_572_000 picoseconds. + Weight::from_parts(216_676_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1768,10 +1768,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 274_447_000 picoseconds. - Weight::from_parts(297_579_037, 6085) - // Standard Error: 46 - .saturating_add(Weight::from_parts(49_702, 0).saturating_mul(c.into())) + // Minimum execution time: 274_894_000 picoseconds. + Weight::from_parts(317_740_873, 6085) + // Standard Error: 51 + .saturating_add(Weight::from_parts(50_865, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1792,10 +1792,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 275_457_000 picoseconds. - Weight::from_parts(319_480_552, 6085) - // Standard Error: 41 - .saturating_add(Weight::from_parts(49_856, 0).saturating_mul(c.into())) + // Minimum execution time: 290_164_000 picoseconds. + Weight::from_parts(313_506_138, 6085) + // Standard Error: 46 + .saturating_add(Weight::from_parts(51_175, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1813,8 +1813,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 44_590_000 picoseconds. - Weight::from_parts(45_882_000, 3780) + // Minimum execution time: 45_560_000 picoseconds. + Weight::from_parts(47_016_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1830,8 +1830,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_318_000 picoseconds. - Weight::from_parts(35_502_000, 8967) + // Minimum execution time: 34_424_000 picoseconds. + Weight::from_parts(36_047_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1840,10 +1840,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_645_000 picoseconds. - Weight::from_parts(10_923_424, 0) - // Standard Error: 1_302 - .saturating_add(Weight::from_parts(410_067, 0).saturating_mul(r.into())) + // Minimum execution time: 12_134_000 picoseconds. + Weight::from_parts(14_286_849, 0) + // Standard Error: 355 + .saturating_add(Weight::from_parts(388_402, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1852,10 +1852,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 12_454_000 picoseconds. - Weight::from_parts(12_557_000, 1467) - // Standard Error: 6_234 - .saturating_add(Weight::from_parts(3_515_004, 0).saturating_mul(r.into())) + // Minimum execution time: 12_161_000 picoseconds. + Weight::from_parts(12_296_000, 1467) + // Standard Error: 7_660 + .saturating_add(Weight::from_parts(3_752_524, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -1866,10 +1866,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 14_423_000 picoseconds. - Weight::from_parts(14_537_000, 1468) - // Standard Error: 6_082 - .saturating_add(Weight::from_parts(4_351_104, 0).saturating_mul(r.into())) + // Minimum execution time: 12_421_000 picoseconds. + Weight::from_parts(12_590_000, 1468) + // Standard Error: 7_009 + .saturating_add(Weight::from_parts(4_690_003, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -1878,50 +1878,50 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_235_000 picoseconds. - Weight::from_parts(16_960_384, 0) - // Standard Error: 427 - .saturating_add(Weight::from_parts(528_234, 0).saturating_mul(r.into())) + // Minimum execution time: 12_812_000 picoseconds. + Weight::from_parts(16_595_423, 0) + // Standard Error: 319 + .saturating_add(Weight::from_parts(478_640, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_124_000 picoseconds. - Weight::from_parts(16_945_056, 0) - // Standard Error: 202 - .saturating_add(Weight::from_parts(178_268, 0).saturating_mul(r.into())) + // Minimum execution time: 12_445_000 picoseconds. + Weight::from_parts(15_909_980, 0) + // Standard Error: 229 + .saturating_add(Weight::from_parts(181_269, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_495_000 picoseconds. - Weight::from_parts(15_440_404, 0) - // Standard Error: 144 - .saturating_add(Weight::from_parts(155_935, 0).saturating_mul(r.into())) + // Minimum execution time: 12_333_000 picoseconds. + Weight::from_parts(15_495_536, 0) + // Standard Error: 152 + .saturating_add(Weight::from_parts(160_987, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_524_000 picoseconds. - Weight::from_parts(15_814_939, 0) - // Standard Error: 231 - .saturating_add(Weight::from_parts(382_887, 0).saturating_mul(r.into())) + // Minimum execution time: 12_754_000 picoseconds. + Weight::from_parts(15_742_828, 0) + // Standard Error: 290 + .saturating_add(Weight::from_parts(385_459, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_514_000 picoseconds. - Weight::from_parts(16_080_567, 0) - // Standard Error: 251 - .saturating_add(Weight::from_parts(422_545, 0).saturating_mul(r.into())) + // Minimum execution time: 12_786_000 picoseconds. + Weight::from_parts(16_988_131, 0) + // Standard Error: 255 + .saturating_add(Weight::from_parts(422_440, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1930,10 +1930,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 12_359_000 picoseconds. - Weight::from_parts(26_729_141, 3599) - // Standard Error: 771 - .saturating_add(Weight::from_parts(1_672_474, 0).saturating_mul(r.into())) + // Minimum execution time: 12_414_000 picoseconds. + Weight::from_parts(28_963_777, 3599) + // Standard Error: 1_753 + .saturating_add(Weight::from_parts(1_771_504, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1941,40 +1941,40 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_572_000 picoseconds. - Weight::from_parts(17_181_699, 0) - // Standard Error: 243 - .saturating_add(Weight::from_parts(383_218, 0).saturating_mul(r.into())) + // Minimum execution time: 11_837_000 picoseconds. + Weight::from_parts(14_907_225, 0) + // Standard Error: 228 + .saturating_add(Weight::from_parts(396_219, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_197_000 picoseconds. - Weight::from_parts(23_117_101, 0) - // Standard Error: 1_433 - .saturating_add(Weight::from_parts(384_439, 0).saturating_mul(r.into())) + // Minimum execution time: 12_284_000 picoseconds. + Weight::from_parts(18_597_225, 0) + // Standard Error: 476 + .saturating_add(Weight::from_parts(386_026, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_927_000 picoseconds. - Weight::from_parts(15_876_896, 0) - // Standard Error: 242 - .saturating_add(Weight::from_parts(377_310, 0).saturating_mul(r.into())) + // Minimum execution time: 12_271_000 picoseconds. + Weight::from_parts(15_558_022, 0) + // Standard Error: 249 + .saturating_add(Weight::from_parts(381_098, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_300_000 picoseconds. - Weight::from_parts(16_942_284, 0) - // Standard Error: 238 - .saturating_add(Weight::from_parts(378_033, 0).saturating_mul(r.into())) + // Minimum execution time: 12_177_000 picoseconds. + Weight::from_parts(17_221_268, 0) + // Standard Error: 287 + .saturating_add(Weight::from_parts(376_013, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1983,10 +1983,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 13_071_000 picoseconds. - Weight::from_parts(26_096_553, 1552) - // Standard Error: 525 - .saturating_add(Weight::from_parts(899_440, 0).saturating_mul(r.into())) + // Minimum execution time: 12_136_000 picoseconds. + Weight::from_parts(20_845_947, 1552) + // Standard Error: 589 + .saturating_add(Weight::from_parts(904_680, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1994,10 +1994,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_859_000 picoseconds. - Weight::from_parts(14_703_362, 0) - // Standard Error: 257 - .saturating_add(Weight::from_parts(317_991, 0).saturating_mul(r.into())) + // Minimum execution time: 12_044_000 picoseconds. + Weight::from_parts(15_223_638, 0) + // Standard Error: 385 + .saturating_add(Weight::from_parts(319_163, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2020,10 +2020,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 269_809_000 picoseconds. - Weight::from_parts(150_158_370, 9287) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(n.into())) + // Minimum execution time: 278_830_000 picoseconds. + Weight::from_parts(130_589_408, 9287) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_441, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2032,20 +2032,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_440_000 picoseconds. - Weight::from_parts(12_998_995, 0) - // Standard Error: 23_901 - .saturating_add(Weight::from_parts(2_554_504, 0).saturating_mul(r.into())) + // Minimum execution time: 12_093_000 picoseconds. + Weight::from_parts(12_714_028, 0) + // Standard Error: 38_930 + .saturating_add(Weight::from_parts(3_086_671, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_428_000 picoseconds. - Weight::from_parts(15_716_175, 0) + // Minimum execution time: 15_420_000 picoseconds. + Weight::from_parts(16_085_671, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(314, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(316, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2074,10 +2074,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 295_683_000 picoseconds. - Weight::from_parts(321_440_653, 13220) - // Standard Error: 833_204 - .saturating_add(Weight::from_parts(255_404_246, 0).saturating_mul(r.into())) + // Minimum execution time: 312_097_000 picoseconds. + Weight::from_parts(334_236_075, 13220) + // Standard Error: 1_496_813 + .saturating_add(Weight::from_parts(271_903_824, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2091,10 +2091,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 12_594_000 picoseconds. - Weight::from_parts(21_068_365, 1561) - // Standard Error: 623 - .saturating_add(Weight::from_parts(1_310_719, 0).saturating_mul(r.into())) + // Minimum execution time: 12_131_000 picoseconds. + Weight::from_parts(12_270_286, 1561) + // Standard Error: 786 + .saturating_add(Weight::from_parts(1_333_081, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -2102,10 +2102,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_296_000 picoseconds. - Weight::from_parts(24_176_800, 0) - // Standard Error: 672 - .saturating_add(Weight::from_parts(1_883_333, 0).saturating_mul(r.into())) + // Minimum execution time: 12_397_000 picoseconds. + Weight::from_parts(20_822_695, 0) + // Standard Error: 1_522 + .saturating_add(Weight::from_parts(1_931_626, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2115,12 +2115,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 28_601_000 picoseconds. - Weight::from_parts(19_756_621, 990) - // Standard Error: 15_337 - .saturating_add(Weight::from_parts(2_608_361, 0).saturating_mul(t.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(630, 0).saturating_mul(n.into())) + // Minimum execution time: 29_115_000 picoseconds. + Weight::from_parts(22_457_813, 990) + // Standard Error: 26_443 + .saturating_add(Weight::from_parts(2_079_455, 0).saturating_mul(t.into())) + // Standard Error: 7 + .saturating_add(Weight::from_parts(571, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -2130,20 +2130,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_015_000 picoseconds. - Weight::from_parts(14_924_014, 0) - // Standard Error: 192 - .saturating_add(Weight::from_parts(248_925, 0).saturating_mul(r.into())) + // Minimum execution time: 10_973_000 picoseconds. + Weight::from_parts(13_790_468, 0) + // Standard Error: 222 + .saturating_add(Weight::from_parts(258_905, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_329_000 picoseconds. - Weight::from_parts(15_476_000, 0) + // Minimum execution time: 16_190_000 picoseconds. + Weight::from_parts(16_489_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(977, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_007, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2152,10 +2152,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_668_000 picoseconds. - Weight::from_parts(12_802_000, 105) - // Standard Error: 8_052 - .saturating_add(Weight::from_parts(5_543_594, 0).saturating_mul(r.into())) + // Minimum execution time: 12_347_000 picoseconds. + Weight::from_parts(12_378_000, 105) + // Standard Error: 10_320 + .saturating_add(Weight::from_parts(5_900_033, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2167,10 +2167,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 23_727_000 picoseconds. - Weight::from_parts(24_506_588, 245) - // Standard Error: 3 - .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) + // Minimum execution time: 23_880_000 picoseconds. + Weight::from_parts(24_681_687, 245) + // Standard Error: 2 + .saturating_add(Weight::from_parts(331, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2181,10 +2181,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 24_012_000 picoseconds. - Weight::from_parts(25_312_336, 248) + // Minimum execution time: 23_824_000 picoseconds. + Weight::from_parts(25_606_167, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(65, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(72, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2196,10 +2196,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_707_000 picoseconds. - Weight::from_parts(12_888_000, 105) - // Standard Error: 8_072 - .saturating_add(Weight::from_parts(5_410_167, 0).saturating_mul(r.into())) + // Minimum execution time: 12_310_000 picoseconds. + Weight::from_parts(12_498_000, 105) + // Standard Error: 9_436 + .saturating_add(Weight::from_parts(5_677_789, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2211,10 +2211,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 24_098_000 picoseconds. - Weight::from_parts(25_694_868, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(62, 0).saturating_mul(n.into())) + // Minimum execution time: 23_698_000 picoseconds. + Weight::from_parts(25_066_659, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(101, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2226,10 +2226,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 13_014_000 picoseconds. - Weight::from_parts(13_202_000, 105) - // Standard Error: 6_914 - .saturating_add(Weight::from_parts(5_039_619, 0).saturating_mul(r.into())) + // Minimum execution time: 12_552_000 picoseconds. + Weight::from_parts(12_816_000, 105) + // Standard Error: 7_571 + .saturating_add(Weight::from_parts(5_321_285, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2240,10 +2240,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 22_845_000 picoseconds. - Weight::from_parts(24_816_617, 248) + // Minimum execution time: 25_097_000 picoseconds. + Weight::from_parts(27_139_550, 248) // Standard Error: 4 - .saturating_add(Weight::from_parts(604, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(601, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2254,10 +2254,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_407_000 picoseconds. - Weight::from_parts(12_591_000, 105) - // Standard Error: 6_730 - .saturating_add(Weight::from_parts(4_701_987, 0).saturating_mul(r.into())) + // Minimum execution time: 14_732_000 picoseconds. + Weight::from_parts(15_157_000, 105) + // Standard Error: 8_079 + .saturating_add(Weight::from_parts(4_920_894, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2268,10 +2268,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 22_324_000 picoseconds. - Weight::from_parts(23_874_966, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(69, 0).saturating_mul(n.into())) + // Minimum execution time: 21_900_000 picoseconds. + Weight::from_parts(23_956_296, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(53, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2282,10 +2282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_603_000 picoseconds. - Weight::from_parts(12_732_000, 105) - // Standard Error: 8_317 - .saturating_add(Weight::from_parts(5_688_161, 0).saturating_mul(r.into())) + // Minimum execution time: 12_642_000 picoseconds. + Weight::from_parts(12_892_000, 105) + // Standard Error: 11_319 + .saturating_add(Weight::from_parts(6_012_849, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2297,10 +2297,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 24_326_000 picoseconds. - Weight::from_parts(26_500_315, 248) + // Minimum execution time: 24_080_000 picoseconds. + Weight::from_parts(26_539_435, 248) // Standard Error: 4 - .saturating_add(Weight::from_parts(597, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(570, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2312,10 +2312,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 12_657_000 picoseconds. - Weight::from_parts(12_851_000, 4221) - // Standard Error: 47_102 - .saturating_add(Weight::from_parts(32_495_860, 0).saturating_mul(r.into())) + // Minimum execution time: 12_131_000 picoseconds. + Weight::from_parts(12_283_000, 4221) + // Standard Error: 29_463 + .saturating_add(Weight::from_parts(33_271_772, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2337,10 +2337,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 12_416_000 picoseconds. - Weight::from_parts(12_810_000, 6463) - // Standard Error: 119_256 - .saturating_add(Weight::from_parts(245_636_625, 0).saturating_mul(r.into())) + // Minimum execution time: 12_415_000 picoseconds. + Weight::from_parts(12_577_000, 6463) + // Standard Error: 160_176 + .saturating_add(Weight::from_parts(248_953_731, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2361,11 +2361,11 @@ impl WeightInfo for () { fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` - // Estimated: `6447 + r * (2583 ±3)` - // Minimum execution time: 12_233_000 picoseconds. - Weight::from_parts(12_413_000, 6447) - // Standard Error: 129_445 - .saturating_add(Weight::from_parts(245_311_722, 0).saturating_mul(r.into())) + // Estimated: `6447 + r * (2583 ±10)` + // Minimum execution time: 12_039_000 picoseconds. + Weight::from_parts(12_251_000, 6447) + // Standard Error: 177_063 + .saturating_add(Weight::from_parts(251_187_056, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -2388,12 +2388,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 217_238_000 picoseconds. - Weight::from_parts(124_709_444, 6639) - // Standard Error: 2_523_507 - .saturating_add(Weight::from_parts(42_222_611, 0).saturating_mul(t.into())) + // Minimum execution time: 222_480_000 picoseconds. + Weight::from_parts(139_806_727, 6639) + // Standard Error: 2_423_879 + .saturating_add(Weight::from_parts(33_638_500, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(424, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(428, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2408,10 +2408,10 @@ impl WeightInfo for () { /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:800 w:801) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::Account` (r:802 w:802) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Parameters::Parameters` (r:2 w:0) + /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:801 w:801) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `r` is `[1, 800]`. @@ -2419,10 +2419,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 359_636_000 picoseconds. - Weight::from_parts(364_367_000, 6990) - // Standard Error: 316_066 - .saturating_add(Weight::from_parts(333_832_133, 0).saturating_mul(r.into())) + // Minimum execution time: 372_894_000 picoseconds. + Weight::from_parts(377_395_000, 6990) + // Standard Error: 240_077 + .saturating_add(Weight::from_parts(342_592_337, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2437,10 +2437,10 @@ impl WeightInfo for () { /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `Parameters::Parameters` (r:2 w:0) + /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. @@ -2450,14 +2450,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_853_423_000 picoseconds. - Weight::from_parts(866_989_578, 6719) - // Standard Error: 12_275_133 - .saturating_add(Weight::from_parts(8_240_652, 0).saturating_mul(t.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(i.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_197, 0).saturating_mul(s.into())) + // Minimum execution time: 1_944_105_000 picoseconds. + Weight::from_parts(734_306_034, 6719) + // Standard Error: 12_967_210 + .saturating_add(Weight::from_parts(23_842_717, 0).saturating_mul(t.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_316, 0).saturating_mul(i.into())) + // Standard Error: 20 + .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -2469,120 +2469,120 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_501_000 picoseconds. - Weight::from_parts(14_858_332, 0) - // Standard Error: 260 - .saturating_add(Weight::from_parts(439_538, 0).saturating_mul(r.into())) + // Minimum execution time: 12_092_000 picoseconds. + Weight::from_parts(15_547_614, 0) + // Standard Error: 283 + .saturating_add(Weight::from_parts(434_785, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_281_000 picoseconds. - Weight::from_parts(5_337_749, 0) + // Minimum execution time: 15_052_000 picoseconds. + Weight::from_parts(5_222_981, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_082, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_088, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_489_000 picoseconds. - Weight::from_parts(17_042_239, 0) - // Standard Error: 287 - .saturating_add(Weight::from_parts(842_631, 0).saturating_mul(r.into())) + // Minimum execution time: 12_003_000 picoseconds. + Weight::from_parts(11_681_109, 0) + // Standard Error: 507 + .saturating_add(Weight::from_parts(846_579, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_333_000 picoseconds. - Weight::from_parts(9_677_652, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_350, 0).saturating_mul(n.into())) + // Minimum execution time: 18_307_000 picoseconds. + Weight::from_parts(6_124_877, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_368, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_325_000 picoseconds. - Weight::from_parts(20_190_930, 0) - // Standard Error: 258 - .saturating_add(Weight::from_parts(496_772, 0).saturating_mul(r.into())) + // Minimum execution time: 12_053_000 picoseconds. + Weight::from_parts(18_797_845, 0) + // Standard Error: 386 + .saturating_add(Weight::from_parts(502_447, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_200_000 picoseconds. - Weight::from_parts(4_038_459, 0) + // Minimum execution time: 14_820_000 picoseconds. + Weight::from_parts(5_660_259, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_660_000 picoseconds. - Weight::from_parts(18_005_040, 0) - // Standard Error: 277 - .saturating_add(Weight::from_parts(500_626, 0).saturating_mul(r.into())) + // Minimum execution time: 11_745_000 picoseconds. + Weight::from_parts(15_197_331, 0) + // Standard Error: 611 + .saturating_add(Weight::from_parts(513_067, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_160_000 picoseconds. - Weight::from_parts(6_251_009, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(n.into())) + // Minimum execution time: 15_304_000 picoseconds. + Weight::from_parts(7_076_503, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 63_682_000 picoseconds. - Weight::from_parts(66_073_277, 0) - // Standard Error: 6 - .saturating_add(Weight::from_parts(4_685, 0).saturating_mul(n.into())) + // Minimum execution time: 59_364_000 picoseconds. + Weight::from_parts(61_439_060, 0) + // Standard Error: 8 + .saturating_add(Weight::from_parts(4_743, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_819_000 picoseconds. - Weight::from_parts(17_796_309, 0) - // Standard Error: 5_115 - .saturating_add(Weight::from_parts(50_173_955, 0).saturating_mul(r.into())) + // Minimum execution time: 12_102_000 picoseconds. + Weight::from_parts(28_610_791, 0) + // Standard Error: 7_966 + .saturating_add(Weight::from_parts(41_629_076, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_450_000 picoseconds. - Weight::from_parts(31_578_617, 0) - // Standard Error: 7_580 - .saturating_add(Weight::from_parts(45_687_521, 0).saturating_mul(r.into())) + // Minimum execution time: 12_346_000 picoseconds. + Weight::from_parts(35_774_414, 0) + // Standard Error: 9_721 + .saturating_add(Weight::from_parts(46_147_116, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_575_000 picoseconds. - Weight::from_parts(18_104_917, 0) - // Standard Error: 3_110 - .saturating_add(Weight::from_parts(11_853_704, 0).saturating_mul(r.into())) + // Minimum execution time: 12_047_000 picoseconds. + Weight::from_parts(19_345_175, 0) + // Standard Error: 4_941 + .saturating_add(Weight::from_parts(12_010_893, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -2597,10 +2597,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` // Estimated: `8969 + r * (3047 ±10)` - // Minimum execution time: 12_705_000 picoseconds. - Weight::from_parts(12_803_000, 8969) - // Standard Error: 42_763 - .saturating_add(Weight::from_parts(24_634_941, 0).saturating_mul(r.into())) + // Minimum execution time: 12_494_000 picoseconds. + Weight::from_parts(12_639_000, 8969) + // Standard Error: 60_477 + .saturating_add(Weight::from_parts(27_557_747, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -2613,9 +2613,9 @@ impl WeightInfo for () { // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` // Minimum execution time: 12_526_000 picoseconds. - Weight::from_parts(19_599_422, 1265) - // Standard Error: 11_873 - .saturating_add(Weight::from_parts(5_396_158, 0).saturating_mul(r.into())) + Weight::from_parts(18_257_234, 1265) + // Standard Error: 11_152 + .saturating_add(Weight::from_parts(5_647_434, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -2627,10 +2627,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 12_587_000 picoseconds. - Weight::from_parts(19_578_272, 990) - // Standard Error: 10_563 - .saturating_add(Weight::from_parts(4_554_479, 0).saturating_mul(r.into())) + // Minimum execution time: 12_272_000 picoseconds. + Weight::from_parts(19_132_974, 990) + // Standard Error: 10_711 + .saturating_add(Weight::from_parts(4_708_596, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -2656,10 +2656,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 260_652_000 picoseconds. - Weight::from_parts(289_545_458, 9282) - // Standard Error: 442 - .saturating_add(Weight::from_parts(173_560, 0).saturating_mul(r.into())) + // Minimum execution time: 279_359_000 picoseconds. + Weight::from_parts(286_340_330, 9282) + // Standard Error: 360 + .saturating_add(Weight::from_parts(181_405, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2669,10 +2669,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_825_000 picoseconds. - Weight::from_parts(14_231_866, 0) - // Standard Error: 263 - .saturating_add(Weight::from_parts(288_833, 0).saturating_mul(r.into())) + // Minimum execution time: 12_488_000 picoseconds. + Weight::from_parts(29_200_438, 0) + // Standard Error: 469 + .saturating_add(Weight::from_parts(309_673, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2681,10 +2681,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 12_634_000 picoseconds. - Weight::from_parts(18_571_026, 1704) - // Standard Error: 162 - .saturating_add(Weight::from_parts(146_334, 0).saturating_mul(r.into())) + // Minimum execution time: 12_346_000 picoseconds. + Weight::from_parts(16_520_211, 1704) + // Standard Error: 459 + .saturating_add(Weight::from_parts(158_391, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -2692,9 +2692,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 990_000 picoseconds. - Weight::from_parts(753_029, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(6_280, 0).saturating_mul(r.into())) + // Minimum execution time: 957_000 picoseconds. + Weight::from_parts(718_218, 0) + // Standard Error: 11 + .saturating_add(Weight::from_parts(6_346, 0).saturating_mul(r.into())) } } From c275207570b9ec77d5ed08b8137f22b84363ff83 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 11 Apr 2024 08:29:56 +0200 Subject: [PATCH 06/75] Use eager compilation mode when benchmarking a host fn --- substrate/frame/contracts/src/wasm/mod.rs | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index 4d8156904b3a..9f05d7eb6fa9 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -363,8 +363,13 @@ impl WasmBlob { input_data: Vec, ) -> (Func, Store>) { use InstanceOrExecReturn::*; - match Self::prepare_execute(self, Runtime::new(ext, input_data), &ExportedFunction::Call) - .expect("Benchmark should provide valid module") + match Self::prepare_execute( + self, + Runtime::new(ext, input_data), + &ExportedFunction::Call, + CompilationMode::Eager, + ) + .expect("Benchmark should provide valid module") { Instance((func, store)) => (func, store), ExecReturn(_) => panic!("Expected Instance"), @@ -375,6 +380,7 @@ impl WasmBlob { self, runtime: Runtime<'a, E>, function: &'a ExportedFunction, + compilation_mode: CompilationMode, ) -> PreExecResult<'a, E> { let code = self.code.as_slice(); // Instantiate the Wasm module to the engine. @@ -385,7 +391,7 @@ impl WasmBlob { self.code_info.determinism, Some(StackLimits::default()), LoadingMode::Unchecked, - CompilationMode::Lazy, + compilation_mode, ) .map_err(|err| { log::debug!(target: LOG_TARGET, "failed to create wasmi module: {err:?}"); @@ -464,7 +470,12 @@ impl Executable for WasmBlob { input_data: Vec, ) -> ExecResult { use InstanceOrExecReturn::*; - match Self::prepare_execute(self, Runtime::new(ext, input_data), function)? { + match Self::prepare_execute( + self, + Runtime::new(ext, input_data), + function, + CompilationMode::Lazy, + )? { Instance((func, mut store)) => { let result = func.call(&mut store, &[], &mut []); Self::process_result(store, result) From 3e835d0fe738fa2463b6d3894fe657bd5612db4e Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 11 Apr 2024 15:46:21 +0200 Subject: [PATCH 07/75] tmp: Use eager compilation --- substrate/frame/contracts/src/wasm/mod.rs | 5 ----- substrate/frame/contracts/src/wasm/prepare.rs | 5 +++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index 9f05d7eb6fa9..66a7c3a0b687 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -139,11 +139,6 @@ struct CodeLoadToken(u32); impl Token for CodeLoadToken { fn weight(&self) -> Weight { - // When loading the contract, we already covered the general costs of - // calling the storage but still need to account for the actual size of the - // contract code. This is why we subtract `T::*::(0)`. We need to do this at this - // point because when charging the general weight for calling the contract we don't know the - // size of the contract. T::WeightInfo::call_with_code_per_byte(self.0) .saturating_sub(T::WeightInfo::call_with_code_per_byte(0)) } diff --git a/substrate/frame/contracts/src/wasm/prepare.rs b/substrate/frame/contracts/src/wasm/prepare.rs index 01df155674ab..65cd59e1e3a5 100644 --- a/substrate/frame/contracts/src/wasm/prepare.rs +++ b/substrate/frame/contracts/src/wasm/prepare.rs @@ -72,7 +72,7 @@ impl LoadedModule { determinism: Determinism, stack_limits: Option, loading_mode: LoadingMode, - compilation_mode: CompilationMode, + _compilation_mode: CompilationMode, ) -> Result { // NOTE: wasmi does not support unstable WebAssembly features. The module is implicitly // checked for not having those ones when creating `wasmi::Module` below. @@ -87,7 +87,8 @@ impl LoadedModule { .wasm_extended_const(false) .wasm_saturating_float_to_int(false) .floats(matches!(determinism, Determinism::Relaxed)) - .compilation_mode(compilation_mode) + // .compilation_mode(compilation_mode) + .compilation_mode(CompilationMode::Eager) .consume_fuel(true); if let Some(stack_limits) = stack_limits { From 63d866397e88414170d81781684e49bdbd247395 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 11 Apr 2024 15:27:32 +0000 Subject: [PATCH 08/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 1232 +++++++++++----------- 1 file changed, 614 insertions(+), 618 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index b300aea25350..907b84e6da69 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -143,8 +143,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_085_000 picoseconds. - Weight::from_parts(2_140_000, 1627) + // Minimum execution time: 2_030_000 picoseconds. + Weight::from_parts(2_147_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -154,10 +154,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_436_000 picoseconds. - Weight::from_parts(12_816_000, 442) - // Standard Error: 1_230 - .saturating_add(Weight::from_parts(1_227_014, 0).saturating_mul(k.into())) + // Minimum execution time: 11_913_000 picoseconds. + Weight::from_parts(12_551_000, 442) + // Standard Error: 1_390 + .saturating_add(Weight::from_parts(1_142_756, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -171,10 +171,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_512_000 picoseconds. - Weight::from_parts(8_771_649, 6149) + // Minimum execution time: 8_429_000 picoseconds. + Weight::from_parts(9_052_624, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_185, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -187,8 +187,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_960_000 picoseconds. - Weight::from_parts(17_810_000, 6450) + // Minimum execution time: 17_723_000 picoseconds. + Weight::from_parts(18_520_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -201,10 +201,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_465_000 picoseconds. - Weight::from_parts(3_566_000, 3635) - // Standard Error: 1_611 - .saturating_add(Weight::from_parts(1_212_145, 0).saturating_mul(k.into())) + // Minimum execution time: 3_508_000 picoseconds. + Weight::from_parts(5_205_652, 3635) + // Standard Error: 2_077 + .saturating_add(Weight::from_parts(1_192_249, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -225,10 +225,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_347_000 picoseconds. - Weight::from_parts(21_218_888, 6266) + // Minimum execution time: 20_853_000 picoseconds. + Weight::from_parts(21_293_992, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(416, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(414, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -239,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_876_000 picoseconds. - Weight::from_parts(13_498_000, 6380) + // Minimum execution time: 12_966_000 picoseconds. + Weight::from_parts(13_775_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -254,8 +254,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_624_000 picoseconds. - Weight::from_parts(48_794_000, 6292) + // Minimum execution time: 47_212_000 picoseconds. + Weight::from_parts(48_208_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -267,8 +267,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_934_000 picoseconds. - Weight::from_parts(57_894_000, 6534) + // Minimum execution time: 56_497_000 picoseconds. + Weight::from_parts(57_832_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -278,8 +278,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_171_000 picoseconds. - Weight::from_parts(12_884_000, 6349) + // Minimum execution time: 12_866_000 picoseconds. + Weight::from_parts(13_313_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -289,8 +289,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_540_000 picoseconds. - Weight::from_parts(2_644_000, 1627) + // Minimum execution time: 2_535_000 picoseconds. + Weight::from_parts(2_655_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -302,8 +302,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_121_000 picoseconds. - Weight::from_parts(12_663_000, 3631) + // Minimum execution time: 12_481_000 picoseconds. + Weight::from_parts(12_905_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -313,8 +313,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_774_000 picoseconds. - Weight::from_parts(4_977_000, 3607) + // Minimum execution time: 4_899_000 picoseconds. + Weight::from_parts(5_078_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -325,8 +325,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_858_000 picoseconds. - Weight::from_parts(6_250_000, 3632) + // Minimum execution time: 6_168_000 picoseconds. + Weight::from_parts(6_553_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -337,8 +337,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_074_000 picoseconds. - Weight::from_parts(6_454_000, 3607) + // Minimum execution time: 6_330_000 picoseconds. + Weight::from_parts(6_695_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -363,10 +363,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 290_547_000 picoseconds. - Weight::from_parts(323_525_996, 9217) - // Standard Error: 15 - .saturating_add(Weight::from_parts(2_122, 0).saturating_mul(c.into())) + // Minimum execution time: 301_243_000 picoseconds. + Weight::from_parts(309_711_731, 9217) + // Standard Error: 21 + .saturating_add(Weight::from_parts(33_709, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -398,14 +398,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 4_360_132_000 picoseconds. - Weight::from_parts(644_170_980, 8740) - // Standard Error: 104 - .saturating_add(Weight::from_parts(53_524, 0).saturating_mul(c.into())) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_896, 0).saturating_mul(i.into())) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_824, 0).saturating_mul(s.into())) + // Minimum execution time: 3_821_168_000 picoseconds. + Weight::from_parts(267_036_364, 8740) + // Standard Error: 130 + .saturating_add(Weight::from_parts(86_252, 0).saturating_mul(c.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_677, 0).saturating_mul(i.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_854, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -435,12 +435,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 2_166_318_000 picoseconds. - Weight::from_parts(2_186_292_000, 8982) - // Standard Error: 30 - .saturating_add(Weight::from_parts(1_048, 0).saturating_mul(i.into())) - // Standard Error: 30 - .saturating_add(Weight::from_parts(816, 0).saturating_mul(s.into())) + // Minimum execution time: 2_006_826_000 picoseconds. + Weight::from_parts(2_050_307_000, 8982) + // Standard Error: 26 + .saturating_add(Weight::from_parts(845, 0).saturating_mul(i.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(752, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -464,8 +464,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 210_572_000 picoseconds. - Weight::from_parts(216_676_000, 9244) + // Minimum execution time: 204_375_000 picoseconds. + Weight::from_parts(212_207_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -486,10 +486,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 274_894_000 picoseconds. - Weight::from_parts(317_740_873, 6085) - // Standard Error: 51 - .saturating_add(Weight::from_parts(50_865, 0).saturating_mul(c.into())) + // Minimum execution time: 279_614_000 picoseconds. + Weight::from_parts(289_083_858, 6085) + // Standard Error: 61 + .saturating_add(Weight::from_parts(49_730, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -510,10 +510,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 290_164_000 picoseconds. - Weight::from_parts(313_506_138, 6085) - // Standard Error: 46 - .saturating_add(Weight::from_parts(51_175, 0).saturating_mul(c.into())) + // Minimum execution time: 289_987_000 picoseconds. + Weight::from_parts(314_957_929, 6085) + // Standard Error: 59 + .saturating_add(Weight::from_parts(49_834, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -531,8 +531,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_560_000 picoseconds. - Weight::from_parts(47_016_000, 3780) + // Minimum execution time: 45_194_000 picoseconds. + Weight::from_parts(46_361_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -548,8 +548,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_424_000 picoseconds. - Weight::from_parts(36_047_000, 8967) + // Minimum execution time: 34_108_000 picoseconds. + Weight::from_parts(35_973_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -558,10 +558,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_134_000 picoseconds. - Weight::from_parts(14_286_849, 0) - // Standard Error: 355 - .saturating_add(Weight::from_parts(388_402, 0).saturating_mul(r.into())) + // Minimum execution time: 9_838_000 picoseconds. + Weight::from_parts(10_989_743, 0) + // Standard Error: 317 + .saturating_add(Weight::from_parts(309_406, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -570,10 +570,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 12_161_000 picoseconds. - Weight::from_parts(12_296_000, 1467) - // Standard Error: 7_660 - .saturating_add(Weight::from_parts(3_752_524, 0).saturating_mul(r.into())) + // Minimum execution time: 10_064_000 picoseconds. + Weight::from_parts(10_177_000, 1467) + // Standard Error: 5_535 + .saturating_add(Weight::from_parts(3_404_837, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -584,10 +584,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 12_421_000 picoseconds. - Weight::from_parts(12_590_000, 1468) - // Standard Error: 7_009 - .saturating_add(Weight::from_parts(4_690_003, 0).saturating_mul(r.into())) + // Minimum execution time: 10_080_000 picoseconds. + Weight::from_parts(10_300_000, 1468) + // Standard Error: 5_749 + .saturating_add(Weight::from_parts(4_245_176, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -596,50 +596,50 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_812_000 picoseconds. - Weight::from_parts(16_595_423, 0) - // Standard Error: 319 - .saturating_add(Weight::from_parts(478_640, 0).saturating_mul(r.into())) + // Minimum execution time: 9_643_000 picoseconds. + Weight::from_parts(10_719_446, 0) + // Standard Error: 220 + .saturating_add(Weight::from_parts(415_814, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_445_000 picoseconds. - Weight::from_parts(15_909_980, 0) - // Standard Error: 229 - .saturating_add(Weight::from_parts(181_269, 0).saturating_mul(r.into())) + // Minimum execution time: 9_375_000 picoseconds. + Weight::from_parts(10_818_204, 0) + // Standard Error: 101 + .saturating_add(Weight::from_parts(121_775, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_333_000 picoseconds. - Weight::from_parts(15_495_536, 0) - // Standard Error: 152 - .saturating_add(Weight::from_parts(160_987, 0).saturating_mul(r.into())) + // Minimum execution time: 9_457_000 picoseconds. + Weight::from_parts(10_170_726, 0) + // Standard Error: 118 + .saturating_add(Weight::from_parts(101_573, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_754_000 picoseconds. - Weight::from_parts(15_742_828, 0) - // Standard Error: 290 - .saturating_add(Weight::from_parts(385_459, 0).saturating_mul(r.into())) + // Minimum execution time: 9_658_000 picoseconds. + Weight::from_parts(10_496_797, 0) + // Standard Error: 244 + .saturating_add(Weight::from_parts(298_371, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_786_000 picoseconds. - Weight::from_parts(16_988_131, 0) - // Standard Error: 255 - .saturating_add(Weight::from_parts(422_440, 0).saturating_mul(r.into())) + // Minimum execution time: 9_441_000 picoseconds. + Weight::from_parts(10_598_689, 0) + // Standard Error: 501 + .saturating_add(Weight::from_parts(341_507, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -648,10 +648,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 12_414_000 picoseconds. - Weight::from_parts(28_963_777, 3599) - // Standard Error: 1_753 - .saturating_add(Weight::from_parts(1_771_504, 0).saturating_mul(r.into())) + // Minimum execution time: 9_629_000 picoseconds. + Weight::from_parts(15_870_287, 3599) + // Standard Error: 1_328 + .saturating_add(Weight::from_parts(1_626_732, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -659,40 +659,40 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_837_000 picoseconds. - Weight::from_parts(14_907_225, 0) - // Standard Error: 228 - .saturating_add(Weight::from_parts(396_219, 0).saturating_mul(r.into())) + // Minimum execution time: 9_437_000 picoseconds. + Weight::from_parts(10_487_386, 0) + // Standard Error: 192 + .saturating_add(Weight::from_parts(299_622, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_284_000 picoseconds. - Weight::from_parts(18_597_225, 0) - // Standard Error: 476 - .saturating_add(Weight::from_parts(386_026, 0).saturating_mul(r.into())) + // Minimum execution time: 9_926_000 picoseconds. + Weight::from_parts(11_630_404, 0) + // Standard Error: 357 + .saturating_add(Weight::from_parts(298_517, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_271_000 picoseconds. - Weight::from_parts(15_558_022, 0) - // Standard Error: 249 - .saturating_add(Weight::from_parts(381_098, 0).saturating_mul(r.into())) + // Minimum execution time: 9_990_000 picoseconds. + Weight::from_parts(10_976_382, 0) + // Standard Error: 282 + .saturating_add(Weight::from_parts(296_277, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_177_000 picoseconds. - Weight::from_parts(17_221_268, 0) - // Standard Error: 287 - .saturating_add(Weight::from_parts(376_013, 0).saturating_mul(r.into())) + // Minimum execution time: 9_825_000 picoseconds. + Weight::from_parts(13_974_884, 0) + // Standard Error: 373 + .saturating_add(Weight::from_parts(295_835, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -701,10 +701,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 12_136_000 picoseconds. - Weight::from_parts(20_845_947, 1552) - // Standard Error: 589 - .saturating_add(Weight::from_parts(904_680, 0).saturating_mul(r.into())) + // Minimum execution time: 9_522_000 picoseconds. + Weight::from_parts(18_953_195, 1552) + // Standard Error: 438 + .saturating_add(Weight::from_parts(719_063, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -712,10 +712,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_044_000 picoseconds. - Weight::from_parts(15_223_638, 0) - // Standard Error: 385 - .saturating_add(Weight::from_parts(319_163, 0).saturating_mul(r.into())) + // Minimum execution time: 9_645_000 picoseconds. + Weight::from_parts(9_611_342, 0) + // Standard Error: 184 + .saturating_add(Weight::from_parts(211_470, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -738,10 +738,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 278_830_000 picoseconds. - Weight::from_parts(130_589_408, 9287) - // Standard Error: 17 - .saturating_add(Weight::from_parts(1_441, 0).saturating_mul(n.into())) + // Minimum execution time: 277_611_000 picoseconds. + Weight::from_parts(148_355_440, 9287) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -750,20 +750,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_093_000 picoseconds. - Weight::from_parts(12_714_028, 0) - // Standard Error: 38_930 - .saturating_add(Weight::from_parts(3_086_671, 0).saturating_mul(r.into())) + // Minimum execution time: 9_422_000 picoseconds. + Weight::from_parts(9_849_630, 0) + // Standard Error: 22_039 + .saturating_add(Weight::from_parts(1_783_269, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_420_000 picoseconds. - Weight::from_parts(16_085_671, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(316, 0).saturating_mul(n.into())) + // Minimum execution time: 11_417_000 picoseconds. + Weight::from_parts(12_379_749, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(319, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -792,10 +792,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 312_097_000 picoseconds. - Weight::from_parts(334_236_075, 13220) - // Standard Error: 1_496_813 - .saturating_add(Weight::from_parts(271_903_824, 0).saturating_mul(r.into())) + // Minimum execution time: 302_056_000 picoseconds. + Weight::from_parts(328_211_412, 13220) + // Standard Error: 747_836 + .saturating_add(Weight::from_parts(246_841_787, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -809,10 +809,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 12_131_000 picoseconds. - Weight::from_parts(12_270_286, 1561) - // Standard Error: 786 - .saturating_add(Weight::from_parts(1_333_081, 0).saturating_mul(r.into())) + // Minimum execution time: 9_792_000 picoseconds. + Weight::from_parts(13_821_910, 1561) + // Standard Error: 1_079 + .saturating_add(Weight::from_parts(1_201_353, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -820,10 +820,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_397_000 picoseconds. - Weight::from_parts(20_822_695, 0) - // Standard Error: 1_522 - .saturating_add(Weight::from_parts(1_931_626, 0).saturating_mul(r.into())) + // Minimum execution time: 10_241_000 picoseconds. + Weight::from_parts(17_326_929, 0) + // Standard Error: 1_028 + .saturating_add(Weight::from_parts(1_724_545, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -833,12 +833,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 29_115_000 picoseconds. - Weight::from_parts(22_457_813, 990) - // Standard Error: 26_443 - .saturating_add(Weight::from_parts(2_079_455, 0).saturating_mul(t.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(571, 0).saturating_mul(n.into())) + // Minimum execution time: 24_408_000 picoseconds. + Weight::from_parts(16_707_087, 990) + // Standard Error: 14_045 + .saturating_add(Weight::from_parts(2_283_515, 0).saturating_mul(t.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(549, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -848,20 +848,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_973_000 picoseconds. - Weight::from_parts(13_790_468, 0) - // Standard Error: 222 - .saturating_add(Weight::from_parts(258_905, 0).saturating_mul(r.into())) + // Minimum execution time: 8_852_000 picoseconds. + Weight::from_parts(10_388_553, 0) + // Standard Error: 160 + .saturating_add(Weight::from_parts(126_808, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_190_000 picoseconds. - Weight::from_parts(16_489_000, 0) + // Minimum execution time: 12_860_000 picoseconds. + Weight::from_parts(13_082_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_007, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(993, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -870,10 +870,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_347_000 picoseconds. - Weight::from_parts(12_378_000, 105) - // Standard Error: 10_320 - .saturating_add(Weight::from_parts(5_900_033, 0).saturating_mul(r.into())) + // Minimum execution time: 9_776_000 picoseconds. + Weight::from_parts(9_988_000, 105) + // Standard Error: 9_478 + .saturating_add(Weight::from_parts(5_294_633, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -885,10 +885,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 23_880_000 picoseconds. - Weight::from_parts(24_681_687, 245) - // Standard Error: 2 - .saturating_add(Weight::from_parts(331, 0).saturating_mul(n.into())) + // Minimum execution time: 21_725_000 picoseconds. + Weight::from_parts(22_688_297, 245) + // Standard Error: 4 + .saturating_add(Weight::from_parts(269, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -899,10 +899,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 23_824_000 picoseconds. - Weight::from_parts(25_606_167, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(72, 0).saturating_mul(n.into())) + // Minimum execution time: 21_467_000 picoseconds. + Weight::from_parts(23_007_326, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(75, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -914,10 +914,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_310_000 picoseconds. - Weight::from_parts(12_498_000, 105) - // Standard Error: 9_436 - .saturating_add(Weight::from_parts(5_677_789, 0).saturating_mul(r.into())) + // Minimum execution time: 12_227_000 picoseconds. + Weight::from_parts(12_332_000, 105) + // Standard Error: 8_261 + .saturating_add(Weight::from_parts(5_201_364, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -929,10 +929,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 23_698_000 picoseconds. - Weight::from_parts(25_066_659, 248) + // Minimum execution time: 19_095_000 picoseconds. + Weight::from_parts(20_743_765, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(101, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(73, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -944,10 +944,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_552_000 picoseconds. - Weight::from_parts(12_816_000, 105) - // Standard Error: 7_571 - .saturating_add(Weight::from_parts(5_321_285, 0).saturating_mul(r.into())) + // Minimum execution time: 9_582_000 picoseconds. + Weight::from_parts(9_774_000, 105) + // Standard Error: 7_429 + .saturating_add(Weight::from_parts(4_641_970, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -958,10 +958,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 25_097_000 picoseconds. - Weight::from_parts(27_139_550, 248) - // Standard Error: 4 - .saturating_add(Weight::from_parts(601, 0).saturating_mul(n.into())) + // Minimum execution time: 18_564_000 picoseconds. + Weight::from_parts(20_192_423, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(579, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -972,10 +972,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 14_732_000 picoseconds. - Weight::from_parts(15_157_000, 105) - // Standard Error: 8_079 - .saturating_add(Weight::from_parts(4_920_894, 0).saturating_mul(r.into())) + // Minimum execution time: 9_916_000 picoseconds. + Weight::from_parts(10_032_000, 105) + // Standard Error: 6_926 + .saturating_add(Weight::from_parts(4_534_432, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -986,10 +986,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 21_900_000 picoseconds. - Weight::from_parts(23_956_296, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(53, 0).saturating_mul(n.into())) + // Minimum execution time: 17_166_000 picoseconds. + Weight::from_parts(18_726_777, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1000,10 +1000,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_642_000 picoseconds. - Weight::from_parts(12_892_000, 105) - // Standard Error: 11_319 - .saturating_add(Weight::from_parts(6_012_849, 0).saturating_mul(r.into())) + // Minimum execution time: 9_820_000 picoseconds. + Weight::from_parts(10_000_000, 105) + // Standard Error: 8_263 + .saturating_add(Weight::from_parts(5_293_891, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -1015,10 +1015,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 24_080_000 picoseconds. - Weight::from_parts(26_539_435, 248) - // Standard Error: 4 - .saturating_add(Weight::from_parts(570, 0).saturating_mul(n.into())) + // Minimum execution time: 19_799_000 picoseconds. + Weight::from_parts(21_464_196, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(583, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1030,10 +1030,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 12_131_000 picoseconds. - Weight::from_parts(12_283_000, 4221) - // Standard Error: 29_463 - .saturating_add(Weight::from_parts(33_271_772, 0).saturating_mul(r.into())) + // Minimum execution time: 9_787_000 picoseconds. + Weight::from_parts(215_021_205, 4221) + // Standard Error: 61_183 + .saturating_add(Weight::from_parts(31_781_820, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -1055,10 +1055,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 12_415_000 picoseconds. - Weight::from_parts(12_577_000, 6463) - // Standard Error: 160_176 - .saturating_add(Weight::from_parts(248_953_731, 0).saturating_mul(r.into())) + // Minimum execution time: 9_951_000 picoseconds. + Weight::from_parts(10_091_000, 6463) + // Standard Error: 103_828 + .saturating_add(Weight::from_parts(245_132_000, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1080,10 +1080,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 12_039_000 picoseconds. - Weight::from_parts(12_251_000, 6447) - // Standard Error: 177_063 - .saturating_add(Weight::from_parts(251_187_056, 0).saturating_mul(r.into())) + // Minimum execution time: 9_882_000 picoseconds. + Weight::from_parts(10_050_000, 6447) + // Standard Error: 126_008 + .saturating_add(Weight::from_parts(247_031_345, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -1106,12 +1106,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 222_480_000 picoseconds. - Weight::from_parts(139_806_727, 6639) - // Standard Error: 2_423_879 - .saturating_add(Weight::from_parts(33_638_500, 0).saturating_mul(t.into())) + // Minimum execution time: 213_460_000 picoseconds. + Weight::from_parts(132_110_724, 6639) + // Standard Error: 2_313_440 + .saturating_add(Weight::from_parts(35_383_845, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(428, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(412, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1137,10 +1137,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 372_894_000 picoseconds. - Weight::from_parts(377_395_000, 6990) - // Standard Error: 240_077 - .saturating_add(Weight::from_parts(342_592_337, 0).saturating_mul(r.into())) + // Minimum execution time: 345_243_000 picoseconds. + Weight::from_parts(356_552_000, 6990) + // Standard Error: 249_585 + .saturating_add(Weight::from_parts(334_311_468, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1168,14 +1168,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_944_105_000 picoseconds. - Weight::from_parts(734_306_034, 6719) - // Standard Error: 12_967_210 - .saturating_add(Weight::from_parts(23_842_717, 0).saturating_mul(t.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_316, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(s.into())) + // Minimum execution time: 1_873_266_000 picoseconds. + Weight::from_parts(897_662_429, 6719) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_070, 0).saturating_mul(i.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -1187,120 +1185,120 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_092_000 picoseconds. - Weight::from_parts(15_547_614, 0) - // Standard Error: 283 - .saturating_add(Weight::from_parts(434_785, 0).saturating_mul(r.into())) + // Minimum execution time: 9_616_000 picoseconds. + Weight::from_parts(10_876_786, 0) + // Standard Error: 203 + .saturating_add(Weight::from_parts(303_854, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_052_000 picoseconds. - Weight::from_parts(5_222_981, 0) + // Minimum execution time: 11_958_000 picoseconds. + Weight::from_parts(1_174_936, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_088, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_090, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_003_000 picoseconds. - Weight::from_parts(11_681_109, 0) - // Standard Error: 507 - .saturating_add(Weight::from_parts(846_579, 0).saturating_mul(r.into())) + // Minimum execution time: 10_029_000 picoseconds. + Weight::from_parts(12_601_313, 0) + // Standard Error: 311 + .saturating_add(Weight::from_parts(713_645, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_307_000 picoseconds. - Weight::from_parts(6_124_877, 0) + // Minimum execution time: 11_672_000 picoseconds. + Weight::from_parts(6_165_668, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_368, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_346, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_053_000 picoseconds. - Weight::from_parts(18_797_845, 0) - // Standard Error: 386 - .saturating_add(Weight::from_parts(502_447, 0).saturating_mul(r.into())) + // Minimum execution time: 9_815_000 picoseconds. + Weight::from_parts(8_240_418, 0) + // Standard Error: 344 + .saturating_add(Weight::from_parts(384_245, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_820_000 picoseconds. - Weight::from_parts(5_660_259, 0) + // Minimum execution time: 11_063_000 picoseconds. + Weight::from_parts(4_999_656, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_205, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_745_000 picoseconds. - Weight::from_parts(15_197_331, 0) - // Standard Error: 611 - .saturating_add(Weight::from_parts(513_067, 0).saturating_mul(r.into())) + // Minimum execution time: 9_477_000 picoseconds. + Weight::from_parts(10_830_446, 0) + // Standard Error: 355 + .saturating_add(Weight::from_parts(377_615, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_304_000 picoseconds. - Weight::from_parts(7_076_503, 0) + // Minimum execution time: 10_951_000 picoseconds. + Weight::from_parts(5_354_664, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_201, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 59_364_000 picoseconds. - Weight::from_parts(61_439_060, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(4_743, 0).saturating_mul(n.into())) + // Minimum execution time: 54_729_000 picoseconds. + Weight::from_parts(55_863_109, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(4_682, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_102_000 picoseconds. - Weight::from_parts(28_610_791, 0) - // Standard Error: 7_966 - .saturating_add(Weight::from_parts(41_629_076, 0).saturating_mul(r.into())) + // Minimum execution time: 9_517_000 picoseconds. + Weight::from_parts(24_734_678, 0) + // Standard Error: 7_171 + .saturating_add(Weight::from_parts(41_484_866, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_346_000 picoseconds. - Weight::from_parts(35_774_414, 0) - // Standard Error: 9_721 - .saturating_add(Weight::from_parts(46_147_116, 0).saturating_mul(r.into())) + // Minimum execution time: 11_667_000 picoseconds. + Weight::from_parts(31_884_554, 0) + // Standard Error: 9_650 + .saturating_add(Weight::from_parts(45_547_687, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_047_000 picoseconds. - Weight::from_parts(19_345_175, 0) - // Standard Error: 4_941 - .saturating_add(Weight::from_parts(12_010_893, 0).saturating_mul(r.into())) + // Minimum execution time: 9_870_000 picoseconds. + Weight::from_parts(13_204_331, 0) + // Standard Error: 3_662 + .saturating_add(Weight::from_parts(11_667_079, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1315,10 +1313,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` // Estimated: `8969 + r * (3047 ±10)` - // Minimum execution time: 12_494_000 picoseconds. - Weight::from_parts(12_639_000, 8969) - // Standard Error: 60_477 - .saturating_add(Weight::from_parts(27_557_747, 0).saturating_mul(r.into())) + // Minimum execution time: 9_798_000 picoseconds. + Weight::from_parts(9_917_000, 8969) + // Standard Error: 56_746 + .saturating_add(Weight::from_parts(25_513_940, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -1330,10 +1328,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 12_526_000 picoseconds. - Weight::from_parts(18_257_234, 1265) - // Standard Error: 11_152 - .saturating_add(Weight::from_parts(5_647_434, 0).saturating_mul(r.into())) + // Minimum execution time: 9_555_000 picoseconds. + Weight::from_parts(15_732_043, 1265) + // Standard Error: 10_498 + .saturating_add(Weight::from_parts(5_107_287, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -1345,10 +1343,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 12_272_000 picoseconds. - Weight::from_parts(19_132_974, 990) - // Standard Error: 10_711 - .saturating_add(Weight::from_parts(4_708_596, 0).saturating_mul(r.into())) + // Minimum execution time: 9_666_000 picoseconds. + Weight::from_parts(16_231_458, 990) + // Standard Error: 10_346 + .saturating_add(Weight::from_parts(4_277_196, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -1374,10 +1372,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 279_359_000 picoseconds. - Weight::from_parts(286_340_330, 9282) - // Standard Error: 360 - .saturating_add(Weight::from_parts(181_405, 0).saturating_mul(r.into())) + // Minimum execution time: 272_550_000 picoseconds. + Weight::from_parts(285_610_630, 9282) + // Standard Error: 649 + .saturating_add(Weight::from_parts(173_851, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1387,10 +1385,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_488_000 picoseconds. - Weight::from_parts(29_200_438, 0) - // Standard Error: 469 - .saturating_add(Weight::from_parts(309_673, 0).saturating_mul(r.into())) + // Minimum execution time: 9_632_000 picoseconds. + Weight::from_parts(13_425_976, 0) + // Standard Error: 262 + .saturating_add(Weight::from_parts(122_132, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1399,10 +1397,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 12_346_000 picoseconds. - Weight::from_parts(16_520_211, 1704) - // Standard Error: 459 - .saturating_add(Weight::from_parts(158_391, 0).saturating_mul(r.into())) + // Minimum execution time: 10_040_000 picoseconds. + Weight::from_parts(14_336_410, 1704) + // Standard Error: 121 + .saturating_add(Weight::from_parts(94_796, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1410,10 +1408,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 957_000 picoseconds. - Weight::from_parts(718_218, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(6_346, 0).saturating_mul(r.into())) + // Minimum execution time: 885_000 picoseconds. + Weight::from_parts(886_082, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(6_087, 0).saturating_mul(r.into())) } } @@ -1425,8 +1423,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_085_000 picoseconds. - Weight::from_parts(2_140_000, 1627) + // Minimum execution time: 2_030_000 picoseconds. + Weight::from_parts(2_147_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1436,10 +1434,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_436_000 picoseconds. - Weight::from_parts(12_816_000, 442) - // Standard Error: 1_230 - .saturating_add(Weight::from_parts(1_227_014, 0).saturating_mul(k.into())) + // Minimum execution time: 11_913_000 picoseconds. + Weight::from_parts(12_551_000, 442) + // Standard Error: 1_390 + .saturating_add(Weight::from_parts(1_142_756, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1453,10 +1451,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_512_000 picoseconds. - Weight::from_parts(8_771_649, 6149) + // Minimum execution time: 8_429_000 picoseconds. + Weight::from_parts(9_052_624, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_185, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1469,8 +1467,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_960_000 picoseconds. - Weight::from_parts(17_810_000, 6450) + // Minimum execution time: 17_723_000 picoseconds. + Weight::from_parts(18_520_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1483,10 +1481,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_465_000 picoseconds. - Weight::from_parts(3_566_000, 3635) - // Standard Error: 1_611 - .saturating_add(Weight::from_parts(1_212_145, 0).saturating_mul(k.into())) + // Minimum execution time: 3_508_000 picoseconds. + Weight::from_parts(5_205_652, 3635) + // Standard Error: 2_077 + .saturating_add(Weight::from_parts(1_192_249, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1507,10 +1505,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_347_000 picoseconds. - Weight::from_parts(21_218_888, 6266) + // Minimum execution time: 20_853_000 picoseconds. + Weight::from_parts(21_293_992, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(416, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(414, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1521,8 +1519,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_876_000 picoseconds. - Weight::from_parts(13_498_000, 6380) + // Minimum execution time: 12_966_000 picoseconds. + Weight::from_parts(13_775_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1536,8 +1534,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_624_000 picoseconds. - Weight::from_parts(48_794_000, 6292) + // Minimum execution time: 47_212_000 picoseconds. + Weight::from_parts(48_208_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1549,8 +1547,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_934_000 picoseconds. - Weight::from_parts(57_894_000, 6534) + // Minimum execution time: 56_497_000 picoseconds. + Weight::from_parts(57_832_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1560,8 +1558,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_171_000 picoseconds. - Weight::from_parts(12_884_000, 6349) + // Minimum execution time: 12_866_000 picoseconds. + Weight::from_parts(13_313_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1571,8 +1569,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_540_000 picoseconds. - Weight::from_parts(2_644_000, 1627) + // Minimum execution time: 2_535_000 picoseconds. + Weight::from_parts(2_655_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1584,8 +1582,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_121_000 picoseconds. - Weight::from_parts(12_663_000, 3631) + // Minimum execution time: 12_481_000 picoseconds. + Weight::from_parts(12_905_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1595,8 +1593,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_774_000 picoseconds. - Weight::from_parts(4_977_000, 3607) + // Minimum execution time: 4_899_000 picoseconds. + Weight::from_parts(5_078_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1607,8 +1605,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_858_000 picoseconds. - Weight::from_parts(6_250_000, 3632) + // Minimum execution time: 6_168_000 picoseconds. + Weight::from_parts(6_553_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1619,8 +1617,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_074_000 picoseconds. - Weight::from_parts(6_454_000, 3607) + // Minimum execution time: 6_330_000 picoseconds. + Weight::from_parts(6_695_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1645,10 +1643,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 290_547_000 picoseconds. - Weight::from_parts(323_525_996, 9217) - // Standard Error: 15 - .saturating_add(Weight::from_parts(2_122, 0).saturating_mul(c.into())) + // Minimum execution time: 301_243_000 picoseconds. + Weight::from_parts(309_711_731, 9217) + // Standard Error: 21 + .saturating_add(Weight::from_parts(33_709, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1680,14 +1678,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 4_360_132_000 picoseconds. - Weight::from_parts(644_170_980, 8740) - // Standard Error: 104 - .saturating_add(Weight::from_parts(53_524, 0).saturating_mul(c.into())) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_896, 0).saturating_mul(i.into())) - // Standard Error: 12 - .saturating_add(Weight::from_parts(1_824, 0).saturating_mul(s.into())) + // Minimum execution time: 3_821_168_000 picoseconds. + Weight::from_parts(267_036_364, 8740) + // Standard Error: 130 + .saturating_add(Weight::from_parts(86_252, 0).saturating_mul(c.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_677, 0).saturating_mul(i.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_854, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1717,12 +1715,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 2_166_318_000 picoseconds. - Weight::from_parts(2_186_292_000, 8982) - // Standard Error: 30 - .saturating_add(Weight::from_parts(1_048, 0).saturating_mul(i.into())) - // Standard Error: 30 - .saturating_add(Weight::from_parts(816, 0).saturating_mul(s.into())) + // Minimum execution time: 2_006_826_000 picoseconds. + Weight::from_parts(2_050_307_000, 8982) + // Standard Error: 26 + .saturating_add(Weight::from_parts(845, 0).saturating_mul(i.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(752, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1746,8 +1744,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 210_572_000 picoseconds. - Weight::from_parts(216_676_000, 9244) + // Minimum execution time: 204_375_000 picoseconds. + Weight::from_parts(212_207_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1768,10 +1766,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 274_894_000 picoseconds. - Weight::from_parts(317_740_873, 6085) - // Standard Error: 51 - .saturating_add(Weight::from_parts(50_865, 0).saturating_mul(c.into())) + // Minimum execution time: 279_614_000 picoseconds. + Weight::from_parts(289_083_858, 6085) + // Standard Error: 61 + .saturating_add(Weight::from_parts(49_730, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1792,10 +1790,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 290_164_000 picoseconds. - Weight::from_parts(313_506_138, 6085) - // Standard Error: 46 - .saturating_add(Weight::from_parts(51_175, 0).saturating_mul(c.into())) + // Minimum execution time: 289_987_000 picoseconds. + Weight::from_parts(314_957_929, 6085) + // Standard Error: 59 + .saturating_add(Weight::from_parts(49_834, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1813,8 +1811,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_560_000 picoseconds. - Weight::from_parts(47_016_000, 3780) + // Minimum execution time: 45_194_000 picoseconds. + Weight::from_parts(46_361_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1830,8 +1828,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_424_000 picoseconds. - Weight::from_parts(36_047_000, 8967) + // Minimum execution time: 34_108_000 picoseconds. + Weight::from_parts(35_973_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1840,10 +1838,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_134_000 picoseconds. - Weight::from_parts(14_286_849, 0) - // Standard Error: 355 - .saturating_add(Weight::from_parts(388_402, 0).saturating_mul(r.into())) + // Minimum execution time: 9_838_000 picoseconds. + Weight::from_parts(10_989_743, 0) + // Standard Error: 317 + .saturating_add(Weight::from_parts(309_406, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1852,10 +1850,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 12_161_000 picoseconds. - Weight::from_parts(12_296_000, 1467) - // Standard Error: 7_660 - .saturating_add(Weight::from_parts(3_752_524, 0).saturating_mul(r.into())) + // Minimum execution time: 10_064_000 picoseconds. + Weight::from_parts(10_177_000, 1467) + // Standard Error: 5_535 + .saturating_add(Weight::from_parts(3_404_837, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -1866,10 +1864,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 12_421_000 picoseconds. - Weight::from_parts(12_590_000, 1468) - // Standard Error: 7_009 - .saturating_add(Weight::from_parts(4_690_003, 0).saturating_mul(r.into())) + // Minimum execution time: 10_080_000 picoseconds. + Weight::from_parts(10_300_000, 1468) + // Standard Error: 5_749 + .saturating_add(Weight::from_parts(4_245_176, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -1878,50 +1876,50 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_812_000 picoseconds. - Weight::from_parts(16_595_423, 0) - // Standard Error: 319 - .saturating_add(Weight::from_parts(478_640, 0).saturating_mul(r.into())) + // Minimum execution time: 9_643_000 picoseconds. + Weight::from_parts(10_719_446, 0) + // Standard Error: 220 + .saturating_add(Weight::from_parts(415_814, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_445_000 picoseconds. - Weight::from_parts(15_909_980, 0) - // Standard Error: 229 - .saturating_add(Weight::from_parts(181_269, 0).saturating_mul(r.into())) + // Minimum execution time: 9_375_000 picoseconds. + Weight::from_parts(10_818_204, 0) + // Standard Error: 101 + .saturating_add(Weight::from_parts(121_775, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_333_000 picoseconds. - Weight::from_parts(15_495_536, 0) - // Standard Error: 152 - .saturating_add(Weight::from_parts(160_987, 0).saturating_mul(r.into())) + // Minimum execution time: 9_457_000 picoseconds. + Weight::from_parts(10_170_726, 0) + // Standard Error: 118 + .saturating_add(Weight::from_parts(101_573, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_754_000 picoseconds. - Weight::from_parts(15_742_828, 0) - // Standard Error: 290 - .saturating_add(Weight::from_parts(385_459, 0).saturating_mul(r.into())) + // Minimum execution time: 9_658_000 picoseconds. + Weight::from_parts(10_496_797, 0) + // Standard Error: 244 + .saturating_add(Weight::from_parts(298_371, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_786_000 picoseconds. - Weight::from_parts(16_988_131, 0) - // Standard Error: 255 - .saturating_add(Weight::from_parts(422_440, 0).saturating_mul(r.into())) + // Minimum execution time: 9_441_000 picoseconds. + Weight::from_parts(10_598_689, 0) + // Standard Error: 501 + .saturating_add(Weight::from_parts(341_507, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1930,10 +1928,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 12_414_000 picoseconds. - Weight::from_parts(28_963_777, 3599) - // Standard Error: 1_753 - .saturating_add(Weight::from_parts(1_771_504, 0).saturating_mul(r.into())) + // Minimum execution time: 9_629_000 picoseconds. + Weight::from_parts(15_870_287, 3599) + // Standard Error: 1_328 + .saturating_add(Weight::from_parts(1_626_732, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1941,40 +1939,40 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_837_000 picoseconds. - Weight::from_parts(14_907_225, 0) - // Standard Error: 228 - .saturating_add(Weight::from_parts(396_219, 0).saturating_mul(r.into())) + // Minimum execution time: 9_437_000 picoseconds. + Weight::from_parts(10_487_386, 0) + // Standard Error: 192 + .saturating_add(Weight::from_parts(299_622, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_284_000 picoseconds. - Weight::from_parts(18_597_225, 0) - // Standard Error: 476 - .saturating_add(Weight::from_parts(386_026, 0).saturating_mul(r.into())) + // Minimum execution time: 9_926_000 picoseconds. + Weight::from_parts(11_630_404, 0) + // Standard Error: 357 + .saturating_add(Weight::from_parts(298_517, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_271_000 picoseconds. - Weight::from_parts(15_558_022, 0) - // Standard Error: 249 - .saturating_add(Weight::from_parts(381_098, 0).saturating_mul(r.into())) + // Minimum execution time: 9_990_000 picoseconds. + Weight::from_parts(10_976_382, 0) + // Standard Error: 282 + .saturating_add(Weight::from_parts(296_277, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_177_000 picoseconds. - Weight::from_parts(17_221_268, 0) - // Standard Error: 287 - .saturating_add(Weight::from_parts(376_013, 0).saturating_mul(r.into())) + // Minimum execution time: 9_825_000 picoseconds. + Weight::from_parts(13_974_884, 0) + // Standard Error: 373 + .saturating_add(Weight::from_parts(295_835, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1983,10 +1981,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 12_136_000 picoseconds. - Weight::from_parts(20_845_947, 1552) - // Standard Error: 589 - .saturating_add(Weight::from_parts(904_680, 0).saturating_mul(r.into())) + // Minimum execution time: 9_522_000 picoseconds. + Weight::from_parts(18_953_195, 1552) + // Standard Error: 438 + .saturating_add(Weight::from_parts(719_063, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1994,10 +1992,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_044_000 picoseconds. - Weight::from_parts(15_223_638, 0) - // Standard Error: 385 - .saturating_add(Weight::from_parts(319_163, 0).saturating_mul(r.into())) + // Minimum execution time: 9_645_000 picoseconds. + Weight::from_parts(9_611_342, 0) + // Standard Error: 184 + .saturating_add(Weight::from_parts(211_470, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2020,10 +2018,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 278_830_000 picoseconds. - Weight::from_parts(130_589_408, 9287) - // Standard Error: 17 - .saturating_add(Weight::from_parts(1_441, 0).saturating_mul(n.into())) + // Minimum execution time: 277_611_000 picoseconds. + Weight::from_parts(148_355_440, 9287) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2032,20 +2030,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_093_000 picoseconds. - Weight::from_parts(12_714_028, 0) - // Standard Error: 38_930 - .saturating_add(Weight::from_parts(3_086_671, 0).saturating_mul(r.into())) + // Minimum execution time: 9_422_000 picoseconds. + Weight::from_parts(9_849_630, 0) + // Standard Error: 22_039 + .saturating_add(Weight::from_parts(1_783_269, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_420_000 picoseconds. - Weight::from_parts(16_085_671, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(316, 0).saturating_mul(n.into())) + // Minimum execution time: 11_417_000 picoseconds. + Weight::from_parts(12_379_749, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(319, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2074,10 +2072,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 312_097_000 picoseconds. - Weight::from_parts(334_236_075, 13220) - // Standard Error: 1_496_813 - .saturating_add(Weight::from_parts(271_903_824, 0).saturating_mul(r.into())) + // Minimum execution time: 302_056_000 picoseconds. + Weight::from_parts(328_211_412, 13220) + // Standard Error: 747_836 + .saturating_add(Weight::from_parts(246_841_787, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2091,10 +2089,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 12_131_000 picoseconds. - Weight::from_parts(12_270_286, 1561) - // Standard Error: 786 - .saturating_add(Weight::from_parts(1_333_081, 0).saturating_mul(r.into())) + // Minimum execution time: 9_792_000 picoseconds. + Weight::from_parts(13_821_910, 1561) + // Standard Error: 1_079 + .saturating_add(Weight::from_parts(1_201_353, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -2102,10 +2100,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_397_000 picoseconds. - Weight::from_parts(20_822_695, 0) - // Standard Error: 1_522 - .saturating_add(Weight::from_parts(1_931_626, 0).saturating_mul(r.into())) + // Minimum execution time: 10_241_000 picoseconds. + Weight::from_parts(17_326_929, 0) + // Standard Error: 1_028 + .saturating_add(Weight::from_parts(1_724_545, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2115,12 +2113,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 29_115_000 picoseconds. - Weight::from_parts(22_457_813, 990) - // Standard Error: 26_443 - .saturating_add(Weight::from_parts(2_079_455, 0).saturating_mul(t.into())) - // Standard Error: 7 - .saturating_add(Weight::from_parts(571, 0).saturating_mul(n.into())) + // Minimum execution time: 24_408_000 picoseconds. + Weight::from_parts(16_707_087, 990) + // Standard Error: 14_045 + .saturating_add(Weight::from_parts(2_283_515, 0).saturating_mul(t.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(549, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -2130,20 +2128,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_973_000 picoseconds. - Weight::from_parts(13_790_468, 0) - // Standard Error: 222 - .saturating_add(Weight::from_parts(258_905, 0).saturating_mul(r.into())) + // Minimum execution time: 8_852_000 picoseconds. + Weight::from_parts(10_388_553, 0) + // Standard Error: 160 + .saturating_add(Weight::from_parts(126_808, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_190_000 picoseconds. - Weight::from_parts(16_489_000, 0) + // Minimum execution time: 12_860_000 picoseconds. + Weight::from_parts(13_082_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_007, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(993, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2152,10 +2150,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_347_000 picoseconds. - Weight::from_parts(12_378_000, 105) - // Standard Error: 10_320 - .saturating_add(Weight::from_parts(5_900_033, 0).saturating_mul(r.into())) + // Minimum execution time: 9_776_000 picoseconds. + Weight::from_parts(9_988_000, 105) + // Standard Error: 9_478 + .saturating_add(Weight::from_parts(5_294_633, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2167,10 +2165,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 23_880_000 picoseconds. - Weight::from_parts(24_681_687, 245) - // Standard Error: 2 - .saturating_add(Weight::from_parts(331, 0).saturating_mul(n.into())) + // Minimum execution time: 21_725_000 picoseconds. + Weight::from_parts(22_688_297, 245) + // Standard Error: 4 + .saturating_add(Weight::from_parts(269, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2181,10 +2179,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 23_824_000 picoseconds. - Weight::from_parts(25_606_167, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(72, 0).saturating_mul(n.into())) + // Minimum execution time: 21_467_000 picoseconds. + Weight::from_parts(23_007_326, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(75, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2196,10 +2194,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_310_000 picoseconds. - Weight::from_parts(12_498_000, 105) - // Standard Error: 9_436 - .saturating_add(Weight::from_parts(5_677_789, 0).saturating_mul(r.into())) + // Minimum execution time: 12_227_000 picoseconds. + Weight::from_parts(12_332_000, 105) + // Standard Error: 8_261 + .saturating_add(Weight::from_parts(5_201_364, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2211,10 +2209,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 23_698_000 picoseconds. - Weight::from_parts(25_066_659, 248) + // Minimum execution time: 19_095_000 picoseconds. + Weight::from_parts(20_743_765, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(101, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(73, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2226,10 +2224,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_552_000 picoseconds. - Weight::from_parts(12_816_000, 105) - // Standard Error: 7_571 - .saturating_add(Weight::from_parts(5_321_285, 0).saturating_mul(r.into())) + // Minimum execution time: 9_582_000 picoseconds. + Weight::from_parts(9_774_000, 105) + // Standard Error: 7_429 + .saturating_add(Weight::from_parts(4_641_970, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2240,10 +2238,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 25_097_000 picoseconds. - Weight::from_parts(27_139_550, 248) - // Standard Error: 4 - .saturating_add(Weight::from_parts(601, 0).saturating_mul(n.into())) + // Minimum execution time: 18_564_000 picoseconds. + Weight::from_parts(20_192_423, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(579, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2254,10 +2252,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 14_732_000 picoseconds. - Weight::from_parts(15_157_000, 105) - // Standard Error: 8_079 - .saturating_add(Weight::from_parts(4_920_894, 0).saturating_mul(r.into())) + // Minimum execution time: 9_916_000 picoseconds. + Weight::from_parts(10_032_000, 105) + // Standard Error: 6_926 + .saturating_add(Weight::from_parts(4_534_432, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2268,10 +2266,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 21_900_000 picoseconds. - Weight::from_parts(23_956_296, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(53, 0).saturating_mul(n.into())) + // Minimum execution time: 17_166_000 picoseconds. + Weight::from_parts(18_726_777, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2282,10 +2280,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_642_000 picoseconds. - Weight::from_parts(12_892_000, 105) - // Standard Error: 11_319 - .saturating_add(Weight::from_parts(6_012_849, 0).saturating_mul(r.into())) + // Minimum execution time: 9_820_000 picoseconds. + Weight::from_parts(10_000_000, 105) + // Standard Error: 8_263 + .saturating_add(Weight::from_parts(5_293_891, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2297,10 +2295,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 24_080_000 picoseconds. - Weight::from_parts(26_539_435, 248) - // Standard Error: 4 - .saturating_add(Weight::from_parts(570, 0).saturating_mul(n.into())) + // Minimum execution time: 19_799_000 picoseconds. + Weight::from_parts(21_464_196, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(583, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2312,10 +2310,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 12_131_000 picoseconds. - Weight::from_parts(12_283_000, 4221) - // Standard Error: 29_463 - .saturating_add(Weight::from_parts(33_271_772, 0).saturating_mul(r.into())) + // Minimum execution time: 9_787_000 picoseconds. + Weight::from_parts(215_021_205, 4221) + // Standard Error: 61_183 + .saturating_add(Weight::from_parts(31_781_820, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2337,10 +2335,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 12_415_000 picoseconds. - Weight::from_parts(12_577_000, 6463) - // Standard Error: 160_176 - .saturating_add(Weight::from_parts(248_953_731, 0).saturating_mul(r.into())) + // Minimum execution time: 9_951_000 picoseconds. + Weight::from_parts(10_091_000, 6463) + // Standard Error: 103_828 + .saturating_add(Weight::from_parts(245_132_000, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2362,10 +2360,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 12_039_000 picoseconds. - Weight::from_parts(12_251_000, 6447) - // Standard Error: 177_063 - .saturating_add(Weight::from_parts(251_187_056, 0).saturating_mul(r.into())) + // Minimum execution time: 9_882_000 picoseconds. + Weight::from_parts(10_050_000, 6447) + // Standard Error: 126_008 + .saturating_add(Weight::from_parts(247_031_345, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -2388,12 +2386,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 222_480_000 picoseconds. - Weight::from_parts(139_806_727, 6639) - // Standard Error: 2_423_879 - .saturating_add(Weight::from_parts(33_638_500, 0).saturating_mul(t.into())) + // Minimum execution time: 213_460_000 picoseconds. + Weight::from_parts(132_110_724, 6639) + // Standard Error: 2_313_440 + .saturating_add(Weight::from_parts(35_383_845, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(428, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(412, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2419,10 +2417,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 372_894_000 picoseconds. - Weight::from_parts(377_395_000, 6990) - // Standard Error: 240_077 - .saturating_add(Weight::from_parts(342_592_337, 0).saturating_mul(r.into())) + // Minimum execution time: 345_243_000 picoseconds. + Weight::from_parts(356_552_000, 6990) + // Standard Error: 249_585 + .saturating_add(Weight::from_parts(334_311_468, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2450,14 +2448,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_944_105_000 picoseconds. - Weight::from_parts(734_306_034, 6719) - // Standard Error: 12_967_210 - .saturating_add(Weight::from_parts(23_842_717, 0).saturating_mul(t.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_316, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_400, 0).saturating_mul(s.into())) + // Minimum execution time: 1_873_266_000 picoseconds. + Weight::from_parts(897_662_429, 6719) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_070, 0).saturating_mul(i.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -2469,120 +2465,120 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_092_000 picoseconds. - Weight::from_parts(15_547_614, 0) - // Standard Error: 283 - .saturating_add(Weight::from_parts(434_785, 0).saturating_mul(r.into())) + // Minimum execution time: 9_616_000 picoseconds. + Weight::from_parts(10_876_786, 0) + // Standard Error: 203 + .saturating_add(Weight::from_parts(303_854, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_052_000 picoseconds. - Weight::from_parts(5_222_981, 0) + // Minimum execution time: 11_958_000 picoseconds. + Weight::from_parts(1_174_936, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_088, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_090, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_003_000 picoseconds. - Weight::from_parts(11_681_109, 0) - // Standard Error: 507 - .saturating_add(Weight::from_parts(846_579, 0).saturating_mul(r.into())) + // Minimum execution time: 10_029_000 picoseconds. + Weight::from_parts(12_601_313, 0) + // Standard Error: 311 + .saturating_add(Weight::from_parts(713_645, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 18_307_000 picoseconds. - Weight::from_parts(6_124_877, 0) + // Minimum execution time: 11_672_000 picoseconds. + Weight::from_parts(6_165_668, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_368, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_346, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_053_000 picoseconds. - Weight::from_parts(18_797_845, 0) - // Standard Error: 386 - .saturating_add(Weight::from_parts(502_447, 0).saturating_mul(r.into())) + // Minimum execution time: 9_815_000 picoseconds. + Weight::from_parts(8_240_418, 0) + // Standard Error: 344 + .saturating_add(Weight::from_parts(384_245, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 14_820_000 picoseconds. - Weight::from_parts(5_660_259, 0) + // Minimum execution time: 11_063_000 picoseconds. + Weight::from_parts(4_999_656, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_205, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_745_000 picoseconds. - Weight::from_parts(15_197_331, 0) - // Standard Error: 611 - .saturating_add(Weight::from_parts(513_067, 0).saturating_mul(r.into())) + // Minimum execution time: 9_477_000 picoseconds. + Weight::from_parts(10_830_446, 0) + // Standard Error: 355 + .saturating_add(Weight::from_parts(377_615, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 15_304_000 picoseconds. - Weight::from_parts(7_076_503, 0) + // Minimum execution time: 10_951_000 picoseconds. + Weight::from_parts(5_354_664, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_201, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 59_364_000 picoseconds. - Weight::from_parts(61_439_060, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(4_743, 0).saturating_mul(n.into())) + // Minimum execution time: 54_729_000 picoseconds. + Weight::from_parts(55_863_109, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(4_682, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_102_000 picoseconds. - Weight::from_parts(28_610_791, 0) - // Standard Error: 7_966 - .saturating_add(Weight::from_parts(41_629_076, 0).saturating_mul(r.into())) + // Minimum execution time: 9_517_000 picoseconds. + Weight::from_parts(24_734_678, 0) + // Standard Error: 7_171 + .saturating_add(Weight::from_parts(41_484_866, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_346_000 picoseconds. - Weight::from_parts(35_774_414, 0) - // Standard Error: 9_721 - .saturating_add(Weight::from_parts(46_147_116, 0).saturating_mul(r.into())) + // Minimum execution time: 11_667_000 picoseconds. + Weight::from_parts(31_884_554, 0) + // Standard Error: 9_650 + .saturating_add(Weight::from_parts(45_547_687, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_047_000 picoseconds. - Weight::from_parts(19_345_175, 0) - // Standard Error: 4_941 - .saturating_add(Weight::from_parts(12_010_893, 0).saturating_mul(r.into())) + // Minimum execution time: 9_870_000 picoseconds. + Weight::from_parts(13_204_331, 0) + // Standard Error: 3_662 + .saturating_add(Weight::from_parts(11_667_079, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -2597,10 +2593,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` // Estimated: `8969 + r * (3047 ±10)` - // Minimum execution time: 12_494_000 picoseconds. - Weight::from_parts(12_639_000, 8969) - // Standard Error: 60_477 - .saturating_add(Weight::from_parts(27_557_747, 0).saturating_mul(r.into())) + // Minimum execution time: 9_798_000 picoseconds. + Weight::from_parts(9_917_000, 8969) + // Standard Error: 56_746 + .saturating_add(Weight::from_parts(25_513_940, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -2612,10 +2608,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 12_526_000 picoseconds. - Weight::from_parts(18_257_234, 1265) - // Standard Error: 11_152 - .saturating_add(Weight::from_parts(5_647_434, 0).saturating_mul(r.into())) + // Minimum execution time: 9_555_000 picoseconds. + Weight::from_parts(15_732_043, 1265) + // Standard Error: 10_498 + .saturating_add(Weight::from_parts(5_107_287, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -2627,10 +2623,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 12_272_000 picoseconds. - Weight::from_parts(19_132_974, 990) - // Standard Error: 10_711 - .saturating_add(Weight::from_parts(4_708_596, 0).saturating_mul(r.into())) + // Minimum execution time: 9_666_000 picoseconds. + Weight::from_parts(16_231_458, 990) + // Standard Error: 10_346 + .saturating_add(Weight::from_parts(4_277_196, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -2656,10 +2652,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 279_359_000 picoseconds. - Weight::from_parts(286_340_330, 9282) - // Standard Error: 360 - .saturating_add(Weight::from_parts(181_405, 0).saturating_mul(r.into())) + // Minimum execution time: 272_550_000 picoseconds. + Weight::from_parts(285_610_630, 9282) + // Standard Error: 649 + .saturating_add(Weight::from_parts(173_851, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2669,10 +2665,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_488_000 picoseconds. - Weight::from_parts(29_200_438, 0) - // Standard Error: 469 - .saturating_add(Weight::from_parts(309_673, 0).saturating_mul(r.into())) + // Minimum execution time: 9_632_000 picoseconds. + Weight::from_parts(13_425_976, 0) + // Standard Error: 262 + .saturating_add(Weight::from_parts(122_132, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2681,10 +2677,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 12_346_000 picoseconds. - Weight::from_parts(16_520_211, 1704) - // Standard Error: 459 - .saturating_add(Weight::from_parts(158_391, 0).saturating_mul(r.into())) + // Minimum execution time: 10_040_000 picoseconds. + Weight::from_parts(14_336_410, 1704) + // Standard Error: 121 + .saturating_add(Weight::from_parts(94_796, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -2692,9 +2688,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 957_000 picoseconds. - Weight::from_parts(718_218, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(6_346, 0).saturating_mul(r.into())) + // Minimum execution time: 885_000 picoseconds. + Weight::from_parts(886_082, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(6_087, 0).saturating_mul(r.into())) } } From 59138babbb067de39919ec70467b2beeae0aa4ce Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 11 Apr 2024 22:51:56 +0200 Subject: [PATCH 09/75] Disable unchecked compilation for now --- substrate/frame/contracts/src/wasm/prepare.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/substrate/frame/contracts/src/wasm/prepare.rs b/substrate/frame/contracts/src/wasm/prepare.rs index 65cd59e1e3a5..27dc2abd4331 100644 --- a/substrate/frame/contracts/src/wasm/prepare.rs +++ b/substrate/frame/contracts/src/wasm/prepare.rs @@ -87,9 +87,10 @@ impl LoadedModule { .wasm_extended_const(false) .wasm_saturating_float_to_int(false) .floats(matches!(determinism, Determinism::Relaxed)) + // TODO restore before merging PR // .compilation_mode(compilation_mode) - .compilation_mode(CompilationMode::Eager) - .consume_fuel(true); + .consume_fuel(true) + .compilation_mode(CompilationMode::Eager); if let Some(stack_limits) = stack_limits { config.set_stack_limits(stack_limits); @@ -99,8 +100,10 @@ impl LoadedModule { let module = match loading_mode { LoadingMode::Checked => Module::new(&engine, code), + LoadingMode::Unchecked => Module::new(&engine, code), + // TODO restore before merging PR // Safety: The code has been validated, Therefore we know that it's a valid binary. - LoadingMode::Unchecked => unsafe { Module::new_unchecked(&engine, code) }, + // LoadingMode::Unchecked => unsafe { Module::new_unchecked(&engine, code) }, } .map_err(|err| { log::debug!(target: LOG_TARGET, "Module creation failed: {:?}", err); From b1db09335a66b74c990c17e733ed5525507f84aa Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 11 Apr 2024 22:47:56 +0000 Subject: [PATCH 10/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 1236 +++++++++++----------- 1 file changed, 620 insertions(+), 616 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 907b84e6da69..4f2d9c3b3f07 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -143,8 +143,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_030_000 picoseconds. - Weight::from_parts(2_147_000, 1627) + // Minimum execution time: 2_076_000 picoseconds. + Weight::from_parts(2_240_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -154,10 +154,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 11_913_000 picoseconds. - Weight::from_parts(12_551_000, 442) - // Standard Error: 1_390 - .saturating_add(Weight::from_parts(1_142_756, 0).saturating_mul(k.into())) + // Minimum execution time: 12_452_000 picoseconds. + Weight::from_parts(12_931_000, 442) + // Standard Error: 1_895 + .saturating_add(Weight::from_parts(1_161_646, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -171,10 +171,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_429_000 picoseconds. - Weight::from_parts(9_052_624, 6149) + // Minimum execution time: 8_317_000 picoseconds. + Weight::from_parts(8_515_825, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_232, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -187,8 +187,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_723_000 picoseconds. - Weight::from_parts(18_520_000, 6450) + // Minimum execution time: 17_120_000 picoseconds. + Weight::from_parts(17_862_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -201,10 +201,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_508_000 picoseconds. - Weight::from_parts(5_205_652, 3635) - // Standard Error: 2_077 - .saturating_add(Weight::from_parts(1_192_249, 0).saturating_mul(k.into())) + // Minimum execution time: 3_638_000 picoseconds. + Weight::from_parts(3_777_000, 3635) + // Standard Error: 1_039 + .saturating_add(Weight::from_parts(1_250_800, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -225,10 +225,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_853_000 picoseconds. - Weight::from_parts(21_293_992, 6266) - // Standard Error: 1 - .saturating_add(Weight::from_parts(414, 0).saturating_mul(c.into())) + // Minimum execution time: 20_929_000 picoseconds. + Weight::from_parts(21_470_314, 6266) + // Standard Error: 0 + .saturating_add(Weight::from_parts(488, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -239,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_966_000 picoseconds. - Weight::from_parts(13_775_000, 6380) + // Minimum execution time: 12_872_000 picoseconds. + Weight::from_parts(13_453_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -254,8 +254,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_212_000 picoseconds. - Weight::from_parts(48_208_000, 6292) + // Minimum execution time: 47_734_000 picoseconds. + Weight::from_parts(49_152_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -267,8 +267,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_497_000 picoseconds. - Weight::from_parts(57_832_000, 6534) + // Minimum execution time: 56_366_000 picoseconds. + Weight::from_parts(57_758_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -278,8 +278,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_866_000 picoseconds. - Weight::from_parts(13_313_000, 6349) + // Minimum execution time: 12_057_000 picoseconds. + Weight::from_parts(12_646_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -289,8 +289,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_535_000 picoseconds. - Weight::from_parts(2_655_000, 1627) + // Minimum execution time: 2_560_000 picoseconds. + Weight::from_parts(2_824_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -302,8 +302,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_481_000 picoseconds. - Weight::from_parts(12_905_000, 3631) + // Minimum execution time: 12_044_000 picoseconds. + Weight::from_parts(12_587_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -313,8 +313,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_899_000 picoseconds. - Weight::from_parts(5_078_000, 3607) + // Minimum execution time: 4_928_000 picoseconds. + Weight::from_parts(5_248_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -325,8 +325,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_168_000 picoseconds. - Weight::from_parts(6_553_000, 3632) + // Minimum execution time: 5_987_000 picoseconds. + Weight::from_parts(6_508_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -337,8 +337,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_330_000 picoseconds. - Weight::from_parts(6_695_000, 3607) + // Minimum execution time: 6_410_000 picoseconds. + Weight::from_parts(6_766_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -363,10 +363,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 301_243_000 picoseconds. - Weight::from_parts(309_711_731, 9217) - // Standard Error: 21 - .saturating_add(Weight::from_parts(33_709, 0).saturating_mul(c.into())) + // Minimum execution time: 371_960_000 picoseconds. + Weight::from_parts(382_489_905, 9217) + // Standard Error: 25 + .saturating_add(Weight::from_parts(49_142, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -398,14 +398,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_821_168_000 picoseconds. - Weight::from_parts(267_036_364, 8740) - // Standard Error: 130 - .saturating_add(Weight::from_parts(86_252, 0).saturating_mul(c.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_677, 0).saturating_mul(i.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_854, 0).saturating_mul(s.into())) + // Minimum execution time: 4_379_374_000 picoseconds. + Weight::from_parts(693_980_797, 8740) + // Standard Error: 113 + .saturating_add(Weight::from_parts(98_822, 0).saturating_mul(c.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_839, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_946, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -435,12 +435,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 2_006_826_000 picoseconds. - Weight::from_parts(2_050_307_000, 8982) - // Standard Error: 26 - .saturating_add(Weight::from_parts(845, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(752, 0).saturating_mul(s.into())) + // Minimum execution time: 2_128_156_000 picoseconds. + Weight::from_parts(2_154_051_000, 8982) + // Standard Error: 28 + .saturating_add(Weight::from_parts(945, 0).saturating_mul(i.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(826, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -464,8 +464,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 204_375_000 picoseconds. - Weight::from_parts(212_207_000, 9244) + // Minimum execution time: 212_183_000 picoseconds. + Weight::from_parts(221_942_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -486,10 +486,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 279_614_000 picoseconds. - Weight::from_parts(289_083_858, 6085) - // Standard Error: 61 - .saturating_add(Weight::from_parts(49_730, 0).saturating_mul(c.into())) + // Minimum execution time: 336_867_000 picoseconds. + Weight::from_parts(362_338_000, 6085) + // Standard Error: 53 + .saturating_add(Weight::from_parts(49_716, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -510,10 +510,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 289_987_000 picoseconds. - Weight::from_parts(314_957_929, 6085) - // Standard Error: 59 - .saturating_add(Weight::from_parts(49_834, 0).saturating_mul(c.into())) + // Minimum execution time: 350_862_000 picoseconds. + Weight::from_parts(373_723_770, 6085) + // Standard Error: 57 + .saturating_add(Weight::from_parts(50_241, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -531,8 +531,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_194_000 picoseconds. - Weight::from_parts(46_361_000, 3780) + // Minimum execution time: 45_902_000 picoseconds. + Weight::from_parts(47_318_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -548,8 +548,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_108_000 picoseconds. - Weight::from_parts(35_973_000, 8967) + // Minimum execution time: 34_636_000 picoseconds. + Weight::from_parts(36_660_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -558,10 +558,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_838_000 picoseconds. - Weight::from_parts(10_989_743, 0) - // Standard Error: 317 - .saturating_add(Weight::from_parts(309_406, 0).saturating_mul(r.into())) + // Minimum execution time: 9_856_000 picoseconds. + Weight::from_parts(11_801_432, 0) + // Standard Error: 722 + .saturating_add(Weight::from_parts(272_961, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -570,10 +570,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 10_064_000 picoseconds. - Weight::from_parts(10_177_000, 1467) - // Standard Error: 5_535 - .saturating_add(Weight::from_parts(3_404_837, 0).saturating_mul(r.into())) + // Minimum execution time: 9_842_000 picoseconds. + Weight::from_parts(9_953_000, 1467) + // Standard Error: 5_465 + .saturating_add(Weight::from_parts(3_381_383, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -584,10 +584,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 10_080_000 picoseconds. - Weight::from_parts(10_300_000, 1468) - // Standard Error: 5_749 - .saturating_add(Weight::from_parts(4_245_176, 0).saturating_mul(r.into())) + // Minimum execution time: 9_838_000 picoseconds. + Weight::from_parts(10_004_000, 1468) + // Standard Error: 6_253 + .saturating_add(Weight::from_parts(4_265_363, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -596,50 +596,50 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_643_000 picoseconds. - Weight::from_parts(10_719_446, 0) - // Standard Error: 220 - .saturating_add(Weight::from_parts(415_814, 0).saturating_mul(r.into())) + // Minimum execution time: 9_906_000 picoseconds. + Weight::from_parts(11_796_471, 0) + // Standard Error: 215 + .saturating_add(Weight::from_parts(373_709, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_375_000 picoseconds. - Weight::from_parts(10_818_204, 0) - // Standard Error: 101 - .saturating_add(Weight::from_parts(121_775, 0).saturating_mul(r.into())) + // Minimum execution time: 9_615_000 picoseconds. + Weight::from_parts(11_428_808, 0) + // Standard Error: 121 + .saturating_add(Weight::from_parts(120_503, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_457_000 picoseconds. - Weight::from_parts(10_170_726, 0) - // Standard Error: 118 - .saturating_add(Weight::from_parts(101_573, 0).saturating_mul(r.into())) + // Minimum execution time: 9_758_000 picoseconds. + Weight::from_parts(11_989_422, 0) + // Standard Error: 134 + .saturating_add(Weight::from_parts(100_586, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_658_000 picoseconds. - Weight::from_parts(10_496_797, 0) - // Standard Error: 244 - .saturating_add(Weight::from_parts(298_371, 0).saturating_mul(r.into())) + // Minimum execution time: 9_643_000 picoseconds. + Weight::from_parts(10_848_288, 0) + // Standard Error: 205 + .saturating_add(Weight::from_parts(266_160, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_441_000 picoseconds. - Weight::from_parts(10_598_689, 0) - // Standard Error: 501 - .saturating_add(Weight::from_parts(341_507, 0).saturating_mul(r.into())) + // Minimum execution time: 9_649_000 picoseconds. + Weight::from_parts(11_330_028, 0) + // Standard Error: 238 + .saturating_add(Weight::from_parts(300_384, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -648,10 +648,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 9_629_000 picoseconds. - Weight::from_parts(15_870_287, 3599) - // Standard Error: 1_328 - .saturating_add(Weight::from_parts(1_626_732, 0).saturating_mul(r.into())) + // Minimum execution time: 9_796_000 picoseconds. + Weight::from_parts(22_163_236, 3599) + // Standard Error: 1_414 + .saturating_add(Weight::from_parts(1_590_621, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -659,40 +659,40 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_437_000 picoseconds. - Weight::from_parts(10_487_386, 0) - // Standard Error: 192 - .saturating_add(Weight::from_parts(299_622, 0).saturating_mul(r.into())) + // Minimum execution time: 9_529_000 picoseconds. + Weight::from_parts(10_450_632, 0) + // Standard Error: 196 + .saturating_add(Weight::from_parts(264_524, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_926_000 picoseconds. - Weight::from_parts(11_630_404, 0) - // Standard Error: 357 - .saturating_add(Weight::from_parts(298_517, 0).saturating_mul(r.into())) + // Minimum execution time: 9_810_000 picoseconds. + Weight::from_parts(12_856_446, 0) + // Standard Error: 244 + .saturating_add(Weight::from_parts(264_415, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_990_000 picoseconds. - Weight::from_parts(10_976_382, 0) - // Standard Error: 282 - .saturating_add(Weight::from_parts(296_277, 0).saturating_mul(r.into())) + // Minimum execution time: 9_678_000 picoseconds. + Weight::from_parts(7_255_013, 0) + // Standard Error: 421 + .saturating_add(Weight::from_parts(273_782, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_825_000 picoseconds. - Weight::from_parts(13_974_884, 0) - // Standard Error: 373 - .saturating_add(Weight::from_parts(295_835, 0).saturating_mul(r.into())) + // Minimum execution time: 9_724_000 picoseconds. + Weight::from_parts(9_775_716, 0) + // Standard Error: 228 + .saturating_add(Weight::from_parts(267_375, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -701,10 +701,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 9_522_000 picoseconds. - Weight::from_parts(18_953_195, 1552) - // Standard Error: 438 - .saturating_add(Weight::from_parts(719_063, 0).saturating_mul(r.into())) + // Minimum execution time: 10_273_000 picoseconds. + Weight::from_parts(18_123_930, 1552) + // Standard Error: 542 + .saturating_add(Weight::from_parts(715_952, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -712,10 +712,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_645_000 picoseconds. - Weight::from_parts(9_611_342, 0) - // Standard Error: 184 - .saturating_add(Weight::from_parts(211_470, 0).saturating_mul(r.into())) + // Minimum execution time: 9_997_000 picoseconds. + Weight::from_parts(11_202_489, 0) + // Standard Error: 394 + .saturating_add(Weight::from_parts(197_407, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -738,10 +738,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 277_611_000 picoseconds. - Weight::from_parts(148_355_440, 9287) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(n.into())) + // Minimum execution time: 345_237_000 picoseconds. + Weight::from_parts(220_574_324, 9287) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_431, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -750,20 +750,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_422_000 picoseconds. - Weight::from_parts(9_849_630, 0) - // Standard Error: 22_039 - .saturating_add(Weight::from_parts(1_783_269, 0).saturating_mul(r.into())) + // Minimum execution time: 9_488_000 picoseconds. + Weight::from_parts(10_223_214, 0) + // Standard Error: 212_236 + .saturating_add(Weight::from_parts(1_346_085, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_417_000 picoseconds. - Weight::from_parts(12_379_749, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(319, 0).saturating_mul(n.into())) + // Minimum execution time: 11_370_000 picoseconds. + Weight::from_parts(10_946_574, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(449, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -792,10 +792,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 302_056_000 picoseconds. - Weight::from_parts(328_211_412, 13220) - // Standard Error: 747_836 - .saturating_add(Weight::from_parts(246_841_787, 0).saturating_mul(r.into())) + // Minimum execution time: 384_017_000 picoseconds. + Weight::from_parts(398_522_751, 13220) + // Standard Error: 849_795 + .saturating_add(Weight::from_parts(248_209_948, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -809,10 +809,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_792_000 picoseconds. - Weight::from_parts(13_821_910, 1561) - // Standard Error: 1_079 - .saturating_add(Weight::from_parts(1_201_353, 0).saturating_mul(r.into())) + // Minimum execution time: 9_793_000 picoseconds. + Weight::from_parts(18_133_333, 1561) + // Standard Error: 717 + .saturating_add(Weight::from_parts(1_127_037, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -820,10 +820,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_241_000 picoseconds. - Weight::from_parts(17_326_929, 0) - // Standard Error: 1_028 - .saturating_add(Weight::from_parts(1_724_545, 0).saturating_mul(r.into())) + // Minimum execution time: 10_404_000 picoseconds. + Weight::from_parts(15_458_965, 0) + // Standard Error: 912 + .saturating_add(Weight::from_parts(1_749_726, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -833,12 +833,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 24_408_000 picoseconds. - Weight::from_parts(16_707_087, 990) - // Standard Error: 14_045 - .saturating_add(Weight::from_parts(2_283_515, 0).saturating_mul(t.into())) + // Minimum execution time: 25_713_000 picoseconds. + Weight::from_parts(16_021_409, 990) + // Standard Error: 14_072 + .saturating_add(Weight::from_parts(2_514_166, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(549, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(685, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -848,20 +848,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_852_000 picoseconds. - Weight::from_parts(10_388_553, 0) - // Standard Error: 160 - .saturating_add(Weight::from_parts(126_808, 0).saturating_mul(r.into())) + // Minimum execution time: 9_037_000 picoseconds. + Weight::from_parts(9_793_514, 0) + // Standard Error: 126 + .saturating_add(Weight::from_parts(125_336, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_860_000 picoseconds. - Weight::from_parts(13_082_000, 0) + // Minimum execution time: 11_374_000 picoseconds. + Weight::from_parts(11_458_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(993, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_080, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -870,10 +870,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_776_000 picoseconds. - Weight::from_parts(9_988_000, 105) - // Standard Error: 9_478 - .saturating_add(Weight::from_parts(5_294_633, 0).saturating_mul(r.into())) + // Minimum execution time: 13_585_000 picoseconds. + Weight::from_parts(13_734_000, 105) + // Standard Error: 8_316 + .saturating_add(Weight::from_parts(5_417_818, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -885,10 +885,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 21_725_000 picoseconds. - Weight::from_parts(22_688_297, 245) - // Standard Error: 4 - .saturating_add(Weight::from_parts(269, 0).saturating_mul(n.into())) + // Minimum execution time: 19_491_000 picoseconds. + Weight::from_parts(20_397_859, 245) + // Standard Error: 2 + .saturating_add(Weight::from_parts(393, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -899,10 +899,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 21_467_000 picoseconds. - Weight::from_parts(23_007_326, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(75, 0).saturating_mul(n.into())) + // Minimum execution time: 19_419_000 picoseconds. + Weight::from_parts(20_236_323, 248) + // Standard Error: 6 + .saturating_add(Weight::from_parts(270, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -914,10 +914,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_227_000 picoseconds. - Weight::from_parts(12_332_000, 105) - // Standard Error: 8_261 - .saturating_add(Weight::from_parts(5_201_364, 0).saturating_mul(r.into())) + // Minimum execution time: 12_351_000 picoseconds. + Weight::from_parts(12_453_000, 105) + // Standard Error: 7_943 + .saturating_add(Weight::from_parts(5_330_499, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -929,10 +929,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_095_000 picoseconds. - Weight::from_parts(20_743_765, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(73, 0).saturating_mul(n.into())) + // Minimum execution time: 19_927_000 picoseconds. + Weight::from_parts(21_504_240, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(58, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -944,10 +944,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_582_000 picoseconds. - Weight::from_parts(9_774_000, 105) - // Standard Error: 7_429 - .saturating_add(Weight::from_parts(4_641_970, 0).saturating_mul(r.into())) + // Minimum execution time: 9_907_000 picoseconds. + Weight::from_parts(9_977_000, 105) + // Standard Error: 7_023 + .saturating_add(Weight::from_parts(4_595_951, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -958,10 +958,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_564_000 picoseconds. - Weight::from_parts(20_192_423, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(579, 0).saturating_mul(n.into())) + // Minimum execution time: 18_505_000 picoseconds. + Weight::from_parts(20_120_240, 248) + // Standard Error: 5 + .saturating_add(Weight::from_parts(773, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -972,10 +972,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_916_000 picoseconds. - Weight::from_parts(10_032_000, 105) - // Standard Error: 6_926 - .saturating_add(Weight::from_parts(4_534_432, 0).saturating_mul(r.into())) + // Minimum execution time: 12_427_000 picoseconds. + Weight::from_parts(12_497_000, 105) + // Standard Error: 7_498 + .saturating_add(Weight::from_parts(4_610_320, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -986,10 +986,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_166_000 picoseconds. - Weight::from_parts(18_726_777, 248) + // Minimum execution time: 18_048_000 picoseconds. + Weight::from_parts(19_401_077, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1000,10 +1000,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_820_000 picoseconds. - Weight::from_parts(10_000_000, 105) - // Standard Error: 8_263 - .saturating_add(Weight::from_parts(5_293_891, 0).saturating_mul(r.into())) + // Minimum execution time: 9_589_000 picoseconds. + Weight::from_parts(9_729_000, 105) + // Standard Error: 7_895 + .saturating_add(Weight::from_parts(5_354_918, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -1015,10 +1015,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_799_000 picoseconds. - Weight::from_parts(21_464_196, 248) + // Minimum execution time: 19_717_000 picoseconds. + Weight::from_parts(21_618_248, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(583, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(722, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1030,10 +1030,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_787_000 picoseconds. - Weight::from_parts(215_021_205, 4221) - // Standard Error: 61_183 - .saturating_add(Weight::from_parts(31_781_820, 0).saturating_mul(r.into())) + // Minimum execution time: 9_833_000 picoseconds. + Weight::from_parts(10_072_000, 4221) + // Standard Error: 16_016 + .saturating_add(Weight::from_parts(31_875_419, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -1055,10 +1055,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_951_000 picoseconds. - Weight::from_parts(10_091_000, 6463) - // Standard Error: 103_828 - .saturating_add(Weight::from_parts(245_132_000, 0).saturating_mul(r.into())) + // Minimum execution time: 9_845_000 picoseconds. + Weight::from_parts(9_883_000, 6463) + // Standard Error: 113_384 + .saturating_add(Weight::from_parts(311_318_073, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1080,10 +1080,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 9_882_000 picoseconds. - Weight::from_parts(10_050_000, 6447) - // Standard Error: 126_008 - .saturating_add(Weight::from_parts(247_031_345, 0).saturating_mul(r.into())) + // Minimum execution time: 9_627_000 picoseconds. + Weight::from_parts(9_745_000, 6447) + // Standard Error: 181_006 + .saturating_add(Weight::from_parts(311_975_699, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -1106,12 +1106,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 213_460_000 picoseconds. - Weight::from_parts(132_110_724, 6639) - // Standard Error: 2_313_440 - .saturating_add(Weight::from_parts(35_383_845, 0).saturating_mul(t.into())) + // Minimum execution time: 223_316_000 picoseconds. + Weight::from_parts(141_762_966, 6639) + // Standard Error: 2_232_978 + .saturating_add(Weight::from_parts(38_299_122, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(412, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(409, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1137,10 +1137,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 345_243_000 picoseconds. - Weight::from_parts(356_552_000, 6990) - // Standard Error: 249_585 - .saturating_add(Weight::from_parts(334_311_468, 0).saturating_mul(r.into())) + // Minimum execution time: 415_531_000 picoseconds. + Weight::from_parts(418_958_000, 6990) + // Standard Error: 269_541 + .saturating_add(Weight::from_parts(400_051_405, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1168,12 +1168,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_873_266_000 picoseconds. - Weight::from_parts(897_662_429, 6719) + // Minimum execution time: 2_057_595_000 picoseconds. + Weight::from_parts(730_615_236, 6719) + // Standard Error: 12_267_332 + .saturating_add(Weight::from_parts(67_693_660, 0).saturating_mul(t.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_070, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_310, 0).saturating_mul(i.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -1185,120 +1187,120 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_616_000 picoseconds. - Weight::from_parts(10_876_786, 0) - // Standard Error: 203 - .saturating_add(Weight::from_parts(303_854, 0).saturating_mul(r.into())) + // Minimum execution time: 9_432_000 picoseconds. + Weight::from_parts(14_147_590, 0) + // Standard Error: 238 + .saturating_add(Weight::from_parts(281_200, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_958_000 picoseconds. - Weight::from_parts(1_174_936, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_090, 0).saturating_mul(n.into())) + // Minimum execution time: 11_443_000 picoseconds. + Weight::from_parts(1_851_644, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_166, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_029_000 picoseconds. - Weight::from_parts(12_601_313, 0) - // Standard Error: 311 - .saturating_add(Weight::from_parts(713_645, 0).saturating_mul(r.into())) + // Minimum execution time: 9_642_000 picoseconds. + Weight::from_parts(10_156_526, 0) + // Standard Error: 255 + .saturating_add(Weight::from_parts(693_968, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_672_000 picoseconds. - Weight::from_parts(6_165_668, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(3_346, 0).saturating_mul(n.into())) + // Minimum execution time: 12_560_000 picoseconds. + Weight::from_parts(2_938_432, 0) + // Standard Error: 2 + .saturating_add(Weight::from_parts(3_453, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_815_000 picoseconds. - Weight::from_parts(8_240_418, 0) - // Standard Error: 344 - .saturating_add(Weight::from_parts(384_245, 0).saturating_mul(r.into())) + // Minimum execution time: 10_120_000 picoseconds. + Weight::from_parts(11_756_879, 0) + // Standard Error: 238 + .saturating_add(Weight::from_parts(351_115, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_063_000 picoseconds. - Weight::from_parts(4_999_656, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_205, 0).saturating_mul(n.into())) + // Minimum execution time: 11_200_000 picoseconds. + Weight::from_parts(11_296_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_297, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_477_000 picoseconds. - Weight::from_parts(10_830_446, 0) - // Standard Error: 355 - .saturating_add(Weight::from_parts(377_615, 0).saturating_mul(r.into())) + // Minimum execution time: 9_948_000 picoseconds. + Weight::from_parts(10_844_261, 0) + // Standard Error: 198 + .saturating_add(Weight::from_parts(357_189, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_951_000 picoseconds. - Weight::from_parts(5_354_664, 0) + // Minimum execution time: 11_400_000 picoseconds. + Weight::from_parts(2_040_236, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_201, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_296, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 54_729_000 picoseconds. - Weight::from_parts(55_863_109, 0) - // Standard Error: 7 - .saturating_add(Weight::from_parts(4_682, 0).saturating_mul(n.into())) + // Minimum execution time: 55_005_000 picoseconds. + Weight::from_parts(55_932_187, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(4_650, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_517_000 picoseconds. - Weight::from_parts(24_734_678, 0) - // Standard Error: 7_171 - .saturating_add(Weight::from_parts(41_484_866, 0).saturating_mul(r.into())) + // Minimum execution time: 9_697_000 picoseconds. + Weight::from_parts(24_691_449, 0) + // Standard Error: 8_061 + .saturating_add(Weight::from_parts(41_200_666, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_667_000 picoseconds. - Weight::from_parts(31_884_554, 0) - // Standard Error: 9_650 - .saturating_add(Weight::from_parts(45_547_687, 0).saturating_mul(r.into())) + // Minimum execution time: 10_358_000 picoseconds. + Weight::from_parts(31_972_096, 0) + // Standard Error: 10_291 + .saturating_add(Weight::from_parts(45_562_373, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_870_000 picoseconds. - Weight::from_parts(13_204_331, 0) - // Standard Error: 3_662 - .saturating_add(Weight::from_parts(11_667_079, 0).saturating_mul(r.into())) + // Minimum execution time: 9_940_000 picoseconds. + Weight::from_parts(13_444_209, 0) + // Standard Error: 3_727 + .saturating_add(Weight::from_parts(11_637_403, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1312,11 +1314,11 @@ impl WeightInfo for SubstrateWeight { fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` - // Estimated: `8969 + r * (3047 ±10)` - // Minimum execution time: 9_798_000 picoseconds. - Weight::from_parts(9_917_000, 8969) - // Standard Error: 56_746 - .saturating_add(Weight::from_parts(25_513_940, 0).saturating_mul(r.into())) + // Estimated: `8969 + r * (3047 ±7)` + // Minimum execution time: 9_747_000 picoseconds. + Weight::from_parts(9_857_000, 8969) + // Standard Error: 64_952 + .saturating_add(Weight::from_parts(25_745_007, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -1328,10 +1330,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_555_000 picoseconds. - Weight::from_parts(15_732_043, 1265) - // Standard Error: 10_498 - .saturating_add(Weight::from_parts(5_107_287, 0).saturating_mul(r.into())) + // Minimum execution time: 9_694_000 picoseconds. + Weight::from_parts(15_031_932, 1265) + // Standard Error: 10_992 + .saturating_add(Weight::from_parts(5_224_025, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -1343,10 +1345,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 9_666_000 picoseconds. - Weight::from_parts(16_231_458, 990) - // Standard Error: 10_346 - .saturating_add(Weight::from_parts(4_277_196, 0).saturating_mul(r.into())) + // Minimum execution time: 9_767_000 picoseconds. + Weight::from_parts(16_476_492, 990) + // Standard Error: 10_241 + .saturating_add(Weight::from_parts(4_309_087, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -1372,10 +1374,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 272_550_000 picoseconds. - Weight::from_parts(285_610_630, 9282) - // Standard Error: 649 - .saturating_add(Weight::from_parts(173_851, 0).saturating_mul(r.into())) + // Minimum execution time: 342_035_000 picoseconds. + Weight::from_parts(354_743_675, 9282) + // Standard Error: 354 + .saturating_add(Weight::from_parts(203_215, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1385,10 +1387,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_632_000 picoseconds. - Weight::from_parts(13_425_976, 0) - // Standard Error: 262 - .saturating_add(Weight::from_parts(122_132, 0).saturating_mul(r.into())) + // Minimum execution time: 10_010_000 picoseconds. + Weight::from_parts(12_706_658, 0) + // Standard Error: 276 + .saturating_add(Weight::from_parts(124_271, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1397,10 +1399,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 10_040_000 picoseconds. - Weight::from_parts(14_336_410, 1704) - // Standard Error: 121 - .saturating_add(Weight::from_parts(94_796, 0).saturating_mul(r.into())) + // Minimum execution time: 9_482_000 picoseconds. + Weight::from_parts(13_711_878, 1704) + // Standard Error: 109 + .saturating_add(Weight::from_parts(95_071, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1408,10 +1410,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 885_000 picoseconds. - Weight::from_parts(886_082, 0) - // Standard Error: 13 - .saturating_add(Weight::from_parts(6_087, 0).saturating_mul(r.into())) + // Minimum execution time: 882_000 picoseconds. + Weight::from_parts(781_769, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(5_970, 0).saturating_mul(r.into())) } } @@ -1423,8 +1425,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_030_000 picoseconds. - Weight::from_parts(2_147_000, 1627) + // Minimum execution time: 2_076_000 picoseconds. + Weight::from_parts(2_240_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1434,10 +1436,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 11_913_000 picoseconds. - Weight::from_parts(12_551_000, 442) - // Standard Error: 1_390 - .saturating_add(Weight::from_parts(1_142_756, 0).saturating_mul(k.into())) + // Minimum execution time: 12_452_000 picoseconds. + Weight::from_parts(12_931_000, 442) + // Standard Error: 1_895 + .saturating_add(Weight::from_parts(1_161_646, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1451,10 +1453,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_429_000 picoseconds. - Weight::from_parts(9_052_624, 6149) + // Minimum execution time: 8_317_000 picoseconds. + Weight::from_parts(8_515_825, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_232, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1467,8 +1469,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_723_000 picoseconds. - Weight::from_parts(18_520_000, 6450) + // Minimum execution time: 17_120_000 picoseconds. + Weight::from_parts(17_862_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1481,10 +1483,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_508_000 picoseconds. - Weight::from_parts(5_205_652, 3635) - // Standard Error: 2_077 - .saturating_add(Weight::from_parts(1_192_249, 0).saturating_mul(k.into())) + // Minimum execution time: 3_638_000 picoseconds. + Weight::from_parts(3_777_000, 3635) + // Standard Error: 1_039 + .saturating_add(Weight::from_parts(1_250_800, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1505,10 +1507,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_853_000 picoseconds. - Weight::from_parts(21_293_992, 6266) - // Standard Error: 1 - .saturating_add(Weight::from_parts(414, 0).saturating_mul(c.into())) + // Minimum execution time: 20_929_000 picoseconds. + Weight::from_parts(21_470_314, 6266) + // Standard Error: 0 + .saturating_add(Weight::from_parts(488, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1519,8 +1521,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_966_000 picoseconds. - Weight::from_parts(13_775_000, 6380) + // Minimum execution time: 12_872_000 picoseconds. + Weight::from_parts(13_453_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1534,8 +1536,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_212_000 picoseconds. - Weight::from_parts(48_208_000, 6292) + // Minimum execution time: 47_734_000 picoseconds. + Weight::from_parts(49_152_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1547,8 +1549,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_497_000 picoseconds. - Weight::from_parts(57_832_000, 6534) + // Minimum execution time: 56_366_000 picoseconds. + Weight::from_parts(57_758_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1558,8 +1560,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_866_000 picoseconds. - Weight::from_parts(13_313_000, 6349) + // Minimum execution time: 12_057_000 picoseconds. + Weight::from_parts(12_646_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1569,8 +1571,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_535_000 picoseconds. - Weight::from_parts(2_655_000, 1627) + // Minimum execution time: 2_560_000 picoseconds. + Weight::from_parts(2_824_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1582,8 +1584,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_481_000 picoseconds. - Weight::from_parts(12_905_000, 3631) + // Minimum execution time: 12_044_000 picoseconds. + Weight::from_parts(12_587_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1593,8 +1595,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_899_000 picoseconds. - Weight::from_parts(5_078_000, 3607) + // Minimum execution time: 4_928_000 picoseconds. + Weight::from_parts(5_248_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1605,8 +1607,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_168_000 picoseconds. - Weight::from_parts(6_553_000, 3632) + // Minimum execution time: 5_987_000 picoseconds. + Weight::from_parts(6_508_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1617,8 +1619,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_330_000 picoseconds. - Weight::from_parts(6_695_000, 3607) + // Minimum execution time: 6_410_000 picoseconds. + Weight::from_parts(6_766_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1643,10 +1645,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 301_243_000 picoseconds. - Weight::from_parts(309_711_731, 9217) - // Standard Error: 21 - .saturating_add(Weight::from_parts(33_709, 0).saturating_mul(c.into())) + // Minimum execution time: 371_960_000 picoseconds. + Weight::from_parts(382_489_905, 9217) + // Standard Error: 25 + .saturating_add(Weight::from_parts(49_142, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1678,14 +1680,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_821_168_000 picoseconds. - Weight::from_parts(267_036_364, 8740) - // Standard Error: 130 - .saturating_add(Weight::from_parts(86_252, 0).saturating_mul(c.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_677, 0).saturating_mul(i.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_854, 0).saturating_mul(s.into())) + // Minimum execution time: 4_379_374_000 picoseconds. + Weight::from_parts(693_980_797, 8740) + // Standard Error: 113 + .saturating_add(Weight::from_parts(98_822, 0).saturating_mul(c.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_839, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_946, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1715,12 +1717,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 2_006_826_000 picoseconds. - Weight::from_parts(2_050_307_000, 8982) - // Standard Error: 26 - .saturating_add(Weight::from_parts(845, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(752, 0).saturating_mul(s.into())) + // Minimum execution time: 2_128_156_000 picoseconds. + Weight::from_parts(2_154_051_000, 8982) + // Standard Error: 28 + .saturating_add(Weight::from_parts(945, 0).saturating_mul(i.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(826, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1744,8 +1746,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 204_375_000 picoseconds. - Weight::from_parts(212_207_000, 9244) + // Minimum execution time: 212_183_000 picoseconds. + Weight::from_parts(221_942_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1766,10 +1768,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 279_614_000 picoseconds. - Weight::from_parts(289_083_858, 6085) - // Standard Error: 61 - .saturating_add(Weight::from_parts(49_730, 0).saturating_mul(c.into())) + // Minimum execution time: 336_867_000 picoseconds. + Weight::from_parts(362_338_000, 6085) + // Standard Error: 53 + .saturating_add(Weight::from_parts(49_716, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1790,10 +1792,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 289_987_000 picoseconds. - Weight::from_parts(314_957_929, 6085) - // Standard Error: 59 - .saturating_add(Weight::from_parts(49_834, 0).saturating_mul(c.into())) + // Minimum execution time: 350_862_000 picoseconds. + Weight::from_parts(373_723_770, 6085) + // Standard Error: 57 + .saturating_add(Weight::from_parts(50_241, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1811,8 +1813,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_194_000 picoseconds. - Weight::from_parts(46_361_000, 3780) + // Minimum execution time: 45_902_000 picoseconds. + Weight::from_parts(47_318_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1828,8 +1830,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_108_000 picoseconds. - Weight::from_parts(35_973_000, 8967) + // Minimum execution time: 34_636_000 picoseconds. + Weight::from_parts(36_660_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1838,10 +1840,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_838_000 picoseconds. - Weight::from_parts(10_989_743, 0) - // Standard Error: 317 - .saturating_add(Weight::from_parts(309_406, 0).saturating_mul(r.into())) + // Minimum execution time: 9_856_000 picoseconds. + Weight::from_parts(11_801_432, 0) + // Standard Error: 722 + .saturating_add(Weight::from_parts(272_961, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1850,10 +1852,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 10_064_000 picoseconds. - Weight::from_parts(10_177_000, 1467) - // Standard Error: 5_535 - .saturating_add(Weight::from_parts(3_404_837, 0).saturating_mul(r.into())) + // Minimum execution time: 9_842_000 picoseconds. + Weight::from_parts(9_953_000, 1467) + // Standard Error: 5_465 + .saturating_add(Weight::from_parts(3_381_383, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -1864,10 +1866,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 10_080_000 picoseconds. - Weight::from_parts(10_300_000, 1468) - // Standard Error: 5_749 - .saturating_add(Weight::from_parts(4_245_176, 0).saturating_mul(r.into())) + // Minimum execution time: 9_838_000 picoseconds. + Weight::from_parts(10_004_000, 1468) + // Standard Error: 6_253 + .saturating_add(Weight::from_parts(4_265_363, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -1876,50 +1878,50 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_643_000 picoseconds. - Weight::from_parts(10_719_446, 0) - // Standard Error: 220 - .saturating_add(Weight::from_parts(415_814, 0).saturating_mul(r.into())) + // Minimum execution time: 9_906_000 picoseconds. + Weight::from_parts(11_796_471, 0) + // Standard Error: 215 + .saturating_add(Weight::from_parts(373_709, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_375_000 picoseconds. - Weight::from_parts(10_818_204, 0) - // Standard Error: 101 - .saturating_add(Weight::from_parts(121_775, 0).saturating_mul(r.into())) + // Minimum execution time: 9_615_000 picoseconds. + Weight::from_parts(11_428_808, 0) + // Standard Error: 121 + .saturating_add(Weight::from_parts(120_503, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_457_000 picoseconds. - Weight::from_parts(10_170_726, 0) - // Standard Error: 118 - .saturating_add(Weight::from_parts(101_573, 0).saturating_mul(r.into())) + // Minimum execution time: 9_758_000 picoseconds. + Weight::from_parts(11_989_422, 0) + // Standard Error: 134 + .saturating_add(Weight::from_parts(100_586, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_658_000 picoseconds. - Weight::from_parts(10_496_797, 0) - // Standard Error: 244 - .saturating_add(Weight::from_parts(298_371, 0).saturating_mul(r.into())) + // Minimum execution time: 9_643_000 picoseconds. + Weight::from_parts(10_848_288, 0) + // Standard Error: 205 + .saturating_add(Weight::from_parts(266_160, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_441_000 picoseconds. - Weight::from_parts(10_598_689, 0) - // Standard Error: 501 - .saturating_add(Weight::from_parts(341_507, 0).saturating_mul(r.into())) + // Minimum execution time: 9_649_000 picoseconds. + Weight::from_parts(11_330_028, 0) + // Standard Error: 238 + .saturating_add(Weight::from_parts(300_384, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1928,10 +1930,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 9_629_000 picoseconds. - Weight::from_parts(15_870_287, 3599) - // Standard Error: 1_328 - .saturating_add(Weight::from_parts(1_626_732, 0).saturating_mul(r.into())) + // Minimum execution time: 9_796_000 picoseconds. + Weight::from_parts(22_163_236, 3599) + // Standard Error: 1_414 + .saturating_add(Weight::from_parts(1_590_621, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1939,40 +1941,40 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_437_000 picoseconds. - Weight::from_parts(10_487_386, 0) - // Standard Error: 192 - .saturating_add(Weight::from_parts(299_622, 0).saturating_mul(r.into())) + // Minimum execution time: 9_529_000 picoseconds. + Weight::from_parts(10_450_632, 0) + // Standard Error: 196 + .saturating_add(Weight::from_parts(264_524, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_926_000 picoseconds. - Weight::from_parts(11_630_404, 0) - // Standard Error: 357 - .saturating_add(Weight::from_parts(298_517, 0).saturating_mul(r.into())) + // Minimum execution time: 9_810_000 picoseconds. + Weight::from_parts(12_856_446, 0) + // Standard Error: 244 + .saturating_add(Weight::from_parts(264_415, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_990_000 picoseconds. - Weight::from_parts(10_976_382, 0) - // Standard Error: 282 - .saturating_add(Weight::from_parts(296_277, 0).saturating_mul(r.into())) + // Minimum execution time: 9_678_000 picoseconds. + Weight::from_parts(7_255_013, 0) + // Standard Error: 421 + .saturating_add(Weight::from_parts(273_782, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_825_000 picoseconds. - Weight::from_parts(13_974_884, 0) - // Standard Error: 373 - .saturating_add(Weight::from_parts(295_835, 0).saturating_mul(r.into())) + // Minimum execution time: 9_724_000 picoseconds. + Weight::from_parts(9_775_716, 0) + // Standard Error: 228 + .saturating_add(Weight::from_parts(267_375, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1981,10 +1983,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 9_522_000 picoseconds. - Weight::from_parts(18_953_195, 1552) - // Standard Error: 438 - .saturating_add(Weight::from_parts(719_063, 0).saturating_mul(r.into())) + // Minimum execution time: 10_273_000 picoseconds. + Weight::from_parts(18_123_930, 1552) + // Standard Error: 542 + .saturating_add(Weight::from_parts(715_952, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1992,10 +1994,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_645_000 picoseconds. - Weight::from_parts(9_611_342, 0) - // Standard Error: 184 - .saturating_add(Weight::from_parts(211_470, 0).saturating_mul(r.into())) + // Minimum execution time: 9_997_000 picoseconds. + Weight::from_parts(11_202_489, 0) + // Standard Error: 394 + .saturating_add(Weight::from_parts(197_407, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2018,10 +2020,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 277_611_000 picoseconds. - Weight::from_parts(148_355_440, 9287) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(n.into())) + // Minimum execution time: 345_237_000 picoseconds. + Weight::from_parts(220_574_324, 9287) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_431, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2030,20 +2032,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_422_000 picoseconds. - Weight::from_parts(9_849_630, 0) - // Standard Error: 22_039 - .saturating_add(Weight::from_parts(1_783_269, 0).saturating_mul(r.into())) + // Minimum execution time: 9_488_000 picoseconds. + Weight::from_parts(10_223_214, 0) + // Standard Error: 212_236 + .saturating_add(Weight::from_parts(1_346_085, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_417_000 picoseconds. - Weight::from_parts(12_379_749, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(319, 0).saturating_mul(n.into())) + // Minimum execution time: 11_370_000 picoseconds. + Weight::from_parts(10_946_574, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(449, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2072,10 +2074,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 302_056_000 picoseconds. - Weight::from_parts(328_211_412, 13220) - // Standard Error: 747_836 - .saturating_add(Weight::from_parts(246_841_787, 0).saturating_mul(r.into())) + // Minimum execution time: 384_017_000 picoseconds. + Weight::from_parts(398_522_751, 13220) + // Standard Error: 849_795 + .saturating_add(Weight::from_parts(248_209_948, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2089,10 +2091,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_792_000 picoseconds. - Weight::from_parts(13_821_910, 1561) - // Standard Error: 1_079 - .saturating_add(Weight::from_parts(1_201_353, 0).saturating_mul(r.into())) + // Minimum execution time: 9_793_000 picoseconds. + Weight::from_parts(18_133_333, 1561) + // Standard Error: 717 + .saturating_add(Weight::from_parts(1_127_037, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -2100,10 +2102,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_241_000 picoseconds. - Weight::from_parts(17_326_929, 0) - // Standard Error: 1_028 - .saturating_add(Weight::from_parts(1_724_545, 0).saturating_mul(r.into())) + // Minimum execution time: 10_404_000 picoseconds. + Weight::from_parts(15_458_965, 0) + // Standard Error: 912 + .saturating_add(Weight::from_parts(1_749_726, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2113,12 +2115,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 24_408_000 picoseconds. - Weight::from_parts(16_707_087, 990) - // Standard Error: 14_045 - .saturating_add(Weight::from_parts(2_283_515, 0).saturating_mul(t.into())) + // Minimum execution time: 25_713_000 picoseconds. + Weight::from_parts(16_021_409, 990) + // Standard Error: 14_072 + .saturating_add(Weight::from_parts(2_514_166, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(549, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(685, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -2128,20 +2130,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_852_000 picoseconds. - Weight::from_parts(10_388_553, 0) - // Standard Error: 160 - .saturating_add(Weight::from_parts(126_808, 0).saturating_mul(r.into())) + // Minimum execution time: 9_037_000 picoseconds. + Weight::from_parts(9_793_514, 0) + // Standard Error: 126 + .saturating_add(Weight::from_parts(125_336, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_860_000 picoseconds. - Weight::from_parts(13_082_000, 0) + // Minimum execution time: 11_374_000 picoseconds. + Weight::from_parts(11_458_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(993, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_080, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2150,10 +2152,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_776_000 picoseconds. - Weight::from_parts(9_988_000, 105) - // Standard Error: 9_478 - .saturating_add(Weight::from_parts(5_294_633, 0).saturating_mul(r.into())) + // Minimum execution time: 13_585_000 picoseconds. + Weight::from_parts(13_734_000, 105) + // Standard Error: 8_316 + .saturating_add(Weight::from_parts(5_417_818, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2165,10 +2167,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 21_725_000 picoseconds. - Weight::from_parts(22_688_297, 245) - // Standard Error: 4 - .saturating_add(Weight::from_parts(269, 0).saturating_mul(n.into())) + // Minimum execution time: 19_491_000 picoseconds. + Weight::from_parts(20_397_859, 245) + // Standard Error: 2 + .saturating_add(Weight::from_parts(393, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2179,10 +2181,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 21_467_000 picoseconds. - Weight::from_parts(23_007_326, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(75, 0).saturating_mul(n.into())) + // Minimum execution time: 19_419_000 picoseconds. + Weight::from_parts(20_236_323, 248) + // Standard Error: 6 + .saturating_add(Weight::from_parts(270, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2194,10 +2196,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_227_000 picoseconds. - Weight::from_parts(12_332_000, 105) - // Standard Error: 8_261 - .saturating_add(Weight::from_parts(5_201_364, 0).saturating_mul(r.into())) + // Minimum execution time: 12_351_000 picoseconds. + Weight::from_parts(12_453_000, 105) + // Standard Error: 7_943 + .saturating_add(Weight::from_parts(5_330_499, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2209,10 +2211,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_095_000 picoseconds. - Weight::from_parts(20_743_765, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(73, 0).saturating_mul(n.into())) + // Minimum execution time: 19_927_000 picoseconds. + Weight::from_parts(21_504_240, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(58, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2224,10 +2226,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_582_000 picoseconds. - Weight::from_parts(9_774_000, 105) - // Standard Error: 7_429 - .saturating_add(Weight::from_parts(4_641_970, 0).saturating_mul(r.into())) + // Minimum execution time: 9_907_000 picoseconds. + Weight::from_parts(9_977_000, 105) + // Standard Error: 7_023 + .saturating_add(Weight::from_parts(4_595_951, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2238,10 +2240,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_564_000 picoseconds. - Weight::from_parts(20_192_423, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(579, 0).saturating_mul(n.into())) + // Minimum execution time: 18_505_000 picoseconds. + Weight::from_parts(20_120_240, 248) + // Standard Error: 5 + .saturating_add(Weight::from_parts(773, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2252,10 +2254,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_916_000 picoseconds. - Weight::from_parts(10_032_000, 105) - // Standard Error: 6_926 - .saturating_add(Weight::from_parts(4_534_432, 0).saturating_mul(r.into())) + // Minimum execution time: 12_427_000 picoseconds. + Weight::from_parts(12_497_000, 105) + // Standard Error: 7_498 + .saturating_add(Weight::from_parts(4_610_320, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2266,10 +2268,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_166_000 picoseconds. - Weight::from_parts(18_726_777, 248) + // Minimum execution time: 18_048_000 picoseconds. + Weight::from_parts(19_401_077, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2280,10 +2282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_820_000 picoseconds. - Weight::from_parts(10_000_000, 105) - // Standard Error: 8_263 - .saturating_add(Weight::from_parts(5_293_891, 0).saturating_mul(r.into())) + // Minimum execution time: 9_589_000 picoseconds. + Weight::from_parts(9_729_000, 105) + // Standard Error: 7_895 + .saturating_add(Weight::from_parts(5_354_918, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2295,10 +2297,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_799_000 picoseconds. - Weight::from_parts(21_464_196, 248) + // Minimum execution time: 19_717_000 picoseconds. + Weight::from_parts(21_618_248, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(583, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(722, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2310,10 +2312,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_787_000 picoseconds. - Weight::from_parts(215_021_205, 4221) - // Standard Error: 61_183 - .saturating_add(Weight::from_parts(31_781_820, 0).saturating_mul(r.into())) + // Minimum execution time: 9_833_000 picoseconds. + Weight::from_parts(10_072_000, 4221) + // Standard Error: 16_016 + .saturating_add(Weight::from_parts(31_875_419, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2335,10 +2337,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_951_000 picoseconds. - Weight::from_parts(10_091_000, 6463) - // Standard Error: 103_828 - .saturating_add(Weight::from_parts(245_132_000, 0).saturating_mul(r.into())) + // Minimum execution time: 9_845_000 picoseconds. + Weight::from_parts(9_883_000, 6463) + // Standard Error: 113_384 + .saturating_add(Weight::from_parts(311_318_073, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2360,10 +2362,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 9_882_000 picoseconds. - Weight::from_parts(10_050_000, 6447) - // Standard Error: 126_008 - .saturating_add(Weight::from_parts(247_031_345, 0).saturating_mul(r.into())) + // Minimum execution time: 9_627_000 picoseconds. + Weight::from_parts(9_745_000, 6447) + // Standard Error: 181_006 + .saturating_add(Weight::from_parts(311_975_699, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -2386,12 +2388,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 213_460_000 picoseconds. - Weight::from_parts(132_110_724, 6639) - // Standard Error: 2_313_440 - .saturating_add(Weight::from_parts(35_383_845, 0).saturating_mul(t.into())) + // Minimum execution time: 223_316_000 picoseconds. + Weight::from_parts(141_762_966, 6639) + // Standard Error: 2_232_978 + .saturating_add(Weight::from_parts(38_299_122, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(412, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(409, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2417,10 +2419,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 345_243_000 picoseconds. - Weight::from_parts(356_552_000, 6990) - // Standard Error: 249_585 - .saturating_add(Weight::from_parts(334_311_468, 0).saturating_mul(r.into())) + // Minimum execution time: 415_531_000 picoseconds. + Weight::from_parts(418_958_000, 6990) + // Standard Error: 269_541 + .saturating_add(Weight::from_parts(400_051_405, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2448,12 +2450,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_873_266_000 picoseconds. - Weight::from_parts(897_662_429, 6719) + // Minimum execution time: 2_057_595_000 picoseconds. + Weight::from_parts(730_615_236, 6719) + // Standard Error: 12_267_332 + .saturating_add(Weight::from_parts(67_693_660, 0).saturating_mul(t.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_070, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_310, 0).saturating_mul(i.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -2465,120 +2469,120 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_616_000 picoseconds. - Weight::from_parts(10_876_786, 0) - // Standard Error: 203 - .saturating_add(Weight::from_parts(303_854, 0).saturating_mul(r.into())) + // Minimum execution time: 9_432_000 picoseconds. + Weight::from_parts(14_147_590, 0) + // Standard Error: 238 + .saturating_add(Weight::from_parts(281_200, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_958_000 picoseconds. - Weight::from_parts(1_174_936, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_090, 0).saturating_mul(n.into())) + // Minimum execution time: 11_443_000 picoseconds. + Weight::from_parts(1_851_644, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_166, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_029_000 picoseconds. - Weight::from_parts(12_601_313, 0) - // Standard Error: 311 - .saturating_add(Weight::from_parts(713_645, 0).saturating_mul(r.into())) + // Minimum execution time: 9_642_000 picoseconds. + Weight::from_parts(10_156_526, 0) + // Standard Error: 255 + .saturating_add(Weight::from_parts(693_968, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_672_000 picoseconds. - Weight::from_parts(6_165_668, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(3_346, 0).saturating_mul(n.into())) + // Minimum execution time: 12_560_000 picoseconds. + Weight::from_parts(2_938_432, 0) + // Standard Error: 2 + .saturating_add(Weight::from_parts(3_453, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_815_000 picoseconds. - Weight::from_parts(8_240_418, 0) - // Standard Error: 344 - .saturating_add(Weight::from_parts(384_245, 0).saturating_mul(r.into())) + // Minimum execution time: 10_120_000 picoseconds. + Weight::from_parts(11_756_879, 0) + // Standard Error: 238 + .saturating_add(Weight::from_parts(351_115, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_063_000 picoseconds. - Weight::from_parts(4_999_656, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_205, 0).saturating_mul(n.into())) + // Minimum execution time: 11_200_000 picoseconds. + Weight::from_parts(11_296_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_297, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_477_000 picoseconds. - Weight::from_parts(10_830_446, 0) - // Standard Error: 355 - .saturating_add(Weight::from_parts(377_615, 0).saturating_mul(r.into())) + // Minimum execution time: 9_948_000 picoseconds. + Weight::from_parts(10_844_261, 0) + // Standard Error: 198 + .saturating_add(Weight::from_parts(357_189, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_951_000 picoseconds. - Weight::from_parts(5_354_664, 0) + // Minimum execution time: 11_400_000 picoseconds. + Weight::from_parts(2_040_236, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_201, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_296, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 54_729_000 picoseconds. - Weight::from_parts(55_863_109, 0) - // Standard Error: 7 - .saturating_add(Weight::from_parts(4_682, 0).saturating_mul(n.into())) + // Minimum execution time: 55_005_000 picoseconds. + Weight::from_parts(55_932_187, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(4_650, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_517_000 picoseconds. - Weight::from_parts(24_734_678, 0) - // Standard Error: 7_171 - .saturating_add(Weight::from_parts(41_484_866, 0).saturating_mul(r.into())) + // Minimum execution time: 9_697_000 picoseconds. + Weight::from_parts(24_691_449, 0) + // Standard Error: 8_061 + .saturating_add(Weight::from_parts(41_200_666, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_667_000 picoseconds. - Weight::from_parts(31_884_554, 0) - // Standard Error: 9_650 - .saturating_add(Weight::from_parts(45_547_687, 0).saturating_mul(r.into())) + // Minimum execution time: 10_358_000 picoseconds. + Weight::from_parts(31_972_096, 0) + // Standard Error: 10_291 + .saturating_add(Weight::from_parts(45_562_373, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_870_000 picoseconds. - Weight::from_parts(13_204_331, 0) - // Standard Error: 3_662 - .saturating_add(Weight::from_parts(11_667_079, 0).saturating_mul(r.into())) + // Minimum execution time: 9_940_000 picoseconds. + Weight::from_parts(13_444_209, 0) + // Standard Error: 3_727 + .saturating_add(Weight::from_parts(11_637_403, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -2592,11 +2596,11 @@ impl WeightInfo for () { fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` - // Estimated: `8969 + r * (3047 ±10)` - // Minimum execution time: 9_798_000 picoseconds. - Weight::from_parts(9_917_000, 8969) - // Standard Error: 56_746 - .saturating_add(Weight::from_parts(25_513_940, 0).saturating_mul(r.into())) + // Estimated: `8969 + r * (3047 ±7)` + // Minimum execution time: 9_747_000 picoseconds. + Weight::from_parts(9_857_000, 8969) + // Standard Error: 64_952 + .saturating_add(Weight::from_parts(25_745_007, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -2608,10 +2612,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_555_000 picoseconds. - Weight::from_parts(15_732_043, 1265) - // Standard Error: 10_498 - .saturating_add(Weight::from_parts(5_107_287, 0).saturating_mul(r.into())) + // Minimum execution time: 9_694_000 picoseconds. + Weight::from_parts(15_031_932, 1265) + // Standard Error: 10_992 + .saturating_add(Weight::from_parts(5_224_025, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -2623,10 +2627,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 9_666_000 picoseconds. - Weight::from_parts(16_231_458, 990) - // Standard Error: 10_346 - .saturating_add(Weight::from_parts(4_277_196, 0).saturating_mul(r.into())) + // Minimum execution time: 9_767_000 picoseconds. + Weight::from_parts(16_476_492, 990) + // Standard Error: 10_241 + .saturating_add(Weight::from_parts(4_309_087, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -2652,10 +2656,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 272_550_000 picoseconds. - Weight::from_parts(285_610_630, 9282) - // Standard Error: 649 - .saturating_add(Weight::from_parts(173_851, 0).saturating_mul(r.into())) + // Minimum execution time: 342_035_000 picoseconds. + Weight::from_parts(354_743_675, 9282) + // Standard Error: 354 + .saturating_add(Weight::from_parts(203_215, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2665,10 +2669,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_632_000 picoseconds. - Weight::from_parts(13_425_976, 0) - // Standard Error: 262 - .saturating_add(Weight::from_parts(122_132, 0).saturating_mul(r.into())) + // Minimum execution time: 10_010_000 picoseconds. + Weight::from_parts(12_706_658, 0) + // Standard Error: 276 + .saturating_add(Weight::from_parts(124_271, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2677,10 +2681,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 10_040_000 picoseconds. - Weight::from_parts(14_336_410, 1704) - // Standard Error: 121 - .saturating_add(Weight::from_parts(94_796, 0).saturating_mul(r.into())) + // Minimum execution time: 9_482_000 picoseconds. + Weight::from_parts(13_711_878, 1704) + // Standard Error: 109 + .saturating_add(Weight::from_parts(95_071, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -2688,9 +2692,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 885_000 picoseconds. - Weight::from_parts(886_082, 0) - // Standard Error: 13 - .saturating_add(Weight::from_parts(6_087, 0).saturating_mul(r.into())) + // Minimum execution time: 882_000 picoseconds. + Weight::from_parts(781_769, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(5_970, 0).saturating_mul(r.into())) } } From 1f6f926e3a5cf5d3fbec4d185601c753c74a4ddd Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Tue, 16 Apr 2024 06:50:24 +0000 Subject: [PATCH 11/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 1222 +++++++++++----------- 1 file changed, 611 insertions(+), 611 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 4f2d9c3b3f07..e5c98176b491 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -143,8 +143,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_076_000 picoseconds. - Weight::from_parts(2_240_000, 1627) + // Minimum execution time: 2_040_000 picoseconds. + Weight::from_parts(2_154_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -154,10 +154,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_452_000 picoseconds. - Weight::from_parts(12_931_000, 442) - // Standard Error: 1_895 - .saturating_add(Weight::from_parts(1_161_646, 0).saturating_mul(k.into())) + // Minimum execution time: 12_228_000 picoseconds. + Weight::from_parts(1_088_165, 442) + // Standard Error: 1_289 + .saturating_add(Weight::from_parts(1_107_386, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -171,10 +171,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_317_000 picoseconds. - Weight::from_parts(8_515_825, 6149) + // Minimum execution time: 8_264_000 picoseconds. + Weight::from_parts(8_817_005, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_232, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -187,8 +187,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_120_000 picoseconds. - Weight::from_parts(17_862_000, 6450) + // Minimum execution time: 16_650_000 picoseconds. + Weight::from_parts(17_398_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -201,10 +201,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_638_000 picoseconds. - Weight::from_parts(3_777_000, 3635) - // Standard Error: 1_039 - .saturating_add(Weight::from_parts(1_250_800, 0).saturating_mul(k.into())) + // Minimum execution time: 3_450_000 picoseconds. + Weight::from_parts(3_533_000, 3635) + // Standard Error: 1_147 + .saturating_add(Weight::from_parts(1_234_057, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -225,10 +225,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_929_000 picoseconds. - Weight::from_parts(21_470_314, 6266) - // Standard Error: 0 - .saturating_add(Weight::from_parts(488, 0).saturating_mul(c.into())) + // Minimum execution time: 20_317_000 picoseconds. + Weight::from_parts(20_643_090, 6266) + // Standard Error: 1 + .saturating_add(Weight::from_parts(416, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -239,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_872_000 picoseconds. - Weight::from_parts(13_453_000, 6380) + // Minimum execution time: 12_905_000 picoseconds. + Weight::from_parts(13_480_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -254,8 +254,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_734_000 picoseconds. - Weight::from_parts(49_152_000, 6292) + // Minimum execution time: 47_938_000 picoseconds. + Weight::from_parts(48_946_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -267,8 +267,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_366_000 picoseconds. - Weight::from_parts(57_758_000, 6534) + // Minimum execution time: 53_259_000 picoseconds. + Weight::from_parts(59_290_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -278,8 +278,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_057_000 picoseconds. - Weight::from_parts(12_646_000, 6349) + // Minimum execution time: 12_094_000 picoseconds. + Weight::from_parts(12_763_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -289,8 +289,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_560_000 picoseconds. - Weight::from_parts(2_824_000, 1627) + // Minimum execution time: 2_384_000 picoseconds. + Weight::from_parts(2_538_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -302,8 +302,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_044_000 picoseconds. - Weight::from_parts(12_587_000, 3631) + // Minimum execution time: 12_027_000 picoseconds. + Weight::from_parts(12_419_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -313,8 +313,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_928_000 picoseconds. - Weight::from_parts(5_248_000, 3607) + // Minimum execution time: 4_583_000 picoseconds. + Weight::from_parts(4_990_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -325,8 +325,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_987_000 picoseconds. - Weight::from_parts(6_508_000, 3632) + // Minimum execution time: 6_081_000 picoseconds. + Weight::from_parts(6_304_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -337,8 +337,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_410_000 picoseconds. - Weight::from_parts(6_766_000, 3607) + // Minimum execution time: 5_650_000 picoseconds. + Weight::from_parts(6_223_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -363,10 +363,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 371_960_000 picoseconds. - Weight::from_parts(382_489_905, 9217) - // Standard Error: 25 - .saturating_add(Weight::from_parts(49_142, 0).saturating_mul(c.into())) + // Minimum execution time: 294_194_000 picoseconds. + Weight::from_parts(321_250_049, 9217) + // Standard Error: 38 + .saturating_add(Weight::from_parts(47_947, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -398,14 +398,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 4_379_374_000 picoseconds. - Weight::from_parts(693_980_797, 8740) - // Standard Error: 113 - .saturating_add(Weight::from_parts(98_822, 0).saturating_mul(c.into())) + // Minimum execution time: 3_763_146_000 picoseconds. + Weight::from_parts(634_981_646, 8740) + // Standard Error: 110 + .saturating_add(Weight::from_parts(97_012, 0).saturating_mul(c.into())) // Standard Error: 13 - .saturating_add(Weight::from_parts(1_839, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_596, 0).saturating_mul(i.into())) // Standard Error: 13 - .saturating_add(Weight::from_parts(1_946, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_575, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -435,12 +435,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 2_128_156_000 picoseconds. - Weight::from_parts(2_154_051_000, 8982) - // Standard Error: 28 - .saturating_add(Weight::from_parts(945, 0).saturating_mul(i.into())) - // Standard Error: 28 - .saturating_add(Weight::from_parts(826, 0).saturating_mul(s.into())) + // Minimum execution time: 1_982_327_000 picoseconds. + Weight::from_parts(2_026_213_000, 8982) + // Standard Error: 26 + .saturating_add(Weight::from_parts(796, 0).saturating_mul(i.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(773, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -464,8 +464,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 212_183_000 picoseconds. - Weight::from_parts(221_942_000, 9244) + // Minimum execution time: 209_657_000 picoseconds. + Weight::from_parts(217_870_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -486,10 +486,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 336_867_000 picoseconds. - Weight::from_parts(362_338_000, 6085) - // Standard Error: 53 - .saturating_add(Weight::from_parts(49_716, 0).saturating_mul(c.into())) + // Minimum execution time: 278_613_000 picoseconds. + Weight::from_parts(304_635_021, 6085) + // Standard Error: 49 + .saturating_add(Weight::from_parts(48_456, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -510,10 +510,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 350_862_000 picoseconds. - Weight::from_parts(373_723_770, 6085) - // Standard Error: 57 - .saturating_add(Weight::from_parts(50_241, 0).saturating_mul(c.into())) + // Minimum execution time: 295_673_000 picoseconds. + Weight::from_parts(320_984_787, 6085) + // Standard Error: 42 + .saturating_add(Weight::from_parts(48_592, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -531,8 +531,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_902_000 picoseconds. - Weight::from_parts(47_318_000, 3780) + // Minimum execution time: 45_969_000 picoseconds. + Weight::from_parts(47_379_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -548,8 +548,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_636_000 picoseconds. - Weight::from_parts(36_660_000, 8967) + // Minimum execution time: 34_213_000 picoseconds. + Weight::from_parts(35_898_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -558,10 +558,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_856_000 picoseconds. - Weight::from_parts(11_801_432, 0) - // Standard Error: 722 - .saturating_add(Weight::from_parts(272_961, 0).saturating_mul(r.into())) + // Minimum execution time: 9_836_000 picoseconds. + Weight::from_parts(6_729_780, 0) + // Standard Error: 431 + .saturating_add(Weight::from_parts(285_812, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -570,10 +570,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 9_842_000 picoseconds. - Weight::from_parts(9_953_000, 1467) - // Standard Error: 5_465 - .saturating_add(Weight::from_parts(3_381_383, 0).saturating_mul(r.into())) + // Minimum execution time: 9_897_000 picoseconds. + Weight::from_parts(10_068_000, 1467) + // Standard Error: 5_448 + .saturating_add(Weight::from_parts(3_358_121, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -584,10 +584,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 9_838_000 picoseconds. - Weight::from_parts(10_004_000, 1468) - // Standard Error: 6_253 - .saturating_add(Weight::from_parts(4_265_363, 0).saturating_mul(r.into())) + // Minimum execution time: 9_716_000 picoseconds. + Weight::from_parts(9_964_000, 1468) + // Standard Error: 5_910 + .saturating_add(Weight::from_parts(4_165_143, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -596,50 +596,50 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_906_000 picoseconds. - Weight::from_parts(11_796_471, 0) - // Standard Error: 215 - .saturating_add(Weight::from_parts(373_709, 0).saturating_mul(r.into())) + // Minimum execution time: 9_888_000 picoseconds. + Weight::from_parts(11_185_390, 0) + // Standard Error: 175 + .saturating_add(Weight::from_parts(375_272, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_615_000 picoseconds. - Weight::from_parts(11_428_808, 0) - // Standard Error: 121 - .saturating_add(Weight::from_parts(120_503, 0).saturating_mul(r.into())) + // Minimum execution time: 9_853_000 picoseconds. + Weight::from_parts(11_272_162, 0) + // Standard Error: 116 + .saturating_add(Weight::from_parts(125_796, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_758_000 picoseconds. - Weight::from_parts(11_989_422, 0) - // Standard Error: 134 - .saturating_add(Weight::from_parts(100_586, 0).saturating_mul(r.into())) + // Minimum execution time: 9_703_000 picoseconds. + Weight::from_parts(10_977_909, 0) + // Standard Error: 101 + .saturating_add(Weight::from_parts(106_272, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_643_000 picoseconds. - Weight::from_parts(10_848_288, 0) - // Standard Error: 205 - .saturating_add(Weight::from_parts(266_160, 0).saturating_mul(r.into())) + // Minimum execution time: 9_860_000 picoseconds. + Weight::from_parts(11_364_395, 0) + // Standard Error: 225 + .saturating_add(Weight::from_parts(276_985, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_649_000 picoseconds. - Weight::from_parts(11_330_028, 0) - // Standard Error: 238 - .saturating_add(Weight::from_parts(300_384, 0).saturating_mul(r.into())) + // Minimum execution time: 9_753_000 picoseconds. + Weight::from_parts(11_377_680, 0) + // Standard Error: 215 + .saturating_add(Weight::from_parts(311_505, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -648,10 +648,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 9_796_000 picoseconds. - Weight::from_parts(22_163_236, 3599) - // Standard Error: 1_414 - .saturating_add(Weight::from_parts(1_590_621, 0).saturating_mul(r.into())) + // Minimum execution time: 9_739_000 picoseconds. + Weight::from_parts(19_000_879, 3599) + // Standard Error: 612 + .saturating_add(Weight::from_parts(1_621_399, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -659,40 +659,40 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_529_000 picoseconds. - Weight::from_parts(10_450_632, 0) - // Standard Error: 196 - .saturating_add(Weight::from_parts(264_524, 0).saturating_mul(r.into())) + // Minimum execution time: 9_818_000 picoseconds. + Weight::from_parts(4_840_591, 0) + // Standard Error: 982 + .saturating_add(Weight::from_parts(283_975, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_810_000 picoseconds. - Weight::from_parts(12_856_446, 0) - // Standard Error: 244 - .saturating_add(Weight::from_parts(264_415, 0).saturating_mul(r.into())) + // Minimum execution time: 10_519_000 picoseconds. + Weight::from_parts(20_653_510, 0) + // Standard Error: 673 + .saturating_add(Weight::from_parts(262_703, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_678_000 picoseconds. - Weight::from_parts(7_255_013, 0) - // Standard Error: 421 - .saturating_add(Weight::from_parts(273_782, 0).saturating_mul(r.into())) + // Minimum execution time: 9_961_000 picoseconds. + Weight::from_parts(11_672_658, 0) + // Standard Error: 219 + .saturating_add(Weight::from_parts(260_007, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_724_000 picoseconds. - Weight::from_parts(9_775_716, 0) - // Standard Error: 228 - .saturating_add(Weight::from_parts(267_375, 0).saturating_mul(r.into())) + // Minimum execution time: 9_611_000 picoseconds. + Weight::from_parts(10_945_212, 0) + // Standard Error: 180 + .saturating_add(Weight::from_parts(262_325, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -701,10 +701,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 10_273_000 picoseconds. - Weight::from_parts(18_123_930, 1552) - // Standard Error: 542 - .saturating_add(Weight::from_parts(715_952, 0).saturating_mul(r.into())) + // Minimum execution time: 9_557_000 picoseconds. + Weight::from_parts(20_960_273, 1552) + // Standard Error: 978 + .saturating_add(Weight::from_parts(715_170, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -712,10 +712,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_997_000 picoseconds. - Weight::from_parts(11_202_489, 0) - // Standard Error: 394 - .saturating_add(Weight::from_parts(197_407, 0).saturating_mul(r.into())) + // Minimum execution time: 9_879_000 picoseconds. + Weight::from_parts(13_381_450, 0) + // Standard Error: 312 + .saturating_add(Weight::from_parts(202_559, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -738,10 +738,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 345_237_000 picoseconds. - Weight::from_parts(220_574_324, 9287) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_431, 0).saturating_mul(n.into())) + // Minimum execution time: 274_897_000 picoseconds. + Weight::from_parts(147_953_733, 9287) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_358, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -750,20 +750,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_488_000 picoseconds. - Weight::from_parts(10_223_214, 0) - // Standard Error: 212_236 - .saturating_add(Weight::from_parts(1_346_085, 0).saturating_mul(r.into())) + // Minimum execution time: 9_484_000 picoseconds. + Weight::from_parts(10_040_536, 0) + // Standard Error: 21_790 + .saturating_add(Weight::from_parts(3_299_763, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_370_000 picoseconds. - Weight::from_parts(10_946_574, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(449, 0).saturating_mul(n.into())) + // Minimum execution time: 13_077_000 picoseconds. + Weight::from_parts(14_577_767, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(327, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -792,10 +792,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 384_017_000 picoseconds. - Weight::from_parts(398_522_751, 13220) - // Standard Error: 849_795 - .saturating_add(Weight::from_parts(248_209_948, 0).saturating_mul(r.into())) + // Minimum execution time: 303_942_000 picoseconds. + Weight::from_parts(331_394_259, 13220) + // Standard Error: 796_614 + .saturating_add(Weight::from_parts(248_399_740, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -809,10 +809,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_793_000 picoseconds. - Weight::from_parts(18_133_333, 1561) - // Standard Error: 717 - .saturating_add(Weight::from_parts(1_127_037, 0).saturating_mul(r.into())) + // Minimum execution time: 9_815_000 picoseconds. + Weight::from_parts(18_868_774, 1561) + // Standard Error: 580 + .saturating_add(Weight::from_parts(1_136_548, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -820,10 +820,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_404_000 picoseconds. - Weight::from_parts(15_458_965, 0) - // Standard Error: 912 - .saturating_add(Weight::from_parts(1_749_726, 0).saturating_mul(r.into())) + // Minimum execution time: 9_797_000 picoseconds. + Weight::from_parts(11_826_779, 0) + // Standard Error: 3_027 + .saturating_add(Weight::from_parts(1_834_831, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -833,12 +833,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 25_713_000 picoseconds. - Weight::from_parts(16_021_409, 990) - // Standard Error: 14_072 - .saturating_add(Weight::from_parts(2_514_166, 0).saturating_mul(t.into())) + // Minimum execution time: 24_943_000 picoseconds. + Weight::from_parts(16_068_581, 990) + // Standard Error: 13_421 + .saturating_add(Weight::from_parts(2_567_301, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(685, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(620, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -848,20 +848,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_037_000 picoseconds. - Weight::from_parts(9_793_514, 0) - // Standard Error: 126 - .saturating_add(Weight::from_parts(125_336, 0).saturating_mul(r.into())) + // Minimum execution time: 9_492_000 picoseconds. + Weight::from_parts(11_327_383, 0) + // Standard Error: 100 + .saturating_add(Weight::from_parts(123_827, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_374_000 picoseconds. - Weight::from_parts(11_458_000, 0) + // Minimum execution time: 11_263_000 picoseconds. + Weight::from_parts(11_475_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_080, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(991, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -870,10 +870,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 13_585_000 picoseconds. - Weight::from_parts(13_734_000, 105) - // Standard Error: 8_316 - .saturating_add(Weight::from_parts(5_417_818, 0).saturating_mul(r.into())) + // Minimum execution time: 10_756_000 picoseconds. + Weight::from_parts(11_005_000, 105) + // Standard Error: 8_248 + .saturating_add(Weight::from_parts(5_274_605, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -885,10 +885,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 19_491_000 picoseconds. - Weight::from_parts(20_397_859, 245) + // Minimum execution time: 18_996_000 picoseconds. + Weight::from_parts(19_928_634, 245) // Standard Error: 2 - .saturating_add(Weight::from_parts(393, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -899,10 +899,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_419_000 picoseconds. - Weight::from_parts(20_236_323, 248) - // Standard Error: 6 - .saturating_add(Weight::from_parts(270, 0).saturating_mul(n.into())) + // Minimum execution time: 19_119_000 picoseconds. + Weight::from_parts(20_822_703, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(71, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -914,10 +914,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_351_000 picoseconds. - Weight::from_parts(12_453_000, 105) - // Standard Error: 7_943 - .saturating_add(Weight::from_parts(5_330_499, 0).saturating_mul(r.into())) + // Minimum execution time: 10_225_000 picoseconds. + Weight::from_parts(10_378_000, 105) + // Standard Error: 8_128 + .saturating_add(Weight::from_parts(5_252_144, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -929,10 +929,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_927_000 picoseconds. - Weight::from_parts(21_504_240, 248) + // Minimum execution time: 19_543_000 picoseconds. + Weight::from_parts(21_080_627, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(58, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(41, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -944,10 +944,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_907_000 picoseconds. - Weight::from_parts(9_977_000, 105) - // Standard Error: 7_023 - .saturating_add(Weight::from_parts(4_595_951, 0).saturating_mul(r.into())) + // Minimum execution time: 9_690_000 picoseconds. + Weight::from_parts(9_841_000, 105) + // Standard Error: 6_993 + .saturating_add(Weight::from_parts(4_584_543, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -958,10 +958,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_505_000 picoseconds. - Weight::from_parts(20_120_240, 248) - // Standard Error: 5 - .saturating_add(Weight::from_parts(773, 0).saturating_mul(n.into())) + // Minimum execution time: 18_235_000 picoseconds. + Weight::from_parts(20_179_164, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(608, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -972,10 +972,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_427_000 picoseconds. - Weight::from_parts(12_497_000, 105) - // Standard Error: 7_498 - .saturating_add(Weight::from_parts(4_610_320, 0).saturating_mul(r.into())) + // Minimum execution time: 9_485_000 picoseconds. + Weight::from_parts(9_860_000, 105) + // Standard Error: 6_852 + .saturating_add(Weight::from_parts(4_481_549, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -986,10 +986,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_048_000 picoseconds. - Weight::from_parts(19_401_077, 248) + // Minimum execution time: 18_793_000 picoseconds. + Weight::from_parts(20_247_197, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(75, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1000,10 +1000,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_589_000 picoseconds. - Weight::from_parts(9_729_000, 105) - // Standard Error: 7_895 - .saturating_add(Weight::from_parts(5_354_918, 0).saturating_mul(r.into())) + // Minimum execution time: 10_446_000 picoseconds. + Weight::from_parts(10_790_000, 105) + // Standard Error: 8_225 + .saturating_add(Weight::from_parts(5_312_971, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -1015,10 +1015,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_717_000 picoseconds. - Weight::from_parts(21_618_248, 248) + // Minimum execution time: 19_669_000 picoseconds. + Weight::from_parts(21_209_876, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(722, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(637, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1030,10 +1030,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_833_000 picoseconds. - Weight::from_parts(10_072_000, 4221) - // Standard Error: 16_016 - .saturating_add(Weight::from_parts(31_875_419, 0).saturating_mul(r.into())) + // Minimum execution time: 9_864_000 picoseconds. + Weight::from_parts(29_557_038, 4221) + // Standard Error: 24_536 + .saturating_add(Weight::from_parts(33_976_120, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -1055,10 +1055,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_845_000 picoseconds. - Weight::from_parts(9_883_000, 6463) - // Standard Error: 113_384 - .saturating_add(Weight::from_parts(311_318_073, 0).saturating_mul(r.into())) + // Minimum execution time: 9_563_000 picoseconds. + Weight::from_parts(9_852_000, 6463) + // Standard Error: 103_149 + .saturating_add(Weight::from_parts(246_761_439, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1080,10 +1080,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 9_627_000 picoseconds. - Weight::from_parts(9_745_000, 6447) - // Standard Error: 181_006 - .saturating_add(Weight::from_parts(311_975_699, 0).saturating_mul(r.into())) + // Minimum execution time: 9_943_000 picoseconds. + Weight::from_parts(10_075_000, 6447) + // Standard Error: 220_306 + .saturating_add(Weight::from_parts(249_949_822, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -1106,12 +1106,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 223_316_000 picoseconds. - Weight::from_parts(141_762_966, 6639) - // Standard Error: 2_232_978 - .saturating_add(Weight::from_parts(38_299_122, 0).saturating_mul(t.into())) + // Minimum execution time: 222_574_000 picoseconds. + Weight::from_parts(131_232_657, 6639) + // Standard Error: 2_496_913 + .saturating_add(Weight::from_parts(37_827_621, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(409, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(418, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1137,10 +1137,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 415_531_000 picoseconds. - Weight::from_parts(418_958_000, 6990) - // Standard Error: 269_541 - .saturating_add(Weight::from_parts(400_051_405, 0).saturating_mul(r.into())) + // Minimum execution time: 368_275_000 picoseconds. + Weight::from_parts(378_240_000, 6990) + // Standard Error: 223_406 + .saturating_add(Weight::from_parts(337_644_520, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1168,14 +1168,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 2_057_595_000 picoseconds. - Weight::from_parts(730_615_236, 6719) - // Standard Error: 12_267_332 - .saturating_add(Weight::from_parts(67_693_660, 0).saturating_mul(t.into())) + // Minimum execution time: 1_848_420_000 picoseconds. + Weight::from_parts(844_550_091, 6719) + // Standard Error: 12_255_150 + .saturating_add(Weight::from_parts(33_813_802, 0).saturating_mul(t.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_310, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_068, 0).saturating_mul(i.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_212, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -1187,120 +1187,120 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_432_000 picoseconds. - Weight::from_parts(14_147_590, 0) - // Standard Error: 238 - .saturating_add(Weight::from_parts(281_200, 0).saturating_mul(r.into())) + // Minimum execution time: 9_527_000 picoseconds. + Weight::from_parts(13_019_634, 0) + // Standard Error: 227 + .saturating_add(Weight::from_parts(284_676, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_443_000 picoseconds. - Weight::from_parts(1_851_644, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_166, 0).saturating_mul(n.into())) + // Minimum execution time: 11_576_000 picoseconds. + Weight::from_parts(2_663_735, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_077, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_642_000 picoseconds. - Weight::from_parts(10_156_526, 0) - // Standard Error: 255 - .saturating_add(Weight::from_parts(693_968, 0).saturating_mul(r.into())) + // Minimum execution time: 9_373_000 picoseconds. + Weight::from_parts(14_002_934, 0) + // Standard Error: 359 + .saturating_add(Weight::from_parts(694_083, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_560_000 picoseconds. - Weight::from_parts(2_938_432, 0) - // Standard Error: 2 - .saturating_add(Weight::from_parts(3_453, 0).saturating_mul(n.into())) + // Minimum execution time: 12_374_000 picoseconds. + Weight::from_parts(9_777_874, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_338, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_120_000 picoseconds. - Weight::from_parts(11_756_879, 0) - // Standard Error: 238 - .saturating_add(Weight::from_parts(351_115, 0).saturating_mul(r.into())) + // Minimum execution time: 9_731_000 picoseconds. + Weight::from_parts(11_110_277, 0) + // Standard Error: 202 + .saturating_add(Weight::from_parts(355_154, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_200_000 picoseconds. - Weight::from_parts(11_296_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_297, 0).saturating_mul(n.into())) + // Minimum execution time: 11_542_000 picoseconds. + Weight::from_parts(2_985_421, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_214, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_948_000 picoseconds. - Weight::from_parts(10_844_261, 0) - // Standard Error: 198 - .saturating_add(Weight::from_parts(357_189, 0).saturating_mul(r.into())) + // Minimum execution time: 9_780_000 picoseconds. + Weight::from_parts(13_427_823, 0) + // Standard Error: 294 + .saturating_add(Weight::from_parts(354_980, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_400_000 picoseconds. - Weight::from_parts(2_040_236, 0) + // Minimum execution time: 11_488_000 picoseconds. + Weight::from_parts(4_936_289, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_296, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 55_005_000 picoseconds. - Weight::from_parts(55_932_187, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_650, 0).saturating_mul(n.into())) + // Minimum execution time: 59_095_000 picoseconds. + Weight::from_parts(58_651_031, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(4_829, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_697_000 picoseconds. - Weight::from_parts(24_691_449, 0) - // Standard Error: 8_061 - .saturating_add(Weight::from_parts(41_200_666, 0).saturating_mul(r.into())) + // Minimum execution time: 9_595_000 picoseconds. + Weight::from_parts(16_139_816, 0) + // Standard Error: 5_894 + .saturating_add(Weight::from_parts(47_150_705, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_358_000 picoseconds. - Weight::from_parts(31_972_096, 0) - // Standard Error: 10_291 - .saturating_add(Weight::from_parts(45_562_373, 0).saturating_mul(r.into())) + // Minimum execution time: 9_853_000 picoseconds. + Weight::from_parts(27_111_900, 0) + // Standard Error: 8_648 + .saturating_add(Weight::from_parts(45_467_214, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_940_000 picoseconds. - Weight::from_parts(13_444_209, 0) - // Standard Error: 3_727 - .saturating_add(Weight::from_parts(11_637_403, 0).saturating_mul(r.into())) + // Minimum execution time: 9_914_000 picoseconds. + Weight::from_parts(13_012_553, 0) + // Standard Error: 2_950 + .saturating_add(Weight::from_parts(11_592_748, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1315,10 +1315,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` // Estimated: `8969 + r * (3047 ±7)` - // Minimum execution time: 9_747_000 picoseconds. - Weight::from_parts(9_857_000, 8969) - // Standard Error: 64_952 - .saturating_add(Weight::from_parts(25_745_007, 0).saturating_mul(r.into())) + // Minimum execution time: 9_709_000 picoseconds. + Weight::from_parts(9_847_000, 8969) + // Standard Error: 42_017 + .saturating_add(Weight::from_parts(25_313_072, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -1330,10 +1330,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_694_000 picoseconds. - Weight::from_parts(15_031_932, 1265) - // Standard Error: 10_992 - .saturating_add(Weight::from_parts(5_224_025, 0).saturating_mul(r.into())) + // Minimum execution time: 9_848_000 picoseconds. + Weight::from_parts(16_060_512, 1265) + // Standard Error: 9_491 + .saturating_add(Weight::from_parts(5_064_579, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -1345,10 +1345,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 9_767_000 picoseconds. - Weight::from_parts(16_476_492, 990) - // Standard Error: 10_241 - .saturating_add(Weight::from_parts(4_309_087, 0).saturating_mul(r.into())) + // Minimum execution time: 9_797_000 picoseconds. + Weight::from_parts(15_895_513, 990) + // Standard Error: 9_548 + .saturating_add(Weight::from_parts(4_258_134, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -1374,10 +1374,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 342_035_000 picoseconds. - Weight::from_parts(354_743_675, 9282) - // Standard Error: 354 - .saturating_add(Weight::from_parts(203_215, 0).saturating_mul(r.into())) + // Minimum execution time: 288_153_000 picoseconds. + Weight::from_parts(296_734_578, 9282) + // Standard Error: 472 + .saturating_add(Weight::from_parts(195_857, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1387,10 +1387,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_010_000 picoseconds. - Weight::from_parts(12_706_658, 0) - // Standard Error: 276 - .saturating_add(Weight::from_parts(124_271, 0).saturating_mul(r.into())) + // Minimum execution time: 9_680_000 picoseconds. + Weight::from_parts(13_228_547, 0) + // Standard Error: 134 + .saturating_add(Weight::from_parts(114_161, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1399,10 +1399,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 9_482_000 picoseconds. - Weight::from_parts(13_711_878, 1704) - // Standard Error: 109 - .saturating_add(Weight::from_parts(95_071, 0).saturating_mul(r.into())) + // Minimum execution time: 9_627_000 picoseconds. + Weight::from_parts(13_975_662, 1704) + // Standard Error: 88 + .saturating_add(Weight::from_parts(94_325, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1410,10 +1410,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 882_000 picoseconds. - Weight::from_parts(781_769, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(5_970, 0).saturating_mul(r.into())) + // Minimum execution time: 989_000 picoseconds. + Weight::from_parts(1_003_527, 0) + // Standard Error: 17 + .saturating_add(Weight::from_parts(6_132, 0).saturating_mul(r.into())) } } @@ -1425,8 +1425,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_076_000 picoseconds. - Weight::from_parts(2_240_000, 1627) + // Minimum execution time: 2_040_000 picoseconds. + Weight::from_parts(2_154_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1436,10 +1436,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_452_000 picoseconds. - Weight::from_parts(12_931_000, 442) - // Standard Error: 1_895 - .saturating_add(Weight::from_parts(1_161_646, 0).saturating_mul(k.into())) + // Minimum execution time: 12_228_000 picoseconds. + Weight::from_parts(1_088_165, 442) + // Standard Error: 1_289 + .saturating_add(Weight::from_parts(1_107_386, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1453,10 +1453,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_317_000 picoseconds. - Weight::from_parts(8_515_825, 6149) + // Minimum execution time: 8_264_000 picoseconds. + Weight::from_parts(8_817_005, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_232, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1469,8 +1469,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_120_000 picoseconds. - Weight::from_parts(17_862_000, 6450) + // Minimum execution time: 16_650_000 picoseconds. + Weight::from_parts(17_398_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1483,10 +1483,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_638_000 picoseconds. - Weight::from_parts(3_777_000, 3635) - // Standard Error: 1_039 - .saturating_add(Weight::from_parts(1_250_800, 0).saturating_mul(k.into())) + // Minimum execution time: 3_450_000 picoseconds. + Weight::from_parts(3_533_000, 3635) + // Standard Error: 1_147 + .saturating_add(Weight::from_parts(1_234_057, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1507,10 +1507,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_929_000 picoseconds. - Weight::from_parts(21_470_314, 6266) - // Standard Error: 0 - .saturating_add(Weight::from_parts(488, 0).saturating_mul(c.into())) + // Minimum execution time: 20_317_000 picoseconds. + Weight::from_parts(20_643_090, 6266) + // Standard Error: 1 + .saturating_add(Weight::from_parts(416, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1521,8 +1521,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_872_000 picoseconds. - Weight::from_parts(13_453_000, 6380) + // Minimum execution time: 12_905_000 picoseconds. + Weight::from_parts(13_480_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1536,8 +1536,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_734_000 picoseconds. - Weight::from_parts(49_152_000, 6292) + // Minimum execution time: 47_938_000 picoseconds. + Weight::from_parts(48_946_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1549,8 +1549,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_366_000 picoseconds. - Weight::from_parts(57_758_000, 6534) + // Minimum execution time: 53_259_000 picoseconds. + Weight::from_parts(59_290_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1560,8 +1560,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_057_000 picoseconds. - Weight::from_parts(12_646_000, 6349) + // Minimum execution time: 12_094_000 picoseconds. + Weight::from_parts(12_763_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1571,8 +1571,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_560_000 picoseconds. - Weight::from_parts(2_824_000, 1627) + // Minimum execution time: 2_384_000 picoseconds. + Weight::from_parts(2_538_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1584,8 +1584,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_044_000 picoseconds. - Weight::from_parts(12_587_000, 3631) + // Minimum execution time: 12_027_000 picoseconds. + Weight::from_parts(12_419_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1595,8 +1595,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_928_000 picoseconds. - Weight::from_parts(5_248_000, 3607) + // Minimum execution time: 4_583_000 picoseconds. + Weight::from_parts(4_990_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1607,8 +1607,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_987_000 picoseconds. - Weight::from_parts(6_508_000, 3632) + // Minimum execution time: 6_081_000 picoseconds. + Weight::from_parts(6_304_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1619,8 +1619,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_410_000 picoseconds. - Weight::from_parts(6_766_000, 3607) + // Minimum execution time: 5_650_000 picoseconds. + Weight::from_parts(6_223_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1645,10 +1645,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 371_960_000 picoseconds. - Weight::from_parts(382_489_905, 9217) - // Standard Error: 25 - .saturating_add(Weight::from_parts(49_142, 0).saturating_mul(c.into())) + // Minimum execution time: 294_194_000 picoseconds. + Weight::from_parts(321_250_049, 9217) + // Standard Error: 38 + .saturating_add(Weight::from_parts(47_947, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1680,14 +1680,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 4_379_374_000 picoseconds. - Weight::from_parts(693_980_797, 8740) - // Standard Error: 113 - .saturating_add(Weight::from_parts(98_822, 0).saturating_mul(c.into())) + // Minimum execution time: 3_763_146_000 picoseconds. + Weight::from_parts(634_981_646, 8740) + // Standard Error: 110 + .saturating_add(Weight::from_parts(97_012, 0).saturating_mul(c.into())) // Standard Error: 13 - .saturating_add(Weight::from_parts(1_839, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_596, 0).saturating_mul(i.into())) // Standard Error: 13 - .saturating_add(Weight::from_parts(1_946, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_575, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1717,12 +1717,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 2_128_156_000 picoseconds. - Weight::from_parts(2_154_051_000, 8982) - // Standard Error: 28 - .saturating_add(Weight::from_parts(945, 0).saturating_mul(i.into())) - // Standard Error: 28 - .saturating_add(Weight::from_parts(826, 0).saturating_mul(s.into())) + // Minimum execution time: 1_982_327_000 picoseconds. + Weight::from_parts(2_026_213_000, 8982) + // Standard Error: 26 + .saturating_add(Weight::from_parts(796, 0).saturating_mul(i.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(773, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1746,8 +1746,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 212_183_000 picoseconds. - Weight::from_parts(221_942_000, 9244) + // Minimum execution time: 209_657_000 picoseconds. + Weight::from_parts(217_870_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1768,10 +1768,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 336_867_000 picoseconds. - Weight::from_parts(362_338_000, 6085) - // Standard Error: 53 - .saturating_add(Weight::from_parts(49_716, 0).saturating_mul(c.into())) + // Minimum execution time: 278_613_000 picoseconds. + Weight::from_parts(304_635_021, 6085) + // Standard Error: 49 + .saturating_add(Weight::from_parts(48_456, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1792,10 +1792,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 350_862_000 picoseconds. - Weight::from_parts(373_723_770, 6085) - // Standard Error: 57 - .saturating_add(Weight::from_parts(50_241, 0).saturating_mul(c.into())) + // Minimum execution time: 295_673_000 picoseconds. + Weight::from_parts(320_984_787, 6085) + // Standard Error: 42 + .saturating_add(Weight::from_parts(48_592, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1813,8 +1813,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_902_000 picoseconds. - Weight::from_parts(47_318_000, 3780) + // Minimum execution time: 45_969_000 picoseconds. + Weight::from_parts(47_379_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1830,8 +1830,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_636_000 picoseconds. - Weight::from_parts(36_660_000, 8967) + // Minimum execution time: 34_213_000 picoseconds. + Weight::from_parts(35_898_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1840,10 +1840,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_856_000 picoseconds. - Weight::from_parts(11_801_432, 0) - // Standard Error: 722 - .saturating_add(Weight::from_parts(272_961, 0).saturating_mul(r.into())) + // Minimum execution time: 9_836_000 picoseconds. + Weight::from_parts(6_729_780, 0) + // Standard Error: 431 + .saturating_add(Weight::from_parts(285_812, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1852,10 +1852,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 9_842_000 picoseconds. - Weight::from_parts(9_953_000, 1467) - // Standard Error: 5_465 - .saturating_add(Weight::from_parts(3_381_383, 0).saturating_mul(r.into())) + // Minimum execution time: 9_897_000 picoseconds. + Weight::from_parts(10_068_000, 1467) + // Standard Error: 5_448 + .saturating_add(Weight::from_parts(3_358_121, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -1866,10 +1866,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 9_838_000 picoseconds. - Weight::from_parts(10_004_000, 1468) - // Standard Error: 6_253 - .saturating_add(Weight::from_parts(4_265_363, 0).saturating_mul(r.into())) + // Minimum execution time: 9_716_000 picoseconds. + Weight::from_parts(9_964_000, 1468) + // Standard Error: 5_910 + .saturating_add(Weight::from_parts(4_165_143, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -1878,50 +1878,50 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_906_000 picoseconds. - Weight::from_parts(11_796_471, 0) - // Standard Error: 215 - .saturating_add(Weight::from_parts(373_709, 0).saturating_mul(r.into())) + // Minimum execution time: 9_888_000 picoseconds. + Weight::from_parts(11_185_390, 0) + // Standard Error: 175 + .saturating_add(Weight::from_parts(375_272, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_615_000 picoseconds. - Weight::from_parts(11_428_808, 0) - // Standard Error: 121 - .saturating_add(Weight::from_parts(120_503, 0).saturating_mul(r.into())) + // Minimum execution time: 9_853_000 picoseconds. + Weight::from_parts(11_272_162, 0) + // Standard Error: 116 + .saturating_add(Weight::from_parts(125_796, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_758_000 picoseconds. - Weight::from_parts(11_989_422, 0) - // Standard Error: 134 - .saturating_add(Weight::from_parts(100_586, 0).saturating_mul(r.into())) + // Minimum execution time: 9_703_000 picoseconds. + Weight::from_parts(10_977_909, 0) + // Standard Error: 101 + .saturating_add(Weight::from_parts(106_272, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_643_000 picoseconds. - Weight::from_parts(10_848_288, 0) - // Standard Error: 205 - .saturating_add(Weight::from_parts(266_160, 0).saturating_mul(r.into())) + // Minimum execution time: 9_860_000 picoseconds. + Weight::from_parts(11_364_395, 0) + // Standard Error: 225 + .saturating_add(Weight::from_parts(276_985, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_649_000 picoseconds. - Weight::from_parts(11_330_028, 0) - // Standard Error: 238 - .saturating_add(Weight::from_parts(300_384, 0).saturating_mul(r.into())) + // Minimum execution time: 9_753_000 picoseconds. + Weight::from_parts(11_377_680, 0) + // Standard Error: 215 + .saturating_add(Weight::from_parts(311_505, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1930,10 +1930,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 9_796_000 picoseconds. - Weight::from_parts(22_163_236, 3599) - // Standard Error: 1_414 - .saturating_add(Weight::from_parts(1_590_621, 0).saturating_mul(r.into())) + // Minimum execution time: 9_739_000 picoseconds. + Weight::from_parts(19_000_879, 3599) + // Standard Error: 612 + .saturating_add(Weight::from_parts(1_621_399, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1941,40 +1941,40 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_529_000 picoseconds. - Weight::from_parts(10_450_632, 0) - // Standard Error: 196 - .saturating_add(Weight::from_parts(264_524, 0).saturating_mul(r.into())) + // Minimum execution time: 9_818_000 picoseconds. + Weight::from_parts(4_840_591, 0) + // Standard Error: 982 + .saturating_add(Weight::from_parts(283_975, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_810_000 picoseconds. - Weight::from_parts(12_856_446, 0) - // Standard Error: 244 - .saturating_add(Weight::from_parts(264_415, 0).saturating_mul(r.into())) + // Minimum execution time: 10_519_000 picoseconds. + Weight::from_parts(20_653_510, 0) + // Standard Error: 673 + .saturating_add(Weight::from_parts(262_703, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_678_000 picoseconds. - Weight::from_parts(7_255_013, 0) - // Standard Error: 421 - .saturating_add(Weight::from_parts(273_782, 0).saturating_mul(r.into())) + // Minimum execution time: 9_961_000 picoseconds. + Weight::from_parts(11_672_658, 0) + // Standard Error: 219 + .saturating_add(Weight::from_parts(260_007, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_724_000 picoseconds. - Weight::from_parts(9_775_716, 0) - // Standard Error: 228 - .saturating_add(Weight::from_parts(267_375, 0).saturating_mul(r.into())) + // Minimum execution time: 9_611_000 picoseconds. + Weight::from_parts(10_945_212, 0) + // Standard Error: 180 + .saturating_add(Weight::from_parts(262_325, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1983,10 +1983,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 10_273_000 picoseconds. - Weight::from_parts(18_123_930, 1552) - // Standard Error: 542 - .saturating_add(Weight::from_parts(715_952, 0).saturating_mul(r.into())) + // Minimum execution time: 9_557_000 picoseconds. + Weight::from_parts(20_960_273, 1552) + // Standard Error: 978 + .saturating_add(Weight::from_parts(715_170, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1994,10 +1994,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_997_000 picoseconds. - Weight::from_parts(11_202_489, 0) - // Standard Error: 394 - .saturating_add(Weight::from_parts(197_407, 0).saturating_mul(r.into())) + // Minimum execution time: 9_879_000 picoseconds. + Weight::from_parts(13_381_450, 0) + // Standard Error: 312 + .saturating_add(Weight::from_parts(202_559, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2020,10 +2020,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 345_237_000 picoseconds. - Weight::from_parts(220_574_324, 9287) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_431, 0).saturating_mul(n.into())) + // Minimum execution time: 274_897_000 picoseconds. + Weight::from_parts(147_953_733, 9287) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_358, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2032,20 +2032,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_488_000 picoseconds. - Weight::from_parts(10_223_214, 0) - // Standard Error: 212_236 - .saturating_add(Weight::from_parts(1_346_085, 0).saturating_mul(r.into())) + // Minimum execution time: 9_484_000 picoseconds. + Weight::from_parts(10_040_536, 0) + // Standard Error: 21_790 + .saturating_add(Weight::from_parts(3_299_763, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_370_000 picoseconds. - Weight::from_parts(10_946_574, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(449, 0).saturating_mul(n.into())) + // Minimum execution time: 13_077_000 picoseconds. + Weight::from_parts(14_577_767, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(327, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2074,10 +2074,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 384_017_000 picoseconds. - Weight::from_parts(398_522_751, 13220) - // Standard Error: 849_795 - .saturating_add(Weight::from_parts(248_209_948, 0).saturating_mul(r.into())) + // Minimum execution time: 303_942_000 picoseconds. + Weight::from_parts(331_394_259, 13220) + // Standard Error: 796_614 + .saturating_add(Weight::from_parts(248_399_740, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2091,10 +2091,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_793_000 picoseconds. - Weight::from_parts(18_133_333, 1561) - // Standard Error: 717 - .saturating_add(Weight::from_parts(1_127_037, 0).saturating_mul(r.into())) + // Minimum execution time: 9_815_000 picoseconds. + Weight::from_parts(18_868_774, 1561) + // Standard Error: 580 + .saturating_add(Weight::from_parts(1_136_548, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -2102,10 +2102,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_404_000 picoseconds. - Weight::from_parts(15_458_965, 0) - // Standard Error: 912 - .saturating_add(Weight::from_parts(1_749_726, 0).saturating_mul(r.into())) + // Minimum execution time: 9_797_000 picoseconds. + Weight::from_parts(11_826_779, 0) + // Standard Error: 3_027 + .saturating_add(Weight::from_parts(1_834_831, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2115,12 +2115,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 25_713_000 picoseconds. - Weight::from_parts(16_021_409, 990) - // Standard Error: 14_072 - .saturating_add(Weight::from_parts(2_514_166, 0).saturating_mul(t.into())) + // Minimum execution time: 24_943_000 picoseconds. + Weight::from_parts(16_068_581, 990) + // Standard Error: 13_421 + .saturating_add(Weight::from_parts(2_567_301, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(685, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(620, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -2130,20 +2130,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_037_000 picoseconds. - Weight::from_parts(9_793_514, 0) - // Standard Error: 126 - .saturating_add(Weight::from_parts(125_336, 0).saturating_mul(r.into())) + // Minimum execution time: 9_492_000 picoseconds. + Weight::from_parts(11_327_383, 0) + // Standard Error: 100 + .saturating_add(Weight::from_parts(123_827, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_374_000 picoseconds. - Weight::from_parts(11_458_000, 0) + // Minimum execution time: 11_263_000 picoseconds. + Weight::from_parts(11_475_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(1_080, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(991, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2152,10 +2152,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 13_585_000 picoseconds. - Weight::from_parts(13_734_000, 105) - // Standard Error: 8_316 - .saturating_add(Weight::from_parts(5_417_818, 0).saturating_mul(r.into())) + // Minimum execution time: 10_756_000 picoseconds. + Weight::from_parts(11_005_000, 105) + // Standard Error: 8_248 + .saturating_add(Weight::from_parts(5_274_605, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2167,10 +2167,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 19_491_000 picoseconds. - Weight::from_parts(20_397_859, 245) + // Minimum execution time: 18_996_000 picoseconds. + Weight::from_parts(19_928_634, 245) // Standard Error: 2 - .saturating_add(Weight::from_parts(393, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2181,10 +2181,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_419_000 picoseconds. - Weight::from_parts(20_236_323, 248) - // Standard Error: 6 - .saturating_add(Weight::from_parts(270, 0).saturating_mul(n.into())) + // Minimum execution time: 19_119_000 picoseconds. + Weight::from_parts(20_822_703, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(71, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2196,10 +2196,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_351_000 picoseconds. - Weight::from_parts(12_453_000, 105) - // Standard Error: 7_943 - .saturating_add(Weight::from_parts(5_330_499, 0).saturating_mul(r.into())) + // Minimum execution time: 10_225_000 picoseconds. + Weight::from_parts(10_378_000, 105) + // Standard Error: 8_128 + .saturating_add(Weight::from_parts(5_252_144, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2211,10 +2211,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_927_000 picoseconds. - Weight::from_parts(21_504_240, 248) + // Minimum execution time: 19_543_000 picoseconds. + Weight::from_parts(21_080_627, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(58, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(41, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2226,10 +2226,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_907_000 picoseconds. - Weight::from_parts(9_977_000, 105) - // Standard Error: 7_023 - .saturating_add(Weight::from_parts(4_595_951, 0).saturating_mul(r.into())) + // Minimum execution time: 9_690_000 picoseconds. + Weight::from_parts(9_841_000, 105) + // Standard Error: 6_993 + .saturating_add(Weight::from_parts(4_584_543, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2240,10 +2240,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_505_000 picoseconds. - Weight::from_parts(20_120_240, 248) - // Standard Error: 5 - .saturating_add(Weight::from_parts(773, 0).saturating_mul(n.into())) + // Minimum execution time: 18_235_000 picoseconds. + Weight::from_parts(20_179_164, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(608, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2254,10 +2254,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 12_427_000 picoseconds. - Weight::from_parts(12_497_000, 105) - // Standard Error: 7_498 - .saturating_add(Weight::from_parts(4_610_320, 0).saturating_mul(r.into())) + // Minimum execution time: 9_485_000 picoseconds. + Weight::from_parts(9_860_000, 105) + // Standard Error: 6_852 + .saturating_add(Weight::from_parts(4_481_549, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2268,10 +2268,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_048_000 picoseconds. - Weight::from_parts(19_401_077, 248) + // Minimum execution time: 18_793_000 picoseconds. + Weight::from_parts(20_247_197, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(75, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2282,10 +2282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_589_000 picoseconds. - Weight::from_parts(9_729_000, 105) - // Standard Error: 7_895 - .saturating_add(Weight::from_parts(5_354_918, 0).saturating_mul(r.into())) + // Minimum execution time: 10_446_000 picoseconds. + Weight::from_parts(10_790_000, 105) + // Standard Error: 8_225 + .saturating_add(Weight::from_parts(5_312_971, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2297,10 +2297,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_717_000 picoseconds. - Weight::from_parts(21_618_248, 248) + // Minimum execution time: 19_669_000 picoseconds. + Weight::from_parts(21_209_876, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(722, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(637, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2312,10 +2312,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_833_000 picoseconds. - Weight::from_parts(10_072_000, 4221) - // Standard Error: 16_016 - .saturating_add(Weight::from_parts(31_875_419, 0).saturating_mul(r.into())) + // Minimum execution time: 9_864_000 picoseconds. + Weight::from_parts(29_557_038, 4221) + // Standard Error: 24_536 + .saturating_add(Weight::from_parts(33_976_120, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2337,10 +2337,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_845_000 picoseconds. - Weight::from_parts(9_883_000, 6463) - // Standard Error: 113_384 - .saturating_add(Weight::from_parts(311_318_073, 0).saturating_mul(r.into())) + // Minimum execution time: 9_563_000 picoseconds. + Weight::from_parts(9_852_000, 6463) + // Standard Error: 103_149 + .saturating_add(Weight::from_parts(246_761_439, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2362,10 +2362,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 9_627_000 picoseconds. - Weight::from_parts(9_745_000, 6447) - // Standard Error: 181_006 - .saturating_add(Weight::from_parts(311_975_699, 0).saturating_mul(r.into())) + // Minimum execution time: 9_943_000 picoseconds. + Weight::from_parts(10_075_000, 6447) + // Standard Error: 220_306 + .saturating_add(Weight::from_parts(249_949_822, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -2388,12 +2388,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 223_316_000 picoseconds. - Weight::from_parts(141_762_966, 6639) - // Standard Error: 2_232_978 - .saturating_add(Weight::from_parts(38_299_122, 0).saturating_mul(t.into())) + // Minimum execution time: 222_574_000 picoseconds. + Weight::from_parts(131_232_657, 6639) + // Standard Error: 2_496_913 + .saturating_add(Weight::from_parts(37_827_621, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(409, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(418, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2419,10 +2419,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 415_531_000 picoseconds. - Weight::from_parts(418_958_000, 6990) - // Standard Error: 269_541 - .saturating_add(Weight::from_parts(400_051_405, 0).saturating_mul(r.into())) + // Minimum execution time: 368_275_000 picoseconds. + Weight::from_parts(378_240_000, 6990) + // Standard Error: 223_406 + .saturating_add(Weight::from_parts(337_644_520, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2450,14 +2450,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 2_057_595_000 picoseconds. - Weight::from_parts(730_615_236, 6719) - // Standard Error: 12_267_332 - .saturating_add(Weight::from_parts(67_693_660, 0).saturating_mul(t.into())) + // Minimum execution time: 1_848_420_000 picoseconds. + Weight::from_parts(844_550_091, 6719) + // Standard Error: 12_255_150 + .saturating_add(Weight::from_parts(33_813_802, 0).saturating_mul(t.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_310, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_068, 0).saturating_mul(i.into())) // Standard Error: 19 - .saturating_add(Weight::from_parts(1_420, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_212, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -2469,120 +2469,120 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_432_000 picoseconds. - Weight::from_parts(14_147_590, 0) - // Standard Error: 238 - .saturating_add(Weight::from_parts(281_200, 0).saturating_mul(r.into())) + // Minimum execution time: 9_527_000 picoseconds. + Weight::from_parts(13_019_634, 0) + // Standard Error: 227 + .saturating_add(Weight::from_parts(284_676, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_443_000 picoseconds. - Weight::from_parts(1_851_644, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_166, 0).saturating_mul(n.into())) + // Minimum execution time: 11_576_000 picoseconds. + Weight::from_parts(2_663_735, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_077, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_642_000 picoseconds. - Weight::from_parts(10_156_526, 0) - // Standard Error: 255 - .saturating_add(Weight::from_parts(693_968, 0).saturating_mul(r.into())) + // Minimum execution time: 9_373_000 picoseconds. + Weight::from_parts(14_002_934, 0) + // Standard Error: 359 + .saturating_add(Weight::from_parts(694_083, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_560_000 picoseconds. - Weight::from_parts(2_938_432, 0) - // Standard Error: 2 - .saturating_add(Weight::from_parts(3_453, 0).saturating_mul(n.into())) + // Minimum execution time: 12_374_000 picoseconds. + Weight::from_parts(9_777_874, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_338, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_120_000 picoseconds. - Weight::from_parts(11_756_879, 0) - // Standard Error: 238 - .saturating_add(Weight::from_parts(351_115, 0).saturating_mul(r.into())) + // Minimum execution time: 9_731_000 picoseconds. + Weight::from_parts(11_110_277, 0) + // Standard Error: 202 + .saturating_add(Weight::from_parts(355_154, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_200_000 picoseconds. - Weight::from_parts(11_296_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_297, 0).saturating_mul(n.into())) + // Minimum execution time: 11_542_000 picoseconds. + Weight::from_parts(2_985_421, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_214, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_948_000 picoseconds. - Weight::from_parts(10_844_261, 0) - // Standard Error: 198 - .saturating_add(Weight::from_parts(357_189, 0).saturating_mul(r.into())) + // Minimum execution time: 9_780_000 picoseconds. + Weight::from_parts(13_427_823, 0) + // Standard Error: 294 + .saturating_add(Weight::from_parts(354_980, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_400_000 picoseconds. - Weight::from_parts(2_040_236, 0) + // Minimum execution time: 11_488_000 picoseconds. + Weight::from_parts(4_936_289, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_296, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 55_005_000 picoseconds. - Weight::from_parts(55_932_187, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_650, 0).saturating_mul(n.into())) + // Minimum execution time: 59_095_000 picoseconds. + Weight::from_parts(58_651_031, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(4_829, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_697_000 picoseconds. - Weight::from_parts(24_691_449, 0) - // Standard Error: 8_061 - .saturating_add(Weight::from_parts(41_200_666, 0).saturating_mul(r.into())) + // Minimum execution time: 9_595_000 picoseconds. + Weight::from_parts(16_139_816, 0) + // Standard Error: 5_894 + .saturating_add(Weight::from_parts(47_150_705, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_358_000 picoseconds. - Weight::from_parts(31_972_096, 0) - // Standard Error: 10_291 - .saturating_add(Weight::from_parts(45_562_373, 0).saturating_mul(r.into())) + // Minimum execution time: 9_853_000 picoseconds. + Weight::from_parts(27_111_900, 0) + // Standard Error: 8_648 + .saturating_add(Weight::from_parts(45_467_214, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_940_000 picoseconds. - Weight::from_parts(13_444_209, 0) - // Standard Error: 3_727 - .saturating_add(Weight::from_parts(11_637_403, 0).saturating_mul(r.into())) + // Minimum execution time: 9_914_000 picoseconds. + Weight::from_parts(13_012_553, 0) + // Standard Error: 2_950 + .saturating_add(Weight::from_parts(11_592_748, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -2597,10 +2597,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` // Estimated: `8969 + r * (3047 ±7)` - // Minimum execution time: 9_747_000 picoseconds. - Weight::from_parts(9_857_000, 8969) - // Standard Error: 64_952 - .saturating_add(Weight::from_parts(25_745_007, 0).saturating_mul(r.into())) + // Minimum execution time: 9_709_000 picoseconds. + Weight::from_parts(9_847_000, 8969) + // Standard Error: 42_017 + .saturating_add(Weight::from_parts(25_313_072, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -2612,10 +2612,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_694_000 picoseconds. - Weight::from_parts(15_031_932, 1265) - // Standard Error: 10_992 - .saturating_add(Weight::from_parts(5_224_025, 0).saturating_mul(r.into())) + // Minimum execution time: 9_848_000 picoseconds. + Weight::from_parts(16_060_512, 1265) + // Standard Error: 9_491 + .saturating_add(Weight::from_parts(5_064_579, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -2627,10 +2627,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 9_767_000 picoseconds. - Weight::from_parts(16_476_492, 990) - // Standard Error: 10_241 - .saturating_add(Weight::from_parts(4_309_087, 0).saturating_mul(r.into())) + // Minimum execution time: 9_797_000 picoseconds. + Weight::from_parts(15_895_513, 990) + // Standard Error: 9_548 + .saturating_add(Weight::from_parts(4_258_134, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -2656,10 +2656,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 342_035_000 picoseconds. - Weight::from_parts(354_743_675, 9282) - // Standard Error: 354 - .saturating_add(Weight::from_parts(203_215, 0).saturating_mul(r.into())) + // Minimum execution time: 288_153_000 picoseconds. + Weight::from_parts(296_734_578, 9282) + // Standard Error: 472 + .saturating_add(Weight::from_parts(195_857, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2669,10 +2669,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_010_000 picoseconds. - Weight::from_parts(12_706_658, 0) - // Standard Error: 276 - .saturating_add(Weight::from_parts(124_271, 0).saturating_mul(r.into())) + // Minimum execution time: 9_680_000 picoseconds. + Weight::from_parts(13_228_547, 0) + // Standard Error: 134 + .saturating_add(Weight::from_parts(114_161, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2681,10 +2681,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 9_482_000 picoseconds. - Weight::from_parts(13_711_878, 1704) - // Standard Error: 109 - .saturating_add(Weight::from_parts(95_071, 0).saturating_mul(r.into())) + // Minimum execution time: 9_627_000 picoseconds. + Weight::from_parts(13_975_662, 1704) + // Standard Error: 88 + .saturating_add(Weight::from_parts(94_325, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -2692,9 +2692,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 882_000 picoseconds. - Weight::from_parts(781_769, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(5_970, 0).saturating_mul(r.into())) + // Minimum execution time: 989_000 picoseconds. + Weight::from_parts(1_003_527, 0) + // Standard Error: 17 + .saturating_add(Weight::from_parts(6_132, 0).saturating_mul(r.into())) } } From 6b0acbd9e9fa512a7745dec8eba98b1283343282 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Wed, 17 Apr 2024 02:08:50 +0000 Subject: [PATCH 12/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 1238 +++++++++++----------- 1 file changed, 619 insertions(+), 619 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index b95b1d1a9a2e..2d3826424de7 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -143,8 +143,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_149_000 picoseconds. - Weight::from_parts(2_274_000, 1627) + // Minimum execution time: 1_945_000 picoseconds. + Weight::from_parts(2_039_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -154,10 +154,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_863_000 picoseconds. - Weight::from_parts(13_188_000, 442) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(1_105_325, 0).saturating_mul(k.into())) + // Minimum execution time: 12_172_000 picoseconds. + Weight::from_parts(12_695_000, 442) + // Standard Error: 1_033 + .saturating_add(Weight::from_parts(1_097_618, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -171,10 +171,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_432_000 picoseconds. - Weight::from_parts(9_203_290, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(c.into())) + // Minimum execution time: 8_316_000 picoseconds. + Weight::from_parts(8_882_582, 6149) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_191, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -187,8 +187,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_177_000 picoseconds. - Weight::from_parts(17_663_000, 6450) + // Minimum execution time: 16_673_000 picoseconds. + Weight::from_parts(17_167_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -201,10 +201,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_636_000 picoseconds. - Weight::from_parts(3_774_000, 3635) - // Standard Error: 542 - .saturating_add(Weight::from_parts(1_260_058, 0).saturating_mul(k.into())) + // Minimum execution time: 3_489_000 picoseconds. + Weight::from_parts(2_205_392, 3635) + // Standard Error: 1_750 + .saturating_add(Weight::from_parts(1_188_338, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -225,10 +225,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_585_000 picoseconds. - Weight::from_parts(22_069_944, 6266) + // Minimum execution time: 20_832_000 picoseconds. + Weight::from_parts(20_900_313, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(404, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(436, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -239,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 13_283_000 picoseconds. - Weight::from_parts(14_015_000, 6380) + // Minimum execution time: 12_851_000 picoseconds. + Weight::from_parts(13_654_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -254,8 +254,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 48_022_000 picoseconds. - Weight::from_parts(49_627_000, 6292) + // Minimum execution time: 47_235_000 picoseconds. + Weight::from_parts(48_230_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -267,8 +267,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 58_374_000 picoseconds. - Weight::from_parts(59_615_000, 6534) + // Minimum execution time: 57_223_000 picoseconds. + Weight::from_parts(58_745_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -278,8 +278,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_559_000 picoseconds. - Weight::from_parts(12_947_000, 6349) + // Minimum execution time: 12_404_000 picoseconds. + Weight::from_parts(12_899_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -289,8 +289,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_480_000 picoseconds. - Weight::from_parts(2_680_000, 1627) + // Minimum execution time: 2_387_000 picoseconds. + Weight::from_parts(2_530_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -302,8 +302,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_625_000 picoseconds. - Weight::from_parts(13_094_000, 3631) + // Minimum execution time: 12_284_000 picoseconds. + Weight::from_parts(12_583_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -313,8 +313,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_836_000 picoseconds. - Weight::from_parts(5_182_000, 3607) + // Minimum execution time: 4_718_000 picoseconds. + Weight::from_parts(5_054_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -325,8 +325,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_319_000 picoseconds. - Weight::from_parts(6_582_000, 3632) + // Minimum execution time: 6_173_000 picoseconds. + Weight::from_parts(6_399_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -337,8 +337,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_532_000 picoseconds. - Weight::from_parts(6_909_000, 3607) + // Minimum execution time: 5_963_000 picoseconds. + Weight::from_parts(6_410_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -363,10 +363,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 305_778_000 picoseconds. - Weight::from_parts(282_321_249, 9217) - // Standard Error: 72 - .saturating_add(Weight::from_parts(33_456, 0).saturating_mul(c.into())) + // Minimum execution time: 312_916_000 picoseconds. + Weight::from_parts(330_325_434, 9217) + // Standard Error: 31 + .saturating_add(Weight::from_parts(48_386, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -398,14 +398,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_810_809_000 picoseconds. - Weight::from_parts(739_511_598, 8740) - // Standard Error: 140 - .saturating_add(Weight::from_parts(67_574, 0).saturating_mul(c.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_488, 0).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_537, 0).saturating_mul(s.into())) + // Minimum execution time: 4_036_610_000 picoseconds. + Weight::from_parts(645_877_398, 8740) + // Standard Error: 99 + .saturating_add(Weight::from_parts(100_008, 0).saturating_mul(c.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_719, 0).saturating_mul(i.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_675, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -435,12 +435,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 1_986_789_000 picoseconds. - Weight::from_parts(2_017_466_000, 8982) + // Minimum execution time: 2_065_826_000 picoseconds. + Weight::from_parts(2_077_877_000, 8982) // Standard Error: 26 - .saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(874, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(781, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(786, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -464,8 +464,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 210_724_000 picoseconds. - Weight::from_parts(218_608_000, 9244) + // Minimum execution time: 209_470_000 picoseconds. + Weight::from_parts(217_762_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -486,10 +486,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 271_259_000 picoseconds. - Weight::from_parts(298_852_854, 6085) - // Standard Error: 65 - .saturating_add(Weight::from_parts(33_547, 0).saturating_mul(c.into())) + // Minimum execution time: 276_033_000 picoseconds. + Weight::from_parts(429_951_075, 6085) + // Standard Error: 153 + .saturating_add(Weight::from_parts(49_302, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -510,10 +510,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 278_167_000 picoseconds. - Weight::from_parts(311_888_941, 6085) - // Standard Error: 58 - .saturating_add(Weight::from_parts(33_595, 0).saturating_mul(c.into())) + // Minimum execution time: 273_690_000 picoseconds. + Weight::from_parts(322_219_355, 6085) + // Standard Error: 50 + .saturating_add(Weight::from_parts(49_122, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -531,8 +531,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 47_403_000 picoseconds. - Weight::from_parts(48_707_000, 3780) + // Minimum execution time: 45_993_000 picoseconds. + Weight::from_parts(47_023_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -548,8 +548,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 35_361_000 picoseconds. - Weight::from_parts(36_714_000, 8967) + // Minimum execution time: 34_729_000 picoseconds. + Weight::from_parts(35_713_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -558,10 +558,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_340_000 picoseconds. - Weight::from_parts(9_360_237, 0) - // Standard Error: 269 - .saturating_add(Weight::from_parts(249_611, 0).saturating_mul(r.into())) + // Minimum execution time: 9_585_000 picoseconds. + Weight::from_parts(12_690_856, 0) + // Standard Error: 236 + .saturating_add(Weight::from_parts(277_645, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -570,10 +570,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 9_059_000 picoseconds. - Weight::from_parts(9_201_000, 1467) - // Standard Error: 5_643 - .saturating_add(Weight::from_parts(3_343_859, 0).saturating_mul(r.into())) + // Minimum execution time: 9_701_000 picoseconds. + Weight::from_parts(9_917_000, 1467) + // Standard Error: 5_512 + .saturating_add(Weight::from_parts(3_393_712, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -584,10 +584,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 9_220_000 picoseconds. - Weight::from_parts(9_399_000, 1468) - // Standard Error: 6_194 - .saturating_add(Weight::from_parts(4_172_011, 0).saturating_mul(r.into())) + // Minimum execution time: 9_508_000 picoseconds. + Weight::from_parts(9_819_000, 1468) + // Standard Error: 5_894 + .saturating_add(Weight::from_parts(4_096_095, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -596,50 +596,50 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_707_000 picoseconds. - Weight::from_parts(10_100_456, 0) - // Standard Error: 234 - .saturating_add(Weight::from_parts(338_464, 0).saturating_mul(r.into())) + // Minimum execution time: 9_603_000 picoseconds. + Weight::from_parts(10_828_292, 0) + // Standard Error: 212 + .saturating_add(Weight::from_parts(380_453, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_524_000 picoseconds. - Weight::from_parts(10_813_389, 0) - // Standard Error: 76 - .saturating_add(Weight::from_parts(102_535, 0).saturating_mul(r.into())) + // Minimum execution time: 9_595_000 picoseconds. + Weight::from_parts(10_743_016, 0) + // Standard Error: 120 + .saturating_add(Weight::from_parts(123_372, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_799_000 picoseconds. - Weight::from_parts(10_886_744, 0) - // Standard Error: 75 - .saturating_add(Weight::from_parts(80_901, 0).saturating_mul(r.into())) + // Minimum execution time: 9_511_000 picoseconds. + Weight::from_parts(11_177_552, 0) + // Standard Error: 152 + .saturating_add(Weight::from_parts(104_731, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_895_000 picoseconds. - Weight::from_parts(10_658_338, 0) - // Standard Error: 189 - .saturating_add(Weight::from_parts(249_694, 0).saturating_mul(r.into())) + // Minimum execution time: 9_649_000 picoseconds. + Weight::from_parts(6_251_221, 0) + // Standard Error: 438 + .saturating_add(Weight::from_parts(287_799, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_643_000 picoseconds. - Weight::from_parts(10_932_126, 0) - // Standard Error: 153 - .saturating_add(Weight::from_parts(280_924, 0).saturating_mul(r.into())) + // Minimum execution time: 9_644_000 picoseconds. + Weight::from_parts(10_922_943, 0) + // Standard Error: 242 + .saturating_add(Weight::from_parts(326_593, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -648,10 +648,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 9_548_000 picoseconds. - Weight::from_parts(9_737_000, 3599) - // Standard Error: 971 - .saturating_add(Weight::from_parts(1_704_134, 0).saturating_mul(r.into())) + // Minimum execution time: 9_655_000 picoseconds. + Weight::from_parts(15_378_371, 3599) + // Standard Error: 2_577 + .saturating_add(Weight::from_parts(1_601_766, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -659,40 +659,40 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_172_000 picoseconds. - Weight::from_parts(18_255_933, 0) - // Standard Error: 540 - .saturating_add(Weight::from_parts(230_929, 0).saturating_mul(r.into())) + // Minimum execution time: 9_894_000 picoseconds. + Weight::from_parts(10_377_675, 0) + // Standard Error: 207 + .saturating_add(Weight::from_parts(276_899, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_232_000 picoseconds. - Weight::from_parts(9_796_584, 0) - // Standard Error: 208 - .saturating_add(Weight::from_parts(239_962, 0).saturating_mul(r.into())) + // Minimum execution time: 9_630_000 picoseconds. + Weight::from_parts(11_012_903, 0) + // Standard Error: 183 + .saturating_add(Weight::from_parts(264_882, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_747_000 picoseconds. - Weight::from_parts(8_733_230, 0) - // Standard Error: 377 - .saturating_add(Weight::from_parts(253_801, 0).saturating_mul(r.into())) + // Minimum execution time: 9_624_000 picoseconds. + Weight::from_parts(13_100_730, 0) + // Standard Error: 868 + .saturating_add(Weight::from_parts(274_015, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_214_000 picoseconds. - Weight::from_parts(10_194_153, 0) - // Standard Error: 516 - .saturating_add(Weight::from_parts(247_621, 0).saturating_mul(r.into())) + // Minimum execution time: 9_660_000 picoseconds. + Weight::from_parts(9_885_024, 0) + // Standard Error: 265 + .saturating_add(Weight::from_parts(268_232, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -701,10 +701,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 9_022_000 picoseconds. - Weight::from_parts(22_051_160, 1552) - // Standard Error: 697 - .saturating_add(Weight::from_parts(709_612, 0).saturating_mul(r.into())) + // Minimum execution time: 9_636_000 picoseconds. + Weight::from_parts(12_732_614, 1552) + // Standard Error: 734 + .saturating_add(Weight::from_parts(723_933, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -712,10 +712,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_135_000 picoseconds. - Weight::from_parts(10_646_215, 0) - // Standard Error: 161 - .saturating_add(Weight::from_parts(170_336, 0).saturating_mul(r.into())) + // Minimum execution time: 9_874_000 picoseconds. + Weight::from_parts(8_630_939, 0) + // Standard Error: 437 + .saturating_add(Weight::from_parts(207_913, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -738,10 +738,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 273_896_000 picoseconds. - Weight::from_parts(148_309_654, 9287) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_355, 0).saturating_mul(n.into())) + // Minimum execution time: 285_023_000 picoseconds. + Weight::from_parts(159_787_138, 9287) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_375, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -750,20 +750,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_906_000 picoseconds. - Weight::from_parts(9_264_446, 0) - // Standard Error: 19_760 - .saturating_add(Weight::from_parts(1_256_053, 0).saturating_mul(r.into())) + // Minimum execution time: 9_582_000 picoseconds. + Weight::from_parts(10_226_420, 0) + // Standard Error: 22_827 + .saturating_add(Weight::from_parts(1_792_879, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_266_000 picoseconds. - Weight::from_parts(10_602_261, 0) + // Minimum execution time: 11_769_000 picoseconds. + Weight::from_parts(11_648_643, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(318, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(388, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -792,10 +792,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 295_922_000 picoseconds. - Weight::from_parts(322_472_877, 13220) - // Standard Error: 993_812 - .saturating_add(Weight::from_parts(259_075_422, 0).saturating_mul(r.into())) + // Minimum execution time: 304_287_000 picoseconds. + Weight::from_parts(332_172_687, 13220) + // Standard Error: 929_541 + .saturating_add(Weight::from_parts(246_819_212, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -809,10 +809,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_427_000 picoseconds. - Weight::from_parts(12_996_213, 1561) - // Standard Error: 845 - .saturating_add(Weight::from_parts(1_182_642, 0).saturating_mul(r.into())) + // Minimum execution time: 9_642_000 picoseconds. + Weight::from_parts(13_900_228, 1561) + // Standard Error: 436 + .saturating_add(Weight::from_parts(1_197_990, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -820,10 +820,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_304_000 picoseconds. - Weight::from_parts(25_678_842, 0) - // Standard Error: 1_855 - .saturating_add(Weight::from_parts(1_814_511, 0).saturating_mul(r.into())) + // Minimum execution time: 9_544_000 picoseconds. + Weight::from_parts(8_980_507, 0) + // Standard Error: 3_091 + .saturating_add(Weight::from_parts(1_813_037, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -833,12 +833,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 23_425_000 picoseconds. - Weight::from_parts(15_229_010, 990) - // Standard Error: 14_380 - .saturating_add(Weight::from_parts(2_545_653, 0).saturating_mul(t.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(594, 0).saturating_mul(n.into())) + // Minimum execution time: 25_487_000 picoseconds. + Weight::from_parts(16_568_322, 990) + // Standard Error: 11_130 + .saturating_add(Weight::from_parts(2_464_087, 0).saturating_mul(t.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -848,20 +848,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_117_000 picoseconds. - Weight::from_parts(12_887_533, 0) - // Standard Error: 83 - .saturating_add(Weight::from_parts(99_373, 0).saturating_mul(r.into())) + // Minimum execution time: 9_141_000 picoseconds. + Weight::from_parts(12_494_876, 0) + // Standard Error: 408 + .saturating_add(Weight::from_parts(128_131, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_982_000 picoseconds. - Weight::from_parts(11_176_000, 0) + // Minimum execution time: 11_632_000 picoseconds. + Weight::from_parts(11_832_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(983, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_012, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -870,10 +870,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_150_000 picoseconds. - Weight::from_parts(9_269_000, 105) - // Standard Error: 8_147 - .saturating_add(Weight::from_parts(5_339_554, 0).saturating_mul(r.into())) + // Minimum execution time: 9_913_000 picoseconds. + Weight::from_parts(10_165_000, 105) + // Standard Error: 8_137 + .saturating_add(Weight::from_parts(5_218_356, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -885,10 +885,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 19_085_000 picoseconds. - Weight::from_parts(20_007_323, 245) - // Standard Error: 3 - .saturating_add(Weight::from_parts(291, 0).saturating_mul(n.into())) + // Minimum execution time: 19_265_000 picoseconds. + Weight::from_parts(20_029_614, 245) + // Standard Error: 2 + .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -899,10 +899,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_127_000 picoseconds. - Weight::from_parts(21_152_987, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(42, 0).saturating_mul(n.into())) + // Minimum execution time: 19_388_000 picoseconds. + Weight::from_parts(20_909_729, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(65, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -914,10 +914,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_264_000 picoseconds. - Weight::from_parts(9_449_000, 105) - // Standard Error: 8_196 - .saturating_add(Weight::from_parts(5_325_578, 0).saturating_mul(r.into())) + // Minimum execution time: 9_649_000 picoseconds. + Weight::from_parts(9_830_000, 105) + // Standard Error: 8_341 + .saturating_add(Weight::from_parts(5_194_400, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -929,10 +929,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_489_000 picoseconds. - Weight::from_parts(19_916_153, 248) + // Minimum execution time: 19_254_000 picoseconds. + Weight::from_parts(20_704_635, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(97, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -944,10 +944,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_299_000 picoseconds. - Weight::from_parts(9_464_000, 105) - // Standard Error: 6_827 - .saturating_add(Weight::from_parts(4_720_699, 0).saturating_mul(r.into())) + // Minimum execution time: 9_679_000 picoseconds. + Weight::from_parts(9_783_000, 105) + // Standard Error: 6_842 + .saturating_add(Weight::from_parts(4_614_791, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -958,10 +958,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_981_000 picoseconds. - Weight::from_parts(19_802_353, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into())) + // Minimum execution time: 18_096_000 picoseconds. + Weight::from_parts(20_208_486, 248) + // Standard Error: 4 + .saturating_add(Weight::from_parts(632, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -972,10 +972,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_891_000 picoseconds. - Weight::from_parts(10_046_000, 105) - // Standard Error: 6_993 - .saturating_add(Weight::from_parts(4_601_167, 0).saturating_mul(r.into())) + // Minimum execution time: 9_582_000 picoseconds. + Weight::from_parts(9_795_000, 105) + // Standard Error: 6_728 + .saturating_add(Weight::from_parts(4_511_493, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -986,10 +986,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_229_000 picoseconds. - Weight::from_parts(18_302_733, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + // Minimum execution time: 21_087_000 picoseconds. + Weight::from_parts(24_058_886, 248) + // Standard Error: 10 + .saturating_add(Weight::from_parts(4, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1000,10 +1000,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_323_000 picoseconds. - Weight::from_parts(9_462_000, 105) - // Standard Error: 8_031 - .saturating_add(Weight::from_parts(5_433_981, 0).saturating_mul(r.into())) + // Minimum execution time: 13_737_000 picoseconds. + Weight::from_parts(13_933_000, 105) + // Standard Error: 8_458 + .saturating_add(Weight::from_parts(5_272_314, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -1015,9 +1015,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_711_000 picoseconds. - Weight::from_parts(20_495_670, 248) - // Standard Error: 3 + // Minimum execution time: 19_817_000 picoseconds. + Weight::from_parts(21_621_691, 248) + // Standard Error: 4 .saturating_add(Weight::from_parts(640, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -1030,10 +1030,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_226_000 picoseconds. - Weight::from_parts(9_394_000, 4221) - // Standard Error: 14_741 - .saturating_add(Weight::from_parts(34_179_316, 0).saturating_mul(r.into())) + // Minimum execution time: 9_593_000 picoseconds. + Weight::from_parts(22_062_360, 4221) + // Standard Error: 42_276 + .saturating_add(Weight::from_parts(32_420_934, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -1055,10 +1055,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_455_000 picoseconds. - Weight::from_parts(9_671_000, 6463) - // Standard Error: 126_080 - .saturating_add(Weight::from_parts(244_204_040, 0).saturating_mul(r.into())) + // Minimum execution time: 9_553_000 picoseconds. + Weight::from_parts(9_907_000, 6463) + // Standard Error: 100_342 + .saturating_add(Weight::from_parts(248_409_118, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -1080,10 +1080,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 9_274_000 picoseconds. - Weight::from_parts(9_437_000, 6447) - // Standard Error: 150_832 - .saturating_add(Weight::from_parts(244_196_269, 0).saturating_mul(r.into())) + // Minimum execution time: 9_781_000 picoseconds. + Weight::from_parts(9_862_000, 6447) + // Standard Error: 131_297 + .saturating_add(Weight::from_parts(247_048_895, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -1106,12 +1106,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 214_483_000 picoseconds. - Weight::from_parts(122_634_366, 6639) - // Standard Error: 2_499_235 - .saturating_add(Weight::from_parts(41_326_008, 0).saturating_mul(t.into())) + // Minimum execution time: 220_816_000 picoseconds. + Weight::from_parts(136_267_379, 6639) + // Standard Error: 2_164_786 + .saturating_add(Weight::from_parts(41_907_353, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(422, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(412, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1137,10 +1137,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 341_569_000 picoseconds. - Weight::from_parts(360_574_000, 6990) - // Standard Error: 259_746 - .saturating_add(Weight::from_parts(337_944_674, 0).saturating_mul(r.into())) + // Minimum execution time: 354_855_000 picoseconds. + Weight::from_parts(364_585_000, 6990) + // Standard Error: 222_598 + .saturating_add(Weight::from_parts(338_397_024, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1168,14 +1168,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_863_119_000 picoseconds. - Weight::from_parts(900_189_174, 6719) - // Standard Error: 13_040_979 - .saturating_add(Weight::from_parts(4_056_063, 0).saturating_mul(t.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_028, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(s.into())) + // Minimum execution time: 1_966_314_000 picoseconds. + Weight::from_parts(847_821_931, 6719) + // Standard Error: 11_591_067 + .saturating_add(Weight::from_parts(189_473, 0).saturating_mul(t.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_178, 0).saturating_mul(i.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_293, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -1187,120 +1187,120 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_211_000 picoseconds. - Weight::from_parts(11_696_412, 0) - // Standard Error: 388 - .saturating_add(Weight::from_parts(265_538, 0).saturating_mul(r.into())) + // Minimum execution time: 9_587_000 picoseconds. + Weight::from_parts(2_890_826, 0) + // Standard Error: 550 + .saturating_add(Weight::from_parts(327_118, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_296_000 picoseconds. - Weight::from_parts(572_494, 0) + // Minimum execution time: 16_096_000 picoseconds. + Weight::from_parts(4_976_812, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_067, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_099, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_177_000 picoseconds. - Weight::from_parts(8_620_481, 0) - // Standard Error: 249 - .saturating_add(Weight::from_parts(674_502, 0).saturating_mul(r.into())) + // Minimum execution time: 9_824_000 picoseconds. + Weight::from_parts(12_335_395, 0) + // Standard Error: 283 + .saturating_add(Weight::from_parts(704_708, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_240_000 picoseconds. - Weight::from_parts(8_696_186, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_328, 0).saturating_mul(n.into())) + // Minimum execution time: 11_707_000 picoseconds. + Weight::from_parts(5_608_659, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(3_398, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_889_000 picoseconds. - Weight::from_parts(16_103_170, 0) - // Standard Error: 343 - .saturating_add(Weight::from_parts(328_939, 0).saturating_mul(r.into())) + // Minimum execution time: 9_401_000 picoseconds. + Weight::from_parts(10_307_267, 0) + // Standard Error: 226 + .saturating_add(Weight::from_parts(361_044, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_405_000 picoseconds. - Weight::from_parts(2_264_024, 0) + // Minimum execution time: 11_103_000 picoseconds. + Weight::from_parts(2_526_859, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_235, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_215_000 picoseconds. - Weight::from_parts(10_505_632, 0) - // Standard Error: 240 - .saturating_add(Weight::from_parts(324_854, 0).saturating_mul(r.into())) + // Minimum execution time: 9_540_000 picoseconds. + Weight::from_parts(9_763_735, 0) + // Standard Error: 236 + .saturating_add(Weight::from_parts(362_441, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_440_000 picoseconds. - Weight::from_parts(2_575_889, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_199, 0).saturating_mul(n.into())) + // Minimum execution time: 11_247_000 picoseconds. + Weight::from_parts(1_930_191, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_236, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 55_119_000 picoseconds. - Weight::from_parts(56_732_248, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(4_639, 0).saturating_mul(n.into())) + // Minimum execution time: 57_816_000 picoseconds. + Weight::from_parts(55_913_075, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(4_887, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_176_000 picoseconds. - Weight::from_parts(9_861_102, 0) - // Standard Error: 6_029 - .saturating_add(Weight::from_parts(45_948_571, 0).saturating_mul(r.into())) + // Minimum execution time: 9_719_000 picoseconds. + Weight::from_parts(23_086_736, 0) + // Standard Error: 7_296 + .saturating_add(Weight::from_parts(40_867_952, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_293_000 picoseconds. - Weight::from_parts(28_785_765, 0) - // Standard Error: 9_160 - .saturating_add(Weight::from_parts(45_566_150, 0).saturating_mul(r.into())) + // Minimum execution time: 9_794_000 picoseconds. + Weight::from_parts(25_277_520, 0) + // Standard Error: 7_610 + .saturating_add(Weight::from_parts(45_545_764, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_206_000 picoseconds. - Weight::from_parts(12_420_664, 0) - // Standard Error: 3_489 - .saturating_add(Weight::from_parts(11_628_989, 0).saturating_mul(r.into())) + // Minimum execution time: 9_794_000 picoseconds. + Weight::from_parts(11_329_149, 0) + // Standard Error: 5_394 + .saturating_add(Weight::from_parts(11_693_839, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1314,11 +1314,11 @@ impl WeightInfo for SubstrateWeight { fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` - // Estimated: `8969 + r * (3047 ±7)` - // Minimum execution time: 9_219_000 picoseconds. - Weight::from_parts(9_385_000, 8969) - // Standard Error: 45_562 - .saturating_add(Weight::from_parts(26_360_661, 0).saturating_mul(r.into())) + // Estimated: `8969 + r * (3047 ±10)` + // Minimum execution time: 9_589_000 picoseconds. + Weight::from_parts(9_757_000, 8969) + // Standard Error: 42_571 + .saturating_add(Weight::from_parts(24_748_824, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -1330,10 +1330,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_355_000 picoseconds. - Weight::from_parts(15_071_309, 1265) - // Standard Error: 9_722 - .saturating_add(Weight::from_parts(5_328_717, 0).saturating_mul(r.into())) + // Minimum execution time: 9_648_000 picoseconds. + Weight::from_parts(15_354_226, 1265) + // Standard Error: 10_658 + .saturating_add(Weight::from_parts(5_160_846, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -1345,10 +1345,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 8_979_000 picoseconds. - Weight::from_parts(14_362_224, 990) - // Standard Error: 9_137 - .saturating_add(Weight::from_parts(4_488_748, 0).saturating_mul(r.into())) + // Minimum execution time: 9_483_000 picoseconds. + Weight::from_parts(16_418_432, 990) + // Standard Error: 9_694 + .saturating_add(Weight::from_parts(4_225_497, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -1374,10 +1374,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 269_704_000 picoseconds. - Weight::from_parts(289_916_035, 9282) - // Standard Error: 408 - .saturating_add(Weight::from_parts(166_040, 0).saturating_mul(r.into())) + // Minimum execution time: 278_508_000 picoseconds. + Weight::from_parts(291_225_997, 9282) + // Standard Error: 436 + .saturating_add(Weight::from_parts(213_882, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1387,10 +1387,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_361_000 picoseconds. - Weight::from_parts(11_633_836, 0) - // Standard Error: 86 - .saturating_add(Weight::from_parts(83_083, 0).saturating_mul(r.into())) + // Minimum execution time: 9_727_000 picoseconds. + Weight::from_parts(12_687_575, 0) + // Standard Error: 169 + .saturating_add(Weight::from_parts(122_307, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1399,10 +1399,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 9_133_000 picoseconds. - Weight::from_parts(13_259_836, 1704) - // Standard Error: 121 - .saturating_add(Weight::from_parts(76_878, 0).saturating_mul(r.into())) + // Minimum execution time: 9_710_000 picoseconds. + Weight::from_parts(13_835_550, 1704) + // Standard Error: 109 + .saturating_add(Weight::from_parts(99_494, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1410,10 +1410,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 851_000 picoseconds. - Weight::from_parts(587_883, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(14_912, 0).saturating_mul(r.into())) + // Minimum execution time: 896_000 picoseconds. + Weight::from_parts(800_741, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(5_972, 0).saturating_mul(r.into())) } } @@ -1425,8 +1425,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_149_000 picoseconds. - Weight::from_parts(2_274_000, 1627) + // Minimum execution time: 1_945_000 picoseconds. + Weight::from_parts(2_039_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1436,10 +1436,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_863_000 picoseconds. - Weight::from_parts(13_188_000, 442) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(1_105_325, 0).saturating_mul(k.into())) + // Minimum execution time: 12_172_000 picoseconds. + Weight::from_parts(12_695_000, 442) + // Standard Error: 1_033 + .saturating_add(Weight::from_parts(1_097_618, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1453,10 +1453,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_432_000 picoseconds. - Weight::from_parts(9_203_290, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(c.into())) + // Minimum execution time: 8_316_000 picoseconds. + Weight::from_parts(8_882_582, 6149) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_191, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1469,8 +1469,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_177_000 picoseconds. - Weight::from_parts(17_663_000, 6450) + // Minimum execution time: 16_673_000 picoseconds. + Weight::from_parts(17_167_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1483,10 +1483,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_636_000 picoseconds. - Weight::from_parts(3_774_000, 3635) - // Standard Error: 542 - .saturating_add(Weight::from_parts(1_260_058, 0).saturating_mul(k.into())) + // Minimum execution time: 3_489_000 picoseconds. + Weight::from_parts(2_205_392, 3635) + // Standard Error: 1_750 + .saturating_add(Weight::from_parts(1_188_338, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1507,10 +1507,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_585_000 picoseconds. - Weight::from_parts(22_069_944, 6266) + // Minimum execution time: 20_832_000 picoseconds. + Weight::from_parts(20_900_313, 6266) // Standard Error: 1 - .saturating_add(Weight::from_parts(404, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(436, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1521,8 +1521,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 13_283_000 picoseconds. - Weight::from_parts(14_015_000, 6380) + // Minimum execution time: 12_851_000 picoseconds. + Weight::from_parts(13_654_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1536,8 +1536,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 48_022_000 picoseconds. - Weight::from_parts(49_627_000, 6292) + // Minimum execution time: 47_235_000 picoseconds. + Weight::from_parts(48_230_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1549,8 +1549,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 58_374_000 picoseconds. - Weight::from_parts(59_615_000, 6534) + // Minimum execution time: 57_223_000 picoseconds. + Weight::from_parts(58_745_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1560,8 +1560,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_559_000 picoseconds. - Weight::from_parts(12_947_000, 6349) + // Minimum execution time: 12_404_000 picoseconds. + Weight::from_parts(12_899_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1571,8 +1571,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_480_000 picoseconds. - Weight::from_parts(2_680_000, 1627) + // Minimum execution time: 2_387_000 picoseconds. + Weight::from_parts(2_530_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1584,8 +1584,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_625_000 picoseconds. - Weight::from_parts(13_094_000, 3631) + // Minimum execution time: 12_284_000 picoseconds. + Weight::from_parts(12_583_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1595,8 +1595,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_836_000 picoseconds. - Weight::from_parts(5_182_000, 3607) + // Minimum execution time: 4_718_000 picoseconds. + Weight::from_parts(5_054_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1607,8 +1607,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_319_000 picoseconds. - Weight::from_parts(6_582_000, 3632) + // Minimum execution time: 6_173_000 picoseconds. + Weight::from_parts(6_399_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1619,8 +1619,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_532_000 picoseconds. - Weight::from_parts(6_909_000, 3607) + // Minimum execution time: 5_963_000 picoseconds. + Weight::from_parts(6_410_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1645,10 +1645,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 305_778_000 picoseconds. - Weight::from_parts(282_321_249, 9217) - // Standard Error: 72 - .saturating_add(Weight::from_parts(33_456, 0).saturating_mul(c.into())) + // Minimum execution time: 312_916_000 picoseconds. + Weight::from_parts(330_325_434, 9217) + // Standard Error: 31 + .saturating_add(Weight::from_parts(48_386, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1680,14 +1680,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 3_810_809_000 picoseconds. - Weight::from_parts(739_511_598, 8740) - // Standard Error: 140 - .saturating_add(Weight::from_parts(67_574, 0).saturating_mul(c.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_488, 0).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_537, 0).saturating_mul(s.into())) + // Minimum execution time: 4_036_610_000 picoseconds. + Weight::from_parts(645_877_398, 8740) + // Standard Error: 99 + .saturating_add(Weight::from_parts(100_008, 0).saturating_mul(c.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_719, 0).saturating_mul(i.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_675, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1717,12 +1717,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 1_986_789_000 picoseconds. - Weight::from_parts(2_017_466_000, 8982) + // Minimum execution time: 2_065_826_000 picoseconds. + Weight::from_parts(2_077_877_000, 8982) // Standard Error: 26 - .saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(874, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(781, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(786, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1746,8 +1746,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 210_724_000 picoseconds. - Weight::from_parts(218_608_000, 9244) + // Minimum execution time: 209_470_000 picoseconds. + Weight::from_parts(217_762_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1768,10 +1768,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 271_259_000 picoseconds. - Weight::from_parts(298_852_854, 6085) - // Standard Error: 65 - .saturating_add(Weight::from_parts(33_547, 0).saturating_mul(c.into())) + // Minimum execution time: 276_033_000 picoseconds. + Weight::from_parts(429_951_075, 6085) + // Standard Error: 153 + .saturating_add(Weight::from_parts(49_302, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1792,10 +1792,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 278_167_000 picoseconds. - Weight::from_parts(311_888_941, 6085) - // Standard Error: 58 - .saturating_add(Weight::from_parts(33_595, 0).saturating_mul(c.into())) + // Minimum execution time: 273_690_000 picoseconds. + Weight::from_parts(322_219_355, 6085) + // Standard Error: 50 + .saturating_add(Weight::from_parts(49_122, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1813,8 +1813,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 47_403_000 picoseconds. - Weight::from_parts(48_707_000, 3780) + // Minimum execution time: 45_993_000 picoseconds. + Weight::from_parts(47_023_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1830,8 +1830,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 35_361_000 picoseconds. - Weight::from_parts(36_714_000, 8967) + // Minimum execution time: 34_729_000 picoseconds. + Weight::from_parts(35_713_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1840,10 +1840,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_340_000 picoseconds. - Weight::from_parts(9_360_237, 0) - // Standard Error: 269 - .saturating_add(Weight::from_parts(249_611, 0).saturating_mul(r.into())) + // Minimum execution time: 9_585_000 picoseconds. + Weight::from_parts(12_690_856, 0) + // Standard Error: 236 + .saturating_add(Weight::from_parts(277_645, 0).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1852,10 +1852,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `509 + r * (77 ±0)` // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 9_059_000 picoseconds. - Weight::from_parts(9_201_000, 1467) - // Standard Error: 5_643 - .saturating_add(Weight::from_parts(3_343_859, 0).saturating_mul(r.into())) + // Minimum execution time: 9_701_000 picoseconds. + Weight::from_parts(9_917_000, 1467) + // Standard Error: 5_512 + .saturating_add(Weight::from_parts(3_393_712, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) } @@ -1866,10 +1866,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `517 + r * (170 ±0)` // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 9_220_000 picoseconds. - Weight::from_parts(9_399_000, 1468) - // Standard Error: 6_194 - .saturating_add(Weight::from_parts(4_172_011, 0).saturating_mul(r.into())) + // Minimum execution time: 9_508_000 picoseconds. + Weight::from_parts(9_819_000, 1468) + // Standard Error: 5_894 + .saturating_add(Weight::from_parts(4_096_095, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) } @@ -1878,50 +1878,50 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_707_000 picoseconds. - Weight::from_parts(10_100_456, 0) - // Standard Error: 234 - .saturating_add(Weight::from_parts(338_464, 0).saturating_mul(r.into())) + // Minimum execution time: 9_603_000 picoseconds. + Weight::from_parts(10_828_292, 0) + // Standard Error: 212 + .saturating_add(Weight::from_parts(380_453, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_origin(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_524_000 picoseconds. - Weight::from_parts(10_813_389, 0) - // Standard Error: 76 - .saturating_add(Weight::from_parts(102_535, 0).saturating_mul(r.into())) + // Minimum execution time: 9_595_000 picoseconds. + Weight::from_parts(10_743_016, 0) + // Standard Error: 120 + .saturating_add(Weight::from_parts(123_372, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_caller_is_root(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_799_000 picoseconds. - Weight::from_parts(10_886_744, 0) - // Standard Error: 75 - .saturating_add(Weight::from_parts(80_901, 0).saturating_mul(r.into())) + // Minimum execution time: 9_511_000 picoseconds. + Weight::from_parts(11_177_552, 0) + // Standard Error: 152 + .saturating_add(Weight::from_parts(104_731, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_895_000 picoseconds. - Weight::from_parts(10_658_338, 0) - // Standard Error: 189 - .saturating_add(Weight::from_parts(249_694, 0).saturating_mul(r.into())) + // Minimum execution time: 9_649_000 picoseconds. + Weight::from_parts(6_251_221, 0) + // Standard Error: 438 + .saturating_add(Weight::from_parts(287_799, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_gas_left(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_643_000 picoseconds. - Weight::from_parts(10_932_126, 0) - // Standard Error: 153 - .saturating_add(Weight::from_parts(280_924, 0).saturating_mul(r.into())) + // Minimum execution time: 9_644_000 picoseconds. + Weight::from_parts(10_922_943, 0) + // Standard Error: 242 + .saturating_add(Weight::from_parts(326_593, 0).saturating_mul(r.into())) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1930,10 +1930,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3599` - // Minimum execution time: 9_548_000 picoseconds. - Weight::from_parts(9_737_000, 3599) - // Standard Error: 971 - .saturating_add(Weight::from_parts(1_704_134, 0).saturating_mul(r.into())) + // Minimum execution time: 9_655_000 picoseconds. + Weight::from_parts(15_378_371, 3599) + // Standard Error: 2_577 + .saturating_add(Weight::from_parts(1_601_766, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1941,40 +1941,40 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_172_000 picoseconds. - Weight::from_parts(18_255_933, 0) - // Standard Error: 540 - .saturating_add(Weight::from_parts(230_929, 0).saturating_mul(r.into())) + // Minimum execution time: 9_894_000 picoseconds. + Weight::from_parts(10_377_675, 0) + // Standard Error: 207 + .saturating_add(Weight::from_parts(276_899, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_minimum_balance(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_232_000 picoseconds. - Weight::from_parts(9_796_584, 0) - // Standard Error: 208 - .saturating_add(Weight::from_parts(239_962, 0).saturating_mul(r.into())) + // Minimum execution time: 9_630_000 picoseconds. + Weight::from_parts(11_012_903, 0) + // Standard Error: 183 + .saturating_add(Weight::from_parts(264_882, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_block_number(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_747_000 picoseconds. - Weight::from_parts(8_733_230, 0) - // Standard Error: 377 - .saturating_add(Weight::from_parts(253_801, 0).saturating_mul(r.into())) + // Minimum execution time: 9_624_000 picoseconds. + Weight::from_parts(13_100_730, 0) + // Standard Error: 868 + .saturating_add(Weight::from_parts(274_015, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_now(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_214_000 picoseconds. - Weight::from_parts(10_194_153, 0) - // Standard Error: 516 - .saturating_add(Weight::from_parts(247_621, 0).saturating_mul(r.into())) + // Minimum execution time: 9_660_000 picoseconds. + Weight::from_parts(9_885_024, 0) + // Standard Error: 265 + .saturating_add(Weight::from_parts(268_232, 0).saturating_mul(r.into())) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1983,10 +1983,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 9_022_000 picoseconds. - Weight::from_parts(22_051_160, 1552) - // Standard Error: 697 - .saturating_add(Weight::from_parts(709_612, 0).saturating_mul(r.into())) + // Minimum execution time: 9_636_000 picoseconds. + Weight::from_parts(12_732_614, 1552) + // Standard Error: 734 + .saturating_add(Weight::from_parts(723_933, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -1994,10 +1994,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_135_000 picoseconds. - Weight::from_parts(10_646_215, 0) - // Standard Error: 161 - .saturating_add(Weight::from_parts(170_336, 0).saturating_mul(r.into())) + // Minimum execution time: 9_874_000 picoseconds. + Weight::from_parts(8_630_939, 0) + // Standard Error: 437 + .saturating_add(Weight::from_parts(207_913, 0).saturating_mul(r.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2020,10 +2020,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `872` // Estimated: `9287` - // Minimum execution time: 273_896_000 picoseconds. - Weight::from_parts(148_309_654, 9287) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_355, 0).saturating_mul(n.into())) + // Minimum execution time: 285_023_000 picoseconds. + Weight::from_parts(159_787_138, 9287) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_375, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2032,20 +2032,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_906_000 picoseconds. - Weight::from_parts(9_264_446, 0) - // Standard Error: 19_760 - .saturating_add(Weight::from_parts(1_256_053, 0).saturating_mul(r.into())) + // Minimum execution time: 9_582_000 picoseconds. + Weight::from_parts(10_226_420, 0) + // Standard Error: 22_827 + .saturating_add(Weight::from_parts(1_792_879, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_return_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_266_000 picoseconds. - Weight::from_parts(10_602_261, 0) + // Minimum execution time: 11_769_000 picoseconds. + Weight::from_parts(11_648_643, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(318, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(388, 0).saturating_mul(n.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -2074,10 +2074,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `4805 + r * (2121 ±0)` // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 295_922_000 picoseconds. - Weight::from_parts(322_472_877, 13220) - // Standard Error: 993_812 - .saturating_add(Weight::from_parts(259_075_422, 0).saturating_mul(r.into())) + // Minimum execution time: 304_287_000 picoseconds. + Weight::from_parts(332_172_687, 13220) + // Standard Error: 929_541 + .saturating_add(Weight::from_parts(246_819_212, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2091,10 +2091,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_427_000 picoseconds. - Weight::from_parts(12_996_213, 1561) - // Standard Error: 845 - .saturating_add(Weight::from_parts(1_182_642, 0).saturating_mul(r.into())) + // Minimum execution time: 9_642_000 picoseconds. + Weight::from_parts(13_900_228, 1561) + // Standard Error: 436 + .saturating_add(Weight::from_parts(1_197_990, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 1600]`. @@ -2102,10 +2102,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_304_000 picoseconds. - Weight::from_parts(25_678_842, 0) - // Standard Error: 1_855 - .saturating_add(Weight::from_parts(1_814_511, 0).saturating_mul(r.into())) + // Minimum execution time: 9_544_000 picoseconds. + Weight::from_parts(8_980_507, 0) + // Standard Error: 3_091 + .saturating_add(Weight::from_parts(1_813_037, 0).saturating_mul(r.into())) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2115,12 +2115,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 23_425_000 picoseconds. - Weight::from_parts(15_229_010, 990) - // Standard Error: 14_380 - .saturating_add(Weight::from_parts(2_545_653, 0).saturating_mul(t.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(594, 0).saturating_mul(n.into())) + // Minimum execution time: 25_487_000 picoseconds. + Weight::from_parts(16_568_322, 990) + // Standard Error: 11_130 + .saturating_add(Weight::from_parts(2_464_087, 0).saturating_mul(t.into())) + // Standard Error: 3 + .saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -2130,20 +2130,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_117_000 picoseconds. - Weight::from_parts(12_887_533, 0) - // Standard Error: 83 - .saturating_add(Weight::from_parts(99_373, 0).saturating_mul(r.into())) + // Minimum execution time: 9_141_000 picoseconds. + Weight::from_parts(12_494_876, 0) + // Standard Error: 408 + .saturating_add(Weight::from_parts(128_131, 0).saturating_mul(r.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message_per_byte(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_982_000 picoseconds. - Weight::from_parts(11_176_000, 0) + // Minimum execution time: 11_632_000 picoseconds. + Weight::from_parts(11_832_000, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(983, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_012, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2152,10 +2152,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_150_000 picoseconds. - Weight::from_parts(9_269_000, 105) - // Standard Error: 8_147 - .saturating_add(Weight::from_parts(5_339_554, 0).saturating_mul(r.into())) + // Minimum execution time: 9_913_000 picoseconds. + Weight::from_parts(10_165_000, 105) + // Standard Error: 8_137 + .saturating_add(Weight::from_parts(5_218_356, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2167,10 +2167,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 19_085_000 picoseconds. - Weight::from_parts(20_007_323, 245) - // Standard Error: 3 - .saturating_add(Weight::from_parts(291, 0).saturating_mul(n.into())) + // Minimum execution time: 19_265_000 picoseconds. + Weight::from_parts(20_029_614, 245) + // Standard Error: 2 + .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2181,10 +2181,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_127_000 picoseconds. - Weight::from_parts(21_152_987, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(42, 0).saturating_mul(n.into())) + // Minimum execution time: 19_388_000 picoseconds. + Weight::from_parts(20_909_729, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(65, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2196,10 +2196,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_264_000 picoseconds. - Weight::from_parts(9_449_000, 105) - // Standard Error: 8_196 - .saturating_add(Weight::from_parts(5_325_578, 0).saturating_mul(r.into())) + // Minimum execution time: 9_649_000 picoseconds. + Weight::from_parts(9_830_000, 105) + // Standard Error: 8_341 + .saturating_add(Weight::from_parts(5_194_400, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2211,10 +2211,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_489_000 picoseconds. - Weight::from_parts(19_916_153, 248) + // Minimum execution time: 19_254_000 picoseconds. + Weight::from_parts(20_704_635, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(97, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2226,10 +2226,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_299_000 picoseconds. - Weight::from_parts(9_464_000, 105) - // Standard Error: 6_827 - .saturating_add(Weight::from_parts(4_720_699, 0).saturating_mul(r.into())) + // Minimum execution time: 9_679_000 picoseconds. + Weight::from_parts(9_783_000, 105) + // Standard Error: 6_842 + .saturating_add(Weight::from_parts(4_614_791, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2240,10 +2240,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_981_000 picoseconds. - Weight::from_parts(19_802_353, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into())) + // Minimum execution time: 18_096_000 picoseconds. + Weight::from_parts(20_208_486, 248) + // Standard Error: 4 + .saturating_add(Weight::from_parts(632, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2254,10 +2254,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_891_000 picoseconds. - Weight::from_parts(10_046_000, 105) - // Standard Error: 6_993 - .saturating_add(Weight::from_parts(4_601_167, 0).saturating_mul(r.into())) + // Minimum execution time: 9_582_000 picoseconds. + Weight::from_parts(9_795_000, 105) + // Standard Error: 6_728 + .saturating_add(Weight::from_parts(4_511_493, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) } @@ -2268,10 +2268,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_229_000 picoseconds. - Weight::from_parts(18_302_733, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + // Minimum execution time: 21_087_000 picoseconds. + Weight::from_parts(24_058_886, 248) + // Standard Error: 10 + .saturating_add(Weight::from_parts(4, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -2282,10 +2282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `108 + r * (150 ±0)` // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_323_000 picoseconds. - Weight::from_parts(9_462_000, 105) - // Standard Error: 8_031 - .saturating_add(Weight::from_parts(5_433_981, 0).saturating_mul(r.into())) + // Minimum execution time: 13_737_000 picoseconds. + Weight::from_parts(13_933_000, 105) + // Standard Error: 8_458 + .saturating_add(Weight::from_parts(5_272_314, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) @@ -2297,9 +2297,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_711_000 picoseconds. - Weight::from_parts(20_495_670, 248) - // Standard Error: 3 + // Minimum execution time: 19_817_000 picoseconds. + Weight::from_parts(21_621_691, 248) + // Standard Error: 4 .saturating_add(Weight::from_parts(640, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2312,10 +2312,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `770` // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_226_000 picoseconds. - Weight::from_parts(9_394_000, 4221) - // Standard Error: 14_741 - .saturating_add(Weight::from_parts(34_179_316, 0).saturating_mul(r.into())) + // Minimum execution time: 9_593_000 picoseconds. + Weight::from_parts(22_062_360, 4221) + // Standard Error: 42_276 + .saturating_add(Weight::from_parts(32_420_934, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -2337,10 +2337,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `520 + r * (170 ±0)` // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_455_000 picoseconds. - Weight::from_parts(9_671_000, 6463) - // Standard Error: 126_080 - .saturating_add(Weight::from_parts(244_204_040, 0).saturating_mul(r.into())) + // Minimum execution time: 9_553_000 picoseconds. + Weight::from_parts(9_907_000, 6463) + // Standard Error: 100_342 + .saturating_add(Weight::from_parts(248_409_118, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -2362,10 +2362,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0 + r * (527 ±0)` // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 9_274_000 picoseconds. - Weight::from_parts(9_437_000, 6447) - // Standard Error: 150_832 - .saturating_add(Weight::from_parts(244_196_269, 0).saturating_mul(r.into())) + // Minimum execution time: 9_781_000 picoseconds. + Weight::from_parts(9_862_000, 6447) + // Standard Error: 131_297 + .saturating_add(Weight::from_parts(247_048_895, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) @@ -2388,12 +2388,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `699 + t * (277 ±0)` // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 214_483_000 picoseconds. - Weight::from_parts(122_634_366, 6639) - // Standard Error: 2_499_235 - .saturating_add(Weight::from_parts(41_326_008, 0).saturating_mul(t.into())) + // Minimum execution time: 220_816_000 picoseconds. + Weight::from_parts(136_267_379, 6639) + // Standard Error: 2_164_786 + .saturating_add(Weight::from_parts(41_907_353, 0).saturating_mul(t.into())) // Standard Error: 3 - .saturating_add(Weight::from_parts(422, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(412, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2419,10 +2419,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1097 + r * (188 ±0)` // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 341_569_000 picoseconds. - Weight::from_parts(360_574_000, 6990) - // Standard Error: 259_746 - .saturating_add(Weight::from_parts(337_944_674, 0).saturating_mul(r.into())) + // Minimum execution time: 354_855_000 picoseconds. + Weight::from_parts(364_585_000, 6990) + // Standard Error: 222_598 + .saturating_add(Weight::from_parts(338_397_024, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -2450,14 +2450,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760 + t * (104 ±0)` // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_863_119_000 picoseconds. - Weight::from_parts(900_189_174, 6719) - // Standard Error: 13_040_979 - .saturating_add(Weight::from_parts(4_056_063, 0).saturating_mul(t.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_028, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(s.into())) + // Minimum execution time: 1_966_314_000 picoseconds. + Weight::from_parts(847_821_931, 6719) + // Standard Error: 11_591_067 + .saturating_add(Weight::from_parts(189_473, 0).saturating_mul(t.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_178, 0).saturating_mul(i.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_293, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -2469,120 +2469,120 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_211_000 picoseconds. - Weight::from_parts(11_696_412, 0) - // Standard Error: 388 - .saturating_add(Weight::from_parts(265_538, 0).saturating_mul(r.into())) + // Minimum execution time: 9_587_000 picoseconds. + Weight::from_parts(2_890_826, 0) + // Standard Error: 550 + .saturating_add(Weight::from_parts(327_118, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_296_000 picoseconds. - Weight::from_parts(572_494, 0) + // Minimum execution time: 16_096_000 picoseconds. + Weight::from_parts(4_976_812, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_067, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_099, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_keccak_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_177_000 picoseconds. - Weight::from_parts(8_620_481, 0) - // Standard Error: 249 - .saturating_add(Weight::from_parts(674_502, 0).saturating_mul(r.into())) + // Minimum execution time: 9_824_000 picoseconds. + Weight::from_parts(12_335_395, 0) + // Standard Error: 283 + .saturating_add(Weight::from_parts(704_708, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 11_240_000 picoseconds. - Weight::from_parts(8_696_186, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_328, 0).saturating_mul(n.into())) + // Minimum execution time: 11_707_000 picoseconds. + Weight::from_parts(5_608_659, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(3_398, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_256(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_889_000 picoseconds. - Weight::from_parts(16_103_170, 0) - // Standard Error: 343 - .saturating_add(Weight::from_parts(328_939, 0).saturating_mul(r.into())) + // Minimum execution time: 9_401_000 picoseconds. + Weight::from_parts(10_307_267, 0) + // Standard Error: 226 + .saturating_add(Weight::from_parts(361_044, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_405_000 picoseconds. - Weight::from_parts(2_264_024, 0) + // Minimum execution time: 11_103_000 picoseconds. + Weight::from_parts(2_526_859, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_235, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 1600]`. fn seal_hash_blake2_128(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_215_000 picoseconds. - Weight::from_parts(10_505_632, 0) - // Standard Error: 240 - .saturating_add(Weight::from_parts(324_854, 0).saturating_mul(r.into())) + // Minimum execution time: 9_540_000 picoseconds. + Weight::from_parts(9_763_735, 0) + // Standard Error: 236 + .saturating_add(Weight::from_parts(362_441, 0).saturating_mul(r.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_440_000 picoseconds. - Weight::from_parts(2_575_889, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_199, 0).saturating_mul(n.into())) + // Minimum execution time: 11_247_000 picoseconds. + Weight::from_parts(1_930_191, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_236, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 55_119_000 picoseconds. - Weight::from_parts(56_732_248, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(4_639, 0).saturating_mul(n.into())) + // Minimum execution time: 57_816_000 picoseconds. + Weight::from_parts(55_913_075, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(4_887, 0).saturating_mul(n.into())) } /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_176_000 picoseconds. - Weight::from_parts(9_861_102, 0) - // Standard Error: 6_029 - .saturating_add(Weight::from_parts(45_948_571, 0).saturating_mul(r.into())) + // Minimum execution time: 9_719_000 picoseconds. + Weight::from_parts(23_086_736, 0) + // Standard Error: 7_296 + .saturating_add(Weight::from_parts(40_867_952, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_293_000 picoseconds. - Weight::from_parts(28_785_765, 0) - // Standard Error: 9_160 - .saturating_add(Weight::from_parts(45_566_150, 0).saturating_mul(r.into())) + // Minimum execution time: 9_794_000 picoseconds. + Weight::from_parts(25_277_520, 0) + // Standard Error: 7_610 + .saturating_add(Weight::from_parts(45_545_764, 0).saturating_mul(r.into())) } /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_206_000 picoseconds. - Weight::from_parts(12_420_664, 0) - // Standard Error: 3_489 - .saturating_add(Weight::from_parts(11_628_989, 0).saturating_mul(r.into())) + // Minimum execution time: 9_794_000 picoseconds. + Weight::from_parts(11_329_149, 0) + // Standard Error: 5_394 + .saturating_add(Weight::from_parts(11_693_839, 0).saturating_mul(r.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -2596,11 +2596,11 @@ impl WeightInfo for () { fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (926 ±0)` - // Estimated: `8969 + r * (3047 ±7)` - // Minimum execution time: 9_219_000 picoseconds. - Weight::from_parts(9_385_000, 8969) - // Standard Error: 45_562 - .saturating_add(Weight::from_parts(26_360_661, 0).saturating_mul(r.into())) + // Estimated: `8969 + r * (3047 ±10)` + // Minimum execution time: 9_589_000 picoseconds. + Weight::from_parts(9_757_000, 8969) + // Standard Error: 42_571 + .saturating_add(Weight::from_parts(24_748_824, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) @@ -2612,10 +2612,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `274 + r * (78 ±0)` // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_355_000 picoseconds. - Weight::from_parts(15_071_309, 1265) - // Standard Error: 9_722 - .saturating_add(Weight::from_parts(5_328_717, 0).saturating_mul(r.into())) + // Minimum execution time: 9_648_000 picoseconds. + Weight::from_parts(15_354_226, 1265) + // Standard Error: 10_658 + .saturating_add(Weight::from_parts(5_160_846, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) @@ -2627,10 +2627,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `275 + r * (78 ±0)` // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 8_979_000 picoseconds. - Weight::from_parts(14_362_224, 990) - // Standard Error: 9_137 - .saturating_add(Weight::from_parts(4_488_748, 0).saturating_mul(r.into())) + // Minimum execution time: 9_483_000 picoseconds. + Weight::from_parts(16_418_432, 990) + // Standard Error: 9_694 + .saturating_add(Weight::from_parts(4_225_497, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) @@ -2656,10 +2656,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `861 + r * (3 ±0)` // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 269_704_000 picoseconds. - Weight::from_parts(289_916_035, 9282) - // Standard Error: 408 - .saturating_add(Weight::from_parts(166_040, 0).saturating_mul(r.into())) + // Minimum execution time: 278_508_000 picoseconds. + Weight::from_parts(291_225_997, 9282) + // Standard Error: 436 + .saturating_add(Weight::from_parts(213_882, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2669,10 +2669,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_361_000 picoseconds. - Weight::from_parts(11_633_836, 0) - // Standard Error: 86 - .saturating_add(Weight::from_parts(83_083, 0).saturating_mul(r.into())) + // Minimum execution time: 9_727_000 picoseconds. + Weight::from_parts(12_687_575, 0) + // Standard Error: 169 + .saturating_add(Weight::from_parts(122_307, 0).saturating_mul(r.into())) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -2681,10 +2681,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 9_133_000 picoseconds. - Weight::from_parts(13_259_836, 1704) - // Standard Error: 121 - .saturating_add(Weight::from_parts(76_878, 0).saturating_mul(r.into())) + // Minimum execution time: 9_710_000 picoseconds. + Weight::from_parts(13_835_550, 1704) + // Standard Error: 109 + .saturating_add(Weight::from_parts(99_494, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -2692,9 +2692,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 851_000 picoseconds. - Weight::from_parts(587_883, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(14_912, 0).saturating_mul(r.into())) + // Minimum execution time: 896_000 picoseconds. + Weight::from_parts(800_741, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(5_972, 0).saturating_mul(r.into())) } } From 0de97130fb15b4026ae353e434f0960f1325764f Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 22 Apr 2024 10:39:25 +0200 Subject: [PATCH 13/75] wip --- .../frame/contracts/proc-macro/src/lib.rs | 144 +++++++++++++----- .../src/benchmarking/call_builder.rs | 10 ++ .../frame/contracts/src/benchmarking/mod.rs | 21 +++ substrate/frame/contracts/src/wasm/mod.rs | 3 + 4 files changed, 138 insertions(+), 40 deletions(-) diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index 1794d09d5ad2..454d1881b594 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -528,8 +528,9 @@ fn expand_env(def: &EnvDef, docs: bool) -> TokenStream2 { /// - real implementation, to register it in the contract execution environment; /// - dummy implementation, to be used as mocks for contract validation step. fn expand_impls(def: &EnvDef) -> TokenStream2 { - let impls = expand_functions(def, true, quote! { crate::wasm::Runtime }); - let dummy_impls = expand_functions(def, false, quote! { () }); + let impls = expand_functions(def, ExpandMode::Impl); + let dummy_impls = expand_functions(def, ExpandMode::MockImpl); + let bench_impls = expand_functions(def, ExpandMode::BenchImpl); quote! { impl<'a, E: Ext> crate::wasm::Environment> for Env @@ -545,6 +546,14 @@ fn expand_impls(def: &EnvDef) -> TokenStream2 { } } + #[cfg(feature = "runtime-benchmarks")] + pub struct BenchEnv(::core::marker::PhantomData); + + #[cfg(feature = "runtime-benchmarks")] + impl BenchEnv { + #bench_impls + } + impl crate::wasm::Environment<()> for Env { fn define( @@ -560,7 +569,29 @@ fn expand_impls(def: &EnvDef) -> TokenStream2 { } } -fn expand_functions(def: &EnvDef, expand_blocks: bool, host_state: TokenStream2) -> TokenStream2 { +enum ExpandMode { + Impl, + BenchImpl, + MockImpl, +} + +impl ExpandMode { + fn expand_blocks(&self) -> bool { + match *self { + ExpandMode::Impl | ExpandMode::BenchImpl => true, + ExpandMode::MockImpl => false, + } + } + + fn host_state(&self) -> TokenStream2 { + match *self { + ExpandMode::Impl | ExpandMode::BenchImpl => quote! { crate::wasm::runtime::Runtime }, + ExpandMode::MockImpl => quote! { () }, + } + } +} + +fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { let impls = def.host_funcs.iter().map(|f| { // skip the context and memory argument let params = f.item.sig.inputs.iter().skip(2); @@ -608,23 +639,34 @@ fn expand_functions(def: &EnvDef, expand_blocks: bool, host_state: TokenStream2) // - We replace any code by unreachable! // - Allow unused variables as the code that uses is not expanded // - We don't need to map the error as we simply panic if they code would ever be executed - let inner = if expand_blocks { - quote! { || #output { - let (memory, ctx) = __caller__ - .data() - .memory() - .expect("Memory must be set when setting up host data; qed") - .data_and_store_mut(&mut __caller__); - #wrapped_body_with_trace - } } - } else { - quote! { || -> #wasm_output { - // This is part of the implementation for `Environment<()>` which is not - // meant to be actually executed. It is only for validation which will - // never call host functions. - ::core::unreachable!() - } } + let expand_blocks = expand_mode.expand_blocks(); + let inner = match expand_mode { + ExpandMode::Impl => { + quote! { || #output { + let (memory, ctx) = __caller__ + .data() + .memory() + .expect("Memory must be set when setting up host data; qed") + .data_and_store_mut(&mut __caller__); + #wrapped_body_with_trace + } } + }, + ExpandMode::BenchImpl => { + let body = &body.stmts; + quote!{ + #(#body)* + } + }, + ExpandMode::MockImpl => { + quote! { || -> #wasm_output { + // This is part of the implementation for `Environment<()>` which is not + // meant to be actually executed. It is only for validation which will + // never call host functions. + ::core::unreachable!() + } } + }, }; + let into_host = if expand_blocks { quote! { |reason| { @@ -676,29 +718,51 @@ fn expand_functions(def: &EnvDef, expand_blocks: bool, host_state: TokenStream2) quote! { } }; - quote! { - // We need to allow all interfaces when runtime benchmarks are performed because - // we generate the weights even when those interfaces are not enabled. This - // is necessary as the decision whether we allow unstable or deprecated functions - // is a decision made at runtime. Generation of the weights happens statically. - if ::core::cfg!(feature = "runtime-benchmarks") || - ((#is_stable || __allow_unstable__) && (#not_deprecated || __allow_deprecated__)) - { - #allow_unused - linker.define(#module, #name, ::wasmi::Func::wrap(&mut*store, |mut __caller__: ::wasmi::Caller<#host_state>, #( #params, )*| -> #wasm_output { - #sync_gas_before - let mut func = #inner; - let result = func().map_err(#into_host).map(::core::convert::Into::into); - #sync_gas_after - result - }))?; - } + + match expand_mode { + ExpandMode::BenchImpl => { + let name = Ident::new(&format!("{module}_{name}"), Span::call_site()); + quote! { + pub fn #name(ctx: &mut crate::wasm::Runtime, memory: &mut [u8], #(#params),*) #output { + #inner + } + } + }, + _ => { + let host_state = expand_mode.host_state(); + quote! { + // We need to allow all interfaces when runtime benchmarks are performed because + // we generate the weights even when those interfaces are not enabled. This + // is necessary as the decision whether we allow unstable or deprecated functions + // is a decision made at runtime. Generation of the weights happens statically. + if ::core::cfg!(feature = "runtime-benchmarks") || + ((#is_stable || __allow_unstable__) && (#not_deprecated || __allow_deprecated__)) + { + #allow_unused + linker.define(#module, #name, ::wasmi::Func::wrap(&mut*store, |mut __caller__: ::wasmi::Caller<#host_state>, #( #params, )*| -> #wasm_output { + #sync_gas_before + let mut func = #inner; + let result = func().map_err(#into_host).map(::core::convert::Into::into); + #sync_gas_after + result + }))?; + } + } + }, } }); - quote! { - let __allow_unstable__ = matches!(allow_unstable, AllowUnstableInterface::Yes); - let __allow_deprecated__ = matches!(allow_deprecated, AllowDeprecatedInterface::Yes); - #( #impls )* + + match expand_mode { + ExpandMode::BenchImpl => { + quote! { + #( #impls )* + } + }, + _ => quote! { + let __allow_unstable__ = matches!(allow_unstable, AllowUnstableInterface::Yes); + let __allow_deprecated__ = matches!(allow_deprecated, AllowDeprecatedInterface::Yes); + #( #impls )* + }, } } diff --git a/substrate/frame/contracts/src/benchmarking/call_builder.rs b/substrate/frame/contracts/src/benchmarking/call_builder.rs index 285fe0052b4d..ccb849cba1f4 100644 --- a/substrate/frame/contracts/src/benchmarking/call_builder.rs +++ b/substrate/frame/contracts/src/benchmarking/call_builder.rs @@ -57,6 +57,16 @@ pub struct CallSetup { data: Vec, } +impl Default for CallSetup +where + T: Config + pallet_balances::Config, + as HasCompact>::Type: Clone + Eq + PartialEq + Debug + TypeInfo + Encode, +{ + fn default() -> Self { + Self::new(WasmModule::dummy()) + } +} + impl CallSetup where T: Config + pallet_balances::Config, diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 676fd320a172..5b20713c0cee 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -629,6 +629,27 @@ mod benchmarks { } } + #[benchmark(pov_mode = Measured)] + fn seal_caller_2() { + let mut setup = CallSetup::::default(); + let (mut ext, _) = setup.ext(); + let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); + let mut memory = [0u8; 36]; + memory[0..4].copy_from_slice(&32u32.to_le_bytes()); + + let result; + #[block] + { + result = crate::wasm::BenchEnv::seal0_caller(&mut runtime, &mut memory, 4, 0); + } + + frame_support::assert_ok!(result); + assert_eq!( + ::decode(&mut &memory[4..]).unwrap(), + ext.caller().account_id().unwrap().clone() + ); + } + #[benchmark(pov_mode = Measured)] fn seal_is_contract(r: Linear<0, API_BENCHMARK_RUNS>) { let accounts = (0..r).map(|n| account::("account", n, 0)).collect::>(); diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index 8d7f928dba33..a8ec935b6ecb 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -31,6 +31,9 @@ pub use { tests::MockExt, }; +#[cfg(feature = "runtime-benchmarks")] +pub use crate::wasm::runtime::BenchEnv; + pub use crate::wasm::{ prepare::{LoadedModule, LoadingMode}, runtime::{ From d4ab2a811f862ea77cd650399af4c93774558e85 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 22 Apr 2024 20:31:54 +0200 Subject: [PATCH 14/75] wip --- .../frame/contracts/proc-macro/src/lib.rs | 33 +++++++---- .../src/benchmarking/call_builder.rs | 10 ++++ .../frame/contracts/src/benchmarking/code.rs | 30 ++++++++++ .../frame/contracts/src/benchmarking/mod.rs | 58 ++++++------------- substrate/frame/contracts/src/wasm/runtime.rs | 7 +++ 5 files changed, 85 insertions(+), 53 deletions(-) diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index 454d1881b594..2bb1bbcc4caf 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -132,6 +132,7 @@ struct HostFn { alias_to: Option, /// Formulating the predicate inverted makes the expression using it simpler. not_deprecated: bool, + cfg: Option, } enum HostFnReturn { @@ -163,13 +164,13 @@ impl ToTokens for HostFn { impl HostFn { pub fn try_from(mut item: syn::ItemFn) -> syn::Result { let err = |span, msg| { - let msg = format!("Invalid host function definition. {}", msg); + let msg = format!("Invalid host function definition.\n{}", msg); syn::Error::new(span, msg) }; // process attributes let msg = - "only #[version()], #[unstable], #[prefixed_alias] and #[deprecated] attributes are allowed."; + "Only #[version()], #[unstable], #[prefixed_alias] and #[deprecated] attributes are allowed."; let span = item.span(); let mut attrs = item.attrs.clone(); attrs.retain(|a| !a.path().is_ident("doc")); @@ -177,6 +178,7 @@ impl HostFn { let mut is_stable = true; let mut alias_to = None; let mut not_deprecated = true; + let mut cfg = None; while let Some(attr) = attrs.pop() { let ident = attr.path().get_ident().ok_or(err(span, msg))?.to_string(); match ident.as_str() { @@ -206,7 +208,13 @@ impl HostFn { } not_deprecated = false; }, - _ => return Err(err(span, msg)), + "cfg" => { + if cfg.is_some() { + return Err(err(span, "#[cfg] can only be specified once")) + } + cfg = Some(attr); + }, + id => return Err(err(span, &format!("Unsupported attribute \"{id}\". {msg}"))), } } let name = item.sig.ident.to_string(); @@ -311,6 +319,7 @@ impl HostFn { is_stable, alias_to, not_deprecated, + cfg, }) }, _ => Err(err(span, &msg)), @@ -532,6 +541,8 @@ fn expand_impls(def: &EnvDef) -> TokenStream2 { let dummy_impls = expand_functions(def, ExpandMode::MockImpl); let bench_impls = expand_functions(def, ExpandMode::BenchImpl); + std::fs::write("/tmp/impls.rs", format!("{}", impls)).unwrap(); + quote! { impl<'a, E: Ext> crate::wasm::Environment> for Env { @@ -595,14 +606,12 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { let impls = def.host_funcs.iter().map(|f| { // skip the context and memory argument let params = f.item.sig.inputs.iter().skip(2); - - let (module, name, body, wasm_output, output) = ( - f.module(), - &f.name, - &f.item.block, - f.returns.to_wasm_sig(), - &f.item.sig.output - ); + let module = f.module(); + let cfg = &f.cfg; + let name = &f.name; + let body = &f.item.block; + let wasm_output = f.returns.to_wasm_sig(); + let output = &f.item.sig.output; let is_stable = f.is_stable; let not_deprecated = f.not_deprecated; @@ -718,7 +727,6 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { quote! { } }; - match expand_mode { ExpandMode::BenchImpl => { let name = Ident::new(&format!("{module}_{name}"), Span::call_site()); @@ -735,6 +743,7 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { // we generate the weights even when those interfaces are not enabled. This // is necessary as the decision whether we allow unstable or deprecated functions // is a decision made at runtime. Generation of the weights happens statically. + #cfg if ::core::cfg!(feature = "runtime-benchmarks") || ((#is_stable || __allow_unstable__) && (#not_deprecated || __allow_deprecated__)) { diff --git a/substrate/frame/contracts/src/benchmarking/call_builder.rs b/substrate/frame/contracts/src/benchmarking/call_builder.rs index ccb849cba1f4..1b1200930430 100644 --- a/substrate/frame/contracts/src/benchmarking/call_builder.rs +++ b/substrate/frame/contracts/src/benchmarking/call_builder.rs @@ -178,3 +178,13 @@ macro_rules! call_builder( let $func = CallSetup::::prepare_call(&mut ext, module, data); }; ); + +#[macro_export] +macro_rules! build_runtime( + ($runtime:ident, $memory:ident: $val:expr) => { + let mut setup = CallSetup::::default(); + let (mut ext, _) = setup.ext(); + let mut $runtime = crate::wasm::Runtime::new(&mut ext, vec![]); + let mut $memory = $val.encode(); + }; +); diff --git a/substrate/frame/contracts/src/benchmarking/code.rs b/substrate/frame/contracts/src/benchmarking/code.rs index b97cf168e26d..a7a350514523 100644 --- a/substrate/frame/contracts/src/benchmarking/code.rs +++ b/substrate/frame/contracts/src/benchmarking/code.rs @@ -322,6 +322,36 @@ impl WasmModule { .into() } + /// TODO doc + pub fn noop(repeat: u32) -> Self { + let pages = max_pages::(); + ModuleDefinition { + memory: Some(ImportedMemory::max::()), + imported_functions: vec![ImportedFunction { + module: "seal0", + name: "noop", + params: vec![], + return_type: None, + }], + // Write the output buffer size. The output size will be overwritten by the + // supervisor with the real size when calling the getter. Since this size does not + // change between calls it suffices to start with an initial value and then just + // leave as whatever value was written there. + data_segments: vec![DataSegment { + offset: 0, + value: (pages * 64 * 1024 - 4).to_le_bytes().to_vec(), + }], + call_body: Some(body::repeated( + repeat, + &[ + Instruction::Call(0), // call the imported function + ], + )), + ..Default::default() + } + .into() + } + /// Creates a wasm module that calls the imported hash function named `name` `repeat` times /// with an input of size `data_size`. Hash functions have the signature /// (input_ptr: u32, input_len: u32, output_ptr: u32) -> () diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 5b20713c0cee..64cf4c82ea44 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -39,7 +39,7 @@ use crate::{ use codec::{Encode, MaxEncodedLen}; use frame_benchmarking::v2::*; use frame_support::{ - self, + self, assert_ok, pallet_prelude::StorageVersion, traits::{fungible::InspectHold, Currency}, weights::{Weight, WeightMeter}, @@ -621,8 +621,8 @@ mod benchmarks { } #[benchmark(pov_mode = Measured)] - fn seal_caller(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal0", "seal_caller", r)); + fn call_noop_host_fn(r: Linear<0, API_BENCHMARK_RUNS>) { + call_builder!(func, WasmModule::noop(r)); #[block] { func.call(); @@ -630,12 +630,8 @@ mod benchmarks { } #[benchmark(pov_mode = Measured)] - fn seal_caller_2() { - let mut setup = CallSetup::::default(); - let (mut ext, _) = setup.ext(); - let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); - let mut memory = [0u8; 36]; - memory[0..4].copy_from_slice(&32u32.to_le_bytes()); + fn seal_caller() { + build_runtime!(runtime, memory: (32u32, [0u8; 32])); let result; #[block] @@ -643,47 +639,27 @@ mod benchmarks { result = crate::wasm::BenchEnv::seal0_caller(&mut runtime, &mut memory, 4, 0); } - frame_support::assert_ok!(result); + assert_ok!(result); assert_eq!( ::decode(&mut &memory[4..]).unwrap(), - ext.caller().account_id().unwrap().clone() + runtime.ext().caller().account_id().unwrap().clone() ); } #[benchmark(pov_mode = Measured)] - fn seal_is_contract(r: Linear<0, API_BENCHMARK_RUNS>) { - let accounts = (0..r).map(|n| account::("account", n, 0)).collect::>(); - let account_len = accounts.get(0).map(|i| i.encode().len()).unwrap_or(0); - let accounts_bytes = accounts.iter().flat_map(|a| a.encode()).collect::>(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_is_contract", - params: vec![ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: accounts_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, account_len as u32), // address_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, instance, code); - let info = instance.info().unwrap(); - // every account would be a contract (worst case) - for acc in accounts.iter() { - >::insert(acc, info.clone()); - } + fn seal_is_contract() { + let Contract { account_id, .. } = + Contract::::with_index(1, WasmModule::dummy(), vec![]).unwrap(); + + build_runtime!(runtime, memory: account_id); + + let result; #[block] { - func.call(); + result = crate::wasm::BenchEnv::seal0_is_contract(&mut runtime, &mut memory, 0); } + + assert_eq!(result.unwrap(), 1); } #[benchmark(pov_mode = Measured)] diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index 28a08ab0224d..04e087c4107a 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -957,6 +957,13 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> { // for every function. #[define_env(doc)] pub mod env { + + /// Noop function used to benchmark the time it takes to execute an empty function. + #[cfg(feature = "runtime-benchmarks")] + fn noop(ctx: _, memory: _) -> Result<(), TrapReason> { + Ok(()) + } + /// Set the value at the given key in the contract storage. /// See [`pallet_contracts_uapi::HostFn::set_storage`] #[prefixed_alias] From ecedf8c72e6330f023d2499d28b0f7a595815547 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 22 Apr 2024 21:15:57 +0200 Subject: [PATCH 15/75] wip --- .../src/benchmarking/call_builder.rs | 4 ++ .../frame/contracts/src/benchmarking/mod.rs | 67 +++++++++++++------ 2 files changed, 52 insertions(+), 19 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/call_builder.rs b/substrate/frame/contracts/src/benchmarking/call_builder.rs index 1b1200930430..d94a42b8404b 100644 --- a/substrate/frame/contracts/src/benchmarking/call_builder.rs +++ b/substrate/frame/contracts/src/benchmarking/call_builder.rs @@ -182,7 +182,11 @@ macro_rules! call_builder( #[macro_export] macro_rules! build_runtime( ($runtime:ident, $memory:ident: $val:expr) => { + $crate::build_runtime!($runtime, _contract, $memory: $val); + }; + ($runtime:ident, $contract:ident, $memory:ident: $val:expr) => { let mut setup = CallSetup::::default(); + let $contract = setup.contract(); let (mut ext, _) = setup.ext(); let mut $runtime = crate::wasm::Runtime::new(&mut ext, vec![]); let mut $memory = $val.encode(); diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 64cf4c82ea44..f322ac03adba 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -34,6 +34,7 @@ use crate::{ migration::{ codegen::LATEST_MIGRATION_VERSION, v09, v10, v11, v12, v13, v14, v15, v16, MigrationStep, }, + wasm::BenchEnv, Pallet as Contracts, *, }; use codec::{Encode, MaxEncodedLen}; @@ -636,7 +637,7 @@ mod benchmarks { let result; #[block] { - result = crate::wasm::BenchEnv::seal0_caller(&mut runtime, &mut memory, 4, 0); + result = BenchEnv::seal0_caller(&mut runtime, &mut memory, 4, 0); } assert_ok!(result); @@ -656,7 +657,7 @@ mod benchmarks { let result; #[block] { - result = crate::wasm::BenchEnv::seal0_is_contract(&mut runtime, &mut memory, 0); + result = BenchEnv::seal0_is_contract(&mut runtime, &mut memory, 0); } assert_eq!(result.unwrap(), 1); @@ -707,12 +708,19 @@ mod benchmarks { } #[benchmark(pov_mode = Measured)] - fn seal_own_code_hash(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal0", "seal_own_code_hash", r)); + fn seal_own_code_hash() { + build_runtime!(runtime, contract, memory: (32u32, [0u8; 32])); + let result; #[block] { - func.call(); + result = BenchEnv::seal0_own_code_hash(&mut runtime, &mut memory, 4, 0); } + + assert_ok!(result); + assert_eq!( + as Decode>::decode(&mut &memory[4..]).unwrap(), + contract.info().unwrap().code_hash + ); } #[benchmark(pov_mode = Measured)] @@ -758,48 +766,69 @@ mod benchmarks { } #[benchmark(pov_mode = Measured)] - fn seal_address(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal0", "seal_address", r)); + fn seal_address() { + build_runtime!(runtime, contract, memory: (32u32, [0u8; 32])); + let result; #[block] { - func.call(); + result = BenchEnv::seal0_address(&mut runtime, &mut memory, 4, 0); } + assert_ok!(result); + assert_eq!( + ::decode(&mut &memory[4..]).unwrap(), + contract.account_id + ); } #[benchmark(pov_mode = Measured)] - fn seal_gas_left(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal1", "gas_left", r)); + fn seal_gas_left() { + build_runtime!(runtime, memory: (32u32, [0u8; 32])); + let result; #[block] { - func.call(); + result = BenchEnv::seal1_gas_left(&mut runtime, &mut memory, 4, 0); } + assert_ok!(result); + assert_ok!(::decode(&mut &memory[4..])); } #[benchmark(pov_mode = Measured)] - fn seal_balance(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal0", "seal_balance", r)); + fn seal_balance() { + let out_ptr = ::max_encoded_len() as u32; + build_runtime!(runtime, memory: (out_ptr, T::Balance::default())); + let result; #[block] { - func.call(); + result = BenchEnv::seal0_seal_balance(&mut runtime, &mut memory, 4, 0); } + assert_ok!(result); + assert_ok!(::decode(&mut &memory[4..])); } #[benchmark(pov_mode = Measured)] - fn seal_value_transferred(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal0", "seal_value_transferred", r)); + fn seal_value_transferred() { + let out_ptr = ::max_encoded_len() as u32; + build_runtime!(runtime, memory: (out_ptr, T::Balance::default())); + let result; #[block] { - func.call(); + result = BenchEnv::seal0_value_transferred(&mut runtime, &mut memory, 4, 0); } + assert_ok!(result); + assert_ok!(::decode(&mut &memory[4..])); } #[benchmark(pov_mode = Measured)] fn seal_minimum_balance(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal0", "seal_minimum_balance", r)); + let out_ptr = ::max_encoded_len() as u32; + build_runtime!(runtime, memory: (out_ptr, T::Balance::default())); + let result; #[block] { - func.call(); + result = BenchEnv::seal0_minimum_balance(&mut runtime, &mut memory, 4, 0); } + assert_ok!(result); + assert_ok!(::decode(&mut &memory[4..])); } #[benchmark(pov_mode = Measured)] From f2152fe12a442d8eee36001ba7268203a7f089bd Mon Sep 17 00:00:00 2001 From: pgherveou Date: Tue, 23 Apr 2024 22:02:08 +0200 Subject: [PATCH 16/75] wip --- .../src/benchmarking/call_builder.rs | 17 +- .../frame/contracts/src/benchmarking/code.rs | 36 +- .../frame/contracts/src/benchmarking/mod.rs | 845 +++++------------- substrate/frame/contracts/src/exec.rs | 4 +- substrate/frame/contracts/src/wasm/mod.rs | 2 +- 5 files changed, 235 insertions(+), 669 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/call_builder.rs b/substrate/frame/contracts/src/benchmarking/call_builder.rs index d94a42b8404b..c69c329ebbf7 100644 --- a/substrate/frame/contracts/src/benchmarking/call_builder.rs +++ b/substrate/frame/contracts/src/benchmarking/call_builder.rs @@ -181,14 +181,23 @@ macro_rules! call_builder( #[macro_export] macro_rules! build_runtime( - ($runtime:ident, $memory:ident: $val:expr) => { - $crate::build_runtime!($runtime, _contract, $memory: $val); + // ($runtime:ident, $memory:ident: $val:expr) => { + // $crate::build_runtime!($runtime, _contract, $memory: $val); + // }; + ($runtime:ident, $memory:ident: [$($segment:expr,)*]) => { + $crate::build_runtime!($runtime, _contract, $memory: [$($segment,)*]); }; - ($runtime:ident, $contract:ident, $memory:ident: $val:expr) => { + ($runtime:ident, $contract:ident, $memory:ident: [$($segment:expr,)*]) => { + $crate::build_runtime!($runtime, $contract); + let mut $memory = vec![] + .into_iter() + $(.chain($segment))* + .collect::>(); + }; + ($runtime:ident, $contract:ident) => { let mut setup = CallSetup::::default(); let $contract = setup.contract(); let (mut ext, _) = setup.ext(); let mut $runtime = crate::wasm::Runtime::new(&mut ext, vec![]); - let mut $memory = $val.encode(); }; ); diff --git a/substrate/frame/contracts/src/benchmarking/code.rs b/substrate/frame/contracts/src/benchmarking/code.rs index a7a350514523..987cc0263275 100644 --- a/substrate/frame/contracts/src/benchmarking/code.rs +++ b/substrate/frame/contracts/src/benchmarking/code.rs @@ -288,41 +288,7 @@ impl WasmModule { module.into() } - /// Creates a wasm module that calls the imported function named `getter_name` `repeat` - /// times. The imported function is expected to have the "getter signature" of - /// (out_ptr: u32, len_ptr: u32) -> (). - pub fn getter(module_name: &'static str, getter_name: &'static str, repeat: u32) -> Self { - let pages = max_pages::(); - ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: module_name, - name: getter_name, - params: vec![ValueType::I32, ValueType::I32], - return_type: None, - }], - // Write the output buffer size. The output size will be overwritten by the - // supervisor with the real size when calling the getter. Since this size does not - // change between calls it suffices to start with an initial value and then just - // leave as whatever value was written there. - data_segments: vec![DataSegment { - offset: 0, - value: (pages * 64 * 1024 - 4).to_le_bytes().to_vec(), - }], - call_body: Some(body::repeated( - repeat, - &[ - Instruction::I32Const(4), // ptr where to store output - Instruction::I32Const(0), // ptr to length - Instruction::Call(0), // call the imported function - ], - )), - ..Default::default() - } - .into() - } - - /// TODO doc + /// Creates a wasm module that calls the imported function `noop` `repeat` times. pub fn noop(repeat: u32) -> Self { let pages = max_pages::(); ModuleDefinition { diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 7c8f89650b14..6c1149a6acb0 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -30,7 +30,7 @@ use self::{ sandbox::Sandbox, }; use crate::{ - exec::Key, + exec::{Key, SeedOf}, migration::{ codegen::LATEST_MIGRATION_VERSION, v09, v10, v11, v12, v13, v14, v15, v16, MigrationStep, }, @@ -632,7 +632,8 @@ mod benchmarks { #[benchmark(pov_mode = Measured)] fn seal_caller() { - build_runtime!(runtime, memory: (32u32, [0u8; 32])); + let len = ::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); let result; #[block] @@ -642,8 +643,8 @@ mod benchmarks { assert_ok!(result); assert_eq!( - ::decode(&mut &memory[4..]).unwrap(), - runtime.ext().caller().account_id().unwrap().clone() + &::decode(&mut &memory[4..]).unwrap(), + runtime.ext().caller().account_id().unwrap() ); } @@ -652,7 +653,7 @@ mod benchmarks { let Contract { account_id, .. } = Contract::::with_index(1, WasmModule::dummy(), vec![]).unwrap(); - build_runtime!(runtime, memory: account_id); + build_runtime!(runtime, memory: [account_id.encode(), ]); let result; #[block] @@ -664,55 +665,28 @@ mod benchmarks { } #[benchmark(pov_mode = Measured)] - fn seal_code_hash(r: Linear<0, API_BENCHMARK_RUNS>) { - let accounts = (0..r).map(|n| account::("account", n, 0)).collect::>(); - let account_len = accounts.get(0).map(|i| i.encode().len()).unwrap_or(0); - let accounts_bytes = accounts.iter().flat_map(|a| a.encode()).collect::>(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_code_hash", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { - offset: 0, - value: 32u32.to_le_bytes().to_vec(), // output length - }, - DataSegment { offset: 36, value: accounts_bytes }, - ], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(36, account_len as u32), // address_ptr - Regular(Instruction::I32Const(4)), // ptr to output data - Regular(Instruction::I32Const(0)), // ptr to output length - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, instance, code); - let info = instance.info().unwrap(); - // every account would be a contract (worst case) - for acc in accounts.iter() { - >::insert(acc, info.clone()); - } + fn seal_code_hash() { + let contract = Contract::::with_index(1, WasmModule::dummy(), vec![]).unwrap(); + let len = as MaxEncodedLen>::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], contract.account_id.encode(), ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_code_hash(&mut runtime, &mut memory, 4 + len, 4, 0); } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); + assert_eq!( + as Decode>::decode(&mut &memory[4..]).unwrap(), + contract.info().unwrap().code_hash + ); } #[benchmark(pov_mode = Measured)] fn seal_own_code_hash() { - build_runtime!(runtime, contract, memory: (32u32, [0u8; 32])); + let len = as MaxEncodedLen>::max_encoded_len() as u32; + build_runtime!(runtime, contract, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); let result; #[block] { @@ -727,56 +701,37 @@ mod benchmarks { } #[benchmark(pov_mode = Measured)] - fn seal_caller_is_origin(r: Linear<0, API_BENCHMARK_RUNS>) { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_caller_is_origin", - params: vec![], - return_type: Some(ValueType::I32), - }], - call_body: Some(body::repeated(r, &[Instruction::Call(0), Instruction::Drop])), - ..Default::default() - }); - call_builder!(func, code); + fn seal_caller_is_origin() { + build_runtime!(runtime, memory: []); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_caller_is_origin(&mut runtime, &mut memory); } - assert_eq!(res.did_revert(), false); + assert_eq!(result.unwrap(), 1u32); } #[benchmark(pov_mode = Measured)] - fn seal_caller_is_root(r: Linear<0, API_BENCHMARK_RUNS>) { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "caller_is_root", - params: vec![], - return_type: Some(ValueType::I32), - }], - call_body: Some(body::repeated(r, &[Instruction::Call(0), Instruction::Drop])), - ..Default::default() - }); - let mut setup = CallSetup::::new(code); + fn seal_caller_is_root() { + let mut setup = CallSetup::::default(); setup.set_origin(Origin::Root); - call_builder!(func, setup: setup); + let (mut ext, _) = setup.ext(); + let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_caller_is_root(&mut runtime, &mut [0u8; 0]); } - assert_eq!(res.did_revert(), false); + assert_eq!(result.unwrap(), 1u32); } #[benchmark(pov_mode = Measured)] fn seal_address() { - build_runtime!(runtime, contract, memory: (32u32, [0u8; 32])); + let len = as MaxEncodedLen>::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); + let result; #[block] { @@ -784,346 +739,184 @@ mod benchmarks { } assert_ok!(result); assert_eq!( - ::decode(&mut &memory[4..]).unwrap(), - contract.account_id + &::decode(&mut &memory[4..]).unwrap(), + runtime.ext().address() ); } #[benchmark(pov_mode = Measured)] fn seal_gas_left() { - build_runtime!(runtime, memory: (32u32, [0u8; 32])); + // use correct max_encoded_len when new version of parity-scale-codec is released + let len = 18u32; + assert!(::max_encoded_len() as u32 != len); + build_runtime!(runtime, memory: [32u32.to_le_bytes(), vec![0u8; len as _], ]); + let result; #[block] { result = BenchEnv::seal1_gas_left(&mut runtime, &mut memory, 4, 0); } assert_ok!(result); - assert_ok!(::decode(&mut &memory[4..])); + assert_eq!( + ::decode(&mut &memory[4..]).unwrap(), + runtime.ext().gas_meter().gas_left() + ); } #[benchmark(pov_mode = Measured)] fn seal_balance() { - let out_ptr = ::max_encoded_len() as u32; - build_runtime!(runtime, memory: (out_ptr, T::Balance::default())); + let len = ::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); let result; #[block] { result = BenchEnv::seal0_seal_balance(&mut runtime, &mut memory, 4, 0); } assert_ok!(result); - assert_ok!(::decode(&mut &memory[4..])); + assert_eq!( + ::decode(&mut &memory[4..]).unwrap(), + runtime.ext().balance().into() + ); } #[benchmark(pov_mode = Measured)] fn seal_value_transferred() { - let out_ptr = ::max_encoded_len() as u32; - build_runtime!(runtime, memory: (out_ptr, T::Balance::default())); + let len = ::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); let result; #[block] { result = BenchEnv::seal0_value_transferred(&mut runtime, &mut memory, 4, 0); } assert_ok!(result); - assert_ok!(::decode(&mut &memory[4..])); + assert_eq!( + ::decode(&mut &memory[4..]).unwrap(), + runtime.ext().value_transferred().into() + ); } #[benchmark(pov_mode = Measured)] fn seal_minimum_balance(r: Linear<0, API_BENCHMARK_RUNS>) { - let out_ptr = ::max_encoded_len() as u32; - build_runtime!(runtime, memory: (out_ptr, T::Balance::default())); + let len = ::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); let result; #[block] { result = BenchEnv::seal0_minimum_balance(&mut runtime, &mut memory, 4, 0); } assert_ok!(result); - assert_ok!(::decode(&mut &memory[4..])); + assert_eq!( + ::decode(&mut &memory[4..]).unwrap(), + runtime.ext().minimum_balance().into() + ); } #[benchmark(pov_mode = Measured)] - fn seal_block_number(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal0", "seal_block_number", r)); - - let res; + fn seal_block_number() { + let len = as MaxEncodedLen>::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_seal_block_number(&mut runtime, &mut memory, 4, 0); } - assert_eq!(res.did_revert(), false); + assert_ok!(result); + assert_eq!( + >::decode(&mut &memory[4..]).unwrap(), + runtime.ext().block_number() + ); } #[benchmark(pov_mode = Measured)] - fn seal_now(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::getter("seal0", "seal_now", r)); - - let res; + fn seal_now() { + let len = as MaxEncodedLen>::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_seal_now(&mut runtime, &mut memory, 4, 0); } - assert_eq!(res.did_revert(), false); + assert_ok!(result); + assert_eq!(>::decode(&mut &memory[4..]).unwrap(), *runtime.ext().now()); } #[benchmark(pov_mode = Measured)] - fn seal_weight_to_fee(r: Linear<0, API_BENCHMARK_RUNS>) { - let pages = code::max_pages::(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "weight_to_fee", - params: vec![ValueType::I64, ValueType::I64, ValueType::I32, ValueType::I32], - return_type: None, - }], - data_segments: vec![DataSegment { - offset: 0, - value: (pages * 64 * 1024 - 4).to_le_bytes().to_vec(), - }], - call_body: Some(body::repeated( - r, - &[ - Instruction::I64Const(500_000), - Instruction::I64Const(300_000), - Instruction::I32Const(4), - Instruction::I32Const(0), - Instruction::Call(0), - ], - )), - ..Default::default() - }); - call_builder!(func, code); - - let res; + fn seal_weight_to_fee() { + let len = ::max_encoded_len() as u32; + build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); + let weight = Weight::from_parts(500_000, 300_000); + let result; #[block] { - res = func.call(); + result = BenchEnv::seal1_weight_to_fee( + &mut runtime, + &mut memory, + weight.ref_time(), + weight.proof_size(), + 4, + 0, + ); } - assert_eq!(res.did_revert(), false); + assert_ok!(result); + assert_eq!( + >::decode(&mut &memory[4..]).unwrap(), + runtime.ext().get_weight_price(weight) + ); } #[benchmark(pov_mode = Measured)] - fn seal_input(r: Linear<0, API_BENCHMARK_RUNS>) { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_input", - params: vec![ValueType::I32, ValueType::I32], - return_type: None, - }], - data_segments: vec![DataSegment { offset: 0, value: 0u32.to_le_bytes().to_vec() }], - call_body: Some(body::repeated( - r, - &[ - Instruction::I32Const(4), // ptr where to store output - Instruction::I32Const(0), // ptr to length - Instruction::Call(0), - ], - )), - ..Default::default() - }); - - call_builder!(func, code); + fn seal_input(n: Linear<0, { code::max_pages::() * 64 * 1024 - 4 }>) { + build_runtime!(runtime, memory: [n.to_le_bytes(), vec![42u8; n as usize], ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_input(&mut runtime, &mut memory, 4, 0) } - assert_eq!(res.did_revert(), false); - } - - #[benchmark(pov_mode = Measured)] - fn seal_input_per_byte( - n: Linear<0, { code::max_pages::() * 64 * 1024 }>, - ) -> Result<(), BenchmarkError> { - let buffer_size = code::max_pages::() * 64 * 1024 - 4; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_input", - params: vec![ValueType::I32, ValueType::I32], - return_type: None, - }], - data_segments: vec![DataSegment { - offset: 0, - value: buffer_size.to_le_bytes().to_vec(), - }], - call_body: Some(body::plain(vec![ - Instruction::I32Const(4), // ptr where to store output - Instruction::I32Const(0), // ptr to length - Instruction::Call(0), - Instruction::End, - ])), - ..Default::default() - }); - let instance = Contract::::new(code, vec![])?; - let data = vec![42u8; n.min(buffer_size) as usize]; - let origin = RawOrigin::Signed(instance.caller.clone()); - #[extrinsic_call] - call(origin, instance.addr, 0u32.into(), Weight::MAX, None, data); - Ok(()) + assert_ok!(result); } - // We cannot call `seal_return` multiple times. Therefore our weight determination is not - // as precise as with other APIs. Because this function can only be called once per - // contract it cannot be used as an attack vector. #[benchmark(pov_mode = Measured)] - fn seal_return(r: Linear<0, 1>) { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_return", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32], - return_type: None, - }], - call_body: Some(body::repeated( - r, - &[ - Instruction::I32Const(0), // flags - Instruction::I32Const(0), // data_ptr - Instruction::I32Const(0), // data_len - Instruction::Call(0), - ], - )), - ..Default::default() - }); - call_builder!(func, code); + fn seal_return(n: Linear<0, { code::max_pages::() * 64 * 1024 - 4 }>) { + build_runtime!(runtime, memory: [n.to_le_bytes(), vec![42u8; n as usize], ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_seal_return(&mut runtime, &mut memory, 0, 0, n) } - assert_eq!(res.did_revert(), false); - } - #[benchmark(pov_mode = Measured)] - fn seal_return_per_byte(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_return", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32], - return_type: None, - }], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // flags - Instruction::I32Const(0), // data_ptr - Instruction::I32Const(n as i32), // data_len - Instruction::Call(0), - Instruction::End, - ])), - ..Default::default() - }); - call_builder!(func, code); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); + assert!(matches!( + result, + Err(crate::wasm::TrapReason::Return(crate::wasm::ReturnData { .. })) + )); } // The same argument as for `seal_return` is true here. #[benchmark(pov_mode = Measured)] - fn seal_terminate(r: Linear<0, 1>) -> Result<(), BenchmarkError> { + fn seal_terminate() -> Result<(), BenchmarkError> { let beneficiary = account::("beneficiary", 0, 0); - let beneficiary_bytes = beneficiary.encode(); - let beneficiary_len = beneficiary_bytes.len(); let caller = whitelisted_caller(); + build_runtime!(runtime, memory: [beneficiary.encode(),]); + T::Currency::set_balance(&caller, caller_funding::()); // Maximize the delegate_dependencies to account for the worst-case scenario. - let code_hashes = (0..T::MaxDelegateDependencies::get()) - .map(|i| { - let new_code = WasmModule::::dummy_with_bytes(65 + i); - Contracts::::store_code_raw(new_code.code, caller.clone())?; - Ok(new_code.hash) - }) - .collect::, &'static str>>()?; - let code_hash_len = code_hashes.get(0).map(|x| x.encode().len()).unwrap_or(0); - let code_hashes_bytes = code_hashes.iter().flat_map(|x| x.encode()).collect::>(); - - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ - ImportedFunction { - module: "seal0", - name: "seal_terminate", - params: vec![ValueType::I32, ValueType::I32], - return_type: None, - }, - ImportedFunction { - module: "seal0", - name: "lock_delegate_dependency", - params: vec![ValueType::I32], - return_type: None, - }, - ], - data_segments: vec![ - DataSegment { offset: 0, value: beneficiary_bytes }, - DataSegment { offset: beneficiary_len as u32, value: code_hashes_bytes }, - ], - deploy_body: Some(body::repeated_dyn( - T::MaxDelegateDependencies::get(), - vec![ - Counter(beneficiary_len as u32, code_hash_len as u32), // code_hash_ptr - Regular(Instruction::Call(1)), - ], - )), - call_body: Some(body::repeated( - r, - &[ - Instruction::I32Const(0), // beneficiary_ptr - Instruction::I32Const(beneficiary_len as i32), // beneficiary_len - Instruction::Call(0), - ], - )), - ..Default::default() + (0..T::MaxDelegateDependencies::get()).for_each(|i| { + let new_code = WasmModule::::dummy_with_bytes(65 + i); + Contracts::::store_code_raw(new_code.code, caller.clone()).unwrap(); + runtime.ext().lock_delegate_dependency(new_code.hash).unwrap(); }); - let instance = Contract::::new(code, vec![])?; - let origin = RawOrigin::Signed(instance.caller.clone()); - assert_eq!(T::Currency::total_balance(&beneficiary), 0u32.into()); - assert_eq!( - T::Currency::balance(&instance.account_id), - Pallet::::min_balance() * 2u32.into() - ); - assert_ne!( - T::Currency::balance_on_hold( - &HoldReason::StorageDepositReserve.into(), - &instance.account_id - ), - 0u32.into() - ); - assert_eq!( - ContractInfoOf::::get(&instance.account_id) - .unwrap() - .delegate_dependencies_count() as u32, - T::MaxDelegateDependencies::get() - ); - #[extrinsic_call] - call(origin, instance.addr.clone(), 0u32.into(), Weight::MAX, None, vec![]); - - if r > 0 { - assert_eq!(T::Currency::total_balance(&instance.account_id), 0u32.into()); - assert_eq!( - T::Currency::balance_on_hold( - &HoldReason::StorageDepositReserve.into(), - &instance.account_id - ), - 0u32.into() - ); - assert_eq!( - T::Currency::total_balance(&beneficiary), - Pallet::::min_balance() * 2u32.into() - ); + + let result; + #[block] + { + result = BenchEnv::seal1_terminate(&mut runtime, &mut memory, 0) } + + assert!(matches!(result, Err(crate::wasm::TrapReason::Termination))); + Ok(()) } @@ -1131,161 +924,77 @@ mod benchmarks { // number (< 1 KB). Therefore we are not overcharging too much in case a smaller subject is // used. #[benchmark(pov_mode = Measured)] - fn seal_random(r: Linear<0, API_BENCHMARK_RUNS>) { - let pages = code::max_pages::(); + fn seal_random() { let subject_len = T::Schedule::get().limits.subject_len; assert!(subject_len < 1024); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_random", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: None, - }], - data_segments: vec![DataSegment { - offset: 0, - value: (pages * 64 * 1024 - subject_len - 4).to_le_bytes().to_vec(), - }], - call_body: Some(body::repeated( - r, - &[ - Instruction::I32Const(4), // subject_ptr - Instruction::I32Const(subject_len as i32), // subject_len - Instruction::I32Const((subject_len + 4) as i32), // out_ptr - Instruction::I32Const(0), // out_len_ptr - Instruction::Call(0), - ], - )), - ..Default::default() - }); - call_builder!(func, code); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - } - - // Overhead of calling the function without any topic. - // We benchmark for the worst case (largest event). - #[benchmark(pov_mode = Measured)] - fn seal_deposit_event(r: Linear<0, API_BENCHMARK_RUNS>) { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_deposit_event", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: None, - }], - call_body: Some(body::repeated( - r, - &[ - Instruction::I32Const(0), // topics_ptr - Instruction::I32Const(0), // topics_len - Instruction::I32Const(0), // data_ptr - Instruction::I32Const(0), // data_len - Instruction::Call(0), - ], - )), - ..Default::default() - }); + let output_len = + <(SeedOf, BlockNumberFor) as MaxEncodedLen>::max_encoded_len() as u32; - call_builder!(func, code); + build_runtime!(runtime, memory: [ + output_len.to_le_bytes(), + vec![42u8; subject_len as _], + vec![0u8; output_len as _], + ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_random( + &mut runtime, + &mut memory, + 4, // subject_ptr + subject_len, // subject_len + subject_len + 4, // output_ptr + 0, // output_len_ptr + ) } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); + assert_ok!(<(SeedOf, BlockNumberFor)>::decode(&mut &memory[subject_len as _..])); } // Benchmark the overhead that topics generate. // `t`: Number of topics // `n`: Size of event payload in bytes #[benchmark(pov_mode = Measured)] - fn seal_deposit_event_per_topic_and_byte( + fn seal_deposit_event( t: Linear<0, { T::Schedule::get().limits.event_topics }>, n: Linear<0, { T::Schedule::get().limits.payload_len }>, ) { let topics = (0..t).map(|i| T::Hashing::hash_of(&i)).collect::>().encode(); - let topics_len = topics.len(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_deposit_event", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: None, - }], - data_segments: vec![DataSegment { offset: 0, value: topics }], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // topics_ptr - Instruction::I32Const(topics_len as i32), // topics_len - Instruction::I32Const(0), // data_ptr - Instruction::I32Const(n as i32), // data_len - Instruction::Call(0), - Instruction::End, - ])), - ..Default::default() - }); + let topics_len = topics.len() as u32; - call_builder!(func, code); + build_runtime!(runtime, memory: [ + n.to_le_bytes(), + topics, + vec![0u8; n as _], + ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_deposit_event( + &mut runtime, + &mut memory, + 4, // topics_ptr + topics_len, // topics_len + 4 + topics_len, // data_ptr + 0, // data_len + ) } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); } - // Benchmark debug_message call with zero input data. + // Benchmark debug_message call // Whereas this function is used in RPC mode only, it still should be secured // against an excessive use. - #[benchmark(pov_mode = Measured)] - fn seal_debug_message(r: Linear<0, API_BENCHMARK_RUNS>) -> Result<(), BenchmarkError> { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory { min_pages: 1, max_pages: 1 }), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_debug_message", - params: vec![ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - call_body: Some(body::repeated( - r, - &[ - Instruction::I32Const(0), // value_ptr - Instruction::I32Const(0), // value_len - Instruction::Call(0), - Instruction::Drop, - ], - )), - ..Default::default() - }); - let mut setup = CallSetup::::new(code); - setup.enable_debug_message(); - call_builder!(func, setup: setup); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - Ok(()) - } - - // Vary size of input in bytes up to maximum allowed contract memory - // or maximum allowed debug buffer size, whichever is less. + // + // i: size of input in bytes up to maximum allowed contract memory or maximum allowed debug + // buffer size, whichever is less. #[benchmark] - fn seal_debug_message_per_byte( + fn seal_debug_message( i: Linear< 0, { @@ -1293,113 +1002,21 @@ mod benchmarks { .min(T::MaxDebugBufferLen::get()) }, >, - ) -> Result<(), BenchmarkError> { - // We benchmark versus messages containing printable ASCII codes. - // About 1Kb goes to the 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 as i32), // value_len - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - let mut setup = CallSetup::::new(code); + ) { + let mut setup = CallSetup::::default(); setup.enable_debug_message(); - call_builder!(func, setup: setup); + let (mut ext, _) = setup.ext(); + let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); + // Fill memory with printable ASCII bytes. + let mut memory = (0..i).zip((32..127).cycle()).map(|i| i.1).collect::>(); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_debug_message(&mut runtime, &mut memory, 0, i); } - assert_eq!(res.did_revert(), false); + assert_ok!(result); assert_eq!(setup.debug_message().unwrap().len() as u32, i); - Ok(()) - } - - // 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 - // to generate unique storage accesses. However, it is still dominated by the storage - // accesses. We store something at all the keys that we are about to write to - // because re-writing at an existing key is always more expensive than writing - // to an key with no data behind it. - // - // # Note - // - // We need to use a smaller `r` because the keys are big and writing them all into the wasm - // might exceed the code size. - #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_set_storage(r: Linear<0, { API_BENCHMARK_RUNS / 2 }>) -> Result<(), BenchmarkError> { - let max_key_len = T::MaxStorageKeyLen::get(); - let keys = (0..r) - .map(|n| { - let mut h = T::Hashing::hash_of(&n).as_ref().to_vec(); - h.resize(max_key_len.try_into().unwrap(), n.to_le_bytes()[0]); - h - }) - .collect::>(); - let keys_bytes = keys.iter().flatten().cloned().collect::>(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal2", - name: "set_storage", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: keys_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, max_key_len as u32), // key_ptr - Regular(Instruction::I32Const(max_key_len as i32)), // key_len - Regular(Instruction::I32Const(0)), // value_ptr - Regular(Instruction::I32Const(0)), // value_len - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - - call_builder!(func, instance, code); - let info = instance.info()?; - for key in keys { - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![]), - None, - false, - ) - .map_err(|_| "Failed to write to storage during setup.")?; - } - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - Ok(()) } #[benchmark(skip_meta, pov_mode = Measured)] @@ -1407,43 +1024,30 @@ mod benchmarks { n: Linear<0, { T::Schedule::get().limits.payload_len }>, ) -> Result<(), BenchmarkError> { let max_key_len = T::MaxStorageKeyLen::get(); - let key = vec![0u8; max_key_len as usize]; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal2", - name: "set_storage", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: key.clone() }], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // key_ptr - Instruction::I32Const(max_key_len as i32), // key_len - Instruction::I32Const(0), // value_ptr - Instruction::I32Const(n as i32), // value_len - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - call_builder!(func, instance, code); + let key = Key::::try_from_var(vec![0u8; max_key_len as usize]) + .map_err(|_| "Key has wrong length")?; + let value = vec![1u8; n as usize]; + + build_runtime!(runtime, instance, memory: [ key.to_vec(), value.clone(), ]); let info = instance.info()?; - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![]), - None, - false, - ) - .map_err(|_| "Failed to write to storage during setup.")?; + info.write(&key, Some(vec![]), None, false) + .map_err(|_| "Failed to write to storage during setup.")?; - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal2_set_storage( + &mut runtime, + &mut memory, + 0, // key_ptr + max_key_len, // key_len + max_key_len, // value_ptr + n, // value_len + ); } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); + assert_eq!(info.read(&key).unwrap(), value); Ok(()) } @@ -1452,44 +1056,31 @@ mod benchmarks { n: Linear<0, { T::Schedule::get().limits.payload_len }>, ) -> Result<(), BenchmarkError> { let max_key_len = T::MaxStorageKeyLen::get(); - let key = vec![0u8; max_key_len as usize]; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal2", - name: "set_storage", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: key.clone() }], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // key_ptr - Instruction::I32Const(max_key_len as i32), // key_len - Instruction::I32Const(0), // value_ptr - Instruction::I32Const(0), /* value_len is 0 as testing vs - * pre-existing value len */ - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - call_builder!(func, instance, code); + let key = Key::::try_from_var(vec![0u8; max_key_len as usize]) + .map_err(|_| "Key has wrong length")?; + let value = vec![1u8; n as usize]; + + build_runtime!(runtime, instance, memory: [ key.to_vec(), value.clone(), ]); let info = instance.info()?; - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![42u8; n as usize]), - None, - false, - ) - .map_err(|_| "Failed to write to storage during setup.")?; - let res; + info.write(&key, Some(vec![42u8; n as usize]), None, false) + .map_err(|_| "Failed to write to storage during setup.")?; + + let result; #[block] { - res = func.call(); + result = BenchEnv::seal2_set_storage( + &mut runtime, + &mut memory, + 0, // key_ptr + max_key_len, // key_len + max_key_len, // value_ptr + 0, // value_len is 0 as testing vs pre-existing value len + ); } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); + assert!(info.read(&key).unwrap().is_empty()); Ok(()) } diff --git a/substrate/frame/contracts/src/exec.rs b/substrate/frame/contracts/src/exec.rs index 31cdadb4bb43..061d2fc3a1d9 100644 --- a/substrate/frame/contracts/src/exec.rs +++ b/substrate/frame/contracts/src/exec.rs @@ -303,7 +303,7 @@ pub trait Ext: sealing::Sealed { fn ecdsa_to_eth_address(&self, pk: &[u8; 33]) -> Result<[u8; 20], ()>; /// Tests sometimes need to modify and inspect the contract info directly. - #[cfg(test)] + #[cfg(any(test, feature = "runtime-benchmarks"))] fn contract_info(&mut self) -> &mut ContractInfo; /// Sets new code hash for existing contract. @@ -1500,7 +1500,7 @@ where ECDSAPublic::from(*pk).to_eth_address() } - #[cfg(test)] + #[cfg(any(test, feature = "runtime-benchmarks"))] fn contract_info(&mut self) -> &mut ContractInfo { self.top_frame_mut().contract_info() } diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index a8ec935b6ecb..380bd366f72a 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -32,7 +32,7 @@ pub use { }; #[cfg(feature = "runtime-benchmarks")] -pub use crate::wasm::runtime::BenchEnv; +pub use crate::wasm::runtime::{BenchEnv, ReturnData, TrapReason}; pub use crate::wasm::{ prepare::{LoadedModule, LoadingMode}, From 75f1c8c7813483231bf550084b5392af798837c2 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 25 Apr 2024 17:09:06 +0200 Subject: [PATCH 17/75] wip --- .../src/benchmarking/call_builder.rs | 20 +- .../frame/contracts/src/benchmarking/code.rs | 59 - .../frame/contracts/src/benchmarking/mod.rs | 1510 ++++------------- 3 files changed, 321 insertions(+), 1268 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/call_builder.rs b/substrate/frame/contracts/src/benchmarking/call_builder.rs index c69c329ebbf7..9f55e32ec278 100644 --- a/substrate/frame/contracts/src/benchmarking/call_builder.rs +++ b/substrate/frame/contracts/src/benchmarking/call_builder.rs @@ -179,20 +179,24 @@ macro_rules! call_builder( }; ); +#[macro_export] +macro_rules! memory( + ($($bytes:expr,)*) => { + vec![] + .into_iter() + $(.chain($bytes))* + .collect::>() + }; +); + #[macro_export] macro_rules! build_runtime( - // ($runtime:ident, $memory:ident: $val:expr) => { - // $crate::build_runtime!($runtime, _contract, $memory: $val); - // }; ($runtime:ident, $memory:ident: [$($segment:expr,)*]) => { $crate::build_runtime!($runtime, _contract, $memory: [$($segment,)*]); }; - ($runtime:ident, $contract:ident, $memory:ident: [$($segment:expr,)*]) => { + ($runtime:ident, $contract:ident, $memory:ident: [$($bytes:expr,)*]) => { $crate::build_runtime!($runtime, $contract); - let mut $memory = vec![] - .into_iter() - $(.chain($segment))* - .collect::>(); + let mut $memory = $crate::memory!($($bytes,)*); }; ($runtime:ident, $contract:ident) => { let mut setup = CallSetup::::default(); diff --git a/substrate/frame/contracts/src/benchmarking/code.rs b/substrate/frame/contracts/src/benchmarking/code.rs index 987cc0263275..65bcf30683c0 100644 --- a/substrate/frame/contracts/src/benchmarking/code.rs +++ b/substrate/frame/contracts/src/benchmarking/code.rs @@ -317,53 +317,12 @@ impl WasmModule { } .into() } - - /// Creates a wasm module that calls the imported hash function named `name` `repeat` times - /// with an input of size `data_size`. Hash functions have the signature - /// (input_ptr: u32, input_len: u32, output_ptr: u32) -> () - pub fn hasher(name: &'static str, repeat: u32, data_size: u32) -> Self { - ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name, - params: vec![ValueType::I32, ValueType::I32, ValueType::I32], - return_type: None, - }], - call_body: Some(body::repeated( - repeat, - &[ - Instruction::I32Const(0), // input_ptr - Instruction::I32Const(data_size as i32), // input_len - Instruction::I32Const(0), // output_ptr - Instruction::Call(0), - ], - )), - ..Default::default() - } - .into() - } } /// Mechanisms to generate a function body that can be used inside a `ModuleDefinition`. pub mod body { use super::*; - /// When generating contract code by repeating a Wasm sequence, it's sometimes necessary - /// to change those instructions on each repetition. The variants of this enum describe - /// various ways in which this can happen. - pub enum DynInstr { - /// Insert the associated instruction. - Regular(Instruction), - /// Insert a I32Const with incrementing value for each insertion. - /// (start_at, increment_by) - Counter(u32, u32), - } - - pub fn plain(instructions: Vec) -> FuncBody { - FuncBody::new(Vec::new(), Instructions::new(instructions)) - } - pub fn repeated(repetitions: u32, instructions: &[Instruction]) -> FuncBody { repeated_with_locals(&[], repetitions, instructions) } @@ -397,24 +356,6 @@ pub mod body { instructions.push(Instruction::End); FuncBody::new(locals.to_vec(), Instructions::new(instructions)) } - - pub fn repeated_dyn(repetitions: u32, mut instructions: Vec) -> FuncBody { - // We need to iterate over indices because we cannot cycle over mutable references - let body = (0..instructions.len()) - .cycle() - .take(instructions.len() * usize::try_from(repetitions).unwrap()) - .flat_map(|idx| match &mut instructions[idx] { - DynInstr::Regular(instruction) => vec![instruction.clone()], - DynInstr::Counter(offset, increment_by) => { - let current = *offset; - *offset += *increment_by; - vec![Instruction::I32Const(current as i32)] - }, - }) - .chain(sp_std::iter::once(Instruction::End)) - .collect(); - FuncBody::new(Vec::new(), Instructions::new(body)) - } } /// The maximum amount of pages any contract is allowed to have according to the current `Schedule`. diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 6c1149a6acb0..a5e9cacb2a24 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -23,10 +23,7 @@ mod code; mod sandbox; use self::{ call_builder::CallSetup, - code::{ - body::{self, DynInstr::*}, - DataSegment, ImportedFunction, ImportedMemory, Location, ModuleDefinition, WasmModule, - }, + code::{body, ImportedFunction, Location, ModuleDefinition, WasmModule}, sandbox::Sandbox, }; use crate::{ @@ -50,7 +47,7 @@ use pallet_balances; use pallet_contracts_uapi::CallFlags; use sp_runtime::traits::{Bounded, Hash}; use sp_std::prelude::*; -use wasm_instrument::parity_wasm::elements::{BlockType, Instruction, Local, ValueType}; +use wasm_instrument::parity_wasm::elements::{Instruction, Local, ValueType}; /// How many runs we do per API benchmark. /// @@ -1084,1419 +1081,530 @@ mod benchmarks { Ok(()) } - // Similar to seal_set_storage. We store all the keys that we are about to - // delete beforehand in order to prevent any optimizations that could occur when - // deleting a non existing key. We generate keys of a maximum length, and have to - // the amount of runs in order to make resulting contract code size less than MaxCodeLen. - #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_clear_storage(r: Linear<0, { API_BENCHMARK_RUNS / 2 }>) -> Result<(), BenchmarkError> { - let max_key_len = T::MaxStorageKeyLen::get(); - let keys = (0..r) - .map(|n| { - let mut h = T::Hashing::hash_of(&n).as_ref().to_vec(); - h.resize(max_key_len.try_into().unwrap(), n.to_le_bytes()[0]); - h - }) - .collect::>(); - let key_bytes = keys.iter().flatten().cloned().collect::>(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "clear_storage", - params: vec![ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: key_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, max_key_len as u32), // key_ptr - Regular(Instruction::I32Const(max_key_len as i32)), // key_len - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, instance, code); - let info = instance.info()?; - for key in keys { - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![]), - None, - false, - ) - .map_err(|_| "Failed to write to storage during setup.")?; - } - >::insert(&instance.account_id, info); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - Ok(()) - } - #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_clear_storage_per_byte( + fn seal_clear_storage( n: Linear<0, { T::Schedule::get().limits.payload_len }>, ) -> Result<(), BenchmarkError> { let max_key_len = T::MaxStorageKeyLen::get(); - let key = vec![0u8; max_key_len as usize]; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "clear_storage", - params: vec![ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: key.clone() }], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // key_ptr - Instruction::I32Const(max_key_len as i32), // key_len - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - call_builder!(func, instance, code); + let key = Key::::try_from_var(vec![0u8; max_key_len as usize]) + .map_err(|_| "Key has wrong length")?; + build_runtime!(runtime, instance, memory: [ key.to_vec(), ]); let info = instance.info()?; - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![42u8; n as usize]), - None, - false, - ) - .map_err(|_| "Failed to write to storage during setup.")?; - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - Ok(()) - } - - // We make sure that all storage accesses are to unique keys. - #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_get_storage(r: Linear<0, { API_BENCHMARK_RUNS / 2 }>) -> Result<(), BenchmarkError> { - let max_key_len = T::MaxStorageKeyLen::get(); - let keys = (0..r) - .map(|n| { - let mut h = T::Hashing::hash_of(&n).as_ref().to_vec(); - h.resize(max_key_len.try_into().unwrap(), n.to_le_bytes()[0]); - h - }) - .collect::>(); - let key_bytes = keys.iter().flatten().cloned().collect::>(); - let key_bytes_len = key_bytes.len(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "get_storage", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: key_bytes }, - DataSegment { - offset: key_bytes_len as u32, - value: T::Schedule::get().limits.payload_len.to_le_bytes().into(), - }, - ], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, max_key_len), // key_ptr - Regular(Instruction::I32Const(max_key_len as i32)), // key_len - Regular(Instruction::I32Const((key_bytes_len + 4) as i32)), // out_ptr - Regular(Instruction::I32Const(key_bytes_len as i32)), // out_len_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, instance, code); - let info = instance.info()?; - for key in keys { - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![]), - None, - false, - ) + info.write(&key, Some(vec![42u8; n as usize]), None, false) .map_err(|_| "Failed to write to storage during setup.")?; - } - >::insert(&instance.account_id, info); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal1_clear_storage(&mut runtime, &mut memory, 0, max_key_len); } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); + assert!(info.read(&key).is_none()); Ok(()) } #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_get_storage_per_byte( + fn seal_get_storage( n: Linear<0, { T::Schedule::get().limits.payload_len }>, ) -> Result<(), BenchmarkError> { let max_key_len = T::MaxStorageKeyLen::get(); - let key = vec![0u8; max_key_len as usize]; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "get_storage", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: key.clone() }, - DataSegment { - offset: max_key_len, - value: T::Schedule::get().limits.payload_len.to_le_bytes().into(), - }, - ], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // key_ptr - Instruction::I32Const(max_key_len as i32), // key_len - Instruction::I32Const((max_key_len + 4) as i32), // out_ptr - Instruction::I32Const(max_key_len as i32), // out_len_ptr - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - call_builder!(func, instance, code); + let key = Key::::try_from_var(vec![0u8; max_key_len as usize]) + .map_err(|_| "Key has wrong length")?; + build_runtime!(runtime, instance, memory: [ key.to_vec(), n.to_le_bytes(), vec![0u8; n as _], ]); let info = instance.info()?; - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![42u8; n as usize]), - None, - false, - ) - .map_err(|_| "Failed to write to storage during setup.")?; - >::insert(&instance.account_id, info); - let res; + info.write(&key, Some(vec![42u8; n as usize]), None, false) + .map_err(|_| "Failed to write to storage during setup.")?; + + let out_ptr = max_key_len + 4; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal1_get_storage( + &mut runtime, + &mut memory, + 0, // key_ptr + max_key_len, // key_len + out_ptr, // out_ptr + max_key_len, // out_len_ptr + ); } - assert_eq!(res.did_revert(), false); + assert_ok!(result); + assert_eq!(&info.read(&key).unwrap(), &memory[out_ptr as usize..]); Ok(()) } - // We make sure that all storage accesses are to unique keys. #[benchmark(skip_meta, pov_mode = Measured)] fn seal_contains_storage( - r: Linear<0, { API_BENCHMARK_RUNS / 2 }>, + n: Linear<0, { T::Schedule::get().limits.payload_len }>, ) -> Result<(), BenchmarkError> { let max_key_len = T::MaxStorageKeyLen::get(); - let keys = (0..r) - .map(|n| { - let mut h = T::Hashing::hash_of(&n).as_ref().to_vec(); - h.resize(max_key_len.try_into().unwrap(), n.to_le_bytes()[0]); - h - }) - .collect::>(); - let key_bytes = keys.iter().flatten().cloned().collect::>(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "contains_storage", - params: vec![ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: key_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, max_key_len as u32), // key_ptr - Regular(Instruction::I32Const(max_key_len as i32)), // key_len - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, instance, code); + let key = Key::::try_from_var(vec![0u8; max_key_len as usize]) + .map_err(|_| "Key has wrong length")?; + build_runtime!(runtime, instance, memory: [ key.to_vec(), ]); let info = instance.info()?; - for key in keys { - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![]), - None, - false, - ) + + info.write(&key, Some(vec![42u8; n as usize]), None, false) .map_err(|_| "Failed to write to storage during setup.")?; - } - >::insert(&instance.account_id, info); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal1_contains_storage(&mut runtime, &mut memory, 0, max_key_len); } - assert_eq!(res.did_revert(), false); + + assert_eq!(result.unwrap(), n); Ok(()) } #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_contains_storage_per_byte( + fn seal_take_storage( n: Linear<0, { T::Schedule::get().limits.payload_len }>, ) -> Result<(), BenchmarkError> { let max_key_len = T::MaxStorageKeyLen::get(); - let key = vec![0u8; max_key_len as usize]; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "contains_storage", - params: vec![ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: key.clone() }], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // key_ptr - Instruction::I32Const(max_key_len as i32), // key_len - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - call_builder!(func, instance, code); + let key = Key::::try_from_var(vec![0u8; max_key_len as usize]) + .map_err(|_| "Key has wrong length")?; + build_runtime!(runtime, instance, memory: [ key.to_vec(), n.to_le_bytes(), vec![0u8; n as _], ]); let info = instance.info()?; - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![42u8; n as usize]), - None, - false, - ) - .map_err(|_| "Failed to write to storage during setup.")?; - >::insert(&instance.account_id, info); - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - Ok(()) - } - - #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_take_storage(r: Linear<0, { API_BENCHMARK_RUNS / 2 }>) -> Result<(), BenchmarkError> { - let max_key_len = T::MaxStorageKeyLen::get(); - let keys = (0..r) - .map(|n| { - let mut h = T::Hashing::hash_of(&n).as_ref().to_vec(); - h.resize(max_key_len.try_into().unwrap(), n.to_le_bytes()[0]); - h - }) - .collect::>(); - let key_bytes = keys.iter().flatten().cloned().collect::>(); - let key_bytes_len = key_bytes.len(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "take_storage", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: key_bytes }, - DataSegment { - offset: key_bytes_len as u32, - value: T::Schedule::get().limits.payload_len.to_le_bytes().into(), - }, - ], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, max_key_len as u32), // key_ptr - Regular(Instruction::I32Const(max_key_len as i32)), // key_len - Regular(Instruction::I32Const((key_bytes_len + 4) as i32)), // out_ptr - Regular(Instruction::I32Const(key_bytes_len as i32)), // out_len_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, instance, code); - let info = instance.info()?; - for key in keys { - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![]), - None, - false, - ) + let value = vec![42u8; n as usize]; + info.write(&key, Some(value.clone()), None, false) .map_err(|_| "Failed to write to storage during setup.")?; - } - >::insert(&instance.account_id, info); - let res; + let out_ptr = max_key_len + 4; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_take_storage( + &mut runtime, + &mut memory, + 0, // key_ptr + max_key_len, // key_len + out_ptr, // out_ptr + max_key_len, // out_len_ptr + ); } - assert_eq!(res.did_revert(), false); - Ok(()) - } - #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_take_storage_per_byte( - n: Linear<0, { T::Schedule::get().limits.payload_len }>, - ) -> Result<(), BenchmarkError> { - let max_key_len = T::MaxStorageKeyLen::get(); - let key = vec![0u8; max_key_len as usize]; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "take_storage", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: key.clone() }, - DataSegment { - offset: max_key_len, - value: T::Schedule::get().limits.payload_len.to_le_bytes().into(), - }, - ], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // key_ptr - Instruction::I32Const(max_key_len as i32), // key_len - Instruction::I32Const((max_key_len + 4) as i32), // out_ptr - Instruction::I32Const(max_key_len as i32), // out_len_ptr - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - call_builder!(func, instance, code); - let info = instance.info()?; - info.write( - &Key::::try_from_var(key).map_err(|_| "Key has wrong length")?, - Some(vec![42u8; n as usize]), - None, - false, - ) - .map_err(|_| "Failed to write to storage during setup.")?; - >::insert(&instance.account_id, info); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); + assert_ok!(result); + assert!(&info.read(&key).is_none()); + assert_eq!(&value, &memory[out_ptr as usize..]); Ok(()) } // We transfer to unique accounts. #[benchmark(pov_mode = Measured)] - fn seal_transfer(r: Linear<0, API_BENCHMARK_RUNS>) -> Result<(), BenchmarkError> { - let accounts = - (0..r).map(|i| account::("receiver", i, 0)).collect::>(); - let account_len = accounts.get(0).map(|i| i.encode().len()).unwrap_or(0); - let account_bytes = accounts.iter().flat_map(|x| x.encode()).collect(); + fn seal_transfer() { + let account = account::("receiver", 0, 0); let value = Pallet::::min_balance(); assert!(value > 0u32.into()); - let value_bytes = value.encode(); - let value_len = value_bytes.len(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_transfer", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: value_bytes }, - DataSegment { offset: value_len as u32, value: account_bytes }, - ], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(value_len as u32, account_len as u32), // account_ptr - Regular(Instruction::I32Const(account_len as i32)), // account_len - Regular(Instruction::I32Const(0)), // value_ptr - Regular(Instruction::I32Const(value_len as i32)), // value_len - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - let mut setup = CallSetup::::new(code); - setup.set_balance(value * (r + 1).into()); - call_builder!(func, setup: setup); - - for account in &accounts { - assert_eq!(T::Currency::total_balance(account), 0u32.into()); - } - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - - for account in &accounts { - assert_eq!(T::Currency::total_balance(account), value); - } - Ok(()) - } + let mut setup = CallSetup::::default(); + setup.set_balance(value); + let (mut ext, _) = setup.ext(); + let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); - // We call unique accounts. - // - // This is a slow call: We reduce the number of runs. - #[benchmark(pov_mode = Measured)] - fn seal_call(r: Linear<0, { API_BENCHMARK_RUNS / 2 }>) -> Result<(), BenchmarkError> { - let dummy_code = WasmModule::::dummy_with_bytes(0); - let callees = (0..r) - .map(|i| Contract::with_index(i + 1, dummy_code.clone(), vec![])) - .collect::, _>>()?; - let callee_len = callees.get(0).map(|i| i.account_id.encode().len()).unwrap_or(0); - let callee_bytes = callees.iter().flat_map(|x| x.account_id.encode()).collect(); - let value: BalanceOf = 0u32.into(); + let account_bytes = account.encode(); + let account_len = account_bytes.len() as u32; let value_bytes = value.encode(); - let value_len = BalanceOf::::max_encoded_len() as u32; - // Set an own limit every 2nd call - let own_limit = (u32::MAX - 100).into(); - let deposits = (0..r) - .map(|i| if i % 2 == 0 { 0u32.into() } else { own_limit }) - .collect::>>(); - let deposits_bytes: Vec = deposits.iter().flat_map(|i| i.encode()).collect(); - let deposits_len = deposits_bytes.len() as u32; - let deposit_len = value_len; - let callee_offset = value_len + deposits_len; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal2", - name: "call", - params: vec![ - ValueType::I32, - ValueType::I32, - ValueType::I64, - ValueType::I64, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: value_bytes }, - DataSegment { offset: value_len, value: deposits_bytes }, - DataSegment { offset: callee_offset, value: callee_bytes }, - ], - call_body: Some(body::repeated_dyn( - r, - vec![ - Regular(Instruction::I32Const(0)), // flags - Counter(callee_offset, callee_len as u32), // callee_ptr - Regular(Instruction::I64Const(0)), // ref_time weight - Regular(Instruction::I64Const(0)), // proof_size weight - Counter(value_len, deposit_len as u32), // deposit_limit_ptr - Regular(Instruction::I32Const(0)), // value_ptr - Regular(Instruction::I32Const(0)), // input_data_ptr - Regular(Instruction::I32Const(0)), // input_data_len - Regular(Instruction::I32Const(SENTINEL as i32)), // output_ptr - Regular(Instruction::I32Const(0)), // output_len_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - let mut setup = CallSetup::::new(code); - setup.set_storage_deposit_limit(BalanceOf::::from(u32::MAX.into())); - call_builder!(func, setup: setup); + let value_len = value_bytes.len() as u32; + let mut memory = memory!(account_bytes, value_bytes,); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_transfer( + &mut runtime, + &mut memory, + 0, // account_ptr + account_len, + account_len, + value_len, + ); } - assert_eq!(res.did_revert(), false); - Ok(()) - } - // This is a slow call: We reduce the number of runs. - #[benchmark(pov_mode = Measured)] - fn seal_delegate_call(r: Linear<0, { API_BENCHMARK_RUNS / 2 }>) -> Result<(), BenchmarkError> { - let hashes = (0..r) - .map(|i| { - let code = WasmModule::::dummy_with_bytes(i); - let caller = whitelisted_caller(); - T::Currency::set_balance(&caller, caller_funding::()); - Contracts::::store_code_raw(code.code, caller)?; - Ok(code.hash) - }) - .collect::, &'static str>>()?; - let hash_len = hashes.get(0).map(|x| x.encode().len()).unwrap_or(0); - let hashes_bytes = hashes.iter().flat_map(|x| x.encode()).collect::>(); - let hashes_offset = 0; - - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_delegate_call", - params: vec![ - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: hashes_offset as u32, value: hashes_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Regular(Instruction::I32Const(0)), // flags - Counter(hashes_offset as u32, hash_len as u32), // code_hash_ptr - Regular(Instruction::I32Const(0)), // input_data_ptr - Regular(Instruction::I32Const(0)), // input_data_len - Regular(Instruction::I32Const(u32::max_value() as i32)), // output_ptr - Regular(Instruction::I32Const(0)), // output_len_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, code); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - Ok(()) + assert_ok!(result); } + // d: deposit limit + // t: value to transfer + // c: size of the call data #[benchmark(pov_mode = Measured)] - fn seal_call_per_transfer_clone_byte( + fn seal_call( + d: Linear<0, { 1 }>, t: Linear<0, { 1 }>, c: Linear<0, { code::max_pages::() * 64 * 1024 }>, - ) -> Result<(), BenchmarkError> { - let callee = Contract::with_index(5, >::dummy(), vec![])?; + ) { + let Contract { account_id: callee, .. } = + Contract::::with_index(1, WasmModule::dummy(), vec![]).unwrap(); + let callee_bytes = callee.encode(); + let callee_len = callee_bytes.len() as u32; + let value: BalanceOf = t.into(); let value_bytes = value.encode(); - let value_len = value_bytes.len(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "seal_call", - params: vec![ - ValueType::I32, - ValueType::I32, - ValueType::I64, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: value_bytes }, - DataSegment { offset: value_len as u32, value: callee.account_id.encode() }, - ], - call_body: Some(body::plain(vec![ - Instruction::I32Const(CallFlags::CLONE_INPUT.bits() as i32), // flags - Instruction::I32Const(value_len as i32), // callee_ptr - Instruction::I64Const(0), // gas - Instruction::I32Const(0), // value_ptr - Instruction::I32Const(0), // input_data_ptr - Instruction::I32Const(0), // input_data_len - Instruction::I32Const(SENTINEL as i32), // output_ptr - Instruction::I32Const(0), // output_len_ptr - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - let mut setup = CallSetup::::new(code); + + let deposit: BalanceOf = (d * (u32::MAX - 100)).into(); + let deposit_bytes = deposit.encode(); + let deposit_len = deposit_bytes.len() as u32; + + let mut setup = CallSetup::::default(); + if d > 0 { + setup.set_storage_deposit_limit(deposit); + } setup.set_data(vec![42; c as usize]); - call_builder!(func, setup: setup); + let (mut ext, _) = setup.ext(); + let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); + let mut memory = memory!(callee_bytes, deposit_bytes, value_bytes,); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal2_call( + &mut runtime, + &mut memory, + CallFlags::CLONE_INPUT.bits(), // flags + 0, // callee_ptr + 0, // ref_time_limit + 0, // proof_size_limit + callee_len, // deposit_ptr + callee_len + deposit_len, // value_ptr + 0, // input_data_ptr + 0, // input_data_len + SENTINEL, // output_ptr + 0, // output_len_ptr + ); } - assert_eq!(res.did_revert(), false); - Ok(()) + + assert_ok!(result); } - // We assume that every instantiate sends at least the minimum balance. - // This is a slow call: we reduce the number of runs. #[benchmark(pov_mode = Measured)] - fn seal_instantiate(r: Linear<1, { API_BENCHMARK_RUNS / 2 }>) -> Result<(), BenchmarkError> { - let hashes = (0..r) - .map(|i| { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - call_body: Some(body::plain(vec![ - // We need to add this in order to make contracts unique, - // so that they can be deployed from the same sender. - Instruction::I32Const(i as i32), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - let caller = whitelisted_caller(); - T::Currency::set_balance(&caller, caller_funding::()); - Contracts::::store_code_raw(code.code, caller)?; - Ok(code.hash) - }) - .collect::, &'static str>>()?; - let hash_len = hashes.get(0).map(|x| x.encode().len()).unwrap_or(0); - let hashes_bytes = hashes.iter().flat_map(|x| x.encode()).collect::>(); - let hashes_len = &hashes_bytes.len(); - let value = Pallet::::min_balance(); - assert!(value > 0u32.into()); - let value_bytes = value.encode(); - let value_len = BalanceOf::::max_encoded_len(); - let addr_len = T::AccountId::max_encoded_len(); - // Offsets where to place static data in contract memory. - let hashes_offset = value_len; - let addr_len_offset = hashes_offset + hashes_len; - let addr_offset = addr_len_offset + addr_len; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal2", - name: "instantiate", - params: vec![ - ValueType::I32, - ValueType::I64, - ValueType::I64, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: value_bytes }, - DataSegment { offset: hashes_offset as u32, value: hashes_bytes }, - DataSegment { - offset: addr_len_offset as u32, - value: addr_len.to_le_bytes().into(), - }, - ], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(hashes_offset as u32, hash_len as u32), // code_hash_ptr - Regular(Instruction::I64Const(0)), // ref_time weight - Regular(Instruction::I64Const(0)), // proof_size weight - Regular(Instruction::I32Const(SENTINEL as i32)), /* deposit limit ptr: use - * parent's limit */ - Regular(Instruction::I32Const(0)), // value_ptr - Regular(Instruction::I32Const(0)), // input_data_ptr - Regular(Instruction::I32Const(0)), // input_data_len - Regular(Instruction::I32Const(addr_offset as i32)), // address_ptr - Regular(Instruction::I32Const(addr_len_offset as i32)), // address_len_ptr - Regular(Instruction::I32Const(SENTINEL as i32)), // output_ptr - Regular(Instruction::I32Const(0)), // output_len_ptr - Regular(Instruction::I32Const(0)), // salt_ptr - Regular(Instruction::I32Const(0)), // salt_len_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - let mut setup = CallSetup::::new(code); - setup.set_balance((value + Pallet::::min_balance()) * (r + 1).into()); - call_builder!(func, instance, setup: setup); - let addresses = hashes - .iter() - .map(|hash| Contracts::::contract_address(&instance.account_id, hash, &[], &[])) - .collect::>(); - - for addr in &addresses { - if ContractInfoOf::::get(&addr).is_some() { - return Err("Expected that contract does not exist at this point.".into()); - } - } + fn seal_delegate_call() -> Result<(), BenchmarkError> { + let hash = Contract::::with_index(1, WasmModule::dummy(), vec![])?.info()?.code_hash; + build_runtime!(runtime, memory: [hash.encode(), ]); - let res; + let result; #[block] { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - for addr in &addresses { - ContractInfoOf::::get(&addr).ok_or("Contract should have been instantiated")?; + result = BenchEnv::seal0_delegate_call( + &mut runtime, + &mut memory, + 0, // flags + 0, // code_hash_ptr + 0, // input_data_ptr + 0, // input_data_len + SENTINEL, // output_ptr + 0, + ); } + + assert_ok!(result); Ok(()) } + // t: value to transfer + // i: size of input in bytes + // s: size of salt in bytes #[benchmark(pov_mode = Measured)] - fn seal_instantiate_per_transfer_input_salt_byte( + fn seal_instantiate( t: Linear<0, 1>, i: Linear<0, { (code::max_pages::() - 1) * 64 * 1024 }>, s: Linear<0, { (code::max_pages::() - 1) * 64 * 1024 }>, ) -> Result<(), BenchmarkError> { - let callee_code = WasmModule::::dummy(); - let hash_bytes = callee_code.hash.encode(); - let hash_len = hash_bytes.len(); - let caller = whitelisted_caller(); - T::Currency::set_balance(&caller, caller_funding::()); - Contracts::::store_code_raw(callee_code.code, caller)?; + let hash = Contract::::with_index(1, WasmModule::dummy(), vec![])?.info()?.code_hash; + let hash_bytes = hash.encode(); + let hash_len = hash_bytes.len() as u32; + let value: BalanceOf = t.into(); let value_bytes = value.encode(); + let value_len = value_bytes.len() as u32; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal1", - name: "seal_instantiate", - params: vec![ - ValueType::I32, - ValueType::I64, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ValueType::I32, - ], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: hash_bytes }, - DataSegment { offset: hash_len as u32, value: value_bytes }, - ], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0 as i32), // code_hash_ptr - Instruction::I64Const(0), // gas - Instruction::I32Const(hash_len as i32), // value_ptr - Instruction::I32Const(0 as i32), // input_data_ptr - Instruction::I32Const(i as i32), // input_data_len - Instruction::I32Const(SENTINEL as i32), // address_ptr - Instruction::I32Const(0), // address_len_ptr - Instruction::I32Const(SENTINEL as i32), // output_ptr - Instruction::I32Const(0), // output_len_ptr - Instruction::I32Const(0 as i32), // salt_ptr - Instruction::I32Const(s as i32), // salt_len - Instruction::Call(0), - Instruction::I32Eqz, - Instruction::If(BlockType::NoResult), - Instruction::Nop, - Instruction::Else, - Instruction::Unreachable, - Instruction::End, - Instruction::End, - ])), - ..Default::default() - }); - let mut setup = CallSetup::::new(code); - setup.set_balance(value + (Pallet::::min_balance() * 2u32.into())); - call_builder!(func, setup: setup); + let deposit: BalanceOf = 0u32.into(); + let deposit_bytes = deposit.encode(); + let deposit_len = deposit_bytes.len() as u32; - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - Ok(()) - } + let mut setup = CallSetup::::default(); + setup.set_balance(value + (Pallet::::min_balance() * 2u32.into())); + let account_id = &setup.contract().account_id.clone(); + let (mut ext, _) = setup.ext(); + let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); - // Only the overhead of calling the function itself with minimal arguments. - #[benchmark(pov_mode = Measured)] - fn seal_hash_sha2_256(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::hasher("seal_hash_sha2_256", r, 0)); + let input = vec![42u8; i as _]; + let salt = vec![42u8; s as _]; + let addr = Contracts::::contract_address(&account_id, &hash, &input, &salt); + let mut memory = memory!(hash_bytes, deposit_bytes, value_bytes, input, salt,); - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - } + let mut offset = { + let mut current = 0u32; + move |after: u32| { + current += after; + current + } + }; - // `n`: Input to hash in bytes - #[benchmark(pov_mode = Measured)] - fn seal_hash_sha2_256_per_byte(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { - call_builder!(func, WasmModule::hasher("seal_hash_sha2_256", 1, n)); + assert!(ContractInfoOf::::get(&addr).is_none()); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal2_instantiate( + &mut runtime, + &mut memory, + 0, // code_hash_ptr + 0, // ref_time_limit + 0, // proof_size_limit + offset(hash_len), // deposit_ptr + offset(deposit_len), // value_ptr + offset(value_len), // input_data_ptr + i, // input_data_len + SENTINEL, // address_ptr + 0, // address_len_ptr + SENTINEL, // output_ptr + 0, // output_len_ptr + offset(i), // salt_ptr + s, // salt_len + ); } - assert_eq!(res.did_revert(), false); - } - // Only the overhead of calling the function itself with minimal arguments. - #[benchmark(pov_mode = Measured)] - fn seal_hash_keccak_256(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::hasher("seal_hash_keccak_256", r, 0)); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); + assert_ok!(result); + assert!(ContractInfoOf::::get(&addr).is_some()); + Ok(()) } // `n`: Input to hash in bytes #[benchmark(pov_mode = Measured)] - fn seal_hash_keccak_256_per_byte(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { - call_builder!(func, WasmModule::hasher("seal_hash_keccak_256", 1, n)); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - } + fn seal_hash_sha2_256(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { + build_runtime!(runtime, memory: [[0u8; 32], vec![0u8; n as usize], ]); - // Only the overhead of calling the function itself with minimal arguments. - #[benchmark(pov_mode = Measured)] - fn seal_hash_blake2_256(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::hasher("seal_hash_blake2_256", r, 0)); - - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_hash_sha2_256(&mut runtime, &mut memory, 32, n, 0); } - assert_eq!(res.did_revert(), false); + assert_eq!(sp_io::hashing::sha2_256(&memory[32..]), &memory[0..32]); + assert_ok!(result); } // `n`: Input to hash in bytes #[benchmark(pov_mode = Measured)] - fn seal_hash_blake2_256_per_byte(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { - call_builder!(func, WasmModule::hasher("seal_hash_blake2_256", 1, n)); + fn seal_hash_keccak_256(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { + build_runtime!(runtime, memory: [[0u8; 32], vec![0u8; n as usize], ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_hash_keccak_256(&mut runtime, &mut memory, 32, n, 0); } - assert_eq!(res.did_revert(), false); + assert_eq!(sp_io::hashing::keccak_256(&memory[32..]), &memory[0..32]); + assert_ok!(result); } - // Only the overhead of calling the function itself with minimal arguments. + // `n`: Input to hash in bytes #[benchmark(pov_mode = Measured)] - fn seal_hash_blake2_128(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::hasher("seal_hash_blake2_128", r, 0)); + fn seal_hash_blake2_256(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { + build_runtime!(runtime, memory: [[0u8; 32], vec![0u8; n as usize], ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_hash_blake2_256(&mut runtime, &mut memory, 32, n, 0); } - assert_eq!(res.did_revert(), false); + assert_eq!(sp_io::hashing::blake2_256(&memory[32..]), &memory[0..32]); + assert_ok!(result); } // `n`: Input to hash in bytes #[benchmark(pov_mode = Measured)] - fn seal_hash_blake2_128_per_byte(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { - call_builder!(func, WasmModule::hasher("seal_hash_blake2_128", 1, n)); + fn seal_hash_blake2_128(n: Linear<0, { code::max_pages::() * 64 * 1024 }>) { + build_runtime!(runtime, memory: [[0u8; 16], vec![0u8; n as usize], ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_hash_blake2_128(&mut runtime, &mut memory, 16, n, 0); } - assert_eq!(res.did_revert(), false); + assert_eq!(sp_io::hashing::blake2_128(&memory[16..]), &memory[0..16]); + assert_ok!(result); } // `n`: Message input length to verify in bytes. // need some buffer so the code size does not exceed the max code size. #[benchmark(pov_mode = Measured)] - fn seal_sr25519_verify_per_byte( - n: Linear<0, { T::MaxCodeLen::get() - 255 }>, - ) -> Result<(), BenchmarkError> { + fn seal_sr25519_verify_per_byte(n: Linear<0, { T::MaxCodeLen::get() - 255 }>) { let message = (0..n).zip((32u8..127u8).cycle()).map(|(_, c)| c).collect::>(); - let message_len = message.len() as i32; + let message_len = message.len() as u32; let key_type = sp_core::crypto::KeyTypeId(*b"code"); let pub_key = sp_io::crypto::sr25519_generate(key_type, None); let sig = sp_io::crypto::sr25519_sign(key_type, &pub_key, &message).expect("Generates signature"); let sig = AsRef::<[u8; 64]>::as_ref(&sig).to_vec(); + let sig_len = sig.len() as u32; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "sr25519_verify", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: sig }, - DataSegment { offset: 64, value: pub_key.to_vec() }, - DataSegment { offset: 96, value: message }, - ], - call_body: Some(body::plain(vec![ - Instruction::I32Const(0), // signature_ptr - Instruction::I32Const(64), // pub_key_ptr - Instruction::I32Const(message_len), // message_len - Instruction::I32Const(96), // message_ptr - Instruction::Call(0), - Instruction::Drop, - Instruction::End, - ])), - ..Default::default() - }); - - call_builder!(func, code); + build_runtime!(runtime, memory: [sig, pub_key.to_vec(), message, ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_sr25519_verify( + &mut runtime, + &mut memory, + 0, // signature_ptr + sig_len, // pub_key_ptr + message_len, // message_len + sig_len + pub_key.len() as u32, // message_ptr + ); } - assert_eq!(res.did_revert(), false); - Ok(()) - } - // Only calling the function itself with valid arguments. - // It generates different private keys and signatures for the message "Hello world". - // This is a slow call: We reduce the number of runs. - #[benchmark(pov_mode = Measured)] - fn seal_sr25519_verify( - r: Linear<0, { API_BENCHMARK_RUNS / 10 }>, - ) -> Result<(), BenchmarkError> { - let message = b"Hello world".to_vec(); - let message_len = message.len() as i32; - let key_type = sp_core::crypto::KeyTypeId(*b"code"); - let sig_params = (0..r) - .flat_map(|_| { - let pub_key = sp_io::crypto::sr25519_generate(key_type, None); - let sig = sp_io::crypto::sr25519_sign(key_type, &pub_key, &message) - .expect("Generates signature"); - let data: [u8; 96] = [AsRef::<[u8]>::as_ref(&sig), AsRef::<[u8]>::as_ref(&pub_key)] - .concat() - .try_into() - .unwrap(); - data - }) - .collect::>(); - let sig_params_len = sig_params.len() as i32; - - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "sr25519_verify", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: sig_params }, - DataSegment { offset: sig_params_len as u32, value: message }, - ], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, 96), // signature_ptr - Counter(64, 96), // pub_key_ptr - Regular(Instruction::I32Const(message_len)), // message_len - Regular(Instruction::I32Const(sig_params_len)), // message_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, code); - - let res; - #[block] - { - res = func.call(); - } - assert_eq!(res.did_revert(), false); - Ok(()) + assert_eq!(result.unwrap(), wasm::ReturnErrorCode::Success); } - // Only calling the function itself with valid arguments. - // It generates different private keys and signatures for the message "Hello world". - // This is a slow call: We reduce the number of runs. #[benchmark(pov_mode = Measured)] - fn seal_ecdsa_recover(r: Linear<0, { API_BENCHMARK_RUNS / 10 }>) -> Result<(), BenchmarkError> { + fn seal_ecdsa_recover() { let message_hash = sp_io::hashing::blake2_256("Hello world".as_bytes()); let key_type = sp_core::crypto::KeyTypeId(*b"code"); - let signatures = (0..r) - .map(|_| { - let pub_key = sp_io::crypto::ecdsa_generate(key_type, None); - let sig = sp_io::crypto::ecdsa_sign_prehashed(key_type, &pub_key, &message_hash) - .expect("Generates signature"); - AsRef::<[u8; 65]>::as_ref(&sig).to_vec() - }) - .collect::>(); - let signatures = signatures.iter().flatten().cloned().collect::>(); - let signatures_bytes_len = signatures.len() as i32; - - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_ecdsa_recover", - params: vec![ValueType::I32, ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![ - DataSegment { offset: 0, value: message_hash[..].to_vec() }, - DataSegment { offset: 32, value: signatures }, - ], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(32, 65), // signature_ptr - Regular(Instruction::I32Const(0)), // message_hash_ptr - Regular(Instruction::I32Const(signatures_bytes_len + 32)), // output_len_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, code); + let signature = { + let pub_key = sp_io::crypto::ecdsa_generate(key_type, None); + let sig = sp_io::crypto::ecdsa_sign_prehashed(key_type, &pub_key, &message_hash) + .expect("Generates signature"); + AsRef::<[u8; 65]>::as_ref(&sig).to_vec() + }; + + build_runtime!(runtime, memory: [signature, message_hash, [0u8; 33], ]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_ecdsa_recover( + &mut runtime, + &mut memory, + 0, // signature_ptr + 65, // message_hash_ptr + 65 + 32, // output_ptr + ); } - assert_eq!(res.did_revert(), false); - Ok(()) + + assert_eq!(result.unwrap(), wasm::ReturnErrorCode::Success); } // Only calling the function itself for the list of // generated different ECDSA keys. // This is a slow call: We reduce the number of runs. #[benchmark(pov_mode = Measured)] - fn seal_ecdsa_to_eth_address( - r: Linear<0, { API_BENCHMARK_RUNS / 10 }>, - ) -> Result<(), BenchmarkError> { + fn seal_ecdsa_to_eth_address() { let key_type = sp_core::crypto::KeyTypeId(*b"code"); - let pub_keys_bytes = (0..r) - .flat_map(|_| sp_io::crypto::ecdsa_generate(key_type, None).0) - .collect::>(); - let pub_keys_bytes_len = pub_keys_bytes.len() as i32; - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_ecdsa_to_eth_address", - params: vec![ValueType::I32, ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: pub_keys_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, 33), // pub_key_ptr - Regular(Instruction::I32Const(pub_keys_bytes_len)), // out_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, code); + let pub_key_bytes = sp_io::crypto::ecdsa_generate(key_type, None).0; + build_runtime!(runtime, memory: [[0u8; 20], pub_key_bytes,]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_ecdsa_to_eth_address( + &mut runtime, + &mut memory, + 20, // key_ptr + 0, // output_ptr + ); } - assert_eq!(res.did_revert(), false); - Ok(()) + + assert_ok!(result); + assert_eq!(&memory[..20], runtime.ext().ecdsa_to_eth_address(&pub_key_bytes).unwrap()); } #[benchmark(pov_mode = Measured)] - fn seal_set_code_hash(r: Linear<0, API_BENCHMARK_RUNS>) -> Result<(), BenchmarkError> { - let code_hashes = (0..r) - .map(|i| { - let new_code = WasmModule::::dummy_with_bytes(i); - let caller = whitelisted_caller(); - T::Currency::set_balance(&caller, caller_funding::()); - Contracts::::store_code_raw(new_code.code, caller)?; - Ok(new_code.hash) - }) - .collect::, &'static str>>()?; - let code_hash_len = code_hashes.get(0).map(|x| x.encode().len()).unwrap_or(0); - let code_hashes_bytes = code_hashes.iter().flat_map(|x| x.encode()).collect::>(); - - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "seal_set_code_hash", - params: vec![ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: code_hashes_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, code_hash_len as u32), // code_hash_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, code); + fn seal_set_code_hash() -> Result<(), BenchmarkError> { + let code_hash = + Contract::::with_index(1, WasmModule::dummy(), vec![])?.info()?.code_hash; + + build_runtime!(runtime, memory: [ code_hash.encode(),]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_set_code_hash(&mut runtime, &mut memory, 0); } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); Ok(()) } #[benchmark(pov_mode = Measured)] - fn lock_delegate_dependency( - r: Linear<0, { T::MaxDelegateDependencies::get() }>, - ) -> Result<(), BenchmarkError> { - let code_hashes = (0..r) - .map(|i| { - let new_code = WasmModule::::dummy_with_bytes(65 + i); - let caller = whitelisted_caller(); - T::Currency::set_balance(&caller, caller_funding::()); - Contracts::::store_code_raw(new_code.code, caller)?; - Ok(new_code.hash) - }) - .collect::, &'static str>>()?; - let code_hash_len = code_hashes.get(0).map(|x| x.encode().len()).unwrap_or(0); - let code_hashes_bytes = code_hashes.iter().flat_map(|x| x.encode()).collect::>(); - - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "lock_delegate_dependency", - params: vec![ValueType::I32], - return_type: None, - }], - data_segments: vec![DataSegment { offset: 0, value: code_hashes_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, code_hash_len as u32), // code_hash_ptr - Regular(Instruction::Call(0)), - ], - )), - ..Default::default() - }); - call_builder!(func, code); + fn lock_delegate_dependency() -> Result<(), BenchmarkError> { + let code_hash = Contract::::with_index(1, WasmModule::dummy_with_bytes(1), vec![])? + .info()? + .code_hash; - let res; + build_runtime!(runtime, memory: [ code_hash.encode(),]); + + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_lock_delegate_dependency(&mut runtime, &mut memory, 0); } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); Ok(()) } #[benchmark] - fn unlock_delegate_dependency( - r: Linear<0, { T::MaxDelegateDependencies::get() }>, - ) -> Result<(), BenchmarkError> { - let code_hashes = (0..r) - .map(|i| { - let new_code = WasmModule::::dummy_with_bytes(65 + i); - let caller = whitelisted_caller(); - T::Currency::set_balance(&caller, caller_funding::()); - Contracts::::store_code_raw(new_code.code, caller)?; - Ok(new_code.hash) - }) - .collect::, &'static str>>()?; + fn unlock_delegate_dependency() -> Result<(), BenchmarkError> { + let code_hash = Contract::::with_index(1, WasmModule::dummy_with_bytes(1), vec![])? + .info()? + .code_hash; - let code_hash_len = code_hashes.get(0).map(|x| x.encode().len()).unwrap_or(0); - let code_hashes_bytes = code_hashes.iter().flat_map(|x| x.encode()).collect::>(); - - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ - ImportedFunction { - module: "seal0", - name: "unlock_delegate_dependency", - params: vec![ValueType::I32], - return_type: None, - }, - ImportedFunction { - module: "seal0", - name: "lock_delegate_dependency", - params: vec![ValueType::I32], - return_type: None, - }, - ], - data_segments: vec![DataSegment { offset: 0, value: code_hashes_bytes }], - deploy_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, code_hash_len as u32), // code_hash_ptr - Regular(Instruction::Call(1)), - ], - )), - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, code_hash_len as u32), // code_hash_ptr - Regular(Instruction::Call(0)), - ], - )), - ..Default::default() - }); - call_builder!(func, code); + build_runtime!(runtime, memory: [ code_hash.encode(),]); + BenchEnv::seal0_lock_delegate_dependency(&mut runtime, &mut memory, 0).unwrap(); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_unlock_delegate_dependency(&mut runtime, &mut memory, 0); } - assert_eq!(res.did_revert(), false); + + assert_ok!(result); Ok(()) } #[benchmark(pov_mode = Measured)] - fn seal_reentrance_count(r: Linear<0, API_BENCHMARK_RUNS>) -> Result<(), BenchmarkError> { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "reentrance_count", - params: vec![], - return_type: Some(ValueType::I32), - }], - call_body: Some(body::repeated(r, &[Instruction::Call(0), Instruction::Drop])), - ..Default::default() - }); - let instance = Contract::::new(code, vec![])?; - let origin = RawOrigin::Signed(instance.caller.clone()); - #[extrinsic_call] - call(origin, instance.addr, 0u32.into(), Weight::MAX, None, vec![]); - Ok(()) + fn seal_reentrance_count() { + build_runtime!(runtime, memory: []); + let result; + #[block] + { + result = BenchEnv::seal0_reentrance_count(&mut runtime, &mut memory) + } + + assert!(result.unwrap() == 0); } #[benchmark(pov_mode = Measured)] - fn seal_account_reentrance_count( - r: Linear<0, API_BENCHMARK_RUNS>, - ) -> Result<(), BenchmarkError> { - let dummy_code = WasmModule::::dummy_with_bytes(0); - let accounts = (0..r) - .map(|i| Contract::with_index(i + 1, dummy_code.clone(), vec![])) - .collect::, _>>()?; - let account_id_len = accounts.get(0).map(|i| i.account_id.encode().len()).unwrap_or(0); - let account_id_bytes = accounts.iter().flat_map(|x| x.account_id.encode()).collect(); - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "account_reentrance_count", - params: vec![ValueType::I32], - return_type: Some(ValueType::I32), - }], - data_segments: vec![DataSegment { offset: 0, value: account_id_bytes }], - call_body: Some(body::repeated_dyn( - r, - vec![ - Counter(0, account_id_len as u32), // account_ptr - Regular(Instruction::Call(0)), - Regular(Instruction::Drop), - ], - )), - ..Default::default() - }); - call_builder!(func, code); + fn seal_account_reentrance_count() { + let Contract { account_id, .. } = + Contract::::with_index(1, WasmModule::dummy(), vec![]).unwrap(); + build_runtime!(runtime, memory: [account_id.encode(),]); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_account_reentrance_count(&mut runtime, &mut memory, 0); } - assert_eq!(res.did_revert(), false); - Ok(()) + + assert!(result.unwrap() == 0); } #[benchmark(pov_mode = Measured)] - fn seal_instantiation_nonce(r: Linear<0, API_BENCHMARK_RUNS>) { - let code = WasmModule::::from(ModuleDefinition { - memory: Some(ImportedMemory::max::()), - imported_functions: vec![ImportedFunction { - module: "seal0", - name: "instantiation_nonce", - params: vec![], - return_type: Some(ValueType::I64), - }], - call_body: Some(body::repeated(r, &[Instruction::Call(0), Instruction::Drop])), - ..Default::default() - }); - call_builder!(func, code); + fn seal_instantiation_nonce() { + build_runtime!(runtime, memory: []); - let res; + let result; #[block] { - res = func.call(); + result = BenchEnv::seal0_instantiation_nonce(&mut runtime, &mut memory); } - assert_eq!(res.did_revert(), false); + + assert_eq!(result.unwrap(), 1); } // We load `i64` values from random linear memory locations and store the loaded From d3921cd60e2b0b44a2225594c460162ab31e790a Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 26 Apr 2024 16:48:35 +0200 Subject: [PATCH 18/75] Fixes --- .../frame/contracts/src/benchmarking/mod.rs | 63 +- substrate/frame/contracts/src/lib.rs | 2 +- substrate/frame/contracts/src/schedule.rs | 319 +-- substrate/frame/contracts/src/wasm/runtime.rs | 142 +- substrate/frame/contracts/src/weights.rs | 2253 ++++++----------- 5 files changed, 861 insertions(+), 1918 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index a5e9cacb2a24..4317c1e33de7 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -23,7 +23,7 @@ mod code; mod sandbox; use self::{ call_builder::CallSetup, - code::{body, ImportedFunction, Location, ModuleDefinition, WasmModule}, + code::{body, ImportedMemory, Location, ModuleDefinition, WasmModule}, sandbox::Sandbox, }; use crate::{ @@ -44,7 +44,7 @@ use frame_support::{ }; use frame_system::RawOrigin; use pallet_balances; -use pallet_contracts_uapi::CallFlags; +use pallet_contracts_uapi::{CallFlags, ReturnErrorCode}; use sp_runtime::traits::{Bounded, Hash}; use sp_std::prelude::*; use wasm_instrument::parity_wasm::elements::{Instruction, Local, ValueType}; @@ -440,13 +440,6 @@ mod benchmarks { Ok(()) } - // This constructs a contract that is maximal expensive to instrument. - // It creates a maximum number of metering blocks per byte. - // The size of the salt influences the runtime because is is hashed in order to - // determine the contract address. All code is generated to the `call` function so that - // we don't benchmark the actual execution of this code but merely what it takes to load - // a code of that size into the sandbox. - // // `c`: Size of the code in bytes. // `i`: Size of the input in bytes. // `s`: Size of the salt in bytes. @@ -480,7 +473,6 @@ mod benchmarks { assert_eq!(T::Currency::balance(&addr), value + Pallet::::min_balance()); } - // Instantiate uses a dummy contract constructor to measure the overhead of the instantiate. // `i`: Size of the input in bytes. // `s`: Size of the salt in bytes. #[benchmark(pov_mode = Measured)] @@ -793,7 +785,7 @@ mod benchmarks { } #[benchmark(pov_mode = Measured)] - fn seal_minimum_balance(r: Linear<0, API_BENCHMARK_RUNS>) { + fn seal_minimum_balance() { let len = ::max_encoded_len() as u32; build_runtime!(runtime, memory: [len.to_le_bytes(), vec![0u8; len as _], ]); let result; @@ -1228,14 +1220,14 @@ mod benchmarks { assert_ok!(result); } - // d: deposit limit - // t: value to transfer - // c: size of the call data + // c: with or without clone flag + // t: with or without some value to transfer + // i: size of the input data #[benchmark(pov_mode = Measured)] fn seal_call( - d: Linear<0, { 1 }>, - t: Linear<0, { 1 }>, - c: Linear<0, { code::max_pages::() * 64 * 1024 }>, + t: Linear<0, 1>, + c: Linear<0, 1>, + i: Linear<0, { code::max_pages::() * 64 * 1024 }>, ) { let Contract { account_id: callee, .. } = Contract::::with_index(1, WasmModule::dummy(), vec![]).unwrap(); @@ -1245,35 +1237,36 @@ mod benchmarks { let value: BalanceOf = t.into(); let value_bytes = value.encode(); - let deposit: BalanceOf = (d * (u32::MAX - 100)).into(); + let deposit: BalanceOf = (u32::MAX - 100).into(); let deposit_bytes = deposit.encode(); let deposit_len = deposit_bytes.len() as u32; let mut setup = CallSetup::::default(); - if d > 0 { - setup.set_storage_deposit_limit(deposit); - } - setup.set_data(vec![42; c as usize]); + setup.set_storage_deposit_limit(deposit); + + setup.set_data(vec![42; i as usize]); let (mut ext, _) = setup.ext(); let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); let mut memory = memory!(callee_bytes, deposit_bytes, value_bytes,); + let flags = if c == 1 { CallFlags::CLONE_INPUT } else { CallFlags::empty() }; + let result; #[block] { result = BenchEnv::seal2_call( &mut runtime, &mut memory, - CallFlags::CLONE_INPUT.bits(), // flags - 0, // callee_ptr - 0, // ref_time_limit - 0, // proof_size_limit - callee_len, // deposit_ptr - callee_len + deposit_len, // value_ptr - 0, // input_data_ptr - 0, // input_data_len - SENTINEL, // output_ptr - 0, // output_len_ptr + flags.bits(), // flags + 0, // callee_ptr + 0, // ref_time_limit + 0, // proof_size_limit + callee_len, // deposit_ptr + callee_len + deposit_len, // value_ptr + 0, // input_data_ptr + 0, // input_data_len + SENTINEL, // output_ptr + 0, // output_len_ptr ); } @@ -1432,7 +1425,7 @@ mod benchmarks { // `n`: Message input length to verify in bytes. // need some buffer so the code size does not exceed the max code size. #[benchmark(pov_mode = Measured)] - fn seal_sr25519_verify_per_byte(n: Linear<0, { T::MaxCodeLen::get() - 255 }>) { + fn seal_sr25519_verify(n: Linear<0, { T::MaxCodeLen::get() - 255 }>) { let message = (0..n).zip((32u8..127u8).cycle()).map(|(_, c)| c).collect::>(); let message_len = message.len() as u32; @@ -1458,7 +1451,7 @@ mod benchmarks { ); } - assert_eq!(result.unwrap(), wasm::ReturnErrorCode::Success); + assert_eq!(result.unwrap(), ReturnErrorCode::Success); } #[benchmark(pov_mode = Measured)] @@ -1486,7 +1479,7 @@ mod benchmarks { ); } - assert_eq!(result.unwrap(), wasm::ReturnErrorCode::Success); + assert_eq!(result.unwrap(), ReturnErrorCode::Success); } // Only calling the function itself for the list of diff --git a/substrate/frame/contracts/src/lib.rs b/substrate/frame/contracts/src/lib.rs index b381fd2dc4f0..7c3ee913dbbc 100644 --- a/substrate/frame/contracts/src/lib.rs +++ b/substrate/frame/contracts/src/lib.rs @@ -146,7 +146,7 @@ pub use crate::{ exec::Frame, migration::{MigrateSequence, Migration, NoopMigration}, pallet::*, - schedule::{HostFnWeights, InstructionWeights, Limits, Schedule}, + schedule::{InstructionWeights, Limits, Schedule}, wasm::Determinism, }; pub use weights::WeightInfo; diff --git a/substrate/frame/contracts/src/schedule.rs b/substrate/frame/contracts/src/schedule.rs index 06a7c2005aa5..a1fbdea4228b 100644 --- a/substrate/frame/contracts/src/schedule.rs +++ b/substrate/frame/contracts/src/schedule.rs @@ -22,7 +22,7 @@ use crate::{weights::WeightInfo, Config}; use codec::{Decode, Encode}; use core::marker::PhantomData; -use frame_support::{weights::Weight, DefaultNoBound}; +use frame_support::DefaultNoBound; use scale_info::TypeInfo; #[cfg(feature = "std")] use serde::{Deserialize, Serialize}; @@ -60,9 +60,6 @@ pub struct Schedule { /// The weights for individual wasm instructions. pub instruction_weights: InstructionWeights, - - /// The weights for each imported function a contract is allowed to call. - pub host_fn_weights: HostFnWeights, } /// Describes the upper limits on various metrics. @@ -109,230 +106,6 @@ pub struct InstructionWeights { pub _phantom: PhantomData, } -/// Describes the weight for each imported function that a contract is allowed to call. -#[cfg_attr(feature = "std", derive(Serialize, Deserialize))] -#[cfg_attr(feature = "runtime-benchmarks", derive(pallet_contracts_proc_macro::WeightDebug))] -#[derive(Clone, Encode, Decode, PartialEq, Eq, TypeInfo)] -#[scale_info(skip_type_params(T))] -pub struct HostFnWeights { - /// Weight of calling `seal_caller`. - pub caller: Weight, - - /// Weight of calling `seal_is_contract`. - pub is_contract: Weight, - - /// Weight of calling `seal_code_hash`. - pub code_hash: Weight, - - /// Weight of calling `seal_own_code_hash`. - pub own_code_hash: Weight, - - /// Weight of calling `seal_caller_is_origin`. - pub caller_is_origin: Weight, - - /// Weight of calling `seal_caller_is_root`. - pub caller_is_root: Weight, - - /// Weight of calling `seal_address`. - pub address: Weight, - - /// Weight of calling `seal_gas_left`. - pub gas_left: Weight, - - /// Weight of calling `seal_balance`. - pub balance: Weight, - - /// Weight of calling `seal_value_transferred`. - pub value_transferred: Weight, - - /// Weight of calling `seal_minimum_balance`. - pub minimum_balance: Weight, - - /// Weight of calling `seal_block_number`. - pub block_number: Weight, - - /// Weight of calling `seal_now`. - pub now: Weight, - - /// Weight of calling `seal_weight_to_fee`. - pub weight_to_fee: Weight, - - /// Weight of calling `seal_input`. - pub input: Weight, - - /// Weight per input byte copied to contract memory by `seal_input`. - pub input_per_byte: Weight, - - /// Weight of calling `seal_return`. - pub r#return: Weight, - - /// Weight per byte returned through `seal_return`. - pub return_per_byte: Weight, - - /// Weight of calling `seal_terminate`. - pub terminate: Weight, - - /// Weight of calling `seal_random`. - pub random: Weight, - - /// Weight of calling `seal_reposit_event`. - pub deposit_event: Weight, - - /// Weight per topic supplied to `seal_deposit_event`. - pub deposit_event_per_topic: Weight, - - /// Weight per byte of an event deposited through `seal_deposit_event`. - pub deposit_event_per_byte: Weight, - - /// 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, - - /// Weight per written byte of an item stored with `seal_set_storage`. - pub set_storage_per_new_byte: Weight, - - /// Weight per overwritten byte of an item stored with `seal_set_storage`. - pub set_storage_per_old_byte: Weight, - - /// Weight of calling `seal_set_code_hash`. - pub set_code_hash: Weight, - - /// Weight of calling `seal_clear_storage`. - pub clear_storage: Weight, - - /// Weight of calling `seal_clear_storage` per byte of the stored item. - pub clear_storage_per_byte: Weight, - - /// Weight of calling `seal_contains_storage`. - pub contains_storage: Weight, - - /// Weight of calling `seal_contains_storage` per byte of the stored item. - pub contains_storage_per_byte: Weight, - - /// Weight of calling `seal_get_storage`. - pub get_storage: Weight, - - /// Weight per byte of an item received via `seal_get_storage`. - pub get_storage_per_byte: Weight, - - /// Weight of calling `seal_take_storage`. - pub take_storage: Weight, - - /// Weight per byte of an item received via `seal_take_storage`. - pub take_storage_per_byte: Weight, - - /// Weight of calling `seal_transfer`. - pub transfer: Weight, - - /// Weight of calling `seal_call`. - pub call: Weight, - - /// Weight of calling `seal_delegate_call`. - pub delegate_call: Weight, - - /// Weight surcharge that is claimed if `seal_call` does a balance transfer. - pub call_transfer_surcharge: Weight, - - /// Weight per byte that is cloned by supplying the `CLONE_INPUT` flag. - pub call_per_cloned_byte: Weight, - - /// Weight of calling `seal_instantiate`. - pub instantiate: Weight, - - /// Weight surcharge that is claimed if `seal_instantiate` does a balance transfer. - pub instantiate_transfer_surcharge: Weight, - - /// Weight per input byte supplied to `seal_instantiate`. - pub instantiate_per_input_byte: Weight, - - /// Weight per salt byte supplied to `seal_instantiate`. - pub instantiate_per_salt_byte: Weight, - - /// Weight of calling `seal_hash_sha_256`. - pub hash_sha2_256: Weight, - - /// Weight per byte hashed by `seal_hash_sha_256`. - pub hash_sha2_256_per_byte: Weight, - - /// Weight of calling `seal_hash_keccak_256`. - pub hash_keccak_256: Weight, - - /// Weight per byte hashed by `seal_hash_keccak_256`. - pub hash_keccak_256_per_byte: Weight, - - /// Weight of calling `seal_hash_blake2_256`. - pub hash_blake2_256: Weight, - - /// Weight per byte hashed by `seal_hash_blake2_256`. - pub hash_blake2_256_per_byte: Weight, - - /// Weight of calling `seal_hash_blake2_128`. - pub hash_blake2_128: Weight, - - /// Weight per byte hashed by `seal_hash_blake2_128`. - pub hash_blake2_128_per_byte: Weight, - - /// Weight of calling `seal_ecdsa_recover`. - pub ecdsa_recover: Weight, - - /// Weight of calling `seal_ecdsa_to_eth_address`. - pub ecdsa_to_eth_address: Weight, - - /// Weight of calling `sr25519_verify`. - pub sr25519_verify: Weight, - - /// Weight per byte of calling `sr25519_verify`. - pub sr25519_verify_per_byte: Weight, - - /// Weight of calling `reentrance_count`. - pub reentrance_count: Weight, - - /// Weight of calling `account_reentrance_count`. - pub account_reentrance_count: Weight, - - /// Weight of calling `instantiation_nonce`. - pub instantiation_nonce: Weight, - - /// Weight of calling `lock_delegate_dependency`. - pub lock_delegate_dependency: Weight, - - /// Weight of calling `unlock_delegate_dependency`. - pub unlock_delegate_dependency: Weight, - - /// The type parameter is used in the default implementation. - #[codec(skip)] - pub _phantom: PhantomData, -} - -macro_rules! replace_token { - ($_in:tt $replacement:tt) => { - $replacement - }; -} - -macro_rules! call_zero { - ($name:ident, $( $arg:expr ),*) => { - T::WeightInfo::$name($( replace_token!($arg 0) ),*) - }; -} - -macro_rules! cost_args { - ($name:ident, $( $arg: expr ),+) => { - (T::WeightInfo::$name($( $arg ),+).saturating_sub(call_zero!($name, $( $arg ),+))) - } -} - -macro_rules! cost { - ($name:ident) => { - cost_args!($name, 1) - }; -} - impl Default for Limits { fn default() -> Self { Self { @@ -350,94 +123,10 @@ impl Default for InstructionWeights { /// computed gas costs by 6 to have a rough estimate as to how expensive each /// single executed instruction is going to be. fn default() -> Self { - let instr_cost = cost!(instr_i64_load_store).ref_time() as u32; + let instr_cost = T::WeightInfo::instr_i64_load_store(1) + .saturating_sub(T::WeightInfo::instr_i64_load_store(0)) + .ref_time() as u32; let base = instr_cost / 6; Self { base, _phantom: PhantomData } } } - -impl Default for HostFnWeights { - fn default() -> Self { - Self { - caller: cost!(seal_caller), - is_contract: cost!(seal_is_contract), - code_hash: cost!(seal_code_hash), - own_code_hash: cost!(seal_own_code_hash), - caller_is_origin: cost!(seal_caller_is_origin), - caller_is_root: cost!(seal_caller_is_root), - address: cost!(seal_address), - gas_left: cost!(seal_gas_left), - balance: cost!(seal_balance), - value_transferred: cost!(seal_value_transferred), - minimum_balance: cost!(seal_minimum_balance), - block_number: cost!(seal_block_number), - now: cost!(seal_now), - weight_to_fee: cost!(seal_weight_to_fee), - input: cost!(seal_input), - input_per_byte: cost!(seal_input_per_byte), - r#return: cost!(seal_return), - return_per_byte: cost!(seal_return_per_byte), - terminate: cost!(seal_terminate), - random: cost!(seal_random), - deposit_event: cost!(seal_deposit_event), - deposit_event_per_topic: cost_args!(seal_deposit_event_per_topic_and_byte, 1, 0), - deposit_event_per_byte: cost_args!(seal_deposit_event_per_topic_and_byte, 0, 1), - debug_message: cost!(seal_debug_message), - debug_message_per_byte: cost!(seal_debug_message_per_byte), - set_storage: cost!(seal_set_storage), - set_code_hash: cost!(seal_set_code_hash), - set_storage_per_new_byte: cost!(seal_set_storage_per_new_byte), - set_storage_per_old_byte: cost!(seal_set_storage_per_old_byte), - clear_storage: cost!(seal_clear_storage), - clear_storage_per_byte: cost!(seal_clear_storage_per_byte), - contains_storage: cost!(seal_contains_storage), - contains_storage_per_byte: cost!(seal_contains_storage_per_byte), - get_storage: cost!(seal_get_storage), - get_storage_per_byte: cost!(seal_get_storage_per_byte), - take_storage: cost!(seal_take_storage), - take_storage_per_byte: cost!(seal_take_storage_per_byte), - transfer: cost!(seal_transfer), - call: cost!(seal_call), - delegate_call: cost!(seal_delegate_call), - call_transfer_surcharge: cost_args!(seal_call_per_transfer_clone_byte, 1, 0), - call_per_cloned_byte: cost_args!(seal_call_per_transfer_clone_byte, 0, 1), - instantiate: cost!(seal_instantiate), - instantiate_transfer_surcharge: cost_args!( - seal_instantiate_per_transfer_input_salt_byte, - 1, - 0, - 0 - ), - instantiate_per_input_byte: cost_args!( - seal_instantiate_per_transfer_input_salt_byte, - 0, - 1, - 0 - ), - instantiate_per_salt_byte: cost_args!( - seal_instantiate_per_transfer_input_salt_byte, - 0, - 0, - 1 - ), - hash_sha2_256: cost!(seal_hash_sha2_256), - hash_sha2_256_per_byte: cost!(seal_hash_sha2_256_per_byte), - hash_keccak_256: cost!(seal_hash_keccak_256), - hash_keccak_256_per_byte: cost!(seal_hash_keccak_256_per_byte), - hash_blake2_256: cost!(seal_hash_blake2_256), - hash_blake2_256_per_byte: cost!(seal_hash_blake2_256_per_byte), - hash_blake2_128: cost!(seal_hash_blake2_128), - hash_blake2_128_per_byte: cost!(seal_hash_blake2_128_per_byte), - ecdsa_recover: cost!(seal_ecdsa_recover), - sr25519_verify: cost!(seal_sr25519_verify), - sr25519_verify_per_byte: cost!(seal_sr25519_verify_per_byte), - ecdsa_to_eth_address: cost!(seal_ecdsa_to_eth_address), - reentrance_count: cost!(seal_reentrance_count), - account_reentrance_count: cost!(seal_account_reentrance_count), - instantiation_nonce: cost!(seal_instantiation_nonce), - lock_delegate_dependency: cost!(lock_delegate_dependency), - unlock_delegate_dependency: cost!(unlock_delegate_dependency), - _phantom: PhantomData, - } - } -} diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index 04e087c4107a..6781836e5d70 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -21,6 +21,7 @@ use crate::{ exec::{ExecError, ExecResult, Ext, Key, TopicOf}, gas::{ChargedAmount, Token}, primitives::ExecReturnValue, + weights::WeightInfo, BalanceOf, CodeHash, Config, DebugBufferVec, Error, SENTINEL, }; use codec::{Decode, DecodeLimit, Encode, MaxEncodedLen}; @@ -245,6 +246,20 @@ pub enum RuntimeCosts { UnlockDelegateDependency, } +macro_rules! cost_args { + // Replace the token with 0. + (@replace_token $_in:tt) => { 0 }; + + // Transform T:::WeightInfo::name(a, b, c) into T:::WeightInfo::name(0, 0, 0) + (@call_zero $name:ident, $( $arg:expr ),*) => { + T::WeightInfo::$name($( cost_args!(@replace_token $arg) ),*) + }; + + ($name:ident, $( $arg: expr ),+) => { + (T::WeightInfo::$name($( $arg ),+).saturating_sub(cost_args!(@call_zero $name, $( $arg ),+))) + } +} + impl Token for RuntimeCosts { fn influence_lowest_gas_limit(&self) -> bool { match self { @@ -254,85 +269,59 @@ impl Token for RuntimeCosts { } fn weight(&self) -> Weight { - let s = T::Schedule::get().host_fn_weights; use self::RuntimeCosts::*; match *self { - CopyFromContract(len) => s.return_per_byte.saturating_mul(len.into()), - CopyToContract(len) => s.input_per_byte.saturating_mul(len.into()), - Caller => s.caller, - IsContract => s.is_contract, - CodeHash => s.code_hash, - OwnCodeHash => s.own_code_hash, - CallerIsOrigin => s.caller_is_origin, - CallerIsRoot => s.caller_is_root, - Address => s.address, - GasLeft => s.gas_left, - Balance => s.balance, - ValueTransferred => s.value_transferred, - MinimumBalance => s.minimum_balance, - BlockNumber => s.block_number, - Now => s.now, - WeightToFee => s.weight_to_fee, - InputBase => s.input, - Return(len) => s.r#return.saturating_add(s.return_per_byte.saturating_mul(len.into())), - Terminate => s.terminate, - Random => s.random, - DepositEvent { num_topic, len } => s - .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(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())) - .saturating_add(s.set_storage_per_old_byte.saturating_mul(old_bytes.into())), - ClearStorage(len) => s - .clear_storage - .saturating_add(s.clear_storage_per_byte.saturating_mul(len.into())), - ContainsStorage(len) => s - .contains_storage - .saturating_add(s.contains_storage_per_byte.saturating_mul(len.into())), - GetStorage(len) => - s.get_storage.saturating_add(s.get_storage_per_byte.saturating_mul(len.into())), - TakeStorage(len) => s - .take_storage - .saturating_add(s.take_storage_per_byte.saturating_mul(len.into())), - Transfer => s.transfer, - CallBase => s.call, - DelegateCallBase => s.delegate_call, - CallSurchargeTransfer => s.call_transfer_surcharge, - CallInputCloned(len) => s.call_per_cloned_byte.saturating_mul(len.into()), - InstantiateBase { input_data_len, salt_len } => s - .instantiate - .saturating_add(s.instantiate_per_input_byte.saturating_mul(input_data_len.into())) - .saturating_add(s.instantiate_per_salt_byte.saturating_mul(salt_len.into())), - InstantiateSurchargeTransfer => s.instantiate_transfer_surcharge, - HashSha256(len) => s - .hash_sha2_256 - .saturating_add(s.hash_sha2_256_per_byte.saturating_mul(len.into())), - HashKeccak256(len) => s - .hash_keccak_256 - .saturating_add(s.hash_keccak_256_per_byte.saturating_mul(len.into())), - HashBlake256(len) => s - .hash_blake2_256 - .saturating_add(s.hash_blake2_256_per_byte.saturating_mul(len.into())), - HashBlake128(len) => s - .hash_blake2_128 - .saturating_add(s.hash_blake2_128_per_byte.saturating_mul(len.into())), - EcdsaRecovery => s.ecdsa_recover, - Sr25519Verify(len) => s - .sr25519_verify - .saturating_add(s.sr25519_verify_per_byte.saturating_mul(len.into())), + CopyFromContract(len) => T::WeightInfo::seal_return(len), + CopyToContract(len) => cost_args!(seal_input, len), + Caller => T::WeightInfo::seal_caller(), + IsContract => T::WeightInfo::seal_is_contract(), + CodeHash => T::WeightInfo::seal_code_hash(), + OwnCodeHash => T::WeightInfo::seal_own_code_hash(), + CallerIsOrigin => T::WeightInfo::seal_caller_is_origin(), + CallerIsRoot => T::WeightInfo::seal_caller_is_root(), + Address => T::WeightInfo::seal_address(), + GasLeft => T::WeightInfo::seal_gas_left(), + Balance => T::WeightInfo::seal_balance(), + ValueTransferred => T::WeightInfo::seal_value_transferred(), + MinimumBalance => T::WeightInfo::seal_minimum_balance(), + BlockNumber => T::WeightInfo::seal_block_number(), + Now => T::WeightInfo::seal_now(), + WeightToFee => T::WeightInfo::seal_weight_to_fee(), + InputBase => T::WeightInfo::seal_input(0), + Return(len) => T::WeightInfo::seal_return(len), + Terminate => T::WeightInfo::seal_terminate(), + Random => T::WeightInfo::seal_random(), + DepositEvent { num_topic, len } => T::WeightInfo::seal_deposit_event(num_topic, len), + DebugMessage(len) => T::WeightInfo::seal_debug_message(len), + SetStorage { new_bytes, old_bytes } => + T::WeightInfo::seal_set_storage_per_new_byte(new_bytes) + .saturating_add(T::WeightInfo::seal_set_storage_per_old_byte(old_bytes)), + ClearStorage(len) => T::WeightInfo::seal_clear_storage(len), + ContainsStorage(len) => T::WeightInfo::seal_contains_storage(len), + GetStorage(len) => T::WeightInfo::seal_get_storage(len), + TakeStorage(len) => T::WeightInfo::seal_take_storage(len), + Transfer => T::WeightInfo::seal_transfer(), + CallBase => T::WeightInfo::seal_call(0, 0, 0), + DelegateCallBase => T::WeightInfo::seal_delegate_call(), + CallSurchargeTransfer => cost_args!(seal_call, 1, 0, 0), + CallInputCloned(len) => cost_args!(seal_call, 0, 1, len), + InstantiateBase { input_data_len, salt_len } => + T::WeightInfo::seal_instantiate(0, input_data_len, salt_len), + InstantiateSurchargeTransfer => cost_args!(seal_instantiate, 1, 0, 0), + HashSha256(len) => T::WeightInfo::seal_hash_sha2_256(len), + HashKeccak256(len) => T::WeightInfo::seal_hash_keccak_256(len), + HashBlake256(len) => T::WeightInfo::seal_hash_blake2_256(len), + HashBlake128(len) => T::WeightInfo::seal_hash_blake2_128(len), + EcdsaRecovery => T::WeightInfo::seal_ecdsa_recover(), + Sr25519Verify(len) => T::WeightInfo::seal_sr25519_verify(len), ChainExtension(weight) | CallRuntime(weight) | CallXcmExecute(weight) => weight, - SetCodeHash => s.set_code_hash, - EcdsaToEthAddress => s.ecdsa_to_eth_address, - ReentrantCount => s.reentrance_count, - AccountEntranceCount => s.account_reentrance_count, - InstantiationNonce => s.instantiation_nonce, - LockDelegateDependency => s.lock_delegate_dependency, - UnlockDelegateDependency => s.unlock_delegate_dependency, + SetCodeHash => T::WeightInfo::seal_set_code_hash(), + EcdsaToEthAddress => T::WeightInfo::seal_ecdsa_to_eth_address(), + ReentrantCount => T::WeightInfo::seal_reentrance_count(), + AccountEntranceCount => T::WeightInfo::seal_account_reentrance_count(), + InstantiationNonce => T::WeightInfo::seal_instantiation_nonce(), + LockDelegateDependency => T::WeightInfo::lock_delegate_dependency(), + UnlockDelegateDependency => T::WeightInfo::unlock_delegate_dependency(), } } } @@ -817,6 +806,7 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> { output_len_ptr: u32, ) -> Result { self.charge_gas(call_type.cost())?; + let input_data = if flags.contains(CallFlags::CLONE_INPUT) { let input = self.input_data.as_ref().ok_or(Error::::InputForwarded)?; charge_gas!(self, RuntimeCosts::CallInputCloned(input.len() as u32))?; diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index b95b1d1a9a2e..f0b5804069ba 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -1,42 +1,24 @@ -// This file is part of Substrate. - -// Copyright (C) Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-26, STEPS: `2`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-anb7yjbi-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! HOSTNAME: `pgs-laptop.lan`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/production/substrate-node +// target/debug/substrate-node // benchmark // pallet -// --steps=50 -// --repeat=20 -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json -// --pallet=pallet_contracts -// --chain=dev -// --header=./substrate/HEADER-APACHE2 -// --output=./substrate/frame/contracts/src/weights.rs +// --steps +// 2 +// -p +// pallet_contracts +// -e +// * +// --output +// substrate/frame/contracts/src/weights.rs // --template=./substrate/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -72,65 +54,50 @@ pub trait WeightInfo { fn upload_code_determinism_relaxed(c: u32, ) -> Weight; fn remove_code() -> Weight; fn set_code() -> Weight; - fn seal_caller(r: u32, ) -> Weight; - fn seal_is_contract(r: u32, ) -> Weight; - fn seal_code_hash(r: u32, ) -> Weight; - fn seal_own_code_hash(r: u32, ) -> Weight; - fn seal_caller_is_origin(r: u32, ) -> Weight; - fn seal_caller_is_root(r: u32, ) -> Weight; - fn seal_address(r: u32, ) -> Weight; - fn seal_gas_left(r: u32, ) -> Weight; - fn seal_balance(r: u32, ) -> Weight; - fn seal_value_transferred(r: u32, ) -> Weight; - fn seal_minimum_balance(r: u32, ) -> Weight; - fn seal_block_number(r: u32, ) -> Weight; - fn seal_now(r: u32, ) -> Weight; - fn seal_weight_to_fee(r: u32, ) -> Weight; - fn seal_input(r: u32, ) -> Weight; - fn seal_input_per_byte(n: u32, ) -> Weight; - fn seal_return(r: u32, ) -> Weight; - fn seal_return_per_byte(n: u32, ) -> Weight; - fn seal_terminate(r: u32, ) -> Weight; - fn seal_random(r: u32, ) -> Weight; - fn seal_deposit_event(r: u32, ) -> Weight; - fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32, ) -> Weight; - fn seal_debug_message(r: u32, ) -> Weight; - fn seal_debug_message_per_byte(i: u32, ) -> Weight; - fn seal_set_storage(r: u32, ) -> Weight; + fn call_noop_host_fn(r: u32, ) -> Weight; + fn seal_caller() -> Weight; + fn seal_is_contract() -> Weight; + fn seal_code_hash() -> Weight; + fn seal_own_code_hash() -> Weight; + fn seal_caller_is_origin() -> Weight; + fn seal_caller_is_root() -> Weight; + fn seal_address() -> Weight; + fn seal_gas_left() -> Weight; + fn seal_balance() -> Weight; + fn seal_value_transferred() -> Weight; + fn seal_minimum_balance() -> Weight; + fn seal_block_number() -> Weight; + fn seal_now() -> Weight; + fn seal_weight_to_fee() -> Weight; + fn seal_input(n: u32, ) -> Weight; + fn seal_return(n: u32, ) -> Weight; + fn seal_terminate() -> Weight; + fn seal_random() -> Weight; + fn seal_deposit_event(t: u32, n: u32, ) -> Weight; + fn seal_debug_message(i: u32, ) -> Weight; fn seal_set_storage_per_new_byte(n: u32, ) -> Weight; fn seal_set_storage_per_old_byte(n: u32, ) -> Weight; - fn seal_clear_storage(r: u32, ) -> Weight; - fn seal_clear_storage_per_byte(n: u32, ) -> Weight; - fn seal_get_storage(r: u32, ) -> Weight; - fn seal_get_storage_per_byte(n: u32, ) -> Weight; - fn seal_contains_storage(r: u32, ) -> Weight; - fn seal_contains_storage_per_byte(n: u32, ) -> Weight; - fn seal_take_storage(r: u32, ) -> Weight; - fn seal_take_storage_per_byte(n: u32, ) -> Weight; - fn seal_transfer(r: u32, ) -> Weight; - fn seal_call(r: u32, ) -> Weight; - fn seal_delegate_call(r: u32, ) -> Weight; - fn seal_call_per_transfer_clone_byte(t: u32, c: u32, ) -> Weight; - fn seal_instantiate(r: u32, ) -> Weight; - fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight; - fn seal_hash_sha2_256(r: u32, ) -> Weight; - fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight; - fn seal_hash_keccak_256(r: u32, ) -> Weight; - fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight; - fn seal_hash_blake2_256(r: u32, ) -> Weight; - fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight; - fn seal_hash_blake2_128(r: u32, ) -> Weight; - fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight; - fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight; - fn seal_sr25519_verify(r: u32, ) -> Weight; - fn seal_ecdsa_recover(r: u32, ) -> Weight; - fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight; - fn seal_set_code_hash(r: u32, ) -> Weight; - fn lock_delegate_dependency(r: u32, ) -> Weight; - fn unlock_delegate_dependency(r: u32, ) -> Weight; - fn seal_reentrance_count(r: u32, ) -> Weight; - fn seal_account_reentrance_count(r: u32, ) -> Weight; - fn seal_instantiation_nonce(r: u32, ) -> Weight; + fn seal_clear_storage(n: u32, ) -> Weight; + fn seal_get_storage(n: u32, ) -> Weight; + fn seal_contains_storage(n: u32, ) -> Weight; + fn seal_take_storage(n: u32, ) -> Weight; + fn seal_transfer() -> Weight; + fn seal_call(c: u32, t: u32, i: u32, ) -> Weight; + fn seal_delegate_call() -> Weight; + fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight; + fn seal_hash_sha2_256(n: u32, ) -> Weight; + fn seal_hash_keccak_256(n: u32, ) -> Weight; + fn seal_hash_blake2_256(n: u32, ) -> Weight; + fn seal_hash_blake2_128(n: u32, ) -> Weight; + fn seal_sr25519_verify(n: u32, ) -> Weight; + fn seal_ecdsa_recover() -> Weight; + fn seal_ecdsa_to_eth_address() -> Weight; + fn seal_set_code_hash() -> Weight; + fn lock_delegate_dependency() -> Weight; + fn unlock_delegate_dependency() -> Weight; + fn seal_reentrance_count() -> Weight; + fn seal_account_reentrance_count() -> Weight; + fn seal_instantiation_nonce() -> Weight; fn instr_i64_load_store(r: u32, ) -> Weight; } @@ -143,8 +110,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_149_000 picoseconds. - Weight::from_parts(2_274_000, 1627) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -152,12 +119,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `452 + k * (69 ±0)` - // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_863_000 picoseconds. - Weight::from_parts(13_188_000, 442) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(1_105_325, 0).saturating_mul(k.into())) + // Measured: `318 + k * (69 ±0)` + // Estimated: `318 + k * (70 ±0)` + // Minimum execution time: 106_000_000 picoseconds. + Weight::from_parts(118_200_000, 318) + // Standard Error: 30_650 + .saturating_add(Weight::from_parts(7_881_933, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -169,12 +136,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + c * (1 ±0)` - // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_432_000 picoseconds. - Weight::from_parts(9_203_290, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(c.into())) + // Measured: `203 + c * (1 ±0)` + // Estimated: `6143 + c * (1 ±0)` + // Minimum execution time: 90_000_000 picoseconds. + Weight::from_parts(92_900_000, 6143) + // Standard Error: 7 + .saturating_add(Weight::from_parts(744, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -187,8 +154,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_177_000 picoseconds. - Weight::from_parts(17_663_000, 6450) + // Minimum execution time: 149_000_000 picoseconds. + Weight::from_parts(164_000_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -199,14 +166,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `171 + k * (1 ±0)` - // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_636_000 picoseconds. - Weight::from_parts(3_774_000, 3635) - // Standard Error: 542 - .saturating_add(Weight::from_parts(1_260_058, 0).saturating_mul(k.into())) + // Measured: `166 + k * (1 ±0)` + // Estimated: `3631 + k * (1 ±0)` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_399_999, 3631) + // Standard Error: 56_913 + .saturating_add(Weight::from_parts(15_769_238, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into())) } @@ -223,12 +190,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `328 + c * (1 ±0)` - // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_585_000 picoseconds. - Weight::from_parts(22_069_944, 6266) - // Standard Error: 1 - .saturating_add(Weight::from_parts(404, 0).saturating_mul(c.into())) + // Measured: `320 + c * (1 ±0)` + // Estimated: `6260 + c * (1 ±0)` + // Minimum execution time: 205_000_000 picoseconds. + Weight::from_parts(219_100_000, 6260) + // Standard Error: 31 + .saturating_add(Weight::from_parts(342, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -239,8 +206,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 13_283_000 picoseconds. - Weight::from_parts(14_015_000, 6380) + // Minimum execution time: 112_000_000 picoseconds. + Weight::from_parts(117_000_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -254,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 48_022_000 picoseconds. - Weight::from_parts(49_627_000, 6292) + // Minimum execution time: 487_000_000 picoseconds. + Weight::from_parts(507_000_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -267,8 +234,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 58_374_000 picoseconds. - Weight::from_parts(59_615_000, 6534) + // Minimum execution time: 430_000_000 picoseconds. + Weight::from_parts(518_000_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -278,8 +245,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_559_000 picoseconds. - Weight::from_parts(12_947_000, 6349) + // Minimum execution time: 110_000_000 picoseconds. + Weight::from_parts(122_000_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -289,8 +256,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_480_000 picoseconds. - Weight::from_parts(2_680_000, 1627) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(25_000_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -302,8 +269,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_625_000 picoseconds. - Weight::from_parts(13_094_000, 3631) + // Minimum execution time: 114_000_000 picoseconds. + Weight::from_parts(118_000_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -313,8 +280,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_836_000 picoseconds. - Weight::from_parts(5_182_000, 3607) + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(43_000_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -325,8 +292,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_319_000 picoseconds. - Weight::from_parts(6_582_000, 3632) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(60_000_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -337,8 +304,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_532_000 picoseconds. - Weight::from_parts(6_909_000, 3607) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(58_000_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -361,12 +328,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `804 + c * (1 ±0)` - // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 305_778_000 picoseconds. - Weight::from_parts(282_321_249, 9217) - // Standard Error: 72 - .saturating_add(Weight::from_parts(33_456, 0).saturating_mul(c.into())) + // Measured: `832` + // Estimated: `9247 + c * (1 ±0)` + // Minimum execution time: 2_201_000_000 picoseconds. + Weight::from_parts(2_297_000_000, 9247) + // Standard Error: 362 + .saturating_add(Weight::from_parts(83_549, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -396,16 +363,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `326` - // Estimated: `8740` - // Minimum execution time: 3_810_809_000 picoseconds. - Weight::from_parts(739_511_598, 8740) - // Standard Error: 140 - .saturating_add(Weight::from_parts(67_574, 0).saturating_mul(c.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_488, 0).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_537, 0).saturating_mul(s.into())) + // Measured: `443` + // Estimated: `8858` + // Minimum execution time: 8_151_000_000 picoseconds. + Weight::from_parts(5_385_233_352, 8858) + // Standard Error: 497 + .saturating_add(Weight::from_parts(161_394, 0).saturating_mul(c.into())) + // Standard Error: 59 + .saturating_add(Weight::from_parts(1_312, 0).saturating_mul(i.into())) + // Standard Error: 59 + .saturating_add(Weight::from_parts(1_839, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -433,14 +400,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563` - // Estimated: `8982` - // Minimum execution time: 1_986_789_000 picoseconds. - Weight::from_parts(2_017_466_000, 8982) - // Standard Error: 26 - .saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(781, 0).saturating_mul(s.into())) + // Measured: `615` + // Estimated: `9030` + // Minimum execution time: 4_448_000_000 picoseconds. + Weight::from_parts(3_037_050_000, 9030) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_818, 0).saturating_mul(i.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_611, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -464,8 +431,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 210_724_000 picoseconds. - Weight::from_parts(218_608_000, 9244) + // Minimum execution time: 2_158_000_000 picoseconds. + Weight::from_parts(2_235_000_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -486,10 +453,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 271_259_000 picoseconds. - Weight::from_parts(298_852_854, 6085) - // Standard Error: 65 - .saturating_add(Weight::from_parts(33_547, 0).saturating_mul(c.into())) + // Minimum execution time: 1_951_000_000 picoseconds. + Weight::from_parts(2_063_900_000, 6085) + // Standard Error: 430 + .saturating_add(Weight::from_parts(83_991, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -510,10 +477,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 278_167_000 picoseconds. - Weight::from_parts(311_888_941, 6085) - // Standard Error: 58 - .saturating_add(Weight::from_parts(33_595, 0).saturating_mul(c.into())) + // Minimum execution time: 2_110_000_000 picoseconds. + Weight::from_parts(2_274_000_000, 6085) + // Standard Error: 286 + .saturating_add(Weight::from_parts(84_193, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -531,8 +498,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 47_403_000 picoseconds. - Weight::from_parts(48_707_000, 3780) + // Minimum execution time: 485_000_000 picoseconds. + Weight::from_parts(523_000_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -548,335 +515,205 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 35_361_000 picoseconds. - Weight::from_parts(36_714_000, 8967) + // Minimum execution time: 321_000_000 picoseconds. + Weight::from_parts(364_000_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } /// The range of component `r` is `[0, 1600]`. - fn seal_caller(r: u32, ) -> Weight { + fn call_noop_host_fn(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_340_000 picoseconds. - Weight::from_parts(9_360_237, 0) - // Standard Error: 269 - .saturating_add(Weight::from_parts(249_611, 0).saturating_mul(r.into())) + // Minimum execution time: 150_000_000 picoseconds. + Weight::from_parts(159_300_000, 0) + // Standard Error: 1_567 + .saturating_add(Weight::from_parts(74_625, 0).saturating_mul(r.into())) } - /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) + fn seal_caller() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + } + /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_is_contract(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `509 + r * (77 ±0)` - // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 9_059_000 picoseconds. - Weight::from_parts(9_201_000, 1467) - // Standard Error: 5_643 - .saturating_add(Weight::from_parts(3_343_859, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) - } - /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) + fn seal_is_contract() -> Weight { + // Proof Size summary in bytes: + // Measured: `354` + // Estimated: `3819` + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(61_000_000, 3819) + .saturating_add(T::DbWeight::get().reads(1_u64)) + } + /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_code_hash(r: u32, ) -> Weight { + fn seal_code_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `517 + r * (170 ±0)` - // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 9_220_000 picoseconds. - Weight::from_parts(9_399_000, 1468) - // Standard Error: 6_194 - .saturating_add(Weight::from_parts(4_172_011, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) + // Measured: `447` + // Estimated: `3912` + // Minimum execution time: 68_000_000 picoseconds. + Weight::from_parts(72_000_000, 3912) + .saturating_add(T::DbWeight::get().reads(1_u64)) } - /// The range of component `r` is `[0, 1600]`. - fn seal_own_code_hash(r: u32, ) -> Weight { + fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_707_000 picoseconds. - Weight::from_parts(10_100_456, 0) - // Standard Error: 234 - .saturating_add(Weight::from_parts(338_464, 0).saturating_mul(r.into())) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_caller_is_origin(r: u32, ) -> Weight { + fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_524_000 picoseconds. - Weight::from_parts(10_813_389, 0) - // Standard Error: 76 - .saturating_add(Weight::from_parts(102_535, 0).saturating_mul(r.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_caller_is_root(r: u32, ) -> Weight { + fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_799_000 picoseconds. - Weight::from_parts(10_886_744, 0) - // Standard Error: 75 - .saturating_add(Weight::from_parts(80_901, 0).saturating_mul(r.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_address(r: u32, ) -> Weight { + fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_895_000 picoseconds. - Weight::from_parts(10_658_338, 0) - // Standard Error: 189 - .saturating_add(Weight::from_parts(249_694, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_gas_left(r: u32, ) -> Weight { + fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_643_000 picoseconds. - Weight::from_parts(10_932_126, 0) - // Standard Error: 153 - .saturating_add(Weight::from_parts(280_924, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_balance(r: u32, ) -> Weight { + fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` - // Estimated: `3599` - // Minimum execution time: 9_548_000 picoseconds. - Weight::from_parts(9_737_000, 3599) - // Standard Error: 971 - .saturating_add(Weight::from_parts(1_704_134, 0).saturating_mul(r.into())) + // Estimated: `3605` + // Minimum execution time: 45_000_000 picoseconds. + Weight::from_parts(47_000_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } - /// The range of component `r` is `[0, 1600]`. - fn seal_value_transferred(r: u32, ) -> Weight { + fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_172_000 picoseconds. - Weight::from_parts(18_255_933, 0) - // Standard Error: 540 - .saturating_add(Weight::from_parts(230_929, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_minimum_balance(r: u32, ) -> Weight { + fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_232_000 picoseconds. - Weight::from_parts(9_796_584, 0) - // Standard Error: 208 - .saturating_add(Weight::from_parts(239_962, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_block_number(r: u32, ) -> Weight { + fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_747_000 picoseconds. - Weight::from_parts(8_733_230, 0) - // Standard Error: 377 - .saturating_add(Weight::from_parts(253_801, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_now(r: u32, ) -> Weight { + fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_214_000 picoseconds. - Weight::from_parts(10_194_153, 0) - // Standard Error: 516 - .saturating_add(Weight::from_parts(247_621, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_weight_to_fee(r: u32, ) -> Weight { + fn seal_weight_to_fee() -> Weight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 9_022_000 picoseconds. - Weight::from_parts(22_051_160, 1552) - // Standard Error: 697 - .saturating_add(Weight::from_parts(709_612, 0).saturating_mul(r.into())) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(37_000_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } - /// The range of component `r` is `[0, 1600]`. - fn seal_input(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 9_135_000 picoseconds. - Weight::from_parts(10_646_215, 0) - // Standard Error: 161 - .saturating_add(Weight::from_parts(170_336, 0).saturating_mul(r.into())) - } - /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) - /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `n` is `[0, 1048576]`. - fn seal_input_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `872` - // Estimated: `9287` - // Minimum execution time: 273_896_000 picoseconds. - Weight::from_parts(148_309_654, 9287) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_355, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - } - /// The range of component `r` is `[0, 1]`. - fn seal_return(r: u32, ) -> Weight { + /// The range of component `n` is `[0, 1048572]`. + fn seal_input(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_906_000 picoseconds. - Weight::from_parts(9_264_446, 0) - // Standard Error: 19_760 - .saturating_add(Weight::from_parts(1_256_053, 0).saturating_mul(r.into())) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_900_000, 0) } - /// The range of component `n` is `[0, 1048576]`. - fn seal_return_per_byte(n: u32, ) -> Weight { + /// The range of component `n` is `[0, 1048572]`. + fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_266_000 picoseconds. - Weight::from_parts(10_602_261, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_400_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(318, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(158, 0).saturating_mul(n.into())) } - /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) - /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:1 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Contracts::CodeInfoOf` (r:33 w:33) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `System::EventTopics` (r:4 w:4) + /// Storage: `Contracts::CodeInfoOf` (r:33 w:33) + /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) + /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) + /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) - /// The range of component `r` is `[0, 1]`. - fn seal_terminate(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `4805 + r * (2121 ±0)` - // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 295_922_000 picoseconds. - Weight::from_parts(322_472_877, 13220) - // Standard Error: 993_812 - .saturating_add(Weight::from_parts(259_075_422, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().reads((36_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(T::DbWeight::get().writes((41_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 81321).saturating_mul(r.into())) + fn seal_terminate() -> Weight { + // Proof Size summary in bytes: + // Measured: `2821` + // Estimated: `85486` + // Minimum execution time: 1_390_000_000 picoseconds. + Weight::from_parts(1_470_000_000, 85486) + .saturating_add(T::DbWeight::get().reads(36_u64)) + .saturating_add(T::DbWeight::get().writes(38_u64)) } /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0) /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_random(r: u32, ) -> Weight { + fn seal_random() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_427_000 picoseconds. - Weight::from_parts(12_996_213, 1561) - // Standard Error: 845 - .saturating_add(Weight::from_parts(1_182_642, 0).saturating_mul(r.into())) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(36_000_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } - /// The range of component `r` is `[0, 1600]`. - fn seal_deposit_event(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 9_304_000 picoseconds. - Weight::from_parts(25_678_842, 0) - // Standard Error: 1_855 - .saturating_add(Weight::from_parts(1_814_511, 0).saturating_mul(r.into())) - } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16384]`. - fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32, ) -> Weight { + fn seal_deposit_event(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 23_425_000 picoseconds. - Weight::from_parts(15_229_010, 990) - // Standard Error: 14_380 - .saturating_add(Weight::from_parts(2_545_653, 0).saturating_mul(t.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(594, 0).saturating_mul(n.into())) + // Estimated: `641 + t * (2562 ±0)` + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_999_999, 641) + // Standard Error: 651_505 + .saturating_add(Weight::from_parts(31_650_000, 0).saturating_mul(t.into())) + // Standard Error: 159 + .saturating_add(Weight::from_parts(134, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_debug_message(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 11_117_000 picoseconds. - Weight::from_parts(12_887_533, 0) - // Standard Error: 83 - .saturating_add(Weight::from_parts(99_373, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2562).saturating_mul(t.into())) } /// The range of component `i` is `[0, 1048576]`. - fn seal_debug_message_per_byte(i: u32, ) -> Weight { + fn seal_debug_message(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_982_000 picoseconds. - Weight::from_parts(11_176_000, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(983, 0).saturating_mul(i.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_set_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_150_000 picoseconds. - Weight::from_parts(9_269_000, 105) - // Standard Error: 8_147 - .saturating_add(Weight::from_parts(5_339_554, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_100_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(445, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -885,10 +722,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 19_085_000 picoseconds. - Weight::from_parts(20_007_323, 245) - // Standard Error: 3 - .saturating_add(Weight::from_parts(291, 0).saturating_mul(n.into())) + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(61_800_000, 245) + // Standard Error: 132 + .saturating_add(Weight::from_parts(476, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -897,196 +734,83 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_127_000 picoseconds. - Weight::from_parts(21_152_987, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(42, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(63_900_000, 245) + // Standard Error: 93 + .saturating_add(Weight::from_parts(48, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_clear_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_264_000 picoseconds. - Weight::from_parts(9_449_000, 105) - // Standard Error: 8_196 - .saturating_add(Weight::from_parts(5_325_578, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_clear_storage_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_489_000 picoseconds. - Weight::from_parts(19_916_153, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(97, 0).saturating_mul(n.into())) + fn seal_clear_storage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(61_100_000, 245) + // Standard Error: 113 + .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_get_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_299_000 picoseconds. - Weight::from_parts(9_464_000, 105) - // Standard Error: 6_827 - .saturating_add(Weight::from_parts(4_720_699, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_get_storage_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_981_000 picoseconds. - Weight::from_parts(19_802_353, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into())) + fn seal_get_storage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 53_000_000 picoseconds. + Weight::from_parts(61_800_000, 245) + // Standard Error: 160 + .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_contains_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_891_000 picoseconds. - Weight::from_parts(10_046_000, 105) - // Standard Error: 6_993 - .saturating_add(Weight::from_parts(4_601_167, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_contains_storage_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_229_000 picoseconds. - Weight::from_parts(18_302_733, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + fn seal_contains_storage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(58_500_000, 245) + // Standard Error: 80 + .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_take_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_323_000 picoseconds. - Weight::from_parts(9_462_000, 105) - // Standard Error: 8_031 - .saturating_add(Weight::from_parts(5_433_981, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_take_storage_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_711_000 picoseconds. - Weight::from_parts(20_495_670, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(640, 0).saturating_mul(n.into())) + fn seal_take_storage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(66_300_000, 245) + // Standard Error: 188 + .saturating_add(Weight::from_parts(1_110, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } - /// Storage: `System::Account` (r:1601 w:1601) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_transfer(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_226_000 picoseconds. - Weight::from_parts(9_394_000, 4221) - // Standard Error: 14_741 - .saturating_add(Weight::from_parts(34_179_316, 0).saturating_mul(r.into())) + fn seal_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `3605` + // Minimum execution time: 99_000_000 picoseconds. + Weight::from_parts(102_000_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(r.into())) - } - /// Storage: `Contracts::ContractInfoOf` (r:800 w:801) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::EventTopics` (r:801 w:801) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_call(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `520 + r * (170 ±0)` - // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_455_000 picoseconds. - Weight::from_parts(9_671_000, 6463) - // Standard Error: 126_080 - .saturating_add(Weight::from_parts(244_204_040, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(2_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2646).saturating_mul(r.into())) - } - /// Storage: `Contracts::CodeInfoOf` (r:735 w:0) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:735 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::EventTopics` (r:736 w:736) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_delegate_call(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + r * (527 ±0)` - // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 9_274_000 picoseconds. - Weight::from_parts(9_437_000, 6447) - // Standard Error: 150_832 - .saturating_add(Weight::from_parts(244_196_269, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1096,56 +820,47 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Parameters::Parameters` (r:2 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `System::EventTopics` (r:2 w:2) + /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `c` is `[0, 1]`. /// The range of component `t` is `[0, 1]`. - /// The range of component `c` is `[0, 1048576]`. - fn seal_call_per_transfer_clone_byte(t: u32, c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `699 + t * (277 ±0)` - // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 214_483_000 picoseconds. - Weight::from_parts(122_634_366, 6639) - // Standard Error: 2_499_235 - .saturating_add(Weight::from_parts(41_326_008, 0).saturating_mul(t.into())) - // Standard Error: 3 - .saturating_add(Weight::from_parts(422, 0).saturating_mul(c.into())) + /// The range of component `i` is `[0, 1048576]`. + fn seal_call(c: u32, t: u32, _i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `623 + t * (280 ±0)` + // Estimated: `6563 + t * (3421 ±0)` + // Minimum execution time: 1_604_000_000 picoseconds. + Weight::from_parts(1_723_533_333, 6563) + // Standard Error: 18_493_246 + .saturating_add(Weight::from_parts(15_933_333, 0).saturating_mul(c.into())) + // Standard Error: 18_493_246 + .saturating_add(Weight::from_parts(414_233_333, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 3458).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 3421).saturating_mul(t.into())) } - /// Storage: `Contracts::CodeInfoOf` (r:800 w:800) + /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:800 w:0) + /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Contracts::Nonce` (r:1 w:0) - /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:800 w:801) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `System::Account` (r:802 w:802) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `System::EventTopics` (r:2 w:2) + /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Parameters::Parameters` (r:2 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `System::EventTopics` (r:801 w:801) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[1, 800]`. - fn seal_instantiate(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `1097 + r * (188 ±0)` - // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 341_569_000 picoseconds. - Weight::from_parts(360_574_000, 6990) - // Standard Error: 259_746 - .saturating_add(Weight::from_parts(337_944_674, 0).saturating_mul(r.into())) + /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) + fn seal_delegate_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `433` + // Estimated: `6373` + // Minimum execution time: 1_524_000_000 picoseconds. + Weight::from_parts(1_558_000_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(T::DbWeight::get().writes((4_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2664).saturating_mul(r.into())) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1164,245 +879,149 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. - fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `760 + t * (104 ±0)` - // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_863_119_000 picoseconds. - Weight::from_parts(900_189_174, 6719) - // Standard Error: 13_040_979 - .saturating_add(Weight::from_parts(4_056_063, 0).saturating_mul(t.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_028, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(s.into())) + fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `627 + t * (102 ±0)` + // Estimated: `6567 + t * (2577 ±0)` + // Minimum execution time: 3_863_000_000 picoseconds. + Weight::from_parts(2_236_566_666, 6567) + // Standard Error: 41_979_515 + .saturating_add(Weight::from_parts(469_166_666, 0).saturating_mul(t.into())) + // Standard Error: 42 + .saturating_add(Weight::from_parts(1_417, 0).saturating_mul(i.into())) + // Standard Error: 42 + .saturating_add(Weight::from_parts(1_492, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2549).saturating_mul(t.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_hash_sha2_256(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 9_211_000 picoseconds. - Weight::from_parts(11_696_412, 0) - // Standard Error: 388 - .saturating_add(Weight::from_parts(265_538, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2577).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. - fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 10_296_000 picoseconds. - Weight::from_parts(572_494, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_067, 0).saturating_mul(n.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_hash_keccak_256(r: u32, ) -> Weight { + fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_177_000 picoseconds. - Weight::from_parts(8_620_481, 0) - // Standard Error: 249 - .saturating_add(Weight::from_parts(674_502, 0).saturating_mul(r.into())) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(3_238, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. - fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 11_240_000 picoseconds. - Weight::from_parts(8_696_186, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_328, 0).saturating_mul(n.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_hash_blake2_256(r: u32, ) -> Weight { + fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_889_000 picoseconds. - Weight::from_parts(16_103_170, 0) - // Standard Error: 343 - .saturating_add(Weight::from_parts(328_939, 0).saturating_mul(r.into())) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(12_900_000, 0) + // Standard Error: 16 + .saturating_add(Weight::from_parts(4_844, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. - fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 10_405_000 picoseconds. - Weight::from_parts(2_264_024, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_hash_blake2_128(r: u32, ) -> Weight { + fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_215_000 picoseconds. - Weight::from_parts(10_505_632, 0) - // Standard Error: 240 - .saturating_add(Weight::from_parts(324_854, 0).saturating_mul(r.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. - fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { + fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_440_000 picoseconds. - Weight::from_parts(2_575_889, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_199, 0).saturating_mul(n.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_600_000, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_165, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. - fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 55_119_000 picoseconds. - Weight::from_parts(56_732_248, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(4_639, 0).saturating_mul(n.into())) - } - /// The range of component `r` is `[0, 160]`. - fn seal_sr25519_verify(r: u32, ) -> Weight { + fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_176_000 picoseconds. - Weight::from_parts(9_861_102, 0) - // Standard Error: 6_029 - .saturating_add(Weight::from_parts(45_948_571, 0).saturating_mul(r.into())) + // Minimum execution time: 58_000_000 picoseconds. + Weight::from_parts(63_500_000, 0) + // Standard Error: 39 + .saturating_add(Weight::from_parts(7_818, 0).saturating_mul(n.into())) } - /// The range of component `r` is `[0, 160]`. - fn seal_ecdsa_recover(r: u32, ) -> Weight { + fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_293_000 picoseconds. - Weight::from_parts(28_785_765, 0) - // Standard Error: 9_160 - .saturating_add(Weight::from_parts(45_566_150, 0).saturating_mul(r.into())) + // Minimum execution time: 312_000_000 picoseconds. + Weight::from_parts(329_000_000, 0) } - /// The range of component `r` is `[0, 160]`. - fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { + fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_206_000 picoseconds. - Weight::from_parts(12_420_664, 0) - // Standard Error: 3_489 - .saturating_add(Weight::from_parts(11_628_989, 0).saturating_mul(r.into())) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(19_000_000, 0) } - /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) + /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1535 w:0) + /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `Parameters::Parameters` (r:2 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `System::EventTopics` (r:1537 w:1537) + /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_set_code_hash(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + r * (926 ±0)` - // Estimated: `8969 + r * (3047 ±7)` - // Minimum execution time: 9_219_000 picoseconds. - Weight::from_parts(9_385_000, 8969) - // Standard Error: 45_562 - .saturating_add(Weight::from_parts(26_360_661, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) - } - /// Storage: `Contracts::CodeInfoOf` (r:32 w:32) + fn seal_set_code_hash() -> Weight { + // Proof Size summary in bytes: + // Measured: `433` + // Estimated: `6373` + // Minimum execution time: 309_000_000 picoseconds. + Weight::from_parts(332_000_000, 6373) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) + } + /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// The range of component `r` is `[0, 32]`. - fn lock_delegate_dependency(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `274 + r * (78 ±0)` - // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_355_000 picoseconds. - Weight::from_parts(15_071_309, 1265) - // Standard Error: 9_722 - .saturating_add(Weight::from_parts(5_328_717, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) - } - /// Storage: `Contracts::CodeInfoOf` (r:32 w:32) + fn lock_delegate_dependency() -> Weight { + // Proof Size summary in bytes: + // Measured: `355` + // Estimated: `3820` + // Minimum execution time: 80_000_000 picoseconds. + Weight::from_parts(86_000_000, 3820) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 32]`. - fn unlock_delegate_dependency(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `275 + r * (78 ±0)` - // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 8_979_000 picoseconds. - Weight::from_parts(14_362_224, 990) - // Standard Error: 9_137 - .saturating_add(Weight::from_parts(4_488_748, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) + fn unlock_delegate_dependency() -> Weight { + // Proof Size summary in bytes: + // Measured: `355` + // Estimated: `3558` + // Minimum execution time: 66_000_000 picoseconds. + Weight::from_parts(69_000_000, 3558) + .saturating_add(T::DbWeight::get().reads(1_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) - /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_reentrance_count(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `861 + r * (3 ±0)` - // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 269_704_000 picoseconds. - Weight::from_parts(289_916_035, 9282) - // Standard Error: 408 - .saturating_add(Weight::from_parts(166_040, 0).saturating_mul(r.into())) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) + fn seal_reentrance_count() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_account_reentrance_count(r: u32, ) -> Weight { + fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_361_000 picoseconds. - Weight::from_parts(11_633_836, 0) - // Standard Error: 86 - .saturating_add(Weight::from_parts(83_083, 0).saturating_mul(r.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_instantiation_nonce(r: u32, ) -> Weight { + fn seal_instantiation_nonce() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 9_133_000 picoseconds. - Weight::from_parts(13_259_836, 1704) - // Standard Error: 121 - .saturating_add(Weight::from_parts(76_878, 0).saturating_mul(r.into())) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(28_000_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1410,10 +1029,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 851_000 picoseconds. - Weight::from_parts(587_883, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(14_912, 0).saturating_mul(r.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + // Standard Error: 557 + .saturating_add(Weight::from_parts(75_560, 0).saturating_mul(r.into())) } } @@ -1425,8 +1044,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_149_000 picoseconds. - Weight::from_parts(2_274_000, 1627) + // Minimum execution time: 21_000_000 picoseconds. + Weight::from_parts(22_000_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1434,12 +1053,12 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `452 + k * (69 ±0)` - // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_863_000 picoseconds. - Weight::from_parts(13_188_000, 442) - // Standard Error: 1_053 - .saturating_add(Weight::from_parts(1_105_325, 0).saturating_mul(k.into())) + // Measured: `318 + k * (69 ±0)` + // Estimated: `318 + k * (70 ±0)` + // Minimum execution time: 106_000_000 picoseconds. + Weight::from_parts(118_200_000, 318) + // Standard Error: 30_650 + .saturating_add(Weight::from_parts(7_881_933, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1451,12 +1070,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + c * (1 ±0)` - // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_432_000 picoseconds. - Weight::from_parts(9_203_290, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(c.into())) + // Measured: `203 + c * (1 ±0)` + // Estimated: `6143 + c * (1 ±0)` + // Minimum execution time: 90_000_000 picoseconds. + Weight::from_parts(92_900_000, 6143) + // Standard Error: 7 + .saturating_add(Weight::from_parts(744, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1469,8 +1088,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_177_000 picoseconds. - Weight::from_parts(17_663_000, 6450) + // Minimum execution time: 149_000_000 picoseconds. + Weight::from_parts(164_000_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1481,14 +1100,14 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `171 + k * (1 ±0)` - // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_636_000 picoseconds. - Weight::from_parts(3_774_000, 3635) - // Standard Error: 542 - .saturating_add(Weight::from_parts(1_260_058, 0).saturating_mul(k.into())) + // Measured: `166 + k * (1 ±0)` + // Estimated: `3631 + k * (1 ±0)` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_399_999, 3631) + // Standard Error: 56_913 + .saturating_add(Weight::from_parts(15_769_238, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into())) } @@ -1505,12 +1124,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `328 + c * (1 ±0)` - // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 21_585_000 picoseconds. - Weight::from_parts(22_069_944, 6266) - // Standard Error: 1 - .saturating_add(Weight::from_parts(404, 0).saturating_mul(c.into())) + // Measured: `320 + c * (1 ±0)` + // Estimated: `6260 + c * (1 ±0)` + // Minimum execution time: 205_000_000 picoseconds. + Weight::from_parts(219_100_000, 6260) + // Standard Error: 31 + .saturating_add(Weight::from_parts(342, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1521,8 +1140,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 13_283_000 picoseconds. - Weight::from_parts(14_015_000, 6380) + // Minimum execution time: 112_000_000 picoseconds. + Weight::from_parts(117_000_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1536,8 +1155,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 48_022_000 picoseconds. - Weight::from_parts(49_627_000, 6292) + // Minimum execution time: 487_000_000 picoseconds. + Weight::from_parts(507_000_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1549,8 +1168,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 58_374_000 picoseconds. - Weight::from_parts(59_615_000, 6534) + // Minimum execution time: 430_000_000 picoseconds. + Weight::from_parts(518_000_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1560,8 +1179,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_559_000 picoseconds. - Weight::from_parts(12_947_000, 6349) + // Minimum execution time: 110_000_000 picoseconds. + Weight::from_parts(122_000_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1571,8 +1190,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_480_000 picoseconds. - Weight::from_parts(2_680_000, 1627) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(25_000_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1584,8 +1203,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_625_000 picoseconds. - Weight::from_parts(13_094_000, 3631) + // Minimum execution time: 114_000_000 picoseconds. + Weight::from_parts(118_000_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1595,8 +1214,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_836_000 picoseconds. - Weight::from_parts(5_182_000, 3607) + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(43_000_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1607,8 +1226,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_319_000 picoseconds. - Weight::from_parts(6_582_000, 3632) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(60_000_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1619,8 +1238,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_532_000 picoseconds. - Weight::from_parts(6_909_000, 3607) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(58_000_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1643,12 +1262,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `804 + c * (1 ±0)` - // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 305_778_000 picoseconds. - Weight::from_parts(282_321_249, 9217) - // Standard Error: 72 - .saturating_add(Weight::from_parts(33_456, 0).saturating_mul(c.into())) + // Measured: `832` + // Estimated: `9247 + c * (1 ±0)` + // Minimum execution time: 2_201_000_000 picoseconds. + Weight::from_parts(2_297_000_000, 9247) + // Standard Error: 362 + .saturating_add(Weight::from_parts(83_549, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1678,16 +1297,16 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `326` - // Estimated: `8740` - // Minimum execution time: 3_810_809_000 picoseconds. - Weight::from_parts(739_511_598, 8740) - // Standard Error: 140 - .saturating_add(Weight::from_parts(67_574, 0).saturating_mul(c.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_488, 0).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_537, 0).saturating_mul(s.into())) + // Measured: `443` + // Estimated: `8858` + // Minimum execution time: 8_151_000_000 picoseconds. + Weight::from_parts(5_385_233_352, 8858) + // Standard Error: 497 + .saturating_add(Weight::from_parts(161_394, 0).saturating_mul(c.into())) + // Standard Error: 59 + .saturating_add(Weight::from_parts(1_312, 0).saturating_mul(i.into())) + // Standard Error: 59 + .saturating_add(Weight::from_parts(1_839, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1715,14 +1334,14 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563` - // Estimated: `8982` - // Minimum execution time: 1_986_789_000 picoseconds. - Weight::from_parts(2_017_466_000, 8982) - // Standard Error: 26 - .saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(781, 0).saturating_mul(s.into())) + // Measured: `615` + // Estimated: `9030` + // Minimum execution time: 4_448_000_000 picoseconds. + Weight::from_parts(3_037_050_000, 9030) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_818, 0).saturating_mul(i.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(1_611, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1746,8 +1365,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 210_724_000 picoseconds. - Weight::from_parts(218_608_000, 9244) + // Minimum execution time: 2_158_000_000 picoseconds. + Weight::from_parts(2_235_000_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1768,10 +1387,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 271_259_000 picoseconds. - Weight::from_parts(298_852_854, 6085) - // Standard Error: 65 - .saturating_add(Weight::from_parts(33_547, 0).saturating_mul(c.into())) + // Minimum execution time: 1_951_000_000 picoseconds. + Weight::from_parts(2_063_900_000, 6085) + // Standard Error: 430 + .saturating_add(Weight::from_parts(83_991, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1792,10 +1411,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 278_167_000 picoseconds. - Weight::from_parts(311_888_941, 6085) - // Standard Error: 58 - .saturating_add(Weight::from_parts(33_595, 0).saturating_mul(c.into())) + // Minimum execution time: 2_110_000_000 picoseconds. + Weight::from_parts(2_274_000_000, 6085) + // Standard Error: 286 + .saturating_add(Weight::from_parts(84_193, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1813,8 +1432,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 47_403_000 picoseconds. - Weight::from_parts(48_707_000, 3780) + // Minimum execution time: 485_000_000 picoseconds. + Weight::from_parts(523_000_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1830,335 +1449,205 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 35_361_000 picoseconds. - Weight::from_parts(36_714_000, 8967) + // Minimum execution time: 321_000_000 picoseconds. + Weight::from_parts(364_000_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// The range of component `r` is `[0, 1600]`. - fn seal_caller(r: u32, ) -> Weight { + fn call_noop_host_fn(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_340_000 picoseconds. - Weight::from_parts(9_360_237, 0) - // Standard Error: 269 - .saturating_add(Weight::from_parts(249_611, 0).saturating_mul(r.into())) + // Minimum execution time: 150_000_000 picoseconds. + Weight::from_parts(159_300_000, 0) + // Standard Error: 1_567 + .saturating_add(Weight::from_parts(74_625, 0).saturating_mul(r.into())) } - /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) + fn seal_caller() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) + } + /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_is_contract(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `509 + r * (77 ±0)` - // Estimated: `1467 + r * (2552 ±0)` - // Minimum execution time: 9_059_000 picoseconds. - Weight::from_parts(9_201_000, 1467) - // Standard Error: 5_643 - .saturating_add(Weight::from_parts(3_343_859, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2552).saturating_mul(r.into())) - } - /// Storage: `Contracts::ContractInfoOf` (r:1600 w:0) + fn seal_is_contract() -> Weight { + // Proof Size summary in bytes: + // Measured: `354` + // Estimated: `3819` + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(61_000_000, 3819) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + } + /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_code_hash(r: u32, ) -> Weight { + fn seal_code_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `517 + r * (170 ±0)` - // Estimated: `1468 + r * (2645 ±0)` - // Minimum execution time: 9_220_000 picoseconds. - Weight::from_parts(9_399_000, 1468) - // Standard Error: 6_194 - .saturating_add(Weight::from_parts(4_172_011, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2645).saturating_mul(r.into())) + // Measured: `447` + // Estimated: `3912` + // Minimum execution time: 68_000_000 picoseconds. + Weight::from_parts(72_000_000, 3912) + .saturating_add(RocksDbWeight::get().reads(1_u64)) } - /// The range of component `r` is `[0, 1600]`. - fn seal_own_code_hash(r: u32, ) -> Weight { + fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_707_000 picoseconds. - Weight::from_parts(10_100_456, 0) - // Standard Error: 234 - .saturating_add(Weight::from_parts(338_464, 0).saturating_mul(r.into())) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_caller_is_origin(r: u32, ) -> Weight { + fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_524_000 picoseconds. - Weight::from_parts(10_813_389, 0) - // Standard Error: 76 - .saturating_add(Weight::from_parts(102_535, 0).saturating_mul(r.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_caller_is_root(r: u32, ) -> Weight { + fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_799_000 picoseconds. - Weight::from_parts(10_886_744, 0) - // Standard Error: 75 - .saturating_add(Weight::from_parts(80_901, 0).saturating_mul(r.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_address(r: u32, ) -> Weight { + fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_895_000 picoseconds. - Weight::from_parts(10_658_338, 0) - // Standard Error: 189 - .saturating_add(Weight::from_parts(249_694, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_gas_left(r: u32, ) -> Weight { + fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_643_000 picoseconds. - Weight::from_parts(10_932_126, 0) - // Standard Error: 153 - .saturating_add(Weight::from_parts(280_924, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_balance(r: u32, ) -> Weight { + fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` - // Estimated: `3599` - // Minimum execution time: 9_548_000 picoseconds. - Weight::from_parts(9_737_000, 3599) - // Standard Error: 971 - .saturating_add(Weight::from_parts(1_704_134, 0).saturating_mul(r.into())) + // Estimated: `3605` + // Minimum execution time: 45_000_000 picoseconds. + Weight::from_parts(47_000_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } - /// The range of component `r` is `[0, 1600]`. - fn seal_value_transferred(r: u32, ) -> Weight { + fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_172_000 picoseconds. - Weight::from_parts(18_255_933, 0) - // Standard Error: 540 - .saturating_add(Weight::from_parts(230_929, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_minimum_balance(r: u32, ) -> Weight { + fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_232_000 picoseconds. - Weight::from_parts(9_796_584, 0) - // Standard Error: 208 - .saturating_add(Weight::from_parts(239_962, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_block_number(r: u32, ) -> Weight { + fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_747_000 picoseconds. - Weight::from_parts(8_733_230, 0) - // Standard Error: 377 - .saturating_add(Weight::from_parts(253_801, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_now(r: u32, ) -> Weight { + fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_214_000 picoseconds. - Weight::from_parts(10_194_153, 0) - // Standard Error: 516 - .saturating_add(Weight::from_parts(247_621, 0).saturating_mul(r.into())) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(7_000_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_weight_to_fee(r: u32, ) -> Weight { + fn seal_weight_to_fee() -> Weight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 9_022_000 picoseconds. - Weight::from_parts(22_051_160, 1552) - // Standard Error: 697 - .saturating_add(Weight::from_parts(709_612, 0).saturating_mul(r.into())) + // Minimum execution time: 35_000_000 picoseconds. + Weight::from_parts(37_000_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } - /// The range of component `r` is `[0, 1600]`. - fn seal_input(r: u32, ) -> Weight { + /// The range of component `n` is `[0, 1048572]`. + fn seal_input(_n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_135_000 picoseconds. - Weight::from_parts(10_646_215, 0) - // Standard Error: 161 - .saturating_add(Weight::from_parts(170_336, 0).saturating_mul(r.into())) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_900_000, 0) } - /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) - /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `n` is `[0, 1048576]`. - fn seal_input_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `872` - // Estimated: `9287` - // Minimum execution time: 273_896_000 picoseconds. - Weight::from_parts(148_309_654, 9287) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_355, 0).saturating_mul(n.into())) - .saturating_add(RocksDbWeight::get().reads(11_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) - } - /// The range of component `r` is `[0, 1]`. - fn seal_return(r: u32, ) -> Weight { + /// The range of component `n` is `[0, 1048572]`. + fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_906_000 picoseconds. - Weight::from_parts(9_264_446, 0) - // Standard Error: 19_760 - .saturating_add(Weight::from_parts(1_256_053, 0).saturating_mul(r.into())) - } - /// The range of component `n` is `[0, 1048576]`. - fn seal_return_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 10_266_000 picoseconds. - Weight::from_parts(10_602_261, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_400_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(318, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(158, 0).saturating_mul(n.into())) } - /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) - /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:3 w:3) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:1 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Contracts::CodeInfoOf` (r:33 w:33) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `System::EventTopics` (r:4 w:4) + /// Storage: `Contracts::CodeInfoOf` (r:33 w:33) + /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) + /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Balances::Holds` (r:1 w:1) - /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) + /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) - /// The range of component `r` is `[0, 1]`. - fn seal_terminate(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `4805 + r * (2121 ±0)` - // Estimated: `13220 + r * (81321 ±0)` - // Minimum execution time: 295_922_000 picoseconds. - Weight::from_parts(322_472_877, 13220) - // Standard Error: 993_812 - .saturating_add(Weight::from_parts(259_075_422, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(11_u64)) - .saturating_add(RocksDbWeight::get().reads((36_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) - .saturating_add(RocksDbWeight::get().writes((41_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 81321).saturating_mul(r.into())) + fn seal_terminate() -> Weight { + // Proof Size summary in bytes: + // Measured: `2821` + // Estimated: `85486` + // Minimum execution time: 1_390_000_000 picoseconds. + Weight::from_parts(1_470_000_000, 85486) + .saturating_add(RocksDbWeight::get().reads(36_u64)) + .saturating_add(RocksDbWeight::get().writes(38_u64)) } /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0) /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_random(r: u32, ) -> Weight { + fn seal_random() -> Weight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 9_427_000 picoseconds. - Weight::from_parts(12_996_213, 1561) - // Standard Error: 845 - .saturating_add(Weight::from_parts(1_182_642, 0).saturating_mul(r.into())) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(36_000_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } - /// The range of component `r` is `[0, 1600]`. - fn seal_deposit_event(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 9_304_000 picoseconds. - Weight::from_parts(25_678_842, 0) - // Standard Error: 1_855 - .saturating_add(Weight::from_parts(1_814_511, 0).saturating_mul(r.into())) - } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16384]`. - fn seal_deposit_event_per_topic_and_byte(t: u32, n: u32, ) -> Weight { + fn seal_deposit_event(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 23_425_000 picoseconds. - Weight::from_parts(15_229_010, 990) - // Standard Error: 14_380 - .saturating_add(Weight::from_parts(2_545_653, 0).saturating_mul(t.into())) - // Standard Error: 4 - .saturating_add(Weight::from_parts(594, 0).saturating_mul(n.into())) + // Estimated: `641 + t * (2562 ±0)` + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(28_999_999, 641) + // Standard Error: 651_505 + .saturating_add(Weight::from_parts(31_650_000, 0).saturating_mul(t.into())) + // Standard Error: 159 + .saturating_add(Weight::from_parts(134, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_debug_message(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 11_117_000 picoseconds. - Weight::from_parts(12_887_533, 0) - // Standard Error: 83 - .saturating_add(Weight::from_parts(99_373, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2562).saturating_mul(t.into())) } /// The range of component `i` is `[0, 1048576]`. - fn seal_debug_message_per_byte(i: u32, ) -> Weight { + fn seal_debug_message(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_982_000 picoseconds. - Weight::from_parts(11_176_000, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(983, 0).saturating_mul(i.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_set_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_150_000 picoseconds. - Weight::from_parts(9_269_000, 105) - // Standard Error: 8_147 - .saturating_add(Weight::from_parts(5_339_554, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_100_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(445, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2167,10 +1656,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 19_085_000 picoseconds. - Weight::from_parts(20_007_323, 245) - // Standard Error: 3 - .saturating_add(Weight::from_parts(291, 0).saturating_mul(n.into())) + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(61_800_000, 245) + // Standard Error: 132 + .saturating_add(Weight::from_parts(476, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2179,196 +1668,83 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 19_127_000 picoseconds. - Weight::from_parts(21_152_987, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(42, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(63_900_000, 245) + // Standard Error: 93 + .saturating_add(Weight::from_parts(48, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_clear_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_264_000 picoseconds. - Weight::from_parts(9_449_000, 105) - // Standard Error: 8_196 - .saturating_add(Weight::from_parts(5_325_578, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_clear_storage_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_489_000 picoseconds. - Weight::from_parts(19_916_153, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(97, 0).saturating_mul(n.into())) + fn seal_clear_storage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(61_100_000, 245) + // Standard Error: 113 + .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_get_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_299_000 picoseconds. - Weight::from_parts(9_464_000, 105) - // Standard Error: 6_827 - .saturating_add(Weight::from_parts(4_720_699, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_get_storage_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_981_000 picoseconds. - Weight::from_parts(19_802_353, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into())) + fn seal_get_storage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 53_000_000 picoseconds. + Weight::from_parts(61_800_000, 245) + // Standard Error: 160 + .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_contains_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_891_000 picoseconds. - Weight::from_parts(10_046_000, 105) - // Standard Error: 6_993 - .saturating_add(Weight::from_parts(4_601_167, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_contains_storage_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 17_229_000 picoseconds. - Weight::from_parts(18_302_733, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(112, 0).saturating_mul(n.into())) + fn seal_contains_storage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(58_500_000, 245) + // Standard Error: 80 + .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_take_storage(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `108 + r * (150 ±0)` - // Estimated: `105 + r * (151 ±0)` - // Minimum execution time: 9_323_000 picoseconds. - Weight::from_parts(9_462_000, 105) - // Standard Error: 8_031 - .saturating_add(Weight::from_parts(5_433_981, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 151).saturating_mul(r.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_take_storage_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 18_711_000 picoseconds. - Weight::from_parts(20_495_670, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(640, 0).saturating_mul(n.into())) + fn seal_take_storage(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(66_300_000, 245) + // Standard Error: 188 + .saturating_add(Weight::from_parts(1_110, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } - /// Storage: `System::Account` (r:1601 w:1601) + /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_transfer(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4221 + r * (2475 ±0)` - // Minimum execution time: 9_226_000 picoseconds. - Weight::from_parts(9_394_000, 4221) - // Standard Error: 14_741 - .saturating_add(Weight::from_parts(34_179_316, 0).saturating_mul(r.into())) + fn seal_transfer() -> Weight { + // Proof Size summary in bytes: + // Measured: `140` + // Estimated: `3605` + // Minimum execution time: 99_000_000 picoseconds. + Weight::from_parts(102_000_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(r.into())) - } - /// Storage: `Contracts::ContractInfoOf` (r:800 w:801) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::EventTopics` (r:801 w:801) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_call(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `520 + r * (170 ±0)` - // Estimated: `6463 + r * (2646 ±0)` - // Minimum execution time: 9_455_000 picoseconds. - Weight::from_parts(9_671_000, 6463) - // Standard Error: 126_080 - .saturating_add(Weight::from_parts(244_204_040, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) - .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2646).saturating_mul(r.into())) - } - /// Storage: `Contracts::CodeInfoOf` (r:735 w:0) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:735 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::EventTopics` (r:736 w:736) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// The range of component `r` is `[0, 800]`. - fn seal_delegate_call(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + r * (527 ±0)` - // Estimated: `6447 + r * (2583 ±10)` - // Minimum execution time: 9_274_000 picoseconds. - Weight::from_parts(9_437_000, 6447) - // Standard Error: 150_832 - .saturating_add(Weight::from_parts(244_196_269, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2583).saturating_mul(r.into())) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -2378,56 +1754,47 @@ impl WeightInfo for () { /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Parameters::Parameters` (r:2 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) + /// Storage: `System::EventTopics` (r:2 w:2) + /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// The range of component `c` is `[0, 1]`. /// The range of component `t` is `[0, 1]`. - /// The range of component `c` is `[0, 1048576]`. - fn seal_call_per_transfer_clone_byte(t: u32, c: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `699 + t * (277 ±0)` - // Estimated: `6639 + t * (3458 ±0)` - // Minimum execution time: 214_483_000 picoseconds. - Weight::from_parts(122_634_366, 6639) - // Standard Error: 2_499_235 - .saturating_add(Weight::from_parts(41_326_008, 0).saturating_mul(t.into())) - // Standard Error: 3 - .saturating_add(Weight::from_parts(422, 0).saturating_mul(c.into())) + /// The range of component `i` is `[0, 1048576]`. + fn seal_call(c: u32, t: u32, _i: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `623 + t * (280 ±0)` + // Estimated: `6563 + t * (3421 ±0)` + // Minimum execution time: 1_604_000_000 picoseconds. + Weight::from_parts(1_723_533_333, 6563) + // Standard Error: 18_493_246 + .saturating_add(Weight::from_parts(15_933_333, 0).saturating_mul(c.into())) + // Standard Error: 18_493_246 + .saturating_add(Weight::from_parts(414_233_333, 0).saturating_mul(t.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 3458).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 3421).saturating_mul(t.into())) } - /// Storage: `Contracts::CodeInfoOf` (r:800 w:800) + /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:800 w:0) + /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Contracts::Nonce` (r:1 w:0) - /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:800 w:801) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `System::Account` (r:802 w:802) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) + /// Storage: `System::EventTopics` (r:2 w:2) + /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Parameters::Parameters` (r:2 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `System::EventTopics` (r:801 w:801) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[1, 800]`. - fn seal_instantiate(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `1097 + r * (188 ±0)` - // Estimated: `6990 + r * (2664 ±0)` - // Minimum execution time: 341_569_000 picoseconds. - Weight::from_parts(360_574_000, 6990) - // Standard Error: 259_746 - .saturating_add(Weight::from_parts(337_944_674, 0).saturating_mul(r.into())) + /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) + /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) + fn seal_delegate_call() -> Weight { + // Proof Size summary in bytes: + // Measured: `433` + // Estimated: `6373` + // Minimum execution time: 1_524_000_000 picoseconds. + Weight::from_parts(1_558_000_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) - .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes(4_u64)) - .saturating_add(RocksDbWeight::get().writes((4_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2664).saturating_mul(r.into())) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -2446,245 +1813,149 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. - fn seal_instantiate_per_transfer_input_salt_byte(t: u32, i: u32, s: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `760 + t * (104 ±0)` - // Estimated: `6719 + t * (2549 ±1)` - // Minimum execution time: 1_863_119_000 picoseconds. - Weight::from_parts(900_189_174, 6719) - // Standard Error: 13_040_979 - .saturating_add(Weight::from_parts(4_056_063, 0).saturating_mul(t.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_028, 0).saturating_mul(i.into())) - // Standard Error: 20 - .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(s.into())) + fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `627 + t * (102 ±0)` + // Estimated: `6567 + t * (2577 ±0)` + // Minimum execution time: 3_863_000_000 picoseconds. + Weight::from_parts(2_236_566_666, 6567) + // Standard Error: 41_979_515 + .saturating_add(Weight::from_parts(469_166_666, 0).saturating_mul(t.into())) + // Standard Error: 42 + .saturating_add(Weight::from_parts(1_417, 0).saturating_mul(i.into())) + // Standard Error: 42 + .saturating_add(Weight::from_parts(1_492, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2549).saturating_mul(t.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_hash_sha2_256(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 9_211_000 picoseconds. - Weight::from_parts(11_696_412, 0) - // Standard Error: 388 - .saturating_add(Weight::from_parts(265_538, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(0, 2577).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. - fn seal_hash_sha2_256_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 10_296_000 picoseconds. - Weight::from_parts(572_494, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_067, 0).saturating_mul(n.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_hash_keccak_256(r: u32, ) -> Weight { + fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_177_000 picoseconds. - Weight::from_parts(8_620_481, 0) - // Standard Error: 249 - .saturating_add(Weight::from_parts(674_502, 0).saturating_mul(r.into())) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(13_000_000, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(3_238, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. - fn seal_hash_keccak_256_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 11_240_000 picoseconds. - Weight::from_parts(8_696_186, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_328, 0).saturating_mul(n.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_hash_blake2_256(r: u32, ) -> Weight { + fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_889_000 picoseconds. - Weight::from_parts(16_103_170, 0) - // Standard Error: 343 - .saturating_add(Weight::from_parts(328_939, 0).saturating_mul(r.into())) + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(12_900_000, 0) + // Standard Error: 16 + .saturating_add(Weight::from_parts(4_844, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. - fn seal_hash_blake2_256_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 10_405_000 picoseconds. - Weight::from_parts(2_264_024, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) - } - /// The range of component `r` is `[0, 1600]`. - fn seal_hash_blake2_128(r: u32, ) -> Weight { + fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_215_000 picoseconds. - Weight::from_parts(10_505_632, 0) - // Standard Error: 240 - .saturating_add(Weight::from_parts(324_854, 0).saturating_mul(r.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. - fn seal_hash_blake2_128_per_byte(n: u32, ) -> Weight { + fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_440_000 picoseconds. - Weight::from_parts(2_575_889, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_199, 0).saturating_mul(n.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_600_000, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(1_165, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. - fn seal_sr25519_verify_per_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 55_119_000 picoseconds. - Weight::from_parts(56_732_248, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(4_639, 0).saturating_mul(n.into())) - } - /// The range of component `r` is `[0, 160]`. - fn seal_sr25519_verify(r: u32, ) -> Weight { + fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_176_000 picoseconds. - Weight::from_parts(9_861_102, 0) - // Standard Error: 6_029 - .saturating_add(Weight::from_parts(45_948_571, 0).saturating_mul(r.into())) + // Minimum execution time: 58_000_000 picoseconds. + Weight::from_parts(63_500_000, 0) + // Standard Error: 39 + .saturating_add(Weight::from_parts(7_818, 0).saturating_mul(n.into())) } - /// The range of component `r` is `[0, 160]`. - fn seal_ecdsa_recover(r: u32, ) -> Weight { + fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_293_000 picoseconds. - Weight::from_parts(28_785_765, 0) - // Standard Error: 9_160 - .saturating_add(Weight::from_parts(45_566_150, 0).saturating_mul(r.into())) + // Minimum execution time: 312_000_000 picoseconds. + Weight::from_parts(329_000_000, 0) } - /// The range of component `r` is `[0, 160]`. - fn seal_ecdsa_to_eth_address(r: u32, ) -> Weight { + fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_206_000 picoseconds. - Weight::from_parts(12_420_664, 0) - // Standard Error: 3_489 - .saturating_add(Weight::from_parts(11_628_989, 0).saturating_mul(r.into())) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(19_000_000, 0) } - /// Storage: `Contracts::CodeInfoOf` (r:1536 w:1536) + /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1535 w:0) + /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `Parameters::Parameters` (r:2 w:0) /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `System::EventTopics` (r:1537 w:1537) + /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_set_code_hash(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `0 + r * (926 ±0)` - // Estimated: `8969 + r * (3047 ±7)` - // Minimum execution time: 9_219_000 picoseconds. - Weight::from_parts(9_385_000, 8969) - // Standard Error: 45_562 - .saturating_add(Weight::from_parts(26_360_661, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 3047).saturating_mul(r.into())) - } - /// Storage: `Contracts::CodeInfoOf` (r:32 w:32) + fn seal_set_code_hash() -> Weight { + // Proof Size summary in bytes: + // Measured: `433` + // Estimated: `6373` + // Minimum execution time: 309_000_000 picoseconds. + Weight::from_parts(332_000_000, 6373) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) + } + /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// The range of component `r` is `[0, 32]`. - fn lock_delegate_dependency(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `274 + r * (78 ±0)` - // Estimated: `1265 + r * (2553 ±0)` - // Minimum execution time: 9_355_000 picoseconds. - Weight::from_parts(15_071_309, 1265) - // Standard Error: 9_722 - .saturating_add(Weight::from_parts(5_328_717, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2553).saturating_mul(r.into())) - } - /// Storage: `Contracts::CodeInfoOf` (r:32 w:32) + fn lock_delegate_dependency() -> Weight { + // Proof Size summary in bytes: + // Measured: `355` + // Estimated: `3820` + // Minimum execution time: 80_000_000 picoseconds. + Weight::from_parts(86_000_000, 3820) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `MaxEncodedLen`) - /// The range of component `r` is `[0, 32]`. - fn unlock_delegate_dependency(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `275 + r * (78 ±0)` - // Estimated: `990 + r * (2568 ±0)` - // Minimum execution time: 8_979_000 picoseconds. - Weight::from_parts(14_362_224, 990) - // Standard Error: 9_137 - .saturating_add(Weight::from_parts(4_488_748, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(r.into()))) - .saturating_add(Weight::from_parts(0, 2568).saturating_mul(r.into())) + fn unlock_delegate_dependency() -> Weight { + // Proof Size summary in bytes: + // Measured: `355` + // Estimated: `3558` + // Minimum execution time: 66_000_000 picoseconds. + Weight::from_parts(69_000_000, 3558) + .saturating_add(RocksDbWeight::get().reads(1_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) - /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) - /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `Contracts::PristineCode` (r:1 w:0) - /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Timestamp::Now` (r:1 w:0) - /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_reentrance_count(r: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `861 + r * (3 ±0)` - // Estimated: `9282 + r * (3 ±0)` - // Minimum execution time: 269_704_000 picoseconds. - Weight::from_parts(289_916_035, 9282) - // Standard Error: 408 - .saturating_add(Weight::from_parts(166_040, 0).saturating_mul(r.into())) - .saturating_add(RocksDbWeight::get().reads(11_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) - .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) + fn seal_reentrance_count() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } - /// The range of component `r` is `[0, 1600]`. - fn seal_account_reentrance_count(r: u32, ) -> Weight { + fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_361_000 picoseconds. - Weight::from_parts(11_633_836, 0) - // Standard Error: 86 - .saturating_add(Weight::from_parts(83_083, 0).saturating_mul(r.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// The range of component `r` is `[0, 1600]`. - fn seal_instantiation_nonce(r: u32, ) -> Weight { + fn seal_instantiation_nonce() -> Weight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 9_133_000 picoseconds. - Weight::from_parts(13_259_836, 1704) - // Standard Error: 121 - .saturating_add(Weight::from_parts(76_878, 0).saturating_mul(r.into())) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(28_000_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -2692,9 +1963,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 851_000 picoseconds. - Weight::from_parts(587_883, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(14_912, 0).saturating_mul(r.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) + // Standard Error: 557 + .saturating_add(Weight::from_parts(75_560, 0).saturating_mul(r.into())) } } From c727dd2d2c2efebdb5877b585b785151dafef89b Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 26 Apr 2024 17:04:07 +0200 Subject: [PATCH 19/75] Fixes --- .../frame/contracts/proc-macro/src/lib.rs | 2 +- .../src/benchmarking/call_builder.rs | 20 ------------------- .../frame/contracts/src/benchmarking/mod.rs | 5 ++++- substrate/frame/contracts/src/wasm/runtime.rs | 15 +++++++------- 4 files changed, 12 insertions(+), 30 deletions(-) diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index 2bb1bbcc4caf..307170393f8c 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -170,7 +170,7 @@ impl HostFn { // process attributes let msg = - "Only #[version()], #[unstable], #[prefixed_alias] and #[deprecated] attributes are allowed."; + "Only #[version()], #[unstable], #[prefixed_alias], #[cfg] and #[deprecated] attributes are allowed."; let span = item.span(); let mut attrs = item.attrs.clone(); attrs.retain(|a| !a.path().is_ident("doc")); diff --git a/substrate/frame/contracts/src/benchmarking/call_builder.rs b/substrate/frame/contracts/src/benchmarking/call_builder.rs index 9f55e32ec278..0297eb91a77c 100644 --- a/substrate/frame/contracts/src/benchmarking/call_builder.rs +++ b/substrate/frame/contracts/src/benchmarking/call_builder.rs @@ -159,26 +159,6 @@ where } } -#[macro_export] -macro_rules! call_builder( - ($func: ident, $module:expr) => { - $crate::call_builder!($func, _contract, $module); - }; - ($func: ident, $contract: ident, $module:expr) => { - let mut setup = CallSetup::::new($module); - $crate::call_builder!($func, $contract, setup: setup); - }; - ($func:ident, setup: $setup: ident) => { - $crate::call_builder!($func, _contract, setup: $setup); - }; - ($func:ident, $contract: ident, setup: $setup: ident) => { - let data = $setup.data(); - let $contract = $setup.contract(); - let (mut ext, module) = $setup.ext(); - let $func = CallSetup::::prepare_call(&mut ext, module, data); - }; -); - #[macro_export] macro_rules! memory( ($($bytes:expr,)*) => { diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 4317c1e33de7..96ee33639526 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -612,7 +612,10 @@ mod benchmarks { #[benchmark(pov_mode = Measured)] fn call_noop_host_fn(r: Linear<0, API_BENCHMARK_RUNS>) { - call_builder!(func, WasmModule::noop(r)); + let mut setup = CallSetup::::new(WasmModule::noop(r)); + let data = setup.data(); + let (mut ext, module) = setup.ext(); + let func = CallSetup::::prepare_call(&mut ext, module, data); #[block] { func.call(); diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index 6781836e5d70..afbdd6ea802e 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -247,17 +247,16 @@ pub enum RuntimeCosts { } macro_rules! cost_args { - // Replace the token with 0. - (@replace_token $_in:tt) => { 0 }; - - // Transform T:::WeightInfo::name(a, b, c) into T:::WeightInfo::name(0, 0, 0) + // cost_args!(name, a, b, c) -> T::WeightInfo::name(a, b, c).saturating_sub(T::WeightInfo::name(0, 0, 0)) + ($name:ident, $( $arg: expr ),+) => { + (T::WeightInfo::$name($( $arg ),+).saturating_sub(cost_args!(@call_zero $name, $( $arg ),+))) + }; + // Transform T::WeightInfo::name(a, b, c) into T::WeightInfo::name(0, 0, 0) (@call_zero $name:ident, $( $arg:expr ),*) => { T::WeightInfo::$name($( cost_args!(@replace_token $arg) ),*) }; - - ($name:ident, $( $arg: expr ),+) => { - (T::WeightInfo::$name($( $arg ),+).saturating_sub(cost_args!(@call_zero $name, $( $arg ),+))) - } + // Replace the token with 0. + (@replace_token $_in:tt) => { 0 }; } impl Token for RuntimeCosts { From cf3362f00077867aff34058d691012fa76550566 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 26 Apr 2024 17:26:22 +0200 Subject: [PATCH 20/75] Update --- substrate/frame/contracts/proc-macro/src/lib.rs | 3 +++ substrate/frame/contracts/src/benchmarking/mod.rs | 2 +- substrate/frame/contracts/src/wasm/runtime.rs | 3 +++ substrate/frame/contracts/src/weights.rs | 6 +++--- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index 307170393f8c..7a91de6112cb 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -706,6 +706,9 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { .map_err(TrapReason::from) .map_err(#into_host)? }; + __caller__.data_mut().charge_gas(RuntimeCosts::HostFn) + .map_err(TrapReason::from) + .map_err(#into_host)?; } } else { quote! { } diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 96ee33639526..6fd9308bfeaf 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -611,7 +611,7 @@ mod benchmarks { } #[benchmark(pov_mode = Measured)] - fn call_noop_host_fn(r: Linear<0, API_BENCHMARK_RUNS>) { + fn noop_host_fn(r: Linear<0, API_BENCHMARK_RUNS>) { let mut setup = CallSetup::::new(WasmModule::noop(r)); let data = setup.data(); let (mut ext, module) = setup.ext(); diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index afbdd6ea802e..1f1f0f4d2be8 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -144,6 +144,8 @@ impl HostError for TrapReason {} #[cfg_attr(test, derive(Debug, PartialEq, Eq))] #[derive(Copy, Clone)] pub enum RuntimeCosts { + /// Base Weight of calling a host function. + HostFn, /// Weight charged for copying data from the sandbox. CopyFromContract(u32), /// Weight charged for copying data to the sandbox. @@ -270,6 +272,7 @@ impl Token for RuntimeCosts { fn weight(&self) -> Weight { use self::RuntimeCosts::*; match *self { + HostFn => cost_args!(noop_host_fn, 1), CopyFromContract(len) => T::WeightInfo::seal_return(len), CopyToContract(len) => cost_args!(seal_input, len), Caller => T::WeightInfo::seal_caller(), diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index f0b5804069ba..cbe92908f5ae 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -54,7 +54,7 @@ pub trait WeightInfo { fn upload_code_determinism_relaxed(c: u32, ) -> Weight; fn remove_code() -> Weight; fn set_code() -> Weight; - fn call_noop_host_fn(r: u32, ) -> Weight; + fn noop_host_fn(r: u32, ) -> Weight; fn seal_caller() -> Weight; fn seal_is_contract() -> Weight; fn seal_code_hash() -> Weight; @@ -521,7 +521,7 @@ impl WeightInfo for SubstrateWeight { .saturating_add(T::DbWeight::get().writes(6_u64)) } /// The range of component `r` is `[0, 1600]`. - fn call_noop_host_fn(r: u32, ) -> Weight { + fn noop_host_fn(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` @@ -1455,7 +1455,7 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// The range of component `r` is `[0, 1600]`. - fn call_noop_host_fn(r: u32, ) -> Weight { + fn noop_host_fn(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` From aed88a9851d41f0869531fbecc4d590f6232ef48 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 26 Apr 2024 17:42:25 +0200 Subject: [PATCH 21/75] fixes --- substrate/frame/contracts/proc-macro/src/lib.rs | 4 +++- substrate/frame/contracts/src/tests.rs | 3 +-- substrate/frame/contracts/src/wasm/runtime.rs | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index 7a91de6112cb..f23827e87a5b 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -706,7 +706,9 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { .map_err(TrapReason::from) .map_err(#into_host)? }; - __caller__.data_mut().charge_gas(RuntimeCosts::HostFn) + + // Charge gas for host function execution. + __caller__.data_mut().charge_gas(crate::wasm::RuntimeCosts::HostFn) .map_err(TrapReason::from) .map_err(#into_host)?; } diff --git a/substrate/frame/contracts/src/tests.rs b/substrate/frame/contracts/src/tests.rs index 8fe845fcf0f8..b4461c6f8409 100644 --- a/substrate/frame/contracts/src/tests.rs +++ b/substrate/frame/contracts/src/tests.rs @@ -874,8 +874,7 @@ fn gas_syncs_work() { let result = builder::bare_call(addr.clone()).data(1u32.encode()).build(); assert_ok!(result.result); let gas_consumed_once = result.gas_consumed.ref_time(); - let host_consumed_once = - ::Schedule::get().host_fn_weights.caller_is_origin.ref_time(); + let host_consumed_once = ::WeightInfo::seal_caller_is_origin().ref_time(); let engine_consumed_once = gas_consumed_once - host_consumed_once - engine_consumed_noop; let result = builder::bare_call(addr).data(2u32.encode()).build(); diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index 1f1f0f4d2be8..0c91ed8e63e5 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -952,6 +952,7 @@ pub mod env { /// Noop function used to benchmark the time it takes to execute an empty function. #[cfg(feature = "runtime-benchmarks")] + #[unstable] fn noop(ctx: _, memory: _) -> Result<(), TrapReason> { Ok(()) } From 450ca08a43ba635d88826d345f85df3384ffac05 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 29 Apr 2024 05:34:27 +0000 Subject: [PATCH 22/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 996 ++++++++++++----------- 1 file changed, 507 insertions(+), 489 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index cbe92908f5ae..ec9f7e841aae 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -1,24 +1,42 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-26, STEPS: `2`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `pgs-laptop.lan`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! HOSTNAME: `runner-dcu62vjg-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// target/debug/substrate-node +// target/production/substrate-node // benchmark // pallet -// --steps -// 2 -// -p -// pallet_contracts -// -e -// * -// --output -// substrate/frame/contracts/src/weights.rs +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json +// --pallet=pallet_contracts +// --chain=dev +// --header=./substrate/HEADER-APACHE2 +// --output=./substrate/frame/contracts/src/weights.rs // --template=./substrate/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -82,7 +100,7 @@ pub trait WeightInfo { fn seal_contains_storage(n: u32, ) -> Weight; fn seal_take_storage(n: u32, ) -> Weight; fn seal_transfer() -> Weight; - fn seal_call(c: u32, t: u32, i: u32, ) -> Weight; + fn seal_call(t: u32, c: u32, i: u32, ) -> Weight; fn seal_delegate_call() -> Weight; fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight; fn seal_hash_sha2_256(n: u32, ) -> Weight; @@ -110,8 +128,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(22_000_000, 1627) + // Minimum execution time: 1_998_000 picoseconds. + Weight::from_parts(2_105_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -119,12 +137,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `318 + k * (69 ±0)` - // Estimated: `318 + k * (70 ±0)` - // Minimum execution time: 106_000_000 picoseconds. - Weight::from_parts(118_200_000, 318) - // Standard Error: 30_650 - .saturating_add(Weight::from_parts(7_881_933, 0).saturating_mul(k.into())) + // Measured: `452 + k * (69 ±0)` + // Estimated: `442 + k * (70 ±0)` + // Minimum execution time: 12_810_000 picoseconds. + Weight::from_parts(13_041_000, 442) + // Standard Error: 1_980 + .saturating_add(Weight::from_parts(1_186_675, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -136,12 +154,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `203 + c * (1 ±0)` - // Estimated: `6143 + c * (1 ±0)` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(92_900_000, 6143) - // Standard Error: 7 - .saturating_add(Weight::from_parts(744, 0).saturating_mul(c.into())) + // Measured: `211 + c * (1 ±0)` + // Estimated: `6149 + c * (1 ±0)` + // Minimum execution time: 8_141_000 picoseconds. + Weight::from_parts(8_750_889, 6149) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -154,8 +172,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 149_000_000 picoseconds. - Weight::from_parts(164_000_000, 6450) + // Minimum execution time: 16_836_000 picoseconds. + Weight::from_parts(17_922_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -166,14 +184,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `166 + k * (1 ±0)` - // Estimated: `3631 + k * (1 ±0)` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_399_999, 3631) - // Standard Error: 56_913 - .saturating_add(Weight::from_parts(15_769_238, 0).saturating_mul(k.into())) + // Measured: `171 + k * (1 ±0)` + // Estimated: `3635 + k * (1 ±0)` + // Minimum execution time: 3_422_000 picoseconds. + Weight::from_parts(3_488_000, 3635) + // Standard Error: 1_035 + .saturating_add(Weight::from_parts(1_215_499, 0).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(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into())) } @@ -190,12 +208,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `320 + c * (1 ±0)` - // Estimated: `6260 + c * (1 ±0)` - // Minimum execution time: 205_000_000 picoseconds. - Weight::from_parts(219_100_000, 6260) - // Standard Error: 31 - .saturating_add(Weight::from_parts(342, 0).saturating_mul(c.into())) + // Measured: `328 + c * (1 ±0)` + // Estimated: `6266 + c * (1 ±0)` + // Minimum execution time: 20_859_000 picoseconds. + Weight::from_parts(21_212_479, 6266) + // Standard Error: 0 + .saturating_add(Weight::from_parts(459, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -206,8 +224,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 112_000_000 picoseconds. - Weight::from_parts(117_000_000, 6380) + // Minimum execution time: 12_941_000 picoseconds. + Weight::from_parts(13_701_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -221,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 487_000_000 picoseconds. - Weight::from_parts(507_000_000, 6292) + // Minimum execution time: 46_900_000 picoseconds. + Weight::from_parts(48_164_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -234,8 +252,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 430_000_000 picoseconds. - Weight::from_parts(518_000_000, 6534) + // Minimum execution time: 56_096_000 picoseconds. + Weight::from_parts(57_603_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -245,8 +263,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 110_000_000 picoseconds. - Weight::from_parts(122_000_000, 6349) + // Minimum execution time: 12_147_000 picoseconds. + Weight::from_parts(12_960_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -256,8 +274,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(25_000_000, 1627) + // Minimum execution time: 2_436_000 picoseconds. + Weight::from_parts(2_697_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -269,8 +287,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 114_000_000 picoseconds. - Weight::from_parts(118_000_000, 3631) + // Minimum execution time: 11_674_000 picoseconds. + Weight::from_parts(12_277_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -280,8 +298,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(43_000_000, 3607) + // Minimum execution time: 4_717_000 picoseconds. + Weight::from_parts(5_008_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -292,8 +310,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(60_000_000, 3632) + // Minimum execution time: 5_954_000 picoseconds. + Weight::from_parts(6_331_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -304,8 +322,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(58_000_000, 3607) + // Minimum execution time: 6_061_000 picoseconds. + Weight::from_parts(6_600_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -328,12 +346,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `832` - // Estimated: `9247 + c * (1 ±0)` - // Minimum execution time: 2_201_000_000 picoseconds. - Weight::from_parts(2_297_000_000, 9247) - // Standard Error: 362 - .saturating_add(Weight::from_parts(83_549, 0).saturating_mul(c.into())) + // Measured: `804 + c * (1 ±0)` + // Estimated: `9217 + c * (1 ±0)` + // Minimum execution time: 370_504_000 picoseconds. + Weight::from_parts(345_076_763, 9217) + // Standard Error: 96 + .saturating_add(Weight::from_parts(34_235, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -363,16 +381,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `443` - // Estimated: `8858` - // Minimum execution time: 8_151_000_000 picoseconds. - Weight::from_parts(5_385_233_352, 8858) - // Standard Error: 497 - .saturating_add(Weight::from_parts(161_394, 0).saturating_mul(c.into())) - // Standard Error: 59 - .saturating_add(Weight::from_parts(1_312, 0).saturating_mul(i.into())) - // Standard Error: 59 - .saturating_add(Weight::from_parts(1_839, 0).saturating_mul(s.into())) + // Measured: `326` + // Estimated: `8740` + // Minimum execution time: 4_359_896_000 picoseconds. + Weight::from_parts(481_322_438, 8740) + // Standard Error: 225 + .saturating_add(Weight::from_parts(70_837, 0).saturating_mul(c.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(1_888, 0).saturating_mul(i.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(1_957, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -400,14 +418,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `615` - // Estimated: `9030` - // Minimum execution time: 4_448_000_000 picoseconds. - Weight::from_parts(3_037_050_000, 9030) - // Standard Error: 32 - .saturating_add(Weight::from_parts(1_818, 0).saturating_mul(i.into())) - // Standard Error: 32 - .saturating_add(Weight::from_parts(1_611, 0).saturating_mul(s.into())) + // Measured: `563` + // Estimated: `8982` + // Minimum execution time: 2_128_155_000 picoseconds. + Weight::from_parts(2_147_287_000, 8982) + // Standard Error: 27 + .saturating_add(Weight::from_parts(964, 0).saturating_mul(i.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(822, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -431,8 +449,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 2_158_000_000 picoseconds. - Weight::from_parts(2_235_000_000, 9244) + // Minimum execution time: 214_463_000 picoseconds. + Weight::from_parts(225_091_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -453,10 +471,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 1_951_000_000 picoseconds. - Weight::from_parts(2_063_900_000, 6085) - // Standard Error: 430 - .saturating_add(Weight::from_parts(83_991, 0).saturating_mul(c.into())) + // Minimum execution time: 339_390_000 picoseconds. + Weight::from_parts(334_232_549, 6085) + // Standard Error: 76 + .saturating_add(Weight::from_parts(33_541, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -477,10 +495,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 2_110_000_000 picoseconds. - Weight::from_parts(2_274_000_000, 6085) - // Standard Error: 286 - .saturating_add(Weight::from_parts(84_193, 0).saturating_mul(c.into())) + // Minimum execution time: 351_953_000 picoseconds. + Weight::from_parts(343_509_628, 6085) + // Standard Error: 88 + .saturating_add(Weight::from_parts(34_147, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -498,8 +516,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 485_000_000 picoseconds. - Weight::from_parts(523_000_000, 3780) + // Minimum execution time: 45_660_000 picoseconds. + Weight::from_parts(46_780_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -515,8 +533,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 321_000_000 picoseconds. - Weight::from_parts(364_000_000, 8967) + // Minimum execution time: 35_016_000 picoseconds. + Weight::from_parts(36_078_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -525,17 +543,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 150_000_000 picoseconds. - Weight::from_parts(159_300_000, 0) - // Standard Error: 1_567 - .saturating_add(Weight::from_parts(74_625, 0).saturating_mul(r.into())) + // Minimum execution time: 9_383_000 picoseconds. + Weight::from_parts(10_413_719, 0) + // Standard Error: 49 + .saturating_add(Weight::from_parts(72_020, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 643_000 picoseconds. + Weight::from_parts(703_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -543,8 +561,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(61_000_000, 3819) + // Minimum execution time: 6_757_000 picoseconds. + Weight::from_parts(6_890_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -553,44 +571,44 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 68_000_000 picoseconds. - Weight::from_parts(72_000_000, 3912) + // Minimum execution time: 7_950_000 picoseconds. + Weight::from_parts(8_424_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 832_000 picoseconds. + Weight::from_parts(889_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 386_000 picoseconds. + Weight::from_parts(403_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 334_000 picoseconds. + Weight::from_parts(372_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 634_000 picoseconds. + Weight::from_parts(685_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 740_000 picoseconds. + Weight::from_parts(789_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -598,37 +616,37 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 45_000_000 picoseconds. - Weight::from_parts(47_000_000, 3605) + // Minimum execution time: 4_792_000 picoseconds. + Weight::from_parts(5_077_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 602_000 picoseconds. + Weight::from_parts(629_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 610_000 picoseconds. + Weight::from_parts(692_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 614_000 picoseconds. + Weight::from_parts(662_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 628_000 picoseconds. + Weight::from_parts(694_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -636,8 +654,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(37_000_000, 1552) + // Minimum execution time: 4_360_000 picoseconds. + Weight::from_parts(4_613_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -645,18 +663,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_900_000, 0) + // Minimum execution time: 475_000 picoseconds. + Weight::from_parts(584_657, 0) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_400_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(158, 0).saturating_mul(n.into())) + // Minimum execution time: 312_000 picoseconds. + Weight::from_parts(343_000, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -672,8 +690,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 1_390_000_000 picoseconds. - Weight::from_parts(1_470_000_000, 85486) + // Minimum execution time: 134_617_000 picoseconds. + Weight::from_parts(136_454_000, 85486) .saturating_add(T::DbWeight::get().reads(36_u64)) .saturating_add(T::DbWeight::get().writes(38_u64)) } @@ -683,8 +701,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(36_000_000, 1561) + // Minimum execution time: 3_869_000 picoseconds. + Weight::from_parts(4_139_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -694,26 +712,26 @@ impl WeightInfo for SubstrateWeight { fn seal_deposit_event(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `641 + t * (2562 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_999_999, 641) - // Standard Error: 651_505 - .saturating_add(Weight::from_parts(31_650_000, 0).saturating_mul(t.into())) - // Standard Error: 159 - .saturating_add(Weight::from_parts(134, 0).saturating_mul(n.into())) + // Estimated: `990 + t * (2475 ±0)` + // Minimum execution time: 4_137_000 picoseconds. + Weight::from_parts(4_504_239, 990) + // Standard Error: 6_837 + .saturating_add(Weight::from_parts(2_381_563, 0).saturating_mul(t.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(20, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2562).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_100_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(445, 0).saturating_mul(i.into())) + // Minimum execution time: 395_000 picoseconds. + Weight::from_parts(448_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -722,10 +740,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(61_800_000, 245) - // Standard Error: 132 - .saturating_add(Weight::from_parts(476, 0).saturating_mul(n.into())) + // Minimum execution time: 7_949_000 picoseconds. + Weight::from_parts(8_879_819, 245) + // Standard Error: 1 + .saturating_add(Weight::from_parts(350, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -734,12 +752,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(63_900_000, 245) - // Standard Error: 93 - .saturating_add(Weight::from_parts(48, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_878_000 picoseconds. + Weight::from_parts(9_291_579, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -749,12 +767,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(61_100_000, 245) - // Standard Error: 113 - .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 8_068_000 picoseconds. + Weight::from_parts(9_253_255, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(80, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -764,12 +782,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_get_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 53_000_000 picoseconds. - Weight::from_parts(61_800_000, 245) - // Standard Error: 160 - .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_316_000 picoseconds. + Weight::from_parts(9_096_691, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(706, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -778,12 +796,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 51_000_000 picoseconds. - Weight::from_parts(58_500_000, 245) - // Standard Error: 80 - .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 6_660_000 picoseconds. + Weight::from_parts(8_029_136, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -792,12 +810,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_take_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(66_300_000, 245) - // Standard Error: 188 - .saturating_add(Weight::from_parts(1_110, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 8_497_000 picoseconds. + Weight::from_parts(10_287_954, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(699, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -808,8 +826,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 99_000_000 picoseconds. - Weight::from_parts(102_000_000, 3605) + // Minimum execution time: 9_337_000 picoseconds. + Weight::from_parts(9_882_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) @@ -824,24 +842,26 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 1]`. /// The range of component `t` is `[0, 1]`. + /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. - fn seal_call(c: u32, t: u32, _i: u32, ) -> Weight { + fn seal_call(t: u32, c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `623 + t * (280 ±0)` - // Estimated: `6563 + t * (3421 ±0)` - // Minimum execution time: 1_604_000_000 picoseconds. - Weight::from_parts(1_723_533_333, 6563) - // Standard Error: 18_493_246 - .saturating_add(Weight::from_parts(15_933_333, 0).saturating_mul(c.into())) - // Standard Error: 18_493_246 - .saturating_add(Weight::from_parts(414_233_333, 0).saturating_mul(t.into())) + // Estimated: `6563 + t * (3422 ±0)` + // Minimum execution time: 172_292_000 picoseconds. + Weight::from_parts(167_185_817, 6563) + // Standard Error: 327_522 + .saturating_add(Weight::from_parts(44_974_443, 0).saturating_mul(t.into())) + // Standard Error: 327_522 + .saturating_add(Weight::from_parts(4_283_151, 0).saturating_mul(c.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(11, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 3421).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 3422).saturating_mul(t.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -857,8 +877,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 1_524_000_000 picoseconds. - Weight::from_parts(1_558_000_000, 6373) + // Minimum execution time: 161_490_000 picoseconds. + Weight::from_parts(170_939_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -881,85 +901,83 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `627 + t * (102 ±0)` - // Estimated: `6567 + t * (2577 ±0)` - // Minimum execution time: 3_863_000_000 picoseconds. - Weight::from_parts(2_236_566_666, 6567) - // Standard Error: 41_979_515 - .saturating_add(Weight::from_parts(469_166_666, 0).saturating_mul(t.into())) - // Standard Error: 42 - .saturating_add(Weight::from_parts(1_417, 0).saturating_mul(i.into())) - // Standard Error: 42 - .saturating_add(Weight::from_parts(1_492, 0).saturating_mul(s.into())) + // Measured: `679 + t * (102 ±0)` + // Estimated: `6616 + t * (2565 ±1)` + // Minimum execution time: 1_819_574_000 picoseconds. + Weight::from_parts(1_829_348_000, 6616) + // Standard Error: 14 + .saturating_add(Weight::from_parts(731, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_005, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2577).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2565).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) - // Standard Error: 13 - .saturating_add(Weight::from_parts(3_238, 0).saturating_mul(n.into())) + // Minimum execution time: 894_000 picoseconds. + Weight::from_parts(941_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_151, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(12_900_000, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(4_844, 0).saturating_mul(n.into())) + // Minimum execution time: 1_359_000 picoseconds. + Weight::from_parts(1_403_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) + // Minimum execution time: 727_000 picoseconds. + Weight::from_parts(762_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_600_000, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_165, 0).saturating_mul(n.into())) + // Minimum execution time: 772_000 picoseconds. + Weight::from_parts(799_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(63_500_000, 0) - // Standard Error: 39 - .saturating_add(Weight::from_parts(7_818, 0).saturating_mul(n.into())) + // Minimum execution time: 43_237_000 picoseconds. + Weight::from_parts(44_351_784, 0) + // Standard Error: 8 + .saturating_add(Weight::from_parts(4_756, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000_000 picoseconds. - Weight::from_parts(329_000_000, 0) + // Minimum execution time: 48_204_000 picoseconds. + Weight::from_parts(49_920_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 12_997_000 picoseconds. + Weight::from_parts(13_237_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -973,8 +991,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 309_000_000 picoseconds. - Weight::from_parts(332_000_000, 6373) + // Minimum execution time: 31_613_000 picoseconds. + Weight::from_parts(32_976_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -984,8 +1002,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 80_000_000 picoseconds. - Weight::from_parts(86_000_000, 3820) + // Minimum execution time: 9_330_000 picoseconds. + Weight::from_parts(9_933_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -995,8 +1013,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 66_000_000 picoseconds. - Weight::from_parts(69_000_000, 3558) + // Minimum execution time: 8_203_000 picoseconds. + Weight::from_parts(8_645_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1004,15 +1022,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 283_000 picoseconds. + Weight::from_parts(342_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 312_000 picoseconds. + Weight::from_parts(376_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1020,8 +1038,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(28_000_000, 1704) + // Minimum execution time: 2_996_000 picoseconds. + Weight::from_parts(3_180_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1029,10 +1047,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) - // Standard Error: 557 - .saturating_add(Weight::from_parts(75_560, 0).saturating_mul(r.into())) + // Minimum execution time: 1_200_000 picoseconds. + Weight::from_parts(1_007_275, 0) + // Standard Error: 18 + .saturating_add(Weight::from_parts(15_124, 0).saturating_mul(r.into())) } } @@ -1044,8 +1062,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 21_000_000 picoseconds. - Weight::from_parts(22_000_000, 1627) + // Minimum execution time: 1_998_000 picoseconds. + Weight::from_parts(2_105_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1053,12 +1071,12 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `318 + k * (69 ±0)` - // Estimated: `318 + k * (70 ±0)` - // Minimum execution time: 106_000_000 picoseconds. - Weight::from_parts(118_200_000, 318) - // Standard Error: 30_650 - .saturating_add(Weight::from_parts(7_881_933, 0).saturating_mul(k.into())) + // Measured: `452 + k * (69 ±0)` + // Estimated: `442 + k * (70 ±0)` + // Minimum execution time: 12_810_000 picoseconds. + Weight::from_parts(13_041_000, 442) + // Standard Error: 1_980 + .saturating_add(Weight::from_parts(1_186_675, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1070,12 +1088,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `203 + c * (1 ±0)` - // Estimated: `6143 + c * (1 ±0)` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(92_900_000, 6143) - // Standard Error: 7 - .saturating_add(Weight::from_parts(744, 0).saturating_mul(c.into())) + // Measured: `211 + c * (1 ±0)` + // Estimated: `6149 + c * (1 ±0)` + // Minimum execution time: 8_141_000 picoseconds. + Weight::from_parts(8_750_889, 6149) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1088,8 +1106,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 149_000_000 picoseconds. - Weight::from_parts(164_000_000, 6450) + // Minimum execution time: 16_836_000 picoseconds. + Weight::from_parts(17_922_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1100,14 +1118,14 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `166 + k * (1 ±0)` - // Estimated: `3631 + k * (1 ±0)` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_399_999, 3631) - // Standard Error: 56_913 - .saturating_add(Weight::from_parts(15_769_238, 0).saturating_mul(k.into())) + // Measured: `171 + k * (1 ±0)` + // Estimated: `3635 + k * (1 ±0)` + // Minimum execution time: 3_422_000 picoseconds. + Weight::from_parts(3_488_000, 3635) + // Standard Error: 1_035 + .saturating_add(Weight::from_parts(1_215_499, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into())) } @@ -1124,12 +1142,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `320 + c * (1 ±0)` - // Estimated: `6260 + c * (1 ±0)` - // Minimum execution time: 205_000_000 picoseconds. - Weight::from_parts(219_100_000, 6260) - // Standard Error: 31 - .saturating_add(Weight::from_parts(342, 0).saturating_mul(c.into())) + // Measured: `328 + c * (1 ±0)` + // Estimated: `6266 + c * (1 ±0)` + // Minimum execution time: 20_859_000 picoseconds. + Weight::from_parts(21_212_479, 6266) + // Standard Error: 0 + .saturating_add(Weight::from_parts(459, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1140,8 +1158,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 112_000_000 picoseconds. - Weight::from_parts(117_000_000, 6380) + // Minimum execution time: 12_941_000 picoseconds. + Weight::from_parts(13_701_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1155,8 +1173,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 487_000_000 picoseconds. - Weight::from_parts(507_000_000, 6292) + // Minimum execution time: 46_900_000 picoseconds. + Weight::from_parts(48_164_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1168,8 +1186,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 430_000_000 picoseconds. - Weight::from_parts(518_000_000, 6534) + // Minimum execution time: 56_096_000 picoseconds. + Weight::from_parts(57_603_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1179,8 +1197,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 110_000_000 picoseconds. - Weight::from_parts(122_000_000, 6349) + // Minimum execution time: 12_147_000 picoseconds. + Weight::from_parts(12_960_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1190,8 +1208,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(25_000_000, 1627) + // Minimum execution time: 2_436_000 picoseconds. + Weight::from_parts(2_697_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1203,8 +1221,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 114_000_000 picoseconds. - Weight::from_parts(118_000_000, 3631) + // Minimum execution time: 11_674_000 picoseconds. + Weight::from_parts(12_277_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1214,8 +1232,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(43_000_000, 3607) + // Minimum execution time: 4_717_000 picoseconds. + Weight::from_parts(5_008_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1226,8 +1244,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(60_000_000, 3632) + // Minimum execution time: 5_954_000 picoseconds. + Weight::from_parts(6_331_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1238,8 +1256,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(58_000_000, 3607) + // Minimum execution time: 6_061_000 picoseconds. + Weight::from_parts(6_600_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1262,12 +1280,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `832` - // Estimated: `9247 + c * (1 ±0)` - // Minimum execution time: 2_201_000_000 picoseconds. - Weight::from_parts(2_297_000_000, 9247) - // Standard Error: 362 - .saturating_add(Weight::from_parts(83_549, 0).saturating_mul(c.into())) + // Measured: `804 + c * (1 ±0)` + // Estimated: `9217 + c * (1 ±0)` + // Minimum execution time: 370_504_000 picoseconds. + Weight::from_parts(345_076_763, 9217) + // Standard Error: 96 + .saturating_add(Weight::from_parts(34_235, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1297,16 +1315,16 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `443` - // Estimated: `8858` - // Minimum execution time: 8_151_000_000 picoseconds. - Weight::from_parts(5_385_233_352, 8858) - // Standard Error: 497 - .saturating_add(Weight::from_parts(161_394, 0).saturating_mul(c.into())) - // Standard Error: 59 - .saturating_add(Weight::from_parts(1_312, 0).saturating_mul(i.into())) - // Standard Error: 59 - .saturating_add(Weight::from_parts(1_839, 0).saturating_mul(s.into())) + // Measured: `326` + // Estimated: `8740` + // Minimum execution time: 4_359_896_000 picoseconds. + Weight::from_parts(481_322_438, 8740) + // Standard Error: 225 + .saturating_add(Weight::from_parts(70_837, 0).saturating_mul(c.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(1_888, 0).saturating_mul(i.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(1_957, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1334,14 +1352,14 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `615` - // Estimated: `9030` - // Minimum execution time: 4_448_000_000 picoseconds. - Weight::from_parts(3_037_050_000, 9030) - // Standard Error: 32 - .saturating_add(Weight::from_parts(1_818, 0).saturating_mul(i.into())) - // Standard Error: 32 - .saturating_add(Weight::from_parts(1_611, 0).saturating_mul(s.into())) + // Measured: `563` + // Estimated: `8982` + // Minimum execution time: 2_128_155_000 picoseconds. + Weight::from_parts(2_147_287_000, 8982) + // Standard Error: 27 + .saturating_add(Weight::from_parts(964, 0).saturating_mul(i.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(822, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1365,8 +1383,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 2_158_000_000 picoseconds. - Weight::from_parts(2_235_000_000, 9244) + // Minimum execution time: 214_463_000 picoseconds. + Weight::from_parts(225_091_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1387,10 +1405,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 1_951_000_000 picoseconds. - Weight::from_parts(2_063_900_000, 6085) - // Standard Error: 430 - .saturating_add(Weight::from_parts(83_991, 0).saturating_mul(c.into())) + // Minimum execution time: 339_390_000 picoseconds. + Weight::from_parts(334_232_549, 6085) + // Standard Error: 76 + .saturating_add(Weight::from_parts(33_541, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1411,10 +1429,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 2_110_000_000 picoseconds. - Weight::from_parts(2_274_000_000, 6085) - // Standard Error: 286 - .saturating_add(Weight::from_parts(84_193, 0).saturating_mul(c.into())) + // Minimum execution time: 351_953_000 picoseconds. + Weight::from_parts(343_509_628, 6085) + // Standard Error: 88 + .saturating_add(Weight::from_parts(34_147, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1432,8 +1450,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 485_000_000 picoseconds. - Weight::from_parts(523_000_000, 3780) + // Minimum execution time: 45_660_000 picoseconds. + Weight::from_parts(46_780_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1449,8 +1467,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 321_000_000 picoseconds. - Weight::from_parts(364_000_000, 8967) + // Minimum execution time: 35_016_000 picoseconds. + Weight::from_parts(36_078_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1459,17 +1477,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 150_000_000 picoseconds. - Weight::from_parts(159_300_000, 0) - // Standard Error: 1_567 - .saturating_add(Weight::from_parts(74_625, 0).saturating_mul(r.into())) + // Minimum execution time: 9_383_000 picoseconds. + Weight::from_parts(10_413_719, 0) + // Standard Error: 49 + .saturating_add(Weight::from_parts(72_020, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 643_000 picoseconds. + Weight::from_parts(703_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1477,8 +1495,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(61_000_000, 3819) + // Minimum execution time: 6_757_000 picoseconds. + Weight::from_parts(6_890_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1487,44 +1505,44 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 68_000_000 picoseconds. - Weight::from_parts(72_000_000, 3912) + // Minimum execution time: 7_950_000 picoseconds. + Weight::from_parts(8_424_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(9_000_000, 0) + // Minimum execution time: 832_000 picoseconds. + Weight::from_parts(889_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 386_000 picoseconds. + Weight::from_parts(403_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 334_000 picoseconds. + Weight::from_parts(372_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 634_000 picoseconds. + Weight::from_parts(685_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 740_000 picoseconds. + Weight::from_parts(789_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1532,37 +1550,37 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 45_000_000 picoseconds. - Weight::from_parts(47_000_000, 3605) + // Minimum execution time: 4_792_000 picoseconds. + Weight::from_parts(5_077_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 602_000 picoseconds. + Weight::from_parts(629_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 610_000 picoseconds. + Weight::from_parts(692_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 614_000 picoseconds. + Weight::from_parts(662_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(7_000_000, 0) + // Minimum execution time: 628_000 picoseconds. + Weight::from_parts(694_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1570,8 +1588,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 35_000_000 picoseconds. - Weight::from_parts(37_000_000, 1552) + // Minimum execution time: 4_360_000 picoseconds. + Weight::from_parts(4_613_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1579,18 +1597,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_900_000, 0) + // Minimum execution time: 475_000 picoseconds. + Weight::from_parts(584_657, 0) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_400_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(158, 0).saturating_mul(n.into())) + // Minimum execution time: 312_000 picoseconds. + Weight::from_parts(343_000, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1606,8 +1624,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 1_390_000_000 picoseconds. - Weight::from_parts(1_470_000_000, 85486) + // Minimum execution time: 134_617_000 picoseconds. + Weight::from_parts(136_454_000, 85486) .saturating_add(RocksDbWeight::get().reads(36_u64)) .saturating_add(RocksDbWeight::get().writes(38_u64)) } @@ -1617,8 +1635,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(36_000_000, 1561) + // Minimum execution time: 3_869_000 picoseconds. + Weight::from_parts(4_139_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1628,26 +1646,26 @@ impl WeightInfo for () { fn seal_deposit_event(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `641 + t * (2562 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(28_999_999, 641) - // Standard Error: 651_505 - .saturating_add(Weight::from_parts(31_650_000, 0).saturating_mul(t.into())) - // Standard Error: 159 - .saturating_add(Weight::from_parts(134, 0).saturating_mul(n.into())) + // Estimated: `990 + t * (2475 ±0)` + // Minimum execution time: 4_137_000 picoseconds. + Weight::from_parts(4_504_239, 990) + // Standard Error: 6_837 + .saturating_add(Weight::from_parts(2_381_563, 0).saturating_mul(t.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(20, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2562).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_100_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(445, 0).saturating_mul(i.into())) + // Minimum execution time: 395_000 picoseconds. + Weight::from_parts(448_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1656,10 +1674,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(61_800_000, 245) - // Standard Error: 132 - .saturating_add(Weight::from_parts(476, 0).saturating_mul(n.into())) + // Minimum execution time: 7_949_000 picoseconds. + Weight::from_parts(8_879_819, 245) + // Standard Error: 1 + .saturating_add(Weight::from_parts(350, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1668,12 +1686,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(63_900_000, 245) - // Standard Error: 93 - .saturating_add(Weight::from_parts(48, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_878_000 picoseconds. + Weight::from_parts(9_291_579, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1683,12 +1701,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(61_100_000, 245) - // Standard Error: 113 - .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 8_068_000 picoseconds. + Weight::from_parts(9_253_255, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(80, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1698,12 +1716,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_get_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 53_000_000 picoseconds. - Weight::from_parts(61_800_000, 245) - // Standard Error: 160 - .saturating_add(Weight::from_parts(1_196, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_316_000 picoseconds. + Weight::from_parts(9_096_691, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(706, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1712,12 +1730,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 51_000_000 picoseconds. - Weight::from_parts(58_500_000, 245) - // Standard Error: 80 - .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 6_660_000 picoseconds. + Weight::from_parts(8_029_136, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1726,12 +1744,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_take_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(66_300_000, 245) - // Standard Error: 188 - .saturating_add(Weight::from_parts(1_110, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 8_497_000 picoseconds. + Weight::from_parts(10_287_954, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(699, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1742,8 +1760,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 99_000_000 picoseconds. - Weight::from_parts(102_000_000, 3605) + // Minimum execution time: 9_337_000 picoseconds. + Weight::from_parts(9_882_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) @@ -1758,24 +1776,26 @@ impl WeightInfo for () { /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `c` is `[0, 1]`. /// The range of component `t` is `[0, 1]`. + /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. - fn seal_call(c: u32, t: u32, _i: u32, ) -> Weight { + fn seal_call(t: u32, c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `623 + t * (280 ±0)` - // Estimated: `6563 + t * (3421 ±0)` - // Minimum execution time: 1_604_000_000 picoseconds. - Weight::from_parts(1_723_533_333, 6563) - // Standard Error: 18_493_246 - .saturating_add(Weight::from_parts(15_933_333, 0).saturating_mul(c.into())) - // Standard Error: 18_493_246 - .saturating_add(Weight::from_parts(414_233_333, 0).saturating_mul(t.into())) + // Estimated: `6563 + t * (3422 ±0)` + // Minimum execution time: 172_292_000 picoseconds. + Weight::from_parts(167_185_817, 6563) + // Standard Error: 327_522 + .saturating_add(Weight::from_parts(44_974_443, 0).saturating_mul(t.into())) + // Standard Error: 327_522 + .saturating_add(Weight::from_parts(4_283_151, 0).saturating_mul(c.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(11, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 3421).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 3422).saturating_mul(t.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1791,8 +1811,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 1_524_000_000 picoseconds. - Weight::from_parts(1_558_000_000, 6373) + // Minimum execution time: 161_490_000 picoseconds. + Weight::from_parts(170_939_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1815,85 +1835,83 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `627 + t * (102 ±0)` - // Estimated: `6567 + t * (2577 ±0)` - // Minimum execution time: 3_863_000_000 picoseconds. - Weight::from_parts(2_236_566_666, 6567) - // Standard Error: 41_979_515 - .saturating_add(Weight::from_parts(469_166_666, 0).saturating_mul(t.into())) - // Standard Error: 42 - .saturating_add(Weight::from_parts(1_417, 0).saturating_mul(i.into())) - // Standard Error: 42 - .saturating_add(Weight::from_parts(1_492, 0).saturating_mul(s.into())) + // Measured: `679 + t * (102 ±0)` + // Estimated: `6616 + t * (2565 ±1)` + // Minimum execution time: 1_819_574_000 picoseconds. + Weight::from_parts(1_829_348_000, 6616) + // Standard Error: 14 + .saturating_add(Weight::from_parts(731, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_005, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2577).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2565).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(13_000_000, 0) - // Standard Error: 13 - .saturating_add(Weight::from_parts(3_238, 0).saturating_mul(n.into())) + // Minimum execution time: 894_000 picoseconds. + Weight::from_parts(941_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_151, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_000_000 picoseconds. - Weight::from_parts(12_900_000, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(4_844, 0).saturating_mul(n.into())) + // Minimum execution time: 1_359_000 picoseconds. + Weight::from_parts(1_403_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) + // Minimum execution time: 727_000 picoseconds. + Weight::from_parts(762_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_600_000, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(1_165, 0).saturating_mul(n.into())) + // Minimum execution time: 772_000 picoseconds. + Weight::from_parts(799_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(63_500_000, 0) - // Standard Error: 39 - .saturating_add(Weight::from_parts(7_818, 0).saturating_mul(n.into())) + // Minimum execution time: 43_237_000 picoseconds. + Weight::from_parts(44_351_784, 0) + // Standard Error: 8 + .saturating_add(Weight::from_parts(4_756, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000_000 picoseconds. - Weight::from_parts(329_000_000, 0) + // Minimum execution time: 48_204_000 picoseconds. + Weight::from_parts(49_920_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(19_000_000, 0) + // Minimum execution time: 12_997_000 picoseconds. + Weight::from_parts(13_237_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1907,8 +1925,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 309_000_000 picoseconds. - Weight::from_parts(332_000_000, 6373) + // Minimum execution time: 31_613_000 picoseconds. + Weight::from_parts(32_976_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1918,8 +1936,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 80_000_000 picoseconds. - Weight::from_parts(86_000_000, 3820) + // Minimum execution time: 9_330_000 picoseconds. + Weight::from_parts(9_933_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1929,8 +1947,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 66_000_000 picoseconds. - Weight::from_parts(69_000_000, 3558) + // Minimum execution time: 8_203_000 picoseconds. + Weight::from_parts(8_645_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1938,15 +1956,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 283_000 picoseconds. + Weight::from_parts(342_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 312_000 picoseconds. + Weight::from_parts(376_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1954,8 +1972,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(28_000_000, 1704) + // Minimum execution time: 2_996_000 picoseconds. + Weight::from_parts(3_180_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1963,9 +1981,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) - // Standard Error: 557 - .saturating_add(Weight::from_parts(75_560, 0).saturating_mul(r.into())) + // Minimum execution time: 1_200_000 picoseconds. + Weight::from_parts(1_007_275, 0) + // Standard Error: 18 + .saturating_add(Weight::from_parts(15_124, 0).saturating_mul(r.into())) } } From c2cd3657b076da919c22d0abc087411815ed68f2 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 29 Apr 2024 09:30:11 +0200 Subject: [PATCH 23/75] Fixes --- substrate/frame/contracts/proc-macro/src/lib.rs | 2 -- substrate/frame/contracts/src/benchmarking/call_builder.rs | 3 ++- substrate/frame/contracts/src/benchmarking/mod.rs | 7 +++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index f23827e87a5b..356b42268da6 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -541,8 +541,6 @@ fn expand_impls(def: &EnvDef) -> TokenStream2 { let dummy_impls = expand_functions(def, ExpandMode::MockImpl); let bench_impls = expand_functions(def, ExpandMode::BenchImpl); - std::fs::write("/tmp/impls.rs", format!("{}", impls)).unwrap(); - quote! { impl<'a, E: Ext> crate::wasm::Environment> for Env { diff --git a/substrate/frame/contracts/src/benchmarking/call_builder.rs b/substrate/frame/contracts/src/benchmarking/call_builder.rs index 0297eb91a77c..5a0a043b2e7a 100644 --- a/substrate/frame/contracts/src/benchmarking/call_builder.rs +++ b/substrate/frame/contracts/src/benchmarking/call_builder.rs @@ -181,7 +181,8 @@ macro_rules! build_runtime( ($runtime:ident, $contract:ident) => { let mut setup = CallSetup::::default(); let $contract = setup.contract(); + let input = setup.data(); let (mut ext, _) = setup.ext(); - let mut $runtime = crate::wasm::Runtime::new(&mut ext, vec![]); + let mut $runtime = crate::wasm::Runtime::new(&mut ext, input); }; ); diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 6fd9308bfeaf..d3796cacaaed 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -858,14 +858,17 @@ mod benchmarks { #[benchmark(pov_mode = Measured)] fn seal_input(n: Linear<0, { code::max_pages::() * 64 * 1024 - 4 }>) { - build_runtime!(runtime, memory: [n.to_le_bytes(), vec![42u8; n as usize], ]); - + let mut setup = CallSetup::::default(); + let (mut ext, _) = setup.ext(); + let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![42u8; n as usize]); + let mut memory = memory!(n.to_le_bytes(), vec![0u8; n as usize],); let result; #[block] { result = BenchEnv::seal0_input(&mut runtime, &mut memory, 4, 0) } assert_ok!(result); + assert_eq!(&memory[4..], &vec![42u8; n as usize]); } #[benchmark(pov_mode = Measured)] From 19fb7bf4aec04cb5901acf7ab761dc02c8ed5980 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 29 Apr 2024 09:36:15 +0200 Subject: [PATCH 24/75] fix --- substrate/frame/contracts/src/benchmarking/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index d3796cacaaed..95256e78a7f0 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -613,9 +613,8 @@ mod benchmarks { #[benchmark(pov_mode = Measured)] fn noop_host_fn(r: Linear<0, API_BENCHMARK_RUNS>) { let mut setup = CallSetup::::new(WasmModule::noop(r)); - let data = setup.data(); let (mut ext, module) = setup.ext(); - let func = CallSetup::::prepare_call(&mut ext, module, data); + let func = CallSetup::::prepare_call(&mut ext, module, vec![]); #[block] { func.call(); From 5edcd1839c5069ff31855221b8422ce8cfebdfd0 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 29 Apr 2024 11:22:06 +0200 Subject: [PATCH 25/75] Rm unused --- substrate/frame/contracts/src/wasm/runtime.rs | 35 +- substrate/frame/contracts/src/weights.rs | 990 +++++++++--------- 2 files changed, 502 insertions(+), 523 deletions(-) diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index 19021f7309c7..1d425f0cd331 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -185,10 +185,6 @@ pub enum RuntimeCosts { Now, /// Weight of calling `seal_weight_to_fee`. WeightToFee, - /// Weight of calling `seal_input` without the weight of copying the input. - InputBase, - /// Weight of calling `seal_return` for the given output size. - Return(u32), /// Weight of calling `seal_terminate`. Terminate, /// Weight of calling `seal_random`. It includes the weight for copying the subject. @@ -214,13 +210,13 @@ pub enum RuntimeCosts { /// Weight of calling `seal_delegate_call` for the given input size. DelegateCallBase, /// Weight of the transfer performed during a call. - CallSurchargeTransfer, + CallTransferSurcharge, /// Weight per byte that is cloned by supplying the `CLONE_INPUT` flag. CallInputCloned(u32), /// Weight of calling `seal_instantiate` for the given input length and salt. InstantiateBase { input_data_len: u32, salt_len: u32 }, /// Weight of the transfer performed during an instantiate. - InstantiateSurchargeTransfer, + InstantiateTransferSurcharge, /// Weight of calling `seal_hash_sha_256` for the given input size. HashSha256(u32), /// Weight of calling `seal_hash_keccak_256` for the given input size. @@ -244,9 +240,9 @@ pub enum RuntimeCosts { /// Weight of calling `ecdsa_to_eth_address` EcdsaToEthAddress, /// Weight of calling `reentrance_count` - ReentrantCount, + ReentranceCount, /// Weight of calling `account_reentrance_count` - AccountEntranceCount, + AccountReentranceCount, /// Weight of calling `instantiation_nonce` InstantiationNonce, /// Weight of calling `lock_delegate_dependency` @@ -280,8 +276,8 @@ impl Token for RuntimeCosts { use self::RuntimeCosts::*; match *self { HostFn => cost_args!(noop_host_fn, 1), + CopyToContract(len) => T::WeightInfo::seal_input(len), CopyFromContract(len) => T::WeightInfo::seal_return(len), - CopyToContract(len) => cost_args!(seal_input, len), Caller => T::WeightInfo::seal_caller(), IsContract => T::WeightInfo::seal_is_contract(), CodeHash => T::WeightInfo::seal_code_hash(), @@ -296,8 +292,6 @@ impl Token for RuntimeCosts { BlockNumber => T::WeightInfo::seal_block_number(), Now => T::WeightInfo::seal_now(), WeightToFee => T::WeightInfo::seal_weight_to_fee(), - InputBase => T::WeightInfo::seal_input(0), - Return(len) => T::WeightInfo::seal_return(len), Terminate => T::WeightInfo::seal_terminate(), Random => T::WeightInfo::seal_random(), DepositEvent { num_topic, len } => T::WeightInfo::seal_deposit_event(num_topic, len), @@ -312,11 +306,11 @@ impl Token for RuntimeCosts { Transfer => T::WeightInfo::seal_transfer(), CallBase => T::WeightInfo::seal_call(0, 0, 0), DelegateCallBase => T::WeightInfo::seal_delegate_call(), - CallSurchargeTransfer => cost_args!(seal_call, 1, 0, 0), + CallTransferSurcharge => cost_args!(seal_call, 1, 0, 0), CallInputCloned(len) => cost_args!(seal_call, 0, 1, len), InstantiateBase { input_data_len, salt_len } => T::WeightInfo::seal_instantiate(0, input_data_len, salt_len), - InstantiateSurchargeTransfer => cost_args!(seal_instantiate, 1, 0, 0), + InstantiateTransferSurcharge => cost_args!(seal_instantiate, 1, 0, 0), HashSha256(len) => T::WeightInfo::seal_hash_sha2_256(len), HashKeccak256(len) => T::WeightInfo::seal_hash_keccak_256(len), HashBlake256(len) => T::WeightInfo::seal_hash_blake2_256(len), @@ -326,8 +320,8 @@ impl Token for RuntimeCosts { ChainExtension(weight) | CallRuntime(weight) | CallXcmExecute(weight) => weight, SetCodeHash => T::WeightInfo::seal_set_code_hash(), EcdsaToEthAddress => T::WeightInfo::seal_ecdsa_to_eth_address(), - ReentrantCount => T::WeightInfo::seal_reentrance_count(), - AccountEntranceCount => T::WeightInfo::seal_account_reentrance_count(), + ReentranceCount => T::WeightInfo::seal_reentrance_count(), + AccountReentranceCount => T::WeightInfo::seal_account_reentrance_count(), InstantiationNonce => T::WeightInfo::seal_instantiation_nonce(), LockDelegateDependency => T::WeightInfo::lock_delegate_dependency(), UnlockDelegateDependency => T::WeightInfo::unlock_delegate_dependency(), @@ -862,7 +856,7 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> { let value: BalanceOf<::T> = self.read_sandbox_memory_as(memory, value_ptr)?; if value > 0u32.into() { - self.charge_gas(RuntimeCosts::CallSurchargeTransfer)?; + self.charge_gas(RuntimeCosts::CallTransferSurcharge)?; } self.ext.call( weight, @@ -930,7 +924,7 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> { }; let value: BalanceOf<::T> = self.read_sandbox_memory_as(memory, value_ptr)?; if value > 0u32.into() { - self.charge_gas(RuntimeCosts::InstantiateSurchargeTransfer)?; + self.charge_gas(RuntimeCosts::InstantiateTransferSurcharge)?; } let code_hash: CodeHash<::T> = self.read_sandbox_memory_as(memory, code_hash_ptr)?; @@ -1415,7 +1409,6 @@ pub mod env { /// See [`pallet_contracts_uapi::HostFn::input`]. #[prefixed_alias] fn input(ctx: _, memory: _, out_ptr: u32, out_len_ptr: u32) -> Result<(), TrapReason> { - ctx.charge_gas(RuntimeCosts::InputBase)?; if let Some(input) = ctx.input_data.take() { ctx.write_sandbox_output(memory, out_ptr, out_len_ptr, &input, false, |len| { Some(RuntimeCosts::CopyToContract(len)) @@ -1436,7 +1429,7 @@ pub mod env { data_ptr: u32, data_len: u32, ) -> Result<(), TrapReason> { - ctx.charge_gas(RuntimeCosts::Return(data_len))?; + ctx.charge_gas(RuntimeCosts::CopyFromContract(data_len))?; Err(TrapReason::Return(ReturnData { flags, data: ctx.read_sandbox_memory(memory, data_ptr, data_len)?, @@ -2278,7 +2271,7 @@ pub mod env { /// See [`pallet_contracts_uapi::HostFn::reentrance_count`]. #[unstable] fn reentrance_count(ctx: _, memory: _) -> Result { - ctx.charge_gas(RuntimeCosts::ReentrantCount)?; + ctx.charge_gas(RuntimeCosts::ReentranceCount)?; Ok(ctx.ext.reentrance_count()) } @@ -2287,7 +2280,7 @@ pub mod env { /// See [`pallet_contracts_uapi::HostFn::account_reentrance_count`]. #[unstable] fn account_reentrance_count(ctx: _, memory: _, account_ptr: u32) -> Result { - ctx.charge_gas(RuntimeCosts::AccountEntranceCount)?; + ctx.charge_gas(RuntimeCosts::AccountReentranceCount)?; let account_id: <::T as frame_system::Config>::AccountId = ctx.read_sandbox_memory_as(memory, account_ptr)?; Ok(ctx.ext.account_reentrance_count(&account_id)) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index ec9f7e841aae..afcb2f29c217 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -1,42 +1,24 @@ -// This file is part of Substrate. - -// Copyright (C) Parity Technologies (UK) Ltd. -// SPDX-License-Identifier: Apache-2.0 - -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-29, STEPS: `2`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-dcu62vjg-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` -//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` +//! HOSTNAME: `pgs-laptop.lan`, CPU: `` +//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: -// target/production/substrate-node +// target/debug/substrate-node // benchmark // pallet -// --steps=50 -// --repeat=20 -// --extrinsic=* -// --wasm-execution=compiled -// --heap-pages=4096 -// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json -// --pallet=pallet_contracts -// --chain=dev -// --header=./substrate/HEADER-APACHE2 -// --output=./substrate/frame/contracts/src/weights.rs +// --steps +// 2 +// -p +// pallet_contracts +// -e +// * +// --output +// substrate/frame/contracts/src/weights.rs // --template=./substrate/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -128,8 +110,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 1_998_000 picoseconds. - Weight::from_parts(2_105_000, 1627) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_000_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -137,12 +119,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `452 + k * (69 ±0)` - // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_810_000 picoseconds. - Weight::from_parts(13_041_000, 442) - // Standard Error: 1_980 - .saturating_add(Weight::from_parts(1_186_675, 0).saturating_mul(k.into())) + // Measured: `318 + k * (69 ±0)` + // Estimated: `318 + k * (70 ±0)` + // Minimum execution time: 104_000_000 picoseconds. + Weight::from_parts(104_700_000, 318) + // Standard Error: 34_890 + .saturating_add(Weight::from_parts(7_380_175, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -154,12 +136,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + c * (1 ±0)` - // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_141_000 picoseconds. - Weight::from_parts(8_750_889, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(c.into())) + // Measured: `203 + c * (1 ±0)` + // Estimated: `6143 + c * (1 ±0)` + // Minimum execution time: 90_000_000 picoseconds. + Weight::from_parts(91_600_000, 6143) + // Standard Error: 7 + .saturating_add(Weight::from_parts(656, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -172,8 +154,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_836_000 picoseconds. - Weight::from_parts(17_922_000, 6450) + // Minimum execution time: 149_000_000 picoseconds. + Weight::from_parts(161_000_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -184,14 +166,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `171 + k * (1 ±0)` - // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_422_000 picoseconds. - Weight::from_parts(3_488_000, 3635) - // Standard Error: 1_035 - .saturating_add(Weight::from_parts(1_215_499, 0).saturating_mul(k.into())) + // Measured: `166 + k * (1 ±0)` + // Estimated: `3631 + k * (1 ±0)` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_299_999, 3631) + // Standard Error: 40_858 + .saturating_add(Weight::from_parts(15_348_925, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into())) } @@ -208,12 +190,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `328 + c * (1 ±0)` - // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_859_000 picoseconds. - Weight::from_parts(21_212_479, 6266) - // Standard Error: 0 - .saturating_add(Weight::from_parts(459, 0).saturating_mul(c.into())) + // Measured: `320 + c * (1 ±0)` + // Estimated: `6260 + c * (1 ±0)` + // Minimum execution time: 205_000_000 picoseconds. + Weight::from_parts(206_400_000, 6260) + // Standard Error: 6 + .saturating_add(Weight::from_parts(304, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -224,8 +206,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_941_000 picoseconds. - Weight::from_parts(13_701_000, 6380) + // Minimum execution time: 109_000_000 picoseconds. + Weight::from_parts(111_000_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -239,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_900_000 picoseconds. - Weight::from_parts(48_164_000, 6292) + // Minimum execution time: 492_000_000 picoseconds. + Weight::from_parts(513_000_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -252,8 +234,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_096_000 picoseconds. - Weight::from_parts(57_603_000, 6534) + // Minimum execution time: 433_000_000 picoseconds. + Weight::from_parts(471_000_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -263,8 +245,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_147_000 picoseconds. - Weight::from_parts(12_960_000, 6349) + // Minimum execution time: 108_000_000 picoseconds. + Weight::from_parts(110_000_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -274,8 +256,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_436_000 picoseconds. - Weight::from_parts(2_697_000, 1627) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(24_000_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -287,8 +269,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_674_000 picoseconds. - Weight::from_parts(12_277_000, 3631) + // Minimum execution time: 119_000_000 picoseconds. + Weight::from_parts(147_000_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -298,8 +280,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_717_000 picoseconds. - Weight::from_parts(5_008_000, 3607) + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(43_000_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -310,8 +292,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_954_000 picoseconds. - Weight::from_parts(6_331_000, 3632) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(58_000_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -322,8 +304,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_061_000 picoseconds. - Weight::from_parts(6_600_000, 3607) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(57_000_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -346,12 +328,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `804 + c * (1 ±0)` - // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 370_504_000 picoseconds. - Weight::from_parts(345_076_763, 9217) - // Standard Error: 96 - .saturating_add(Weight::from_parts(34_235, 0).saturating_mul(c.into())) + // Measured: `832` + // Estimated: `9247 + c * (1 ±0)` + // Minimum execution time: 2_222_000_000 picoseconds. + Weight::from_parts(2_246_800_000, 9247) + // Standard Error: 194 + .saturating_add(Weight::from_parts(78_581, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -381,16 +363,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `326` - // Estimated: `8740` - // Minimum execution time: 4_359_896_000 picoseconds. - Weight::from_parts(481_322_438, 8740) - // Standard Error: 225 - .saturating_add(Weight::from_parts(70_837, 0).saturating_mul(c.into())) - // Standard Error: 27 - .saturating_add(Weight::from_parts(1_888, 0).saturating_mul(i.into())) - // Standard Error: 27 - .saturating_add(Weight::from_parts(1_957, 0).saturating_mul(s.into())) + // Measured: `443` + // Estimated: `8858` + // Minimum execution time: 8_001_000_000 picoseconds. + Weight::from_parts(4_996_600_018, 8858) + // Standard Error: 606 + .saturating_add(Weight::from_parts(158_819, 0).saturating_mul(c.into())) + // Standard Error: 72 + .saturating_add(Weight::from_parts(1_394, 0).saturating_mul(i.into())) + // Standard Error: 72 + .saturating_add(Weight::from_parts(1_681, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -418,14 +400,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563` - // Estimated: `8982` - // Minimum execution time: 2_128_155_000 picoseconds. - Weight::from_parts(2_147_287_000, 8982) - // Standard Error: 27 - .saturating_add(Weight::from_parts(964, 0).saturating_mul(i.into())) - // Standard Error: 27 - .saturating_add(Weight::from_parts(822, 0).saturating_mul(s.into())) + // Measured: `615` + // Estimated: `9030` + // Minimum execution time: 4_452_000_000 picoseconds. + Weight::from_parts(3_312_250_000, 9030) + // Standard Error: 24 + .saturating_add(Weight::from_parts(1_571, 0).saturating_mul(i.into())) + // Standard Error: 24 + .saturating_add(Weight::from_parts(1_133, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -449,8 +431,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 214_463_000 picoseconds. - Weight::from_parts(225_091_000, 9244) + // Minimum execution time: 2_150_000_000 picoseconds. + Weight::from_parts(2_237_000_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -471,10 +453,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 339_390_000 picoseconds. - Weight::from_parts(334_232_549, 6085) - // Standard Error: 76 - .saturating_add(Weight::from_parts(33_541, 0).saturating_mul(c.into())) + // Minimum execution time: 1_943_000_000 picoseconds. + Weight::from_parts(2_061_000_000, 6085) + // Standard Error: 425 + .saturating_add(Weight::from_parts(80_155, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -495,10 +477,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 351_953_000 picoseconds. - Weight::from_parts(343_509_628, 6085) - // Standard Error: 88 - .saturating_add(Weight::from_parts(34_147, 0).saturating_mul(c.into())) + // Minimum execution time: 2_143_000_000 picoseconds. + Weight::from_parts(2_231_100_000, 6085) + // Standard Error: 246 + .saturating_add(Weight::from_parts(79_070, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -516,8 +498,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_660_000 picoseconds. - Weight::from_parts(46_780_000, 3780) + // Minimum execution time: 483_000_000 picoseconds. + Weight::from_parts(512_000_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -533,8 +515,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 35_016_000 picoseconds. - Weight::from_parts(36_078_000, 8967) + // Minimum execution time: 321_000_000 picoseconds. + Weight::from_parts(334_000_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -543,17 +525,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_383_000 picoseconds. - Weight::from_parts(10_413_719, 0) - // Standard Error: 49 - .saturating_add(Weight::from_parts(72_020, 0).saturating_mul(r.into())) + // Minimum execution time: 149_000_000 picoseconds. + Weight::from_parts(150_400_000, 0) + // Standard Error: 190 + .saturating_add(Weight::from_parts(92_875, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 643_000 picoseconds. - Weight::from_parts(703_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -561,8 +543,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_757_000 picoseconds. - Weight::from_parts(6_890_000, 3819) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(57_000_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -571,44 +553,44 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_950_000 picoseconds. - Weight::from_parts(8_424_000, 3912) + // Minimum execution time: 67_000_000 picoseconds. + Weight::from_parts(69_000_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 832_000 picoseconds. - Weight::from_parts(889_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 386_000 picoseconds. - Weight::from_parts(403_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 334_000 picoseconds. - Weight::from_parts(372_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 634_000 picoseconds. - Weight::from_parts(685_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 740_000 picoseconds. - Weight::from_parts(789_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -616,37 +598,37 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 4_792_000 picoseconds. - Weight::from_parts(5_077_000, 3605) + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(46_000_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 602_000 picoseconds. - Weight::from_parts(629_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 610_000 picoseconds. - Weight::from_parts(692_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 614_000 picoseconds. - Weight::from_parts(662_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 628_000 picoseconds. - Weight::from_parts(694_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -654,27 +636,29 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_360_000 picoseconds. - Weight::from_parts(4_613_000, 1552) + // Minimum execution time: 34_000_000 picoseconds. + Weight::from_parts(35_000_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. - fn seal_input(_n: u32, ) -> Weight { + fn seal_input(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 475_000 picoseconds. - Weight::from_parts(584_657, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_800_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000 picoseconds. - Weight::from_parts(343_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(156, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -690,8 +674,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 134_617_000 picoseconds. - Weight::from_parts(136_454_000, 85486) + // Minimum execution time: 1_399_000_000 picoseconds. + Weight::from_parts(1_407_000_000, 85486) .saturating_add(T::DbWeight::get().reads(36_u64)) .saturating_add(T::DbWeight::get().writes(38_u64)) } @@ -701,37 +685,35 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_869_000 picoseconds. - Weight::from_parts(4_139_000, 1561) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16384]`. - fn seal_deposit_event(t: u32, n: u32, ) -> Weight { + fn seal_deposit_event(t: u32, _n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_137_000 picoseconds. - Weight::from_parts(4_504_239, 990) - // Standard Error: 6_837 - .saturating_add(Weight::from_parts(2_381_563, 0).saturating_mul(t.into())) - // Standard Error: 1 - .saturating_add(Weight::from_parts(20, 0).saturating_mul(n.into())) + // Estimated: `641 + t * (2562 ±0)` + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(33_099_999, 641) + // Standard Error: 132_510 + .saturating_add(Weight::from_parts(28_975_000, 0).saturating_mul(t.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2562).saturating_mul(t.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 395_000 picoseconds. - Weight::from_parts(448_000, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(425, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -740,10 +722,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 7_949_000 picoseconds. - Weight::from_parts(8_879_819, 245) - // Standard Error: 1 - .saturating_add(Weight::from_parts(350, 0).saturating_mul(n.into())) + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(56_300_000, 245) + // Standard Error: 13 + .saturating_add(Weight::from_parts(286, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -752,12 +734,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_878_000 picoseconds. - Weight::from_parts(9_291_579, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(55_300_000, 245) + // Standard Error: 17 + .saturating_add(Weight::from_parts(415, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -767,12 +749,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_068_000 picoseconds. - Weight::from_parts(9_253_255, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(80, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(61_200_000, 245) + // Standard Error: 46 + .saturating_add(Weight::from_parts(73, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -782,12 +764,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_get_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_316_000 picoseconds. - Weight::from_parts(9_096_691, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(706, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(53_100_000, 245) + // Standard Error: 41 + .saturating_add(Weight::from_parts(891, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -796,12 +778,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_660_000 picoseconds. - Weight::from_parts(8_029_136, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 50_000_000 picoseconds. + Weight::from_parts(50_700_000, 245) + // Standard Error: 50 + .saturating_add(Weight::from_parts(769, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -810,12 +792,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_take_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_497_000 picoseconds. - Weight::from_parts(10_287_954, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(699, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(58_400_000, 245) + // Standard Error: 32 + .saturating_add(Weight::from_parts(854, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -826,8 +808,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 9_337_000 picoseconds. - Weight::from_parts(9_882_000, 3605) + // Minimum execution time: 99_000_000 picoseconds. + Weight::from_parts(103_000_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) @@ -849,14 +831,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `623 + t * (280 ±0)` // Estimated: `6563 + t * (3422 ±0)` - // Minimum execution time: 172_292_000 picoseconds. - Weight::from_parts(167_185_817, 6563) - // Standard Error: 327_522 - .saturating_add(Weight::from_parts(44_974_443, 0).saturating_mul(t.into())) - // Standard Error: 327_522 - .saturating_add(Weight::from_parts(4_283_151, 0).saturating_mul(c.into())) - // Standard Error: 0 - .saturating_add(Weight::from_parts(11, 0).saturating_mul(i.into())) + // Minimum execution time: 1_601_000_000 picoseconds. + Weight::from_parts(1_531_399_999, 6563) + // Standard Error: 15_255_326 + .saturating_add(Weight::from_parts(460_199_999, 0).saturating_mul(t.into())) + // Standard Error: 15_255_326 + .saturating_add(Weight::from_parts(86_499_999, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(84, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -877,8 +859,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 161_490_000 picoseconds. - Weight::from_parts(170_939_000, 6373) + // Minimum execution time: 1_526_000_000 picoseconds. + Weight::from_parts(1_547_000_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -901,83 +883,85 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `679 + t * (102 ±0)` - // Estimated: `6616 + t * (2565 ±1)` - // Minimum execution time: 1_819_574_000 picoseconds. - Weight::from_parts(1_829_348_000, 6616) - // Standard Error: 14 - .saturating_add(Weight::from_parts(731, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_005, 0).saturating_mul(s.into())) + // Measured: `627 + t * (102 ±0)` + // Estimated: `6567 + t * (2577 ±0)` + // Minimum execution time: 3_818_000_000 picoseconds. + Weight::from_parts(2_080_099_999, 6567) + // Standard Error: 27_716_696 + .saturating_add(Weight::from_parts(389_800_000, 0).saturating_mul(t.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(1_471, 0).saturating_mul(i.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(1_568, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2565).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2577).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 894_000 picoseconds. - Weight::from_parts(941_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_151, 0).saturating_mul(n.into())) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_113, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_359_000 picoseconds. - Weight::from_parts(1_403_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_600_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(4_545, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 727_000 picoseconds. - Weight::from_parts(762_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_134, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 772_000 picoseconds. - Weight::from_parts(799_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_122, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_237_000 picoseconds. - Weight::from_parts(44_351_784, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(4_756, 0).saturating_mul(n.into())) + // Minimum execution time: 58_000_000 picoseconds. + Weight::from_parts(58_600_000, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(7_695, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 48_204_000 picoseconds. - Weight::from_parts(49_920_000, 0) + // Minimum execution time: 300_000_000 picoseconds. + Weight::from_parts(316_000_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_997_000 picoseconds. - Weight::from_parts(13_237_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -991,8 +975,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 31_613_000 picoseconds. - Weight::from_parts(32_976_000, 6373) + // Minimum execution time: 304_000_000 picoseconds. + Weight::from_parts(306_000_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1002,8 +986,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_330_000 picoseconds. - Weight::from_parts(9_933_000, 3820) + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(80_000_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1013,8 +997,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_203_000 picoseconds. - Weight::from_parts(8_645_000, 3558) + // Minimum execution time: 64_000_000 picoseconds. + Weight::from_parts(66_000_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1022,15 +1006,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 283_000 picoseconds. - Weight::from_parts(342_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000 picoseconds. - Weight::from_parts(376_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1038,8 +1022,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_996_000 picoseconds. - Weight::from_parts(3_180_000, 1704) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(26_000_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1047,10 +1031,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_200_000 picoseconds. - Weight::from_parts(1_007_275, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(15_124, 0).saturating_mul(r.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_900_000, 0) + // Standard Error: 124 + .saturating_add(Weight::from_parts(71_560, 0).saturating_mul(r.into())) } } @@ -1062,8 +1046,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 1_998_000 picoseconds. - Weight::from_parts(2_105_000, 1627) + // Minimum execution time: 20_000_000 picoseconds. + Weight::from_parts(21_000_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1071,12 +1055,12 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `452 + k * (69 ±0)` - // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_810_000 picoseconds. - Weight::from_parts(13_041_000, 442) - // Standard Error: 1_980 - .saturating_add(Weight::from_parts(1_186_675, 0).saturating_mul(k.into())) + // Measured: `318 + k * (69 ±0)` + // Estimated: `318 + k * (70 ±0)` + // Minimum execution time: 104_000_000 picoseconds. + Weight::from_parts(104_700_000, 318) + // Standard Error: 34_890 + .saturating_add(Weight::from_parts(7_380_175, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1088,12 +1072,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `211 + c * (1 ±0)` - // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_141_000 picoseconds. - Weight::from_parts(8_750_889, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(c.into())) + // Measured: `203 + c * (1 ±0)` + // Estimated: `6143 + c * (1 ±0)` + // Minimum execution time: 90_000_000 picoseconds. + Weight::from_parts(91_600_000, 6143) + // Standard Error: 7 + .saturating_add(Weight::from_parts(656, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1106,8 +1090,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_836_000 picoseconds. - Weight::from_parts(17_922_000, 6450) + // Minimum execution time: 149_000_000 picoseconds. + Weight::from_parts(161_000_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1118,14 +1102,14 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `171 + k * (1 ±0)` - // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_422_000 picoseconds. - Weight::from_parts(3_488_000, 3635) - // Standard Error: 1_035 - .saturating_add(Weight::from_parts(1_215_499, 0).saturating_mul(k.into())) + // Measured: `166 + k * (1 ±0)` + // Estimated: `3631 + k * (1 ±0)` + // Minimum execution time: 32_000_000 picoseconds. + Weight::from_parts(33_299_999, 3631) + // Standard Error: 40_858 + .saturating_add(Weight::from_parts(15_348_925, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into())) } @@ -1142,12 +1126,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `328 + c * (1 ±0)` - // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_859_000 picoseconds. - Weight::from_parts(21_212_479, 6266) - // Standard Error: 0 - .saturating_add(Weight::from_parts(459, 0).saturating_mul(c.into())) + // Measured: `320 + c * (1 ±0)` + // Estimated: `6260 + c * (1 ±0)` + // Minimum execution time: 205_000_000 picoseconds. + Weight::from_parts(206_400_000, 6260) + // Standard Error: 6 + .saturating_add(Weight::from_parts(304, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1158,8 +1142,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_941_000 picoseconds. - Weight::from_parts(13_701_000, 6380) + // Minimum execution time: 109_000_000 picoseconds. + Weight::from_parts(111_000_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1173,8 +1157,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_900_000 picoseconds. - Weight::from_parts(48_164_000, 6292) + // Minimum execution time: 492_000_000 picoseconds. + Weight::from_parts(513_000_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1186,8 +1170,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_096_000 picoseconds. - Weight::from_parts(57_603_000, 6534) + // Minimum execution time: 433_000_000 picoseconds. + Weight::from_parts(471_000_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1197,8 +1181,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_147_000 picoseconds. - Weight::from_parts(12_960_000, 6349) + // Minimum execution time: 108_000_000 picoseconds. + Weight::from_parts(110_000_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1208,8 +1192,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_436_000 picoseconds. - Weight::from_parts(2_697_000, 1627) + // Minimum execution time: 23_000_000 picoseconds. + Weight::from_parts(24_000_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1221,8 +1205,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_674_000 picoseconds. - Weight::from_parts(12_277_000, 3631) + // Minimum execution time: 119_000_000 picoseconds. + Weight::from_parts(147_000_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1232,8 +1216,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_717_000 picoseconds. - Weight::from_parts(5_008_000, 3607) + // Minimum execution time: 42_000_000 picoseconds. + Weight::from_parts(43_000_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1244,8 +1228,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_954_000 picoseconds. - Weight::from_parts(6_331_000, 3632) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(58_000_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1256,8 +1240,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_061_000 picoseconds. - Weight::from_parts(6_600_000, 3607) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(57_000_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1280,12 +1264,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `804 + c * (1 ±0)` - // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 370_504_000 picoseconds. - Weight::from_parts(345_076_763, 9217) - // Standard Error: 96 - .saturating_add(Weight::from_parts(34_235, 0).saturating_mul(c.into())) + // Measured: `832` + // Estimated: `9247 + c * (1 ±0)` + // Minimum execution time: 2_222_000_000 picoseconds. + Weight::from_parts(2_246_800_000, 9247) + // Standard Error: 194 + .saturating_add(Weight::from_parts(78_581, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1315,16 +1299,16 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `326` - // Estimated: `8740` - // Minimum execution time: 4_359_896_000 picoseconds. - Weight::from_parts(481_322_438, 8740) - // Standard Error: 225 - .saturating_add(Weight::from_parts(70_837, 0).saturating_mul(c.into())) - // Standard Error: 27 - .saturating_add(Weight::from_parts(1_888, 0).saturating_mul(i.into())) - // Standard Error: 27 - .saturating_add(Weight::from_parts(1_957, 0).saturating_mul(s.into())) + // Measured: `443` + // Estimated: `8858` + // Minimum execution time: 8_001_000_000 picoseconds. + Weight::from_parts(4_996_600_018, 8858) + // Standard Error: 606 + .saturating_add(Weight::from_parts(158_819, 0).saturating_mul(c.into())) + // Standard Error: 72 + .saturating_add(Weight::from_parts(1_394, 0).saturating_mul(i.into())) + // Standard Error: 72 + .saturating_add(Weight::from_parts(1_681, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1352,14 +1336,14 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563` - // Estimated: `8982` - // Minimum execution time: 2_128_155_000 picoseconds. - Weight::from_parts(2_147_287_000, 8982) - // Standard Error: 27 - .saturating_add(Weight::from_parts(964, 0).saturating_mul(i.into())) - // Standard Error: 27 - .saturating_add(Weight::from_parts(822, 0).saturating_mul(s.into())) + // Measured: `615` + // Estimated: `9030` + // Minimum execution time: 4_452_000_000 picoseconds. + Weight::from_parts(3_312_250_000, 9030) + // Standard Error: 24 + .saturating_add(Weight::from_parts(1_571, 0).saturating_mul(i.into())) + // Standard Error: 24 + .saturating_add(Weight::from_parts(1_133, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1383,8 +1367,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 214_463_000 picoseconds. - Weight::from_parts(225_091_000, 9244) + // Minimum execution time: 2_150_000_000 picoseconds. + Weight::from_parts(2_237_000_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1405,10 +1389,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 339_390_000 picoseconds. - Weight::from_parts(334_232_549, 6085) - // Standard Error: 76 - .saturating_add(Weight::from_parts(33_541, 0).saturating_mul(c.into())) + // Minimum execution time: 1_943_000_000 picoseconds. + Weight::from_parts(2_061_000_000, 6085) + // Standard Error: 425 + .saturating_add(Weight::from_parts(80_155, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1429,10 +1413,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 351_953_000 picoseconds. - Weight::from_parts(343_509_628, 6085) - // Standard Error: 88 - .saturating_add(Weight::from_parts(34_147, 0).saturating_mul(c.into())) + // Minimum execution time: 2_143_000_000 picoseconds. + Weight::from_parts(2_231_100_000, 6085) + // Standard Error: 246 + .saturating_add(Weight::from_parts(79_070, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1450,8 +1434,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_660_000 picoseconds. - Weight::from_parts(46_780_000, 3780) + // Minimum execution time: 483_000_000 picoseconds. + Weight::from_parts(512_000_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1467,8 +1451,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 35_016_000 picoseconds. - Weight::from_parts(36_078_000, 8967) + // Minimum execution time: 321_000_000 picoseconds. + Weight::from_parts(334_000_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1477,17 +1461,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_383_000 picoseconds. - Weight::from_parts(10_413_719, 0) - // Standard Error: 49 - .saturating_add(Weight::from_parts(72_020, 0).saturating_mul(r.into())) + // Minimum execution time: 149_000_000 picoseconds. + Weight::from_parts(150_400_000, 0) + // Standard Error: 190 + .saturating_add(Weight::from_parts(92_875, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 643_000 picoseconds. - Weight::from_parts(703_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1495,8 +1479,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_757_000 picoseconds. - Weight::from_parts(6_890_000, 3819) + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(57_000_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1505,44 +1489,44 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_950_000 picoseconds. - Weight::from_parts(8_424_000, 3912) + // Minimum execution time: 67_000_000 picoseconds. + Weight::from_parts(69_000_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 832_000 picoseconds. - Weight::from_parts(889_000, 0) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 386_000 picoseconds. - Weight::from_parts(403_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(3_000_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 334_000 picoseconds. - Weight::from_parts(372_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 634_000 picoseconds. - Weight::from_parts(685_000, 0) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 740_000 picoseconds. - Weight::from_parts(789_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1550,37 +1534,37 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 4_792_000 picoseconds. - Weight::from_parts(5_077_000, 3605) + // Minimum execution time: 46_000_000 picoseconds. + Weight::from_parts(46_000_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 602_000 picoseconds. - Weight::from_parts(629_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 610_000 picoseconds. - Weight::from_parts(692_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 614_000 picoseconds. - Weight::from_parts(662_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 628_000 picoseconds. - Weight::from_parts(694_000, 0) + // Minimum execution time: 6_000_000 picoseconds. + Weight::from_parts(6_000_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1588,27 +1572,29 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_360_000 picoseconds. - Weight::from_parts(4_613_000, 1552) + // Minimum execution time: 34_000_000 picoseconds. + Weight::from_parts(35_000_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. - fn seal_input(_n: u32, ) -> Weight { + fn seal_input(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 475_000 picoseconds. - Weight::from_parts(584_657, 0) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(4_800_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000 picoseconds. - Weight::from_parts(343_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(156, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1624,8 +1610,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 134_617_000 picoseconds. - Weight::from_parts(136_454_000, 85486) + // Minimum execution time: 1_399_000_000 picoseconds. + Weight::from_parts(1_407_000_000, 85486) .saturating_add(RocksDbWeight::get().reads(36_u64)) .saturating_add(RocksDbWeight::get().writes(38_u64)) } @@ -1635,37 +1621,35 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_869_000 picoseconds. - Weight::from_parts(4_139_000, 1561) + // Minimum execution time: 33_000_000 picoseconds. + Weight::from_parts(34_000_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16384]`. - fn seal_deposit_event(t: u32, n: u32, ) -> Weight { + fn seal_deposit_event(t: u32, _n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_137_000 picoseconds. - Weight::from_parts(4_504_239, 990) - // Standard Error: 6_837 - .saturating_add(Weight::from_parts(2_381_563, 0).saturating_mul(t.into())) - // Standard Error: 1 - .saturating_add(Weight::from_parts(20, 0).saturating_mul(n.into())) + // Estimated: `641 + t * (2562 ±0)` + // Minimum execution time: 27_000_000 picoseconds. + Weight::from_parts(33_099_999, 641) + // Standard Error: 132_510 + .saturating_add(Weight::from_parts(28_975_000, 0).saturating_mul(t.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2562).saturating_mul(t.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 395_000 picoseconds. - Weight::from_parts(448_000, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(425, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1674,10 +1658,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 7_949_000 picoseconds. - Weight::from_parts(8_879_819, 245) - // Standard Error: 1 - .saturating_add(Weight::from_parts(350, 0).saturating_mul(n.into())) + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(56_300_000, 245) + // Standard Error: 13 + .saturating_add(Weight::from_parts(286, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1686,12 +1670,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_878_000 picoseconds. - Weight::from_parts(9_291_579, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 55_000_000 picoseconds. + Weight::from_parts(55_300_000, 245) + // Standard Error: 17 + .saturating_add(Weight::from_parts(415, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1701,12 +1685,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_068_000 picoseconds. - Weight::from_parts(9_253_255, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(80, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 56_000_000 picoseconds. + Weight::from_parts(61_200_000, 245) + // Standard Error: 46 + .saturating_add(Weight::from_parts(73, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1716,12 +1700,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_get_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_316_000 picoseconds. - Weight::from_parts(9_096_691, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(706, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 51_000_000 picoseconds. + Weight::from_parts(53_100_000, 245) + // Standard Error: 41 + .saturating_add(Weight::from_parts(891, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1730,12 +1714,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_660_000 picoseconds. - Weight::from_parts(8_029_136, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 50_000_000 picoseconds. + Weight::from_parts(50_700_000, 245) + // Standard Error: 50 + .saturating_add(Weight::from_parts(769, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1744,12 +1728,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_take_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_497_000 picoseconds. - Weight::from_parts(10_287_954, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(699, 0).saturating_mul(n.into())) + // Measured: `245 + n * (1 ±0)` + // Estimated: `245 + n * (1 ±0)` + // Minimum execution time: 57_000_000 picoseconds. + Weight::from_parts(58_400_000, 245) + // Standard Error: 32 + .saturating_add(Weight::from_parts(854, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1760,8 +1744,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 9_337_000 picoseconds. - Weight::from_parts(9_882_000, 3605) + // Minimum execution time: 99_000_000 picoseconds. + Weight::from_parts(103_000_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) @@ -1783,14 +1767,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `623 + t * (280 ±0)` // Estimated: `6563 + t * (3422 ±0)` - // Minimum execution time: 172_292_000 picoseconds. - Weight::from_parts(167_185_817, 6563) - // Standard Error: 327_522 - .saturating_add(Weight::from_parts(44_974_443, 0).saturating_mul(t.into())) - // Standard Error: 327_522 - .saturating_add(Weight::from_parts(4_283_151, 0).saturating_mul(c.into())) - // Standard Error: 0 - .saturating_add(Weight::from_parts(11, 0).saturating_mul(i.into())) + // Minimum execution time: 1_601_000_000 picoseconds. + Weight::from_parts(1_531_399_999, 6563) + // Standard Error: 15_255_326 + .saturating_add(Weight::from_parts(460_199_999, 0).saturating_mul(t.into())) + // Standard Error: 15_255_326 + .saturating_add(Weight::from_parts(86_499_999, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(84, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -1811,8 +1795,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 161_490_000 picoseconds. - Weight::from_parts(170_939_000, 6373) + // Minimum execution time: 1_526_000_000 picoseconds. + Weight::from_parts(1_547_000_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1835,83 +1819,85 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `679 + t * (102 ±0)` - // Estimated: `6616 + t * (2565 ±1)` - // Minimum execution time: 1_819_574_000 picoseconds. - Weight::from_parts(1_829_348_000, 6616) - // Standard Error: 14 - .saturating_add(Weight::from_parts(731, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_005, 0).saturating_mul(s.into())) + // Measured: `627 + t * (102 ±0)` + // Estimated: `6567 + t * (2577 ±0)` + // Minimum execution time: 3_818_000_000 picoseconds. + Weight::from_parts(2_080_099_999, 6567) + // Standard Error: 27_716_696 + .saturating_add(Weight::from_parts(389_800_000, 0).saturating_mul(t.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(1_471, 0).saturating_mul(i.into())) + // Standard Error: 28 + .saturating_add(Weight::from_parts(1_568, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2565).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2577).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 894_000 picoseconds. - Weight::from_parts(941_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_151, 0).saturating_mul(n.into())) + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_113, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_359_000 picoseconds. - Weight::from_parts(1_403_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(8_600_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(4_545, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 727_000 picoseconds. - Weight::from_parts(762_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) + // Minimum execution time: 4_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_134, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 772_000 picoseconds. - Weight::from_parts(799_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_000_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(1_122, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_237_000 picoseconds. - Weight::from_parts(44_351_784, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(4_756, 0).saturating_mul(n.into())) + // Minimum execution time: 58_000_000 picoseconds. + Weight::from_parts(58_600_000, 0) + // Standard Error: 4 + .saturating_add(Weight::from_parts(7_695, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 48_204_000 picoseconds. - Weight::from_parts(49_920_000, 0) + // Minimum execution time: 300_000_000 picoseconds. + Weight::from_parts(316_000_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_997_000 picoseconds. - Weight::from_parts(13_237_000, 0) + // Minimum execution time: 16_000_000 picoseconds. + Weight::from_parts(16_000_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1925,8 +1911,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 31_613_000 picoseconds. - Weight::from_parts(32_976_000, 6373) + // Minimum execution time: 304_000_000 picoseconds. + Weight::from_parts(306_000_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1936,8 +1922,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_330_000 picoseconds. - Weight::from_parts(9_933_000, 3820) + // Minimum execution time: 79_000_000 picoseconds. + Weight::from_parts(80_000_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1947,8 +1933,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_203_000 picoseconds. - Weight::from_parts(8_645_000, 3558) + // Minimum execution time: 64_000_000 picoseconds. + Weight::from_parts(66_000_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1956,15 +1942,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 283_000 picoseconds. - Weight::from_parts(342_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000 picoseconds. - Weight::from_parts(376_000, 0) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_000_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1972,8 +1958,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_996_000 picoseconds. - Weight::from_parts(3_180_000, 1704) + // Minimum execution time: 26_000_000 picoseconds. + Weight::from_parts(26_000_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1981,9 +1967,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_200_000 picoseconds. - Weight::from_parts(1_007_275, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(15_124, 0).saturating_mul(r.into())) + // Minimum execution time: 5_000_000 picoseconds. + Weight::from_parts(5_900_000, 0) + // Standard Error: 124 + .saturating_add(Weight::from_parts(71_560, 0).saturating_mul(r.into())) } } From b2eb3145abf3ec04cee7940810b9ffb530b9ef06 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 29 Apr 2024 10:05:45 +0000 Subject: [PATCH 26/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 994 ++++++++++++----------- 1 file changed, 508 insertions(+), 486 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index afcb2f29c217..169f2f34e410 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -1,24 +1,42 @@ +// This file is part of Substrate. + +// Copyright (C) Parity Technologies (UK) Ltd. +// SPDX-License-Identifier: Apache-2.0 + +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-29, STEPS: `2`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-04-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `pgs-laptop.lan`, CPU: `` -//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` +//! HOSTNAME: `runner-unxyhko3-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: -// target/debug/substrate-node +// target/production/substrate-node // benchmark // pallet -// --steps -// 2 -// -p -// pallet_contracts -// -e -// * -// --output -// substrate/frame/contracts/src/weights.rs +// --steps=50 +// --repeat=20 +// --extrinsic=* +// --wasm-execution=compiled +// --heap-pages=4096 +// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json +// --pallet=pallet_contracts +// --chain=dev +// --header=./substrate/HEADER-APACHE2 +// --output=./substrate/frame/contracts/src/weights.rs // --template=./substrate/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -110,8 +128,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(21_000_000, 1627) + // Minimum execution time: 2_026_000 picoseconds. + Weight::from_parts(2_157_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -119,12 +137,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `318 + k * (69 ±0)` - // Estimated: `318 + k * (70 ±0)` - // Minimum execution time: 104_000_000 picoseconds. - Weight::from_parts(104_700_000, 318) - // Standard Error: 34_890 - .saturating_add(Weight::from_parts(7_380_175, 0).saturating_mul(k.into())) + // Measured: `452 + k * (69 ±0)` + // Estimated: `442 + k * (70 ±0)` + // Minimum execution time: 12_505_000 picoseconds. + Weight::from_parts(12_905_000, 442) + // Standard Error: 1_429 + .saturating_add(Weight::from_parts(1_167_002, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -136,12 +154,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `203 + c * (1 ±0)` - // Estimated: `6143 + c * (1 ±0)` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(91_600_000, 6143) - // Standard Error: 7 - .saturating_add(Weight::from_parts(656, 0).saturating_mul(c.into())) + // Measured: `211 + c * (1 ±0)` + // Estimated: `6149 + c * (1 ±0)` + // Minimum execution time: 8_257_000 picoseconds. + Weight::from_parts(8_677_638, 6149) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_160, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -154,8 +172,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 149_000_000 picoseconds. - Weight::from_parts(161_000_000, 6450) + // Minimum execution time: 17_053_000 picoseconds. + Weight::from_parts(17_518_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -166,14 +184,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `166 + k * (1 ±0)` - // Estimated: `3631 + k * (1 ±0)` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_299_999, 3631) - // Standard Error: 40_858 - .saturating_add(Weight::from_parts(15_348_925, 0).saturating_mul(k.into())) + // Measured: `171 + k * (1 ±0)` + // Estimated: `3635 + k * (1 ±0)` + // Minimum execution time: 3_507_000 picoseconds. + Weight::from_parts(2_116_985, 3635) + // Standard Error: 835 + .saturating_add(Weight::from_parts(1_222_371, 0).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(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into())) } @@ -190,12 +208,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `320 + c * (1 ±0)` - // Estimated: `6260 + c * (1 ±0)` - // Minimum execution time: 205_000_000 picoseconds. - Weight::from_parts(206_400_000, 6260) - // Standard Error: 6 - .saturating_add(Weight::from_parts(304, 0).saturating_mul(c.into())) + // Measured: `328 + c * (1 ±0)` + // Estimated: `6266 + c * (1 ±0)` + // Minimum execution time: 20_657_000 picoseconds. + Weight::from_parts(20_858_035, 6266) + // Standard Error: 1 + .saturating_add(Weight::from_parts(383, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -206,8 +224,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 109_000_000 picoseconds. - Weight::from_parts(111_000_000, 6380) + // Minimum execution time: 12_848_000 picoseconds. + Weight::from_parts(13_570_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -221,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 492_000_000 picoseconds. - Weight::from_parts(513_000_000, 6292) + // Minimum execution time: 46_737_000 picoseconds. + Weight::from_parts(48_131_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -234,8 +252,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 433_000_000 picoseconds. - Weight::from_parts(471_000_000, 6534) + // Minimum execution time: 56_586_000 picoseconds. + Weight::from_parts(59_047_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -245,8 +263,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 108_000_000 picoseconds. - Weight::from_parts(110_000_000, 6349) + // Minimum execution time: 12_355_000 picoseconds. + Weight::from_parts(13_530_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -256,8 +274,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_000_000, 1627) + // Minimum execution time: 2_441_000 picoseconds. + Weight::from_parts(2_656_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -269,8 +287,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 119_000_000 picoseconds. - Weight::from_parts(147_000_000, 3631) + // Minimum execution time: 12_083_000 picoseconds. + Weight::from_parts(12_404_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -280,8 +298,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(43_000_000, 3607) + // Minimum execution time: 4_785_000 picoseconds. + Weight::from_parts(5_105_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -292,8 +310,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(58_000_000, 3632) + // Minimum execution time: 6_098_000 picoseconds. + Weight::from_parts(6_424_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -304,8 +322,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(57_000_000, 3607) + // Minimum execution time: 6_168_000 picoseconds. + Weight::from_parts(6_391_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -328,12 +346,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `832` - // Estimated: `9247 + c * (1 ±0)` - // Minimum execution time: 2_222_000_000 picoseconds. - Weight::from_parts(2_246_800_000, 9247) - // Standard Error: 194 - .saturating_add(Weight::from_parts(78_581, 0).saturating_mul(c.into())) + // Measured: `804 + c * (1 ±0)` + // Estimated: `9217 + c * (1 ±0)` + // Minimum execution time: 304_486_000 picoseconds. + Weight::from_parts(281_210_403, 9217) + // Standard Error: 71 + .saturating_add(Weight::from_parts(33_632, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -363,16 +381,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `443` - // Estimated: `8858` - // Minimum execution time: 8_001_000_000 picoseconds. - Weight::from_parts(4_996_600_018, 8858) - // Standard Error: 606 - .saturating_add(Weight::from_parts(158_819, 0).saturating_mul(c.into())) - // Standard Error: 72 - .saturating_add(Weight::from_parts(1_394, 0).saturating_mul(i.into())) - // Standard Error: 72 - .saturating_add(Weight::from_parts(1_681, 0).saturating_mul(s.into())) + // Measured: `326` + // Estimated: `8740` + // Minimum execution time: 4_111_986_000 picoseconds. + Weight::from_parts(381_653_579, 8740) + // Standard Error: 198 + .saturating_add(Weight::from_parts(70_030, 0).saturating_mul(c.into())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(1_669, 0).saturating_mul(i.into())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(1_842, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -400,14 +418,14 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `615` - // Estimated: `9030` - // Minimum execution time: 4_452_000_000 picoseconds. - Weight::from_parts(3_312_250_000, 9030) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_571, 0).saturating_mul(i.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_133, 0).saturating_mul(s.into())) + // Measured: `563` + // Estimated: `8982` + // Minimum execution time: 1_996_742_000 picoseconds. + Weight::from_parts(2_026_648_000, 8982) + // Standard Error: 25 + .saturating_add(Weight::from_parts(849, 0).saturating_mul(i.into())) + // Standard Error: 25 + .saturating_add(Weight::from_parts(852, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -431,8 +449,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 2_150_000_000 picoseconds. - Weight::from_parts(2_237_000_000, 9244) + // Minimum execution time: 206_272_000 picoseconds. + Weight::from_parts(217_655_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -453,10 +471,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 1_943_000_000 picoseconds. - Weight::from_parts(2_061_000_000, 6085) - // Standard Error: 425 - .saturating_add(Weight::from_parts(80_155, 0).saturating_mul(c.into())) + // Minimum execution time: 277_885_000 picoseconds. + Weight::from_parts(264_589_547, 6085) + // Standard Error: 73 + .saturating_add(Weight::from_parts(33_704, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -477,10 +495,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 2_143_000_000 picoseconds. - Weight::from_parts(2_231_100_000, 6085) - // Standard Error: 246 - .saturating_add(Weight::from_parts(79_070, 0).saturating_mul(c.into())) + // Minimum execution time: 298_636_000 picoseconds. + Weight::from_parts(271_144_699, 6085) + // Standard Error: 100 + .saturating_add(Weight::from_parts(34_478, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -498,8 +516,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 483_000_000 picoseconds. - Weight::from_parts(512_000_000, 3780) + // Minimum execution time: 46_040_000 picoseconds. + Weight::from_parts(48_079_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -515,8 +533,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 321_000_000 picoseconds. - Weight::from_parts(334_000_000, 8967) + // Minimum execution time: 34_375_000 picoseconds. + Weight::from_parts(36_222_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -525,17 +543,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 149_000_000 picoseconds. - Weight::from_parts(150_400_000, 0) - // Standard Error: 190 - .saturating_add(Weight::from_parts(92_875, 0).saturating_mul(r.into())) + // Minimum execution time: 10_802_000 picoseconds. + Weight::from_parts(11_876_953, 0) + // Standard Error: 85 + .saturating_add(Weight::from_parts(70_319, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 560_000 picoseconds. + Weight::from_parts(627_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -543,8 +561,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(57_000_000, 3819) + // Minimum execution time: 6_604_000 picoseconds. + Weight::from_parts(6_824_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -553,44 +571,44 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 67_000_000 picoseconds. - Weight::from_parts(69_000_000, 3912) + // Minimum execution time: 7_697_000 picoseconds. + Weight::from_parts(8_009_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 783_000 picoseconds. + Weight::from_parts(825_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 329_000 picoseconds. + Weight::from_parts(383_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) + // Minimum execution time: 309_000 picoseconds. + Weight::from_parts(357_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 554_000 picoseconds. + Weight::from_parts(601_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 639_000 picoseconds. + Weight::from_parts(693_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -598,37 +616,37 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 46_000_000 picoseconds. - Weight::from_parts(46_000_000, 3605) + // Minimum execution time: 4_720_000 picoseconds. + Weight::from_parts(4_902_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 538_000 picoseconds. + Weight::from_parts(586_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 509_000 picoseconds. + Weight::from_parts(571_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 535_000 picoseconds. + Weight::from_parts(586_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 578_000 picoseconds. + Weight::from_parts(637_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -636,8 +654,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 1552) + // Minimum execution time: 4_416_000 picoseconds. + Weight::from_parts(4_611_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -645,20 +663,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_800_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + // Minimum execution time: 469_000 picoseconds. + Weight::from_parts(513_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(294, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(156, 0).saturating_mul(n.into())) + // Minimum execution time: 328_000 picoseconds. + Weight::from_parts(345_000, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(400, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -674,8 +692,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 1_399_000_000 picoseconds. - Weight::from_parts(1_407_000_000, 85486) + // Minimum execution time: 134_982_000 picoseconds. + Weight::from_parts(137_218_000, 85486) .saturating_add(T::DbWeight::get().reads(36_u64)) .saturating_add(T::DbWeight::get().writes(38_u64)) } @@ -685,35 +703,37 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 1561) + // Minimum execution time: 3_641_000 picoseconds. + Weight::from_parts(3_851_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16384]`. - fn seal_deposit_event(t: u32, _n: u32, ) -> Weight { + fn seal_deposit_event(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `641 + t * (2562 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(33_099_999, 641) - // Standard Error: 132_510 - .saturating_add(Weight::from_parts(28_975_000, 0).saturating_mul(t.into())) + // Estimated: `990 + t * (2475 ±0)` + // Minimum execution time: 4_143_000 picoseconds. + Weight::from_parts(4_355_459, 990) + // Standard Error: 7_907 + .saturating_add(Weight::from_parts(2_334_740, 0).saturating_mul(t.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(28, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2562).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(425, 0).saturating_mul(i.into())) + // Minimum execution time: 436_000 picoseconds. + Weight::from_parts(464_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -722,10 +742,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(56_300_000, 245) - // Standard Error: 13 - .saturating_add(Weight::from_parts(286, 0).saturating_mul(n.into())) + // Minimum execution time: 7_574_000 picoseconds. + Weight::from_parts(8_651_771, 245) + // Standard Error: 1 + .saturating_add(Weight::from_parts(255, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -734,12 +754,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(55_300_000, 245) - // Standard Error: 17 - .saturating_add(Weight::from_parts(415, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_553_000 picoseconds. + Weight::from_parts(9_223_601, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -749,12 +769,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(61_200_000, 245) - // Standard Error: 46 - .saturating_add(Weight::from_parts(73, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_856_000 picoseconds. + Weight::from_parts(9_180_008, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(89, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -764,12 +784,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_get_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 51_000_000 picoseconds. - Weight::from_parts(53_100_000, 245) - // Standard Error: 41 - .saturating_add(Weight::from_parts(891, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_126_000 picoseconds. + Weight::from_parts(8_921_997, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -778,12 +798,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 50_000_000 picoseconds. - Weight::from_parts(50_700_000, 245) - // Standard Error: 50 - .saturating_add(Weight::from_parts(769, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 6_715_000 picoseconds. + Weight::from_parts(7_848_323, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(88, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -792,12 +812,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `n` is `[0, 16384]`. fn seal_take_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(58_400_000, 245) - // Standard Error: 32 - .saturating_add(Weight::from_parts(854, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 8_318_000 picoseconds. + Weight::from_parts(9_990_344, 248) + // Standard Error: 5 + .saturating_add(Weight::from_parts(634, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -808,8 +828,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 99_000_000 picoseconds. - Weight::from_parts(103_000_000, 3605) + // Minimum execution time: 8_900_000 picoseconds. + Weight::from_parts(9_215_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) @@ -831,14 +851,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `623 + t * (280 ±0)` // Estimated: `6563 + t * (3422 ±0)` - // Minimum execution time: 1_601_000_000 picoseconds. - Weight::from_parts(1_531_399_999, 6563) - // Standard Error: 15_255_326 - .saturating_add(Weight::from_parts(460_199_999, 0).saturating_mul(t.into())) - // Standard Error: 15_255_326 - .saturating_add(Weight::from_parts(86_499_999, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(84, 0).saturating_mul(i.into())) + // Minimum execution time: 164_943_000 picoseconds. + Weight::from_parts(164_713_349, 6563) + // Standard Error: 323_916 + .saturating_add(Weight::from_parts(43_689_556, 0).saturating_mul(t.into())) + // Standard Error: 323_916 + .saturating_add(Weight::from_parts(2_727_352, 0).saturating_mul(c.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -859,8 +879,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 1_526_000_000 picoseconds. - Weight::from_parts(1_547_000_000, 6373) + // Minimum execution time: 152_390_000 picoseconds. + Weight::from_parts(165_217_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -883,85 +903,85 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `627 + t * (102 ±0)` - // Estimated: `6567 + t * (2577 ±0)` - // Minimum execution time: 3_818_000_000 picoseconds. - Weight::from_parts(2_080_099_999, 6567) - // Standard Error: 27_716_696 - .saturating_add(Weight::from_parts(389_800_000, 0).saturating_mul(t.into())) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_471, 0).saturating_mul(i.into())) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_568, 0).saturating_mul(s.into())) + // Measured: `679 + t * (102 ±0)` + // Estimated: `6616 + t * (2565 ±1)` + // Minimum execution time: 1_709_241_000 picoseconds. + Weight::from_parts(162_472_084, 6616) + // Standard Error: 9_135_790 + .saturating_add(Weight::from_parts(119_325_657, 0).saturating_mul(t.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_389, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_787, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2577).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2565).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(3_113, 0).saturating_mul(n.into())) + // Minimum execution time: 864_000 picoseconds. + Weight::from_parts(914_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_600_000, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(4_545, 0).saturating_mul(n.into())) + // Minimum execution time: 1_305_000 picoseconds. + Weight::from_parts(1_342_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_322, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_134, 0).saturating_mul(n.into())) + // Minimum execution time: 741_000 picoseconds. + Weight::from_parts(772_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_122, 0).saturating_mul(n.into())) + // Minimum execution time: 735_000 picoseconds. + Weight::from_parts(759_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(58_600_000, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(7_695, 0).saturating_mul(n.into())) + // Minimum execution time: 44_096_000 picoseconds. + Weight::from_parts(45_203_791, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(4_670, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 300_000_000 picoseconds. - Weight::from_parts(316_000_000, 0) + // Minimum execution time: 47_195_000 picoseconds. + Weight::from_parts(49_118_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_001_000 picoseconds. + Weight::from_parts(13_115_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -975,8 +995,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 304_000_000 picoseconds. - Weight::from_parts(306_000_000, 6373) + // Minimum execution time: 31_502_000 picoseconds. + Weight::from_parts(32_325_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -986,8 +1006,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 79_000_000 picoseconds. - Weight::from_parts(80_000_000, 3820) + // Minimum execution time: 9_266_000 picoseconds. + Weight::from_parts(9_628_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -997,8 +1017,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 64_000_000 picoseconds. - Weight::from_parts(66_000_000, 3558) + // Minimum execution time: 8_125_000 picoseconds. + Weight::from_parts(8_525_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1006,15 +1026,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) + // Minimum execution time: 307_000 picoseconds. + Weight::from_parts(344_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) + // Minimum execution time: 338_000 picoseconds. + Weight::from_parts(370_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1022,8 +1042,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(26_000_000, 1704) + // Minimum execution time: 2_892_000 picoseconds. + Weight::from_parts(3_126_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1031,10 +1051,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_900_000, 0) - // Standard Error: 124 - .saturating_add(Weight::from_parts(71_560, 0).saturating_mul(r.into())) + // Minimum execution time: 919_000 picoseconds. + Weight::from_parts(514_641, 0) + // Standard Error: 18 + .saturating_add(Weight::from_parts(15_217, 0).saturating_mul(r.into())) } } @@ -1046,8 +1066,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 20_000_000 picoseconds. - Weight::from_parts(21_000_000, 1627) + // Minimum execution time: 2_026_000 picoseconds. + Weight::from_parts(2_157_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1055,12 +1075,12 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn on_initialize_per_trie_key(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `318 + k * (69 ±0)` - // Estimated: `318 + k * (70 ±0)` - // Minimum execution time: 104_000_000 picoseconds. - Weight::from_parts(104_700_000, 318) - // Standard Error: 34_890 - .saturating_add(Weight::from_parts(7_380_175, 0).saturating_mul(k.into())) + // Measured: `452 + k * (69 ±0)` + // Estimated: `442 + k * (70 ±0)` + // Minimum execution time: 12_505_000 picoseconds. + Weight::from_parts(12_905_000, 442) + // Standard Error: 1_429 + .saturating_add(Weight::from_parts(1_167_002, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1072,12 +1092,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v9_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `203 + c * (1 ±0)` - // Estimated: `6143 + c * (1 ±0)` - // Minimum execution time: 90_000_000 picoseconds. - Weight::from_parts(91_600_000, 6143) - // Standard Error: 7 - .saturating_add(Weight::from_parts(656, 0).saturating_mul(c.into())) + // Measured: `211 + c * (1 ±0)` + // Estimated: `6149 + c * (1 ±0)` + // Minimum execution time: 8_257_000 picoseconds. + Weight::from_parts(8_677_638, 6149) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_160, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1090,8 +1110,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 149_000_000 picoseconds. - Weight::from_parts(161_000_000, 6450) + // Minimum execution time: 17_053_000 picoseconds. + Weight::from_parts(17_518_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1102,14 +1122,14 @@ impl WeightInfo for () { /// The range of component `k` is `[0, 1024]`. fn v11_migration_step(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `166 + k * (1 ±0)` - // Estimated: `3631 + k * (1 ±0)` - // Minimum execution time: 32_000_000 picoseconds. - Weight::from_parts(33_299_999, 3631) - // Standard Error: 40_858 - .saturating_add(Weight::from_parts(15_348_925, 0).saturating_mul(k.into())) + // Measured: `171 + k * (1 ±0)` + // Estimated: `3635 + k * (1 ±0)` + // Minimum execution time: 3_507_000 picoseconds. + Weight::from_parts(2_116_985, 3635) + // Standard Error: 835 + .saturating_add(Weight::from_parts(1_222_371, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 1).saturating_mul(k.into())) } @@ -1126,12 +1146,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `320 + c * (1 ±0)` - // Estimated: `6260 + c * (1 ±0)` - // Minimum execution time: 205_000_000 picoseconds. - Weight::from_parts(206_400_000, 6260) - // Standard Error: 6 - .saturating_add(Weight::from_parts(304, 0).saturating_mul(c.into())) + // Measured: `328 + c * (1 ±0)` + // Estimated: `6266 + c * (1 ±0)` + // Minimum execution time: 20_657_000 picoseconds. + Weight::from_parts(20_858_035, 6266) + // Standard Error: 1 + .saturating_add(Weight::from_parts(383, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1142,8 +1162,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 109_000_000 picoseconds. - Weight::from_parts(111_000_000, 6380) + // Minimum execution time: 12_848_000 picoseconds. + Weight::from_parts(13_570_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1157,8 +1177,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 492_000_000 picoseconds. - Weight::from_parts(513_000_000, 6292) + // Minimum execution time: 46_737_000 picoseconds. + Weight::from_parts(48_131_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1170,8 +1190,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 433_000_000 picoseconds. - Weight::from_parts(471_000_000, 6534) + // Minimum execution time: 56_586_000 picoseconds. + Weight::from_parts(59_047_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1181,8 +1201,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 108_000_000 picoseconds. - Weight::from_parts(110_000_000, 6349) + // Minimum execution time: 12_355_000 picoseconds. + Weight::from_parts(13_530_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1192,8 +1212,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 23_000_000 picoseconds. - Weight::from_parts(24_000_000, 1627) + // Minimum execution time: 2_441_000 picoseconds. + Weight::from_parts(2_656_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1205,8 +1225,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 119_000_000 picoseconds. - Weight::from_parts(147_000_000, 3631) + // Minimum execution time: 12_083_000 picoseconds. + Weight::from_parts(12_404_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1216,8 +1236,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 42_000_000 picoseconds. - Weight::from_parts(43_000_000, 3607) + // Minimum execution time: 4_785_000 picoseconds. + Weight::from_parts(5_105_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1228,8 +1248,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(58_000_000, 3632) + // Minimum execution time: 6_098_000 picoseconds. + Weight::from_parts(6_424_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1240,8 +1260,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(57_000_000, 3607) + // Minimum execution time: 6_168_000 picoseconds. + Weight::from_parts(6_391_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1264,12 +1284,12 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `832` - // Estimated: `9247 + c * (1 ±0)` - // Minimum execution time: 2_222_000_000 picoseconds. - Weight::from_parts(2_246_800_000, 9247) - // Standard Error: 194 - .saturating_add(Weight::from_parts(78_581, 0).saturating_mul(c.into())) + // Measured: `804 + c * (1 ±0)` + // Estimated: `9217 + c * (1 ±0)` + // Minimum execution time: 304_486_000 picoseconds. + Weight::from_parts(281_210_403, 9217) + // Standard Error: 71 + .saturating_add(Weight::from_parts(33_632, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1299,16 +1319,16 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `443` - // Estimated: `8858` - // Minimum execution time: 8_001_000_000 picoseconds. - Weight::from_parts(4_996_600_018, 8858) - // Standard Error: 606 - .saturating_add(Weight::from_parts(158_819, 0).saturating_mul(c.into())) - // Standard Error: 72 - .saturating_add(Weight::from_parts(1_394, 0).saturating_mul(i.into())) - // Standard Error: 72 - .saturating_add(Weight::from_parts(1_681, 0).saturating_mul(s.into())) + // Measured: `326` + // Estimated: `8740` + // Minimum execution time: 4_111_986_000 picoseconds. + Weight::from_parts(381_653_579, 8740) + // Standard Error: 198 + .saturating_add(Weight::from_parts(70_030, 0).saturating_mul(c.into())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(1_669, 0).saturating_mul(i.into())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(1_842, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1336,14 +1356,14 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `615` - // Estimated: `9030` - // Minimum execution time: 4_452_000_000 picoseconds. - Weight::from_parts(3_312_250_000, 9030) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_571, 0).saturating_mul(i.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_133, 0).saturating_mul(s.into())) + // Measured: `563` + // Estimated: `8982` + // Minimum execution time: 1_996_742_000 picoseconds. + Weight::from_parts(2_026_648_000, 8982) + // Standard Error: 25 + .saturating_add(Weight::from_parts(849, 0).saturating_mul(i.into())) + // Standard Error: 25 + .saturating_add(Weight::from_parts(852, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1367,8 +1387,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 2_150_000_000 picoseconds. - Weight::from_parts(2_237_000_000, 9244) + // Minimum execution time: 206_272_000 picoseconds. + Weight::from_parts(217_655_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1389,10 +1409,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 1_943_000_000 picoseconds. - Weight::from_parts(2_061_000_000, 6085) - // Standard Error: 425 - .saturating_add(Weight::from_parts(80_155, 0).saturating_mul(c.into())) + // Minimum execution time: 277_885_000 picoseconds. + Weight::from_parts(264_589_547, 6085) + // Standard Error: 73 + .saturating_add(Weight::from_parts(33_704, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1413,10 +1433,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 2_143_000_000 picoseconds. - Weight::from_parts(2_231_100_000, 6085) - // Standard Error: 246 - .saturating_add(Weight::from_parts(79_070, 0).saturating_mul(c.into())) + // Minimum execution time: 298_636_000 picoseconds. + Weight::from_parts(271_144_699, 6085) + // Standard Error: 100 + .saturating_add(Weight::from_parts(34_478, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1434,8 +1454,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 483_000_000 picoseconds. - Weight::from_parts(512_000_000, 3780) + // Minimum execution time: 46_040_000 picoseconds. + Weight::from_parts(48_079_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1451,8 +1471,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 321_000_000 picoseconds. - Weight::from_parts(334_000_000, 8967) + // Minimum execution time: 34_375_000 picoseconds. + Weight::from_parts(36_222_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1461,17 +1481,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 149_000_000 picoseconds. - Weight::from_parts(150_400_000, 0) - // Standard Error: 190 - .saturating_add(Weight::from_parts(92_875, 0).saturating_mul(r.into())) + // Minimum execution time: 10_802_000 picoseconds. + Weight::from_parts(11_876_953, 0) + // Standard Error: 85 + .saturating_add(Weight::from_parts(70_319, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 560_000 picoseconds. + Weight::from_parts(627_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1479,8 +1499,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(57_000_000, 3819) + // Minimum execution time: 6_604_000 picoseconds. + Weight::from_parts(6_824_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1489,44 +1509,44 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 67_000_000 picoseconds. - Weight::from_parts(69_000_000, 3912) + // Minimum execution time: 7_697_000 picoseconds. + Weight::from_parts(8_009_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) + // Minimum execution time: 783_000 picoseconds. + Weight::from_parts(825_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(3_000_000, 0) + // Minimum execution time: 329_000 picoseconds. + Weight::from_parts(383_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) + // Minimum execution time: 309_000 picoseconds. + Weight::from_parts(357_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 554_000 picoseconds. + Weight::from_parts(601_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 639_000 picoseconds. + Weight::from_parts(693_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1534,37 +1554,37 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 46_000_000 picoseconds. - Weight::from_parts(46_000_000, 3605) + // Minimum execution time: 4_720_000 picoseconds. + Weight::from_parts(4_902_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 538_000 picoseconds. + Weight::from_parts(586_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 509_000 picoseconds. + Weight::from_parts(571_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 535_000 picoseconds. + Weight::from_parts(586_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_000_000 picoseconds. - Weight::from_parts(6_000_000, 0) + // Minimum execution time: 578_000 picoseconds. + Weight::from_parts(637_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1572,8 +1592,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 1552) + // Minimum execution time: 4_416_000 picoseconds. + Weight::from_parts(4_611_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1581,20 +1601,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_800_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + // Minimum execution time: 469_000 picoseconds. + Weight::from_parts(513_000, 0) + // Standard Error: 3 + .saturating_add(Weight::from_parts(294, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(156, 0).saturating_mul(n.into())) + // Minimum execution time: 328_000 picoseconds. + Weight::from_parts(345_000, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(400, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1610,8 +1630,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 1_399_000_000 picoseconds. - Weight::from_parts(1_407_000_000, 85486) + // Minimum execution time: 134_982_000 picoseconds. + Weight::from_parts(137_218_000, 85486) .saturating_add(RocksDbWeight::get().reads(36_u64)) .saturating_add(RocksDbWeight::get().writes(38_u64)) } @@ -1621,35 +1641,37 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 33_000_000 picoseconds. - Weight::from_parts(34_000_000, 1561) + // Minimum execution time: 3_641_000 picoseconds. + Weight::from_parts(3_851_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 4]`. /// The range of component `n` is `[0, 16384]`. - fn seal_deposit_event(t: u32, _n: u32, ) -> Weight { + fn seal_deposit_event(t: u32, n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` - // Estimated: `641 + t * (2562 ±0)` - // Minimum execution time: 27_000_000 picoseconds. - Weight::from_parts(33_099_999, 641) - // Standard Error: 132_510 - .saturating_add(Weight::from_parts(28_975_000, 0).saturating_mul(t.into())) + // Estimated: `990 + t * (2475 ±0)` + // Minimum execution time: 4_143_000 picoseconds. + Weight::from_parts(4_355_459, 990) + // Standard Error: 7_907 + .saturating_add(Weight::from_parts(2_334_740, 0).saturating_mul(t.into())) + // Standard Error: 2 + .saturating_add(Weight::from_parts(28, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2562).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) } /// The range of component `i` is `[0, 1048576]`. fn seal_debug_message(i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(425, 0).saturating_mul(i.into())) + // Minimum execution time: 436_000 picoseconds. + Weight::from_parts(464_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1658,10 +1680,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(56_300_000, 245) - // Standard Error: 13 - .saturating_add(Weight::from_parts(286, 0).saturating_mul(n.into())) + // Minimum execution time: 7_574_000 picoseconds. + Weight::from_parts(8_651_771, 245) + // Standard Error: 1 + .saturating_add(Weight::from_parts(255, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1670,12 +1692,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 55_000_000 picoseconds. - Weight::from_parts(55_300_000, 245) - // Standard Error: 17 - .saturating_add(Weight::from_parts(415, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_553_000 picoseconds. + Weight::from_parts(9_223_601, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1685,12 +1707,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 56_000_000 picoseconds. - Weight::from_parts(61_200_000, 245) - // Standard Error: 46 - .saturating_add(Weight::from_parts(73, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_856_000 picoseconds. + Weight::from_parts(9_180_008, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(89, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1700,12 +1722,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_get_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 51_000_000 picoseconds. - Weight::from_parts(53_100_000, 245) - // Standard Error: 41 - .saturating_add(Weight::from_parts(891, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 7_126_000 picoseconds. + Weight::from_parts(8_921_997, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1714,12 +1736,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_contains_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 50_000_000 picoseconds. - Weight::from_parts(50_700_000, 245) - // Standard Error: 50 - .saturating_add(Weight::from_parts(769, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 6_715_000 picoseconds. + Weight::from_parts(7_848_323, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(88, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1728,12 +1750,12 @@ impl WeightInfo for () { /// The range of component `n` is `[0, 16384]`. fn seal_take_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245 + n * (1 ±0)` - // Estimated: `245 + n * (1 ±0)` - // Minimum execution time: 57_000_000 picoseconds. - Weight::from_parts(58_400_000, 245) - // Standard Error: 32 - .saturating_add(Weight::from_parts(854, 0).saturating_mul(n.into())) + // Measured: `248 + n * (1 ±0)` + // Estimated: `248 + n * (1 ±0)` + // Minimum execution time: 8_318_000 picoseconds. + Weight::from_parts(9_990_344, 248) + // Standard Error: 5 + .saturating_add(Weight::from_parts(634, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1744,8 +1766,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 99_000_000 picoseconds. - Weight::from_parts(103_000_000, 3605) + // Minimum execution time: 8_900_000 picoseconds. + Weight::from_parts(9_215_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) @@ -1767,14 +1789,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `623 + t * (280 ±0)` // Estimated: `6563 + t * (3422 ±0)` - // Minimum execution time: 1_601_000_000 picoseconds. - Weight::from_parts(1_531_399_999, 6563) - // Standard Error: 15_255_326 - .saturating_add(Weight::from_parts(460_199_999, 0).saturating_mul(t.into())) - // Standard Error: 15_255_326 - .saturating_add(Weight::from_parts(86_499_999, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(84, 0).saturating_mul(i.into())) + // Minimum execution time: 164_943_000 picoseconds. + Weight::from_parts(164_713_349, 6563) + // Standard Error: 323_916 + .saturating_add(Weight::from_parts(43_689_556, 0).saturating_mul(t.into())) + // Standard Error: 323_916 + .saturating_add(Weight::from_parts(2_727_352, 0).saturating_mul(c.into())) + // Standard Error: 0 + .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -1795,8 +1817,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 1_526_000_000 picoseconds. - Weight::from_parts(1_547_000_000, 6373) + // Minimum execution time: 152_390_000 picoseconds. + Weight::from_parts(165_217_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1819,85 +1841,85 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `627 + t * (102 ±0)` - // Estimated: `6567 + t * (2577 ±0)` - // Minimum execution time: 3_818_000_000 picoseconds. - Weight::from_parts(2_080_099_999, 6567) - // Standard Error: 27_716_696 - .saturating_add(Weight::from_parts(389_800_000, 0).saturating_mul(t.into())) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_471, 0).saturating_mul(i.into())) - // Standard Error: 28 - .saturating_add(Weight::from_parts(1_568, 0).saturating_mul(s.into())) + // Measured: `679 + t * (102 ±0)` + // Estimated: `6616 + t * (2565 ±1)` + // Minimum execution time: 1_709_241_000 picoseconds. + Weight::from_parts(162_472_084, 6616) + // Standard Error: 9_135_790 + .saturating_add(Weight::from_parts(119_325_657, 0).saturating_mul(t.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_389, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_787, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2577).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(0, 2565).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 7_000_000 picoseconds. - Weight::from_parts(8_000_000, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(3_113, 0).saturating_mul(n.into())) + // Minimum execution time: 864_000 picoseconds. + Weight::from_parts(914_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_000_000 picoseconds. - Weight::from_parts(8_600_000, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(4_545, 0).saturating_mul(n.into())) + // Minimum execution time: 1_305_000 picoseconds. + Weight::from_parts(1_342_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_322, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) - // Standard Error: 5 - .saturating_add(Weight::from_parts(1_134, 0).saturating_mul(n.into())) + // Minimum execution time: 741_000 picoseconds. + Weight::from_parts(772_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_000_000, 0) - // Standard Error: 3 - .saturating_add(Weight::from_parts(1_122, 0).saturating_mul(n.into())) + // Minimum execution time: 735_000 picoseconds. + Weight::from_parts(759_000, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 58_000_000 picoseconds. - Weight::from_parts(58_600_000, 0) - // Standard Error: 4 - .saturating_add(Weight::from_parts(7_695, 0).saturating_mul(n.into())) + // Minimum execution time: 44_096_000 picoseconds. + Weight::from_parts(45_203_791, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(4_670, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 300_000_000 picoseconds. - Weight::from_parts(316_000_000, 0) + // Minimum execution time: 47_195_000 picoseconds. + Weight::from_parts(49_118_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 16_000_000 picoseconds. - Weight::from_parts(16_000_000, 0) + // Minimum execution time: 13_001_000 picoseconds. + Weight::from_parts(13_115_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1911,8 +1933,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 304_000_000 picoseconds. - Weight::from_parts(306_000_000, 6373) + // Minimum execution time: 31_502_000 picoseconds. + Weight::from_parts(32_325_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1922,8 +1944,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 79_000_000 picoseconds. - Weight::from_parts(80_000_000, 3820) + // Minimum execution time: 9_266_000 picoseconds. + Weight::from_parts(9_628_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1933,8 +1955,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 64_000_000 picoseconds. - Weight::from_parts(66_000_000, 3558) + // Minimum execution time: 8_125_000 picoseconds. + Weight::from_parts(8_525_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1942,15 +1964,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) + // Minimum execution time: 307_000 picoseconds. + Weight::from_parts(344_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_000_000, 0) + // Minimum execution time: 338_000 picoseconds. + Weight::from_parts(370_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1958,8 +1980,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 26_000_000 picoseconds. - Weight::from_parts(26_000_000, 1704) + // Minimum execution time: 2_892_000 picoseconds. + Weight::from_parts(3_126_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1967,9 +1989,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_000_000 picoseconds. - Weight::from_parts(5_900_000, 0) - // Standard Error: 124 - .saturating_add(Weight::from_parts(71_560, 0).saturating_mul(r.into())) + // Minimum execution time: 919_000 picoseconds. + Weight::from_parts(514_641, 0) + // Standard Error: 18 + .saturating_add(Weight::from_parts(15_217, 0).saturating_mul(r.into())) } } From 41b5f3ab7b926f7908e5b5fff6d35801b8b941d2 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 29 Apr 2024 14:09:37 +0200 Subject: [PATCH 27/75] add ; --- substrate/frame/contracts/src/benchmarking/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 95256e78a7f0..3ef98e9fec3a 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -864,7 +864,7 @@ mod benchmarks { let result; #[block] { - result = BenchEnv::seal0_input(&mut runtime, &mut memory, 4, 0) + result = BenchEnv::seal0_input(&mut runtime, &mut memory, 4, 0); } assert_ok!(result); assert_eq!(&memory[4..], &vec![42u8; n as usize]); @@ -877,7 +877,7 @@ mod benchmarks { let result; #[block] { - result = BenchEnv::seal0_seal_return(&mut runtime, &mut memory, 0, 0, n) + result = BenchEnv::seal0_seal_return(&mut runtime, &mut memory, 0, 0, n); } assert!(matches!( From f4d65f6944be0913765ce9d3aaf7c700e46fc0e3 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 29 Apr 2024 12:49:48 +0000 Subject: [PATCH 28/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 776 +++++++++++------------ 1 file changed, 388 insertions(+), 388 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 169f2f34e410..352a84e3bddd 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -128,8 +128,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_026_000 picoseconds. - Weight::from_parts(2_157_000, 1627) + // Minimum execution time: 2_077_000 picoseconds. + Weight::from_parts(2_153_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -139,10 +139,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_505_000 picoseconds. - Weight::from_parts(12_905_000, 442) - // Standard Error: 1_429 - .saturating_add(Weight::from_parts(1_167_002, 0).saturating_mul(k.into())) + // Minimum execution time: 12_456_000 picoseconds. + Weight::from_parts(12_730_000, 442) + // Standard Error: 1_183 + .saturating_add(Weight::from_parts(1_096_672, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -156,10 +156,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_257_000 picoseconds. - Weight::from_parts(8_677_638, 6149) + // Minimum execution time: 8_181_000 picoseconds. + Weight::from_parts(9_113_032, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_160, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_213, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -172,8 +172,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_053_000 picoseconds. - Weight::from_parts(17_518_000, 6450) + // Minimum execution time: 16_780_000 picoseconds. + Weight::from_parts(17_448_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -186,10 +186,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_507_000 picoseconds. - Weight::from_parts(2_116_985, 3635) - // Standard Error: 835 - .saturating_add(Weight::from_parts(1_222_371, 0).saturating_mul(k.into())) + // Minimum execution time: 3_382_000 picoseconds. + Weight::from_parts(1_286_516, 3635) + // Standard Error: 973 + .saturating_add(Weight::from_parts(1_204_983, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -210,10 +210,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_657_000 picoseconds. - Weight::from_parts(20_858_035, 6266) - // Standard Error: 1 - .saturating_add(Weight::from_parts(383, 0).saturating_mul(c.into())) + // Minimum execution time: 20_685_000 picoseconds. + Weight::from_parts(21_384_758, 6266) + // Standard Error: 0 + .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -224,8 +224,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_848_000 picoseconds. - Weight::from_parts(13_570_000, 6380) + // Minimum execution time: 13_070_000 picoseconds. + Weight::from_parts(13_535_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -239,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_737_000 picoseconds. - Weight::from_parts(48_131_000, 6292) + // Minimum execution time: 47_012_000 picoseconds. + Weight::from_parts(48_423_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -252,8 +252,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_586_000 picoseconds. - Weight::from_parts(59_047_000, 6534) + // Minimum execution time: 56_207_000 picoseconds. + Weight::from_parts(57_924_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -263,8 +263,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_355_000 picoseconds. - Weight::from_parts(13_530_000, 6349) + // Minimum execution time: 12_075_000 picoseconds. + Weight::from_parts(12_708_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -274,8 +274,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_441_000 picoseconds. - Weight::from_parts(2_656_000, 1627) + // Minimum execution time: 2_470_000 picoseconds. + Weight::from_parts(2_653_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -287,8 +287,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_083_000 picoseconds. - Weight::from_parts(12_404_000, 3631) + // Minimum execution time: 11_935_000 picoseconds. + Weight::from_parts(12_443_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -298,8 +298,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_785_000 picoseconds. - Weight::from_parts(5_105_000, 3607) + // Minimum execution time: 4_706_000 picoseconds. + Weight::from_parts(4_937_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -310,8 +310,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_098_000 picoseconds. - Weight::from_parts(6_424_000, 3632) + // Minimum execution time: 5_942_000 picoseconds. + Weight::from_parts(6_224_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -322,8 +322,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_168_000 picoseconds. - Weight::from_parts(6_391_000, 3607) + // Minimum execution time: 6_161_000 picoseconds. + Weight::from_parts(6_476_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -348,10 +348,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 304_486_000 picoseconds. - Weight::from_parts(281_210_403, 9217) - // Standard Error: 71 - .saturating_add(Weight::from_parts(33_632, 0).saturating_mul(c.into())) + // Minimum execution time: 367_780_000 picoseconds. + Weight::from_parts(340_082_130, 9217) + // Standard Error: 86 + .saturating_add(Weight::from_parts(34_319, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -383,14 +383,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 4_111_986_000 picoseconds. - Weight::from_parts(381_653_579, 8740) - // Standard Error: 198 - .saturating_add(Weight::from_parts(70_030, 0).saturating_mul(c.into())) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_669, 0).saturating_mul(i.into())) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_842, 0).saturating_mul(s.into())) + // Minimum execution time: 4_288_324_000 picoseconds. + Weight::from_parts(851_698_267, 8740) + // Standard Error: 115 + .saturating_add(Weight::from_parts(68_501, 0).saturating_mul(c.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_658, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_666, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -420,12 +420,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 1_996_742_000 picoseconds. - Weight::from_parts(2_026_648_000, 8982) - // Standard Error: 25 - .saturating_add(Weight::from_parts(849, 0).saturating_mul(i.into())) - // Standard Error: 25 - .saturating_add(Weight::from_parts(852, 0).saturating_mul(s.into())) + // Minimum execution time: 2_133_178_000 picoseconds. + Weight::from_parts(2_142_604_000, 8982) + // Standard Error: 26 + .saturating_add(Weight::from_parts(887, 0).saturating_mul(i.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(790, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -449,8 +449,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 206_272_000 picoseconds. - Weight::from_parts(217_655_000, 9244) + // Minimum execution time: 211_959_000 picoseconds. + Weight::from_parts(222_187_000, 9244) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -471,10 +471,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 277_885_000 picoseconds. - Weight::from_parts(264_589_547, 6085) - // Standard Error: 73 - .saturating_add(Weight::from_parts(33_704, 0).saturating_mul(c.into())) + // Minimum execution time: 339_757_000 picoseconds. + Weight::from_parts(351_268_427, 6085) + // Standard Error: 54 + .saturating_add(Weight::from_parts(33_161, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -495,10 +495,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 298_636_000 picoseconds. - Weight::from_parts(271_144_699, 6085) - // Standard Error: 100 - .saturating_add(Weight::from_parts(34_478, 0).saturating_mul(c.into())) + // Minimum execution time: 351_862_000 picoseconds. + Weight::from_parts(368_816_737, 6085) + // Standard Error: 49 + .saturating_add(Weight::from_parts(33_163, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -516,8 +516,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 46_040_000 picoseconds. - Weight::from_parts(48_079_000, 3780) + // Minimum execution time: 45_679_000 picoseconds. + Weight::from_parts(46_940_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -533,8 +533,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_375_000 picoseconds. - Weight::from_parts(36_222_000, 8967) + // Minimum execution time: 34_955_000 picoseconds. + Weight::from_parts(36_174_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -543,17 +543,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_802_000 picoseconds. - Weight::from_parts(11_876_953, 0) - // Standard Error: 85 - .saturating_add(Weight::from_parts(70_319, 0).saturating_mul(r.into())) + // Minimum execution time: 9_394_000 picoseconds. + Weight::from_parts(10_159_990, 0) + // Standard Error: 56 + .saturating_add(Weight::from_parts(71_497, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 560_000 picoseconds. - Weight::from_parts(627_000, 0) + // Minimum execution time: 617_000 picoseconds. + Weight::from_parts(662_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -561,8 +561,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_604_000 picoseconds. - Weight::from_parts(6_824_000, 3819) + // Minimum execution time: 6_925_000 picoseconds. + Weight::from_parts(7_060_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -571,44 +571,44 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_697_000 picoseconds. - Weight::from_parts(8_009_000, 3912) + // Minimum execution time: 7_928_000 picoseconds. + Weight::from_parts(8_230_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 783_000 picoseconds. - Weight::from_parts(825_000, 0) + // Minimum execution time: 818_000 picoseconds. + Weight::from_parts(864_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 329_000 picoseconds. - Weight::from_parts(383_000, 0) + // Minimum execution time: 382_000 picoseconds. + Weight::from_parts(411_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 309_000 picoseconds. - Weight::from_parts(357_000, 0) + // Minimum execution time: 350_000 picoseconds. + Weight::from_parts(386_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 554_000 picoseconds. - Weight::from_parts(601_000, 0) + // Minimum execution time: 613_000 picoseconds. + Weight::from_parts(654_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 639_000 picoseconds. - Weight::from_parts(693_000, 0) + // Minimum execution time: 619_000 picoseconds. + Weight::from_parts(680_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -616,37 +616,37 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 4_720_000 picoseconds. - Weight::from_parts(4_902_000, 3605) + // Minimum execution time: 4_800_000 picoseconds. + Weight::from_parts(4_992_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 538_000 picoseconds. - Weight::from_parts(586_000, 0) + // Minimum execution time: 545_000 picoseconds. + Weight::from_parts(596_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 509_000 picoseconds. - Weight::from_parts(571_000, 0) + // Minimum execution time: 571_000 picoseconds. + Weight::from_parts(620_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 535_000 picoseconds. - Weight::from_parts(586_000, 0) + // Minimum execution time: 540_000 picoseconds. + Weight::from_parts(612_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 578_000 picoseconds. - Weight::from_parts(637_000, 0) + // Minimum execution time: 588_000 picoseconds. + Weight::from_parts(638_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -654,8 +654,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_416_000 picoseconds. - Weight::from_parts(4_611_000, 1552) + // Minimum execution time: 4_415_000 picoseconds. + Weight::from_parts(4_703_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -663,20 +663,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 469_000 picoseconds. - Weight::from_parts(513_000, 0) + // Minimum execution time: 484_000 picoseconds. + Weight::from_parts(508_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(294, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 328_000 picoseconds. - Weight::from_parts(345_000, 0) + // Minimum execution time: 390_000 picoseconds. + Weight::from_parts(421_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(400, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -692,8 +692,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 134_982_000 picoseconds. - Weight::from_parts(137_218_000, 85486) + // Minimum execution time: 134_681_000 picoseconds. + Weight::from_parts(136_452_000, 85486) .saturating_add(T::DbWeight::get().reads(36_u64)) .saturating_add(T::DbWeight::get().writes(38_u64)) } @@ -703,8 +703,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_641_000 picoseconds. - Weight::from_parts(3_851_000, 1561) + // Minimum execution time: 3_664_000 picoseconds. + Weight::from_parts(3_887_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -715,12 +715,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_143_000 picoseconds. - Weight::from_parts(4_355_459, 990) - // Standard Error: 7_907 - .saturating_add(Weight::from_parts(2_334_740, 0).saturating_mul(t.into())) - // Standard Error: 2 - .saturating_add(Weight::from_parts(28, 0).saturating_mul(n.into())) + // Minimum execution time: 4_150_000 picoseconds. + Weight::from_parts(4_478_017, 990) + // Standard Error: 6_791 + .saturating_add(Weight::from_parts(2_359_039, 0).saturating_mul(t.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -730,10 +730,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 436_000 picoseconds. - Weight::from_parts(464_000, 0) + // Minimum execution time: 400_000 picoseconds. + Weight::from_parts(424_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -742,10 +742,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 7_574_000 picoseconds. - Weight::from_parts(8_651_771, 245) + // Minimum execution time: 8_012_000 picoseconds. + Weight::from_parts(8_699_107, 245) // Standard Error: 1 - .saturating_add(Weight::from_parts(255, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(351, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -756,10 +756,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_553_000 picoseconds. - Weight::from_parts(9_223_601, 248) + // Minimum execution time: 8_016_000 picoseconds. + Weight::from_parts(9_309_029, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_856_000 picoseconds. - Weight::from_parts(9_180_008, 248) + // Minimum execution time: 7_984_000 picoseconds. + Weight::from_parts(9_206_228, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(89, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -786,10 +786,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_126_000 picoseconds. - Weight::from_parts(8_921_997, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) + // Minimum execution time: 7_083_000 picoseconds. + Weight::from_parts(8_815_611, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -800,10 +800,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_715_000 picoseconds. - Weight::from_parts(7_848_323, 248) + // Minimum execution time: 6_708_000 picoseconds. + Weight::from_parts(8_031_454, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(88, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -814,10 +814,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_318_000 picoseconds. - Weight::from_parts(9_990_344, 248) - // Standard Error: 5 - .saturating_add(Weight::from_parts(634, 0).saturating_mul(n.into())) + // Minimum execution time: 8_273_000 picoseconds. + Weight::from_parts(9_872_829, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -828,8 +828,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 8_900_000 picoseconds. - Weight::from_parts(9_215_000, 3605) + // Minimum execution time: 9_220_000 picoseconds. + Weight::from_parts(9_590_000, 3605) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) @@ -851,14 +851,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `623 + t * (280 ±0)` // Estimated: `6563 + t * (3422 ±0)` - // Minimum execution time: 164_943_000 picoseconds. - Weight::from_parts(164_713_349, 6563) - // Standard Error: 323_916 - .saturating_add(Weight::from_parts(43_689_556, 0).saturating_mul(t.into())) - // Standard Error: 323_916 - .saturating_add(Weight::from_parts(2_727_352, 0).saturating_mul(c.into())) + // Minimum execution time: 171_273_000 picoseconds. + Weight::from_parts(172_294_959, 6563) + // Standard Error: 309_680 + .saturating_add(Weight::from_parts(41_035_739, 0).saturating_mul(t.into())) + // Standard Error: 309_680 + .saturating_add(Weight::from_parts(168_535, 0).saturating_mul(c.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -879,8 +879,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 152_390_000 picoseconds. - Weight::from_parts(165_217_000, 6373) + // Minimum execution time: 155_964_000 picoseconds. + Weight::from_parts(160_485_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -905,14 +905,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `679 + t * (102 ±0)` // Estimated: `6616 + t * (2565 ±1)` - // Minimum execution time: 1_709_241_000 picoseconds. - Weight::from_parts(162_472_084, 6616) - // Standard Error: 9_135_790 - .saturating_add(Weight::from_parts(119_325_657, 0).saturating_mul(t.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_389, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_787, 0).saturating_mul(s.into())) + // Minimum execution time: 1_821_557_000 picoseconds. + Weight::from_parts(85_126_984, 6616) + // Standard Error: 6_661_370 + .saturating_add(Weight::from_parts(175_191_430, 0).saturating_mul(t.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(i.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_811, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -924,64 +924,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 864_000 picoseconds. - Weight::from_parts(914_000, 0) + // Minimum execution time: 834_000 picoseconds. + Weight::from_parts(891_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_152, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_305_000 picoseconds. - Weight::from_parts(1_342_000, 0) + // Minimum execution time: 1_428_000 picoseconds. + Weight::from_parts(1_493_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_322, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_414, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 741_000 picoseconds. - Weight::from_parts(772_000, 0) + // Minimum execution time: 707_000 picoseconds. + Weight::from_parts(774_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 735_000 picoseconds. - Weight::from_parts(759_000, 0) + // Minimum execution time: 763_000 picoseconds. + Weight::from_parts(822_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 44_096_000 picoseconds. - Weight::from_parts(45_203_791, 0) + // Minimum execution time: 45_176_000 picoseconds. + Weight::from_parts(46_961_397, 0) // Standard Error: 7 - .saturating_add(Weight::from_parts(4_670, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(4_692, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_195_000 picoseconds. - Weight::from_parts(49_118_000, 0) + // Minimum execution time: 47_301_000 picoseconds. + Weight::from_parts(48_454_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_001_000 picoseconds. - Weight::from_parts(13_115_000, 0) + // Minimum execution time: 13_031_000 picoseconds. + Weight::from_parts(13_300_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -995,8 +995,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 31_502_000 picoseconds. - Weight::from_parts(32_325_000, 6373) + // Minimum execution time: 31_664_000 picoseconds. + Weight::from_parts(32_906_000, 6373) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1006,8 +1006,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_266_000 picoseconds. - Weight::from_parts(9_628_000, 3820) + // Minimum execution time: 9_364_000 picoseconds. + Weight::from_parts(9_551_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1017,8 +1017,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_125_000 picoseconds. - Weight::from_parts(8_525_000, 3558) + // Minimum execution time: 8_210_000 picoseconds. + Weight::from_parts(8_551_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1026,15 +1026,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 307_000 picoseconds. - Weight::from_parts(344_000, 0) + // Minimum execution time: 355_000 picoseconds. + Weight::from_parts(401_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 338_000 picoseconds. - Weight::from_parts(370_000, 0) + // Minimum execution time: 383_000 picoseconds. + Weight::from_parts(406_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1042,8 +1042,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_892_000 picoseconds. - Weight::from_parts(3_126_000, 1704) + // Minimum execution time: 3_011_000 picoseconds. + Weight::from_parts(3_197_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1051,10 +1051,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 919_000 picoseconds. - Weight::from_parts(514_641, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(15_217, 0).saturating_mul(r.into())) + // Minimum execution time: 945_000 picoseconds. + Weight::from_parts(916_399, 0) + // Standard Error: 14 + .saturating_add(Weight::from_parts(14_957, 0).saturating_mul(r.into())) } } @@ -1066,8 +1066,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_026_000 picoseconds. - Weight::from_parts(2_157_000, 1627) + // Minimum execution time: 2_077_000 picoseconds. + Weight::from_parts(2_153_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1077,10 +1077,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_505_000 picoseconds. - Weight::from_parts(12_905_000, 442) - // Standard Error: 1_429 - .saturating_add(Weight::from_parts(1_167_002, 0).saturating_mul(k.into())) + // Minimum execution time: 12_456_000 picoseconds. + Weight::from_parts(12_730_000, 442) + // Standard Error: 1_183 + .saturating_add(Weight::from_parts(1_096_672, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1094,10 +1094,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_257_000 picoseconds. - Weight::from_parts(8_677_638, 6149) + // Minimum execution time: 8_181_000 picoseconds. + Weight::from_parts(9_113_032, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_160, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_213, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1110,8 +1110,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_053_000 picoseconds. - Weight::from_parts(17_518_000, 6450) + // Minimum execution time: 16_780_000 picoseconds. + Weight::from_parts(17_448_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1124,10 +1124,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_507_000 picoseconds. - Weight::from_parts(2_116_985, 3635) - // Standard Error: 835 - .saturating_add(Weight::from_parts(1_222_371, 0).saturating_mul(k.into())) + // Minimum execution time: 3_382_000 picoseconds. + Weight::from_parts(1_286_516, 3635) + // Standard Error: 973 + .saturating_add(Weight::from_parts(1_204_983, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1148,10 +1148,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `328 + c * (1 ±0)` // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_657_000 picoseconds. - Weight::from_parts(20_858_035, 6266) - // Standard Error: 1 - .saturating_add(Weight::from_parts(383, 0).saturating_mul(c.into())) + // Minimum execution time: 20_685_000 picoseconds. + Weight::from_parts(21_384_758, 6266) + // Standard Error: 0 + .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1162,8 +1162,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_848_000 picoseconds. - Weight::from_parts(13_570_000, 6380) + // Minimum execution time: 13_070_000 picoseconds. + Weight::from_parts(13_535_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1177,8 +1177,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_737_000 picoseconds. - Weight::from_parts(48_131_000, 6292) + // Minimum execution time: 47_012_000 picoseconds. + Weight::from_parts(48_423_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1190,8 +1190,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_586_000 picoseconds. - Weight::from_parts(59_047_000, 6534) + // Minimum execution time: 56_207_000 picoseconds. + Weight::from_parts(57_924_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1201,8 +1201,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_355_000 picoseconds. - Weight::from_parts(13_530_000, 6349) + // Minimum execution time: 12_075_000 picoseconds. + Weight::from_parts(12_708_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1212,8 +1212,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_441_000 picoseconds. - Weight::from_parts(2_656_000, 1627) + // Minimum execution time: 2_470_000 picoseconds. + Weight::from_parts(2_653_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1225,8 +1225,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_083_000 picoseconds. - Weight::from_parts(12_404_000, 3631) + // Minimum execution time: 11_935_000 picoseconds. + Weight::from_parts(12_443_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1236,8 +1236,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_785_000 picoseconds. - Weight::from_parts(5_105_000, 3607) + // Minimum execution time: 4_706_000 picoseconds. + Weight::from_parts(4_937_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1248,8 +1248,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_098_000 picoseconds. - Weight::from_parts(6_424_000, 3632) + // Minimum execution time: 5_942_000 picoseconds. + Weight::from_parts(6_224_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1260,8 +1260,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_168_000 picoseconds. - Weight::from_parts(6_391_000, 3607) + // Minimum execution time: 6_161_000 picoseconds. + Weight::from_parts(6_476_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1286,10 +1286,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804 + c * (1 ±0)` // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 304_486_000 picoseconds. - Weight::from_parts(281_210_403, 9217) - // Standard Error: 71 - .saturating_add(Weight::from_parts(33_632, 0).saturating_mul(c.into())) + // Minimum execution time: 367_780_000 picoseconds. + Weight::from_parts(340_082_130, 9217) + // Standard Error: 86 + .saturating_add(Weight::from_parts(34_319, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1321,14 +1321,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `326` // Estimated: `8740` - // Minimum execution time: 4_111_986_000 picoseconds. - Weight::from_parts(381_653_579, 8740) - // Standard Error: 198 - .saturating_add(Weight::from_parts(70_030, 0).saturating_mul(c.into())) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_669, 0).saturating_mul(i.into())) - // Standard Error: 23 - .saturating_add(Weight::from_parts(1_842, 0).saturating_mul(s.into())) + // Minimum execution time: 4_288_324_000 picoseconds. + Weight::from_parts(851_698_267, 8740) + // Standard Error: 115 + .saturating_add(Weight::from_parts(68_501, 0).saturating_mul(c.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_658, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_666, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1358,12 +1358,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `563` // Estimated: `8982` - // Minimum execution time: 1_996_742_000 picoseconds. - Weight::from_parts(2_026_648_000, 8982) - // Standard Error: 25 - .saturating_add(Weight::from_parts(849, 0).saturating_mul(i.into())) - // Standard Error: 25 - .saturating_add(Weight::from_parts(852, 0).saturating_mul(s.into())) + // Minimum execution time: 2_133_178_000 picoseconds. + Weight::from_parts(2_142_604_000, 8982) + // Standard Error: 26 + .saturating_add(Weight::from_parts(887, 0).saturating_mul(i.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(790, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1387,8 +1387,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `829` // Estimated: `9244` - // Minimum execution time: 206_272_000 picoseconds. - Weight::from_parts(217_655_000, 9244) + // Minimum execution time: 211_959_000 picoseconds. + Weight::from_parts(222_187_000, 9244) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1409,10 +1409,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 277_885_000 picoseconds. - Weight::from_parts(264_589_547, 6085) - // Standard Error: 73 - .saturating_add(Weight::from_parts(33_704, 0).saturating_mul(c.into())) + // Minimum execution time: 339_757_000 picoseconds. + Weight::from_parts(351_268_427, 6085) + // Standard Error: 54 + .saturating_add(Weight::from_parts(33_161, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1433,10 +1433,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `145` // Estimated: `6085` - // Minimum execution time: 298_636_000 picoseconds. - Weight::from_parts(271_144_699, 6085) - // Standard Error: 100 - .saturating_add(Weight::from_parts(34_478, 0).saturating_mul(c.into())) + // Minimum execution time: 351_862_000 picoseconds. + Weight::from_parts(368_816_737, 6085) + // Standard Error: 49 + .saturating_add(Weight::from_parts(33_163, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1454,8 +1454,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 46_040_000 picoseconds. - Weight::from_parts(48_079_000, 3780) + // Minimum execution time: 45_679_000 picoseconds. + Weight::from_parts(46_940_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1471,8 +1471,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_375_000 picoseconds. - Weight::from_parts(36_222_000, 8967) + // Minimum execution time: 34_955_000 picoseconds. + Weight::from_parts(36_174_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1481,17 +1481,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 10_802_000 picoseconds. - Weight::from_parts(11_876_953, 0) - // Standard Error: 85 - .saturating_add(Weight::from_parts(70_319, 0).saturating_mul(r.into())) + // Minimum execution time: 9_394_000 picoseconds. + Weight::from_parts(10_159_990, 0) + // Standard Error: 56 + .saturating_add(Weight::from_parts(71_497, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 560_000 picoseconds. - Weight::from_parts(627_000, 0) + // Minimum execution time: 617_000 picoseconds. + Weight::from_parts(662_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1499,8 +1499,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_604_000 picoseconds. - Weight::from_parts(6_824_000, 3819) + // Minimum execution time: 6_925_000 picoseconds. + Weight::from_parts(7_060_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1509,44 +1509,44 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_697_000 picoseconds. - Weight::from_parts(8_009_000, 3912) + // Minimum execution time: 7_928_000 picoseconds. + Weight::from_parts(8_230_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 783_000 picoseconds. - Weight::from_parts(825_000, 0) + // Minimum execution time: 818_000 picoseconds. + Weight::from_parts(864_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 329_000 picoseconds. - Weight::from_parts(383_000, 0) + // Minimum execution time: 382_000 picoseconds. + Weight::from_parts(411_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 309_000 picoseconds. - Weight::from_parts(357_000, 0) + // Minimum execution time: 350_000 picoseconds. + Weight::from_parts(386_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 554_000 picoseconds. - Weight::from_parts(601_000, 0) + // Minimum execution time: 613_000 picoseconds. + Weight::from_parts(654_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 639_000 picoseconds. - Weight::from_parts(693_000, 0) + // Minimum execution time: 619_000 picoseconds. + Weight::from_parts(680_000, 0) } /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) @@ -1554,37 +1554,37 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 4_720_000 picoseconds. - Weight::from_parts(4_902_000, 3605) + // Minimum execution time: 4_800_000 picoseconds. + Weight::from_parts(4_992_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 538_000 picoseconds. - Weight::from_parts(586_000, 0) + // Minimum execution time: 545_000 picoseconds. + Weight::from_parts(596_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 509_000 picoseconds. - Weight::from_parts(571_000, 0) + // Minimum execution time: 571_000 picoseconds. + Weight::from_parts(620_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 535_000 picoseconds. - Weight::from_parts(586_000, 0) + // Minimum execution time: 540_000 picoseconds. + Weight::from_parts(612_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 578_000 picoseconds. - Weight::from_parts(637_000, 0) + // Minimum execution time: 588_000 picoseconds. + Weight::from_parts(638_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1592,8 +1592,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_416_000 picoseconds. - Weight::from_parts(4_611_000, 1552) + // Minimum execution time: 4_415_000 picoseconds. + Weight::from_parts(4_703_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1601,20 +1601,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 469_000 picoseconds. - Weight::from_parts(513_000, 0) + // Minimum execution time: 484_000 picoseconds. + Weight::from_parts(508_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(294, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 328_000 picoseconds. - Weight::from_parts(345_000, 0) + // Minimum execution time: 390_000 picoseconds. + Weight::from_parts(421_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(400, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1630,8 +1630,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 134_982_000 picoseconds. - Weight::from_parts(137_218_000, 85486) + // Minimum execution time: 134_681_000 picoseconds. + Weight::from_parts(136_452_000, 85486) .saturating_add(RocksDbWeight::get().reads(36_u64)) .saturating_add(RocksDbWeight::get().writes(38_u64)) } @@ -1641,8 +1641,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_641_000 picoseconds. - Weight::from_parts(3_851_000, 1561) + // Minimum execution time: 3_664_000 picoseconds. + Weight::from_parts(3_887_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1653,12 +1653,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_143_000 picoseconds. - Weight::from_parts(4_355_459, 990) - // Standard Error: 7_907 - .saturating_add(Weight::from_parts(2_334_740, 0).saturating_mul(t.into())) - // Standard Error: 2 - .saturating_add(Weight::from_parts(28, 0).saturating_mul(n.into())) + // Minimum execution time: 4_150_000 picoseconds. + Weight::from_parts(4_478_017, 990) + // Standard Error: 6_791 + .saturating_add(Weight::from_parts(2_359_039, 0).saturating_mul(t.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1668,10 +1668,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 436_000 picoseconds. - Weight::from_parts(464_000, 0) + // Minimum execution time: 400_000 picoseconds. + Weight::from_parts(424_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_204, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1680,10 +1680,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` - // Minimum execution time: 7_574_000 picoseconds. - Weight::from_parts(8_651_771, 245) + // Minimum execution time: 8_012_000 picoseconds. + Weight::from_parts(8_699_107, 245) // Standard Error: 1 - .saturating_add(Weight::from_parts(255, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(351, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1694,10 +1694,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_553_000 picoseconds. - Weight::from_parts(9_223_601, 248) + // Minimum execution time: 8_016_000 picoseconds. + Weight::from_parts(9_309_029, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1709,10 +1709,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_856_000 picoseconds. - Weight::from_parts(9_180_008, 248) + // Minimum execution time: 7_984_000 picoseconds. + Weight::from_parts(9_206_228, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(89, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1724,10 +1724,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_126_000 picoseconds. - Weight::from_parts(8_921_997, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) + // Minimum execution time: 7_083_000 picoseconds. + Weight::from_parts(8_815_611, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1738,10 +1738,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_715_000 picoseconds. - Weight::from_parts(7_848_323, 248) + // Minimum execution time: 6_708_000 picoseconds. + Weight::from_parts(8_031_454, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(88, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1752,10 +1752,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_318_000 picoseconds. - Weight::from_parts(9_990_344, 248) - // Standard Error: 5 - .saturating_add(Weight::from_parts(634, 0).saturating_mul(n.into())) + // Minimum execution time: 8_273_000 picoseconds. + Weight::from_parts(9_872_829, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1766,8 +1766,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `3605` - // Minimum execution time: 8_900_000 picoseconds. - Weight::from_parts(9_215_000, 3605) + // Minimum execution time: 9_220_000 picoseconds. + Weight::from_parts(9_590_000, 3605) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) @@ -1789,14 +1789,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `623 + t * (280 ±0)` // Estimated: `6563 + t * (3422 ±0)` - // Minimum execution time: 164_943_000 picoseconds. - Weight::from_parts(164_713_349, 6563) - // Standard Error: 323_916 - .saturating_add(Weight::from_parts(43_689_556, 0).saturating_mul(t.into())) - // Standard Error: 323_916 - .saturating_add(Weight::from_parts(2_727_352, 0).saturating_mul(c.into())) + // Minimum execution time: 171_273_000 picoseconds. + Weight::from_parts(172_294_959, 6563) + // Standard Error: 309_680 + .saturating_add(Weight::from_parts(41_035_739, 0).saturating_mul(t.into())) + // Standard Error: 309_680 + .saturating_add(Weight::from_parts(168_535, 0).saturating_mul(c.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -1817,8 +1817,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 152_390_000 picoseconds. - Weight::from_parts(165_217_000, 6373) + // Minimum execution time: 155_964_000 picoseconds. + Weight::from_parts(160_485_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1843,14 +1843,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `679 + t * (102 ±0)` // Estimated: `6616 + t * (2565 ±1)` - // Minimum execution time: 1_709_241_000 picoseconds. - Weight::from_parts(162_472_084, 6616) - // Standard Error: 9_135_790 - .saturating_add(Weight::from_parts(119_325_657, 0).saturating_mul(t.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_389, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_787, 0).saturating_mul(s.into())) + // Minimum execution time: 1_821_557_000 picoseconds. + Weight::from_parts(85_126_984, 6616) + // Standard Error: 6_661_370 + .saturating_add(Weight::from_parts(175_191_430, 0).saturating_mul(t.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(i.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_811, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -1862,64 +1862,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 864_000 picoseconds. - Weight::from_parts(914_000, 0) + // Minimum execution time: 834_000 picoseconds. + Weight::from_parts(891_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_152, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_305_000 picoseconds. - Weight::from_parts(1_342_000, 0) + // Minimum execution time: 1_428_000 picoseconds. + Weight::from_parts(1_493_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_322, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_414, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 741_000 picoseconds. - Weight::from_parts(772_000, 0) + // Minimum execution time: 707_000 picoseconds. + Weight::from_parts(774_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 735_000 picoseconds. - Weight::from_parts(759_000, 0) + // Minimum execution time: 763_000 picoseconds. + Weight::from_parts(822_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_188, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 44_096_000 picoseconds. - Weight::from_parts(45_203_791, 0) + // Minimum execution time: 45_176_000 picoseconds. + Weight::from_parts(46_961_397, 0) // Standard Error: 7 - .saturating_add(Weight::from_parts(4_670, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(4_692, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_195_000 picoseconds. - Weight::from_parts(49_118_000, 0) + // Minimum execution time: 47_301_000 picoseconds. + Weight::from_parts(48_454_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_001_000 picoseconds. - Weight::from_parts(13_115_000, 0) + // Minimum execution time: 13_031_000 picoseconds. + Weight::from_parts(13_300_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1933,8 +1933,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `433` // Estimated: `6373` - // Minimum execution time: 31_502_000 picoseconds. - Weight::from_parts(32_325_000, 6373) + // Minimum execution time: 31_664_000 picoseconds. + Weight::from_parts(32_906_000, 6373) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1944,8 +1944,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_266_000 picoseconds. - Weight::from_parts(9_628_000, 3820) + // Minimum execution time: 9_364_000 picoseconds. + Weight::from_parts(9_551_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1955,8 +1955,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_125_000 picoseconds. - Weight::from_parts(8_525_000, 3558) + // Minimum execution time: 8_210_000 picoseconds. + Weight::from_parts(8_551_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1964,15 +1964,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 307_000 picoseconds. - Weight::from_parts(344_000, 0) + // Minimum execution time: 355_000 picoseconds. + Weight::from_parts(401_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 338_000 picoseconds. - Weight::from_parts(370_000, 0) + // Minimum execution time: 383_000 picoseconds. + Weight::from_parts(406_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1980,8 +1980,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_892_000 picoseconds. - Weight::from_parts(3_126_000, 1704) + // Minimum execution time: 3_011_000 picoseconds. + Weight::from_parts(3_197_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1989,9 +1989,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 919_000 picoseconds. - Weight::from_parts(514_641, 0) - // Standard Error: 18 - .saturating_add(Weight::from_parts(15_217, 0).saturating_mul(r.into())) + // Minimum execution time: 945_000 picoseconds. + Weight::from_parts(916_399, 0) + // Standard Error: 14 + .saturating_add(Weight::from_parts(14_957, 0).saturating_mul(r.into())) } } From 9ceb5491606543f37d2ef8ee4763484f0d86b163 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 3 May 2024 11:14:12 +0200 Subject: [PATCH 29/75] Undo --- substrate/frame/contracts/README.md | 13 ------------- substrate/frame/contracts/src/benchmarking/mod.rs | 10 +++++----- 2 files changed, 5 insertions(+), 18 deletions(-) diff --git a/substrate/frame/contracts/README.md b/substrate/frame/contracts/README.md index 09dc770300ca..2e70b5c5008b 100644 --- a/substrate/frame/contracts/README.md +++ b/substrate/frame/contracts/README.md @@ -34,19 +34,6 @@ calls are reverted. Assuming correct error handling by contract A, A's other cal One `ref_time` `Weight` is defined as one picosecond of execution time on the runtime's reference machine. -#### Schedule - -The `Schedule` is where, among other things, the cost of every action a contract can do is defined. These costs are derived -from the benchmarks of this pallet. Instead of looking at the raw benchmark results it is advised to look at the `Schedule` -if one wants to manually inspect the performance characteristics. The `Schedule` can be printed like this: - -```sh -RUST_LOG=runtime::contracts=info cargo run --features runtime-benchmarks --bin substrate-node -- benchmark pallet --extra -p pallet_contracts -e print_schedule -``` - -Please note that the `Schedule` will be printed multiple times. This is because we are (ab)using a benchmark to print -the struct. - ### Revert Behaviour Contract call failures are not cascading. When failures occur in a sub-call, they do not "bubble up", and the call will diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 3ef98e9fec3a..fc94cf3285df 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -906,7 +906,7 @@ mod benchmarks { let result; #[block] { - result = BenchEnv::seal1_terminate(&mut runtime, &mut memory, 0) + result = BenchEnv::seal1_terminate(&mut runtime, &mut memory, 0); } assert!(matches!(result, Err(crate::wasm::TrapReason::Termination))); @@ -941,7 +941,7 @@ mod benchmarks { subject_len, // subject_len subject_len + 4, // output_ptr 0, // output_len_ptr - ) + ); } assert_ok!(result); @@ -975,7 +975,7 @@ mod benchmarks { topics_len, // topics_len 4 + topics_len, // data_ptr 0, // data_len - ) + ); } assert_ok!(result); @@ -1574,7 +1574,7 @@ mod benchmarks { result = BenchEnv::seal0_reentrance_count(&mut runtime, &mut memory) } - assert!(result.unwrap() == 0); + assert_eq!(result.unwrap(), 0); } #[benchmark(pov_mode = Measured)] @@ -1589,7 +1589,7 @@ mod benchmarks { result = BenchEnv::seal0_account_reentrance_count(&mut runtime, &mut memory, 0); } - assert!(result.unwrap() == 0); + assert_eq!(result.unwrap(), 0); } #[benchmark(pov_mode = Measured)] From 47b52915766e84e3b71fdf42dcda7ca165b425c3 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 3 May 2024 14:39:07 +0200 Subject: [PATCH 30/75] restore unchecked & lazy compilation --- substrate/frame/contracts/src/wasm/prepare.rs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/substrate/frame/contracts/src/wasm/prepare.rs b/substrate/frame/contracts/src/wasm/prepare.rs index 27dc2abd4331..50eb6d625321 100644 --- a/substrate/frame/contracts/src/wasm/prepare.rs +++ b/substrate/frame/contracts/src/wasm/prepare.rs @@ -33,7 +33,7 @@ use sp_runtime::{traits::Hash, DispatchError}; #[cfg(any(test, feature = "runtime-benchmarks"))] use sp_std::prelude::Vec; use wasmi::{ - core::ValueType as WasmiValueType, CompilationMode, Config as WasmiConfig, Engine, ExternType, + core::ValType as WasmiValueType, CompilationMode, Config as WasmiConfig, Engine, ExternType, Module, StackLimits, }; @@ -72,7 +72,7 @@ impl LoadedModule { determinism: Determinism, stack_limits: Option, loading_mode: LoadingMode, - _compilation_mode: CompilationMode, + compilation_mode: CompilationMode, ) -> Result { // NOTE: wasmi does not support unstable WebAssembly features. The module is implicitly // checked for not having those ones when creating `wasmi::Module` below. @@ -87,10 +87,8 @@ impl LoadedModule { .wasm_extended_const(false) .wasm_saturating_float_to_int(false) .floats(matches!(determinism, Determinism::Relaxed)) - // TODO restore before merging PR - // .compilation_mode(compilation_mode) - .consume_fuel(true) - .compilation_mode(CompilationMode::Eager); + .compilation_mode(compilation_mode) + .consume_fuel(true); if let Some(stack_limits) = stack_limits { config.set_stack_limits(stack_limits); @@ -100,10 +98,8 @@ impl LoadedModule { let module = match loading_mode { LoadingMode::Checked => Module::new(&engine, code), - LoadingMode::Unchecked => Module::new(&engine, code), - // TODO restore before merging PR // Safety: The code has been validated, Therefore we know that it's a valid binary. - // LoadingMode::Unchecked => unsafe { Module::new_unchecked(&engine, code) }, + LoadingMode::Unchecked => unsafe { Module::new_unchecked(&engine, code) }, } .map_err(|err| { log::debug!(target: LOG_TARGET, "Module creation failed: {:?}", err); From 50c3b6610d437312d5b1bf3dc30d064da2f1335f Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 3 May 2024 14:39:34 +0200 Subject: [PATCH 31/75] bump to latest beta --- Cargo.lock | 65 +++++++++++++++++----------- substrate/frame/contracts/Cargo.toml | 2 +- 2 files changed, 41 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02252ef8dbc4..23da4b5a3a3e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -90,9 +90,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.8" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "getrandom 0.2.10", @@ -6524,7 +6524,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", ] [[package]] @@ -6533,7 +6533,7 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "allocator-api2", "serde", ] @@ -7550,9 +7550,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libnghttp2-sys" @@ -10070,7 +10070,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi 0.32.0-beta.7", + "wasmi 0.32.0-beta.13", "wat", ] @@ -11975,7 +11975,7 @@ checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" dependencies = [ "bitcoin_hashes 0.13.0", "rand 0.8.5", - "rand_core 0.5.1", + "rand_core 0.6.4", "serde", "unicode-normalization", ] @@ -16679,7 +16679,7 @@ dependencies = [ name = "sc-consensus-grandpa" version = "0.19.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "array-bytes 6.1.0", "assert_matches", "async-trait", @@ -17064,7 +17064,7 @@ dependencies = [ name = "sc-network-gossip" version = "0.34.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "async-trait", "futures", "futures-timer", @@ -17783,7 +17783,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] @@ -19942,7 +19942,7 @@ dependencies = [ name = "sp-trie" version = "29.0.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "array-bytes 6.1.0", "criterion 0.5.1", "hash-db", @@ -20389,6 +20389,17 @@ dependencies = [ "tracing", ] +[[package]] +name = "string-interner" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" +dependencies = [ + "cfg-if", + "hashbrown 0.14.3", + "serde", +] + [[package]] name = "strobe-rs" version = "0.8.1" @@ -22441,26 +22452,25 @@ checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" dependencies = [ "smallvec", "spin 0.9.8", - "wasmi_arena 0.4.1", + "wasmi_arena", "wasmi_core 0.13.0", "wasmparser-nostd", ] [[package]] name = "wasmi" -version = "0.32.0-beta.7" +version = "0.32.0-beta.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20ae225a373bdfc7412ec39f3b409fe8a540a1907f698f21030a3bc010435ef0" +checksum = "0af4e112c3ba7041f28b5180d42a53c19390f737f2f855813e2f11805dd7d7e6" dependencies = [ "arrayvec 0.7.4", "multi-stash", "num-derive", "num-traits", - "slice-group-by", "smallvec", "spin 0.9.8", - "wasmi_arena 0.5.0", - "wasmi_core 0.16.0", + "wasmi_collections", + "wasmi_core 0.20.0", "wasmparser-nostd", ] @@ -22471,10 +22481,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] -name = "wasmi_arena" -version = "0.5.0" +name = "wasmi_collections" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f686876d8f92a573a9a1e005b78ec1e893158bbdc3ac75a1270384ca86d6c6b" +checksum = "940a5198807d9e7b3317f62dcae2745ba35699720d4600cb79c1cd652c8318b7" +dependencies = [ + "ahash 0.8.11", + "hashbrown 0.14.3", + "string-interner", +] [[package]] name = "wasmi_core" @@ -22490,9 +22505,9 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.16.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02377ef0c323a5e462f033ededb94ddce7ea78cc6312f5f89d936bfa789e90c9" +checksum = "ea739aa7763d2f2b86e6731eaa72193de51cb97a9a5a0d06ac35b181d36d0f54" dependencies = [ "downcast-rs", "libm", @@ -22512,9 +22527,9 @@ dependencies = [ [[package]] name = "wasmparser-nostd" -version = "0.100.1" +version = "0.100.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" +checksum = "d5a015fe95f3504a94bb1462c717aae75253e39b9dd6c3fb1062c934535c64aa" dependencies = [ "indexmap-nostd", ] diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index 0545b8f2e8f9..067e5258568d 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32.0-beta.7", default-features = false } +wasmi = { version = "0.32.0-beta.13", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From 92a27a106ec15b0fd8609f028cf3fed46ead1c53 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 3 May 2024 14:39:59 +0200 Subject: [PATCH 32/75] Update fuel syncing. Wasmi now does not the fuel consumed but the fuel_limit, we need to update the code in charge of syncing the weight to take this into account --- .../frame/contracts/proc-macro/src/lib.rs | 10 +-- .../contracts/src/benchmarking/sandbox.rs | 2 +- substrate/frame/contracts/src/gas.rs | 73 ++++++++++++++----- substrate/frame/contracts/src/wasm/mod.rs | 4 +- 4 files changed, 61 insertions(+), 28 deletions(-) diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index 38232df058f5..50b1cdcf5ee6 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -694,13 +694,13 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { quote! { // Write gas from wasmi into pallet-contracts before entering the host function. let __gas_left_before__ = { - let executor_total = - __caller__.fuel_consumed().expect("Fuel metering is enabled; qed"); + let fuel = + __caller__.get_fuel().expect("Fuel metering is enabled; qed"); __caller__ .data_mut() .ext() .gas_meter_mut() - .sync_from_executor(executor_total) + .sync_from_executor(fuel) .map_err(TrapReason::from) .map_err(#into_host)? }; @@ -716,7 +716,7 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { // Write gas from pallet-contracts into wasmi after leaving the host function. let sync_gas_after = if expand_blocks { quote! { - let fuel_consumed = __caller__ + let fuel = __caller__ .data_mut() .ext() .gas_meter_mut() @@ -726,7 +726,7 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { wasmi::Error::host(err) })?; __caller__ - .consume_fuel(fuel_consumed.into()) + .set_fuel(fuel.into()) .map_err(|_| wasmi::Error::host(TrapReason::from(Error::::OutOfGas)))?; } } else { diff --git a/substrate/frame/contracts/src/benchmarking/sandbox.rs b/substrate/frame/contracts/src/benchmarking/sandbox.rs index 9496c246726d..1bcf0c401f41 100644 --- a/substrate/frame/contracts/src/benchmarking/sandbox.rs +++ b/substrate/frame/contracts/src/benchmarking/sandbox.rs @@ -63,7 +63,7 @@ impl From<&WasmModule> for Sandbox { // Set fuel for wasmi execution. store - .add_fuel(u64::MAX) + .set_fuel(u64::MAX) .expect("We've set up engine to fuel consuming mode; qed"); let entry_point = instance diff --git a/substrate/frame/contracts/src/gas.rs b/substrate/frame/contracts/src/gas.rs index 32fad2140f14..53456a5e4039 100644 --- a/substrate/frame/contracts/src/gas.rs +++ b/substrate/frame/contracts/src/gas.rs @@ -23,7 +23,7 @@ use frame_support::{ DefaultNoBound, }; use sp_core::Get; -use sp_runtime::{traits::Zero, DispatchError, Saturating}; +use sp_runtime::{traits::Zero, DispatchError}; #[cfg(test)] use std::{any::Any, fmt::Debug}; @@ -37,6 +37,50 @@ impl ChargedAmount { } } +/// Meter for syncing the gas between the executor and the gas meter. +#[derive(DefaultNoBound)] +struct ExecutorMeter { + fuel_left: u64, + _phantom: PhantomData, +} + +impl ExecutorMeter { + /// The ratio of the ref_time to the fuel. + fn ref_time_by_fuel() -> u64 { + u64::from(T::Schedule::get().instruction_weights.base) + } + + /// Create a meter with the given fuel limit. + fn new(limit: Weight) -> Self { + Self { + fuel_left: limit.ref_time().saturating_div(Self::ref_time_by_fuel()), + _phantom: PhantomData, + } + } + + /// Set the fuel left to the given value. + /// Returns the amount of Weight consumed since the last update. + fn update(&mut self, fuel_left: u64) -> Weight { + let consumed = self + .fuel_left + .saturating_sub(fuel_left) + .saturating_mul(Self::ref_time_by_fuel()); + self.fuel_left = fuel_left; + Weight::from_parts(consumed, 0) + } + + /// Charge the given amount of gas. + /// Returns the amount of fuel left. + fn charge(&mut self, ref_time: u64) -> Result { + let amount = ref_time + .checked_div(Self::ref_time_by_fuel()) + .ok_or(Error::::InvalidSchedule)?; + + self.fuel_left = self.fuel_left.saturating_sub(amount); + Ok(Syncable(self.fuel_left)) + } +} + /// Used to capture the gas left before entering a host function. /// /// Has to be consumed in order to sync back the gas after leaving the host function. @@ -103,12 +147,9 @@ pub struct GasMeter { /// Due to `adjust_gas` and `nested` the `gas_left` can temporarily dip below its final value. gas_left_lowest: Weight, /// The amount of resources that was consumed by the execution engine. - /// - /// This should be equivalent to `self.gas_consumed().ref_time()` but expressed in whatever - /// unit the execution engine uses to track resource consumption. We have to track it - /// separately in order to avoid the loss of precision that happens when converting from - /// ref_time to the execution engine unit. - executor_consumed: u64, + /// We have to track it separately in order to avoid the loss of precision that happens when + /// converting from ref_time to the execution engine unit. + executor_meter: ExecutorMeter, _phantom: PhantomData, #[cfg(test)] tokens: Vec, @@ -120,7 +161,7 @@ impl GasMeter { gas_limit, gas_left: gas_limit, gas_left_lowest: gas_limit, - executor_consumed: 0, + executor_meter: ExecutorMeter::new(gas_limit), _phantom: PhantomData, #[cfg(test)] tokens: Vec::new(), @@ -204,12 +245,9 @@ impl GasMeter { &mut self, executor_total: u64, ) -> Result { - let chargable_reftime = executor_total - .saturating_sub(self.executor_consumed) - .saturating_mul(u64::from(T::Schedule::get().instruction_weights.base)); - self.executor_consumed = executor_total; + let weight_consumed = self.executor_meter.update(executor_total); self.gas_left - .checked_reduce(Weight::from_parts(chargable_reftime, 0)) + .checked_reduce(weight_consumed) .ok_or_else(|| Error::::OutOfGas)?; Ok(RefTimeLeft(self.gas_left.ref_time())) } @@ -223,13 +261,8 @@ impl GasMeter { /// It is important that this does **not** actually sync with the executor. That has /// to be done by the caller. pub fn sync_to_executor(&mut self, before: RefTimeLeft) -> Result { - let chargable_executor_resource = before - .0 - .saturating_sub(self.gas_left().ref_time()) - .checked_div(u64::from(T::Schedule::get().instruction_weights.base)) - .ok_or(Error::::InvalidSchedule)?; - self.executor_consumed.saturating_accrue(chargable_executor_resource); - Ok(Syncable(chargable_executor_resource)) + let ref_time_consumed = before.0.saturating_sub(self.gas_left().ref_time()); + self.executor_meter.charge(ref_time_consumed) } /// Returns the amount of gas that is required to run the same call. diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index a0cb4d7981d2..25d1e6496147 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -348,7 +348,7 @@ impl WasmBlob { mut store: Store>, result: Result<(), wasmi::Error>, ) -> ExecResult { - let engine_consumed_total = store.fuel_consumed().expect("Fuel metering is enabled; qed"); + let engine_consumed_total = store.get_fuel().expect("Fuel metering is enabled; qed"); let gas_meter = store.data_mut().ext().gas_meter_mut(); let _ = gas_meter.sync_from_executor(engine_consumed_total)?; store.into_data().to_execution_result(result) @@ -422,7 +422,7 @@ impl WasmBlob { .checked_div(T::Schedule::get().instruction_weights.base as u64) .ok_or(Error::::InvalidSchedule)?; store - .add_fuel(fuel_limit) + .set_fuel(fuel_limit) .expect("We've set up engine to fuel consuming mode; qed"); // Start function should already see the correct refcount in case it will be ever inspected. From a75fa25400dd875a36abbe92c4e08c3d0b186058 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 3 May 2024 16:36:07 +0200 Subject: [PATCH 33/75] nit --- substrate/frame/contracts/src/gas.rs | 2 +- substrate/frame/contracts/src/wasm/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/substrate/frame/contracts/src/gas.rs b/substrate/frame/contracts/src/gas.rs index 53456a5e4039..a4dbb0452fd6 100644 --- a/substrate/frame/contracts/src/gas.rs +++ b/substrate/frame/contracts/src/gas.rs @@ -76,7 +76,7 @@ impl ExecutorMeter { .checked_div(Self::ref_time_by_fuel()) .ok_or(Error::::InvalidSchedule)?; - self.fuel_left = self.fuel_left.saturating_sub(amount); + self.fuel_left.checked_sub(amount).ok_or_else(|| Error::::OutOfGas)?; Ok(Syncable(self.fuel_left)) } } diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index 25d1e6496147..7e9f17ca8342 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -348,9 +348,9 @@ impl WasmBlob { mut store: Store>, result: Result<(), wasmi::Error>, ) -> ExecResult { - let engine_consumed_total = store.get_fuel().expect("Fuel metering is enabled; qed"); + let engine_fuel = store.get_fuel().expect("Fuel metering is enabled; qed"); let gas_meter = store.data_mut().ext().gas_meter_mut(); - let _ = gas_meter.sync_from_executor(engine_consumed_total)?; + let _ = gas_meter.sync_from_executor(engine_fuel)?; store.into_data().to_execution_result(result) } From 346643465c169ffbadc63932c58af48ff411bb16 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 3 May 2024 16:38:54 +0200 Subject: [PATCH 34/75] set_fuel can't error --- substrate/frame/contracts/proc-macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/contracts/proc-macro/src/lib.rs b/substrate/frame/contracts/proc-macro/src/lib.rs index 50b1cdcf5ee6..97d7f97110b1 100644 --- a/substrate/frame/contracts/proc-macro/src/lib.rs +++ b/substrate/frame/contracts/proc-macro/src/lib.rs @@ -727,7 +727,7 @@ fn expand_functions(def: &EnvDef, expand_mode: ExpandMode) -> TokenStream2 { })?; __caller__ .set_fuel(fuel.into()) - .map_err(|_| wasmi::Error::host(TrapReason::from(Error::::OutOfGas)))?; + .expect("Fuel metering is enabled; qed"); } } else { quote! { } From f398a9c20801e9af98552e10984ae4ec9b2f383d Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 3 May 2024 17:16:49 +0200 Subject: [PATCH 35/75] nit --- substrate/frame/contracts/src/gas.rs | 44 ++++++++++------------- substrate/frame/contracts/src/schedule.rs | 7 ++++ substrate/frame/contracts/src/wasm/mod.rs | 2 +- 3 files changed, 26 insertions(+), 27 deletions(-) diff --git a/substrate/frame/contracts/src/gas.rs b/substrate/frame/contracts/src/gas.rs index a4dbb0452fd6..f8c97e251f3d 100644 --- a/substrate/frame/contracts/src/gas.rs +++ b/substrate/frame/contracts/src/gas.rs @@ -39,45 +39,40 @@ impl ChargedAmount { /// Meter for syncing the gas between the executor and the gas meter. #[derive(DefaultNoBound)] -struct ExecutorMeter { - fuel_left: u64, +struct EngineMeter { + fuel: u64, _phantom: PhantomData, } -impl ExecutorMeter { - /// The ratio of the ref_time to the fuel. - fn ref_time_by_fuel() -> u64 { - u64::from(T::Schedule::get().instruction_weights.base) - } - +impl EngineMeter { /// Create a meter with the given fuel limit. fn new(limit: Weight) -> Self { Self { - fuel_left: limit.ref_time().saturating_div(Self::ref_time_by_fuel()), + fuel: limit.ref_time().saturating_div(T::Schedule::get().ref_time_by_fuel()), _phantom: PhantomData, } } /// Set the fuel left to the given value. /// Returns the amount of Weight consumed since the last update. - fn update(&mut self, fuel_left: u64) -> Weight { + fn set_fuel(&mut self, fuel: u64) -> Weight { let consumed = self - .fuel_left - .saturating_sub(fuel_left) - .saturating_mul(Self::ref_time_by_fuel()); - self.fuel_left = fuel_left; + .fuel + .saturating_sub(fuel) + .saturating_mul(T::Schedule::get().ref_time_by_fuel()); + self.fuel = fuel; Weight::from_parts(consumed, 0) } /// Charge the given amount of gas. /// Returns the amount of fuel left. - fn charge(&mut self, ref_time: u64) -> Result { + fn charge_ref_time(&mut self, ref_time: u64) -> Result { let amount = ref_time - .checked_div(Self::ref_time_by_fuel()) + .checked_div(T::Schedule::get().ref_time_by_fuel()) .ok_or(Error::::InvalidSchedule)?; - self.fuel_left.checked_sub(amount).ok_or_else(|| Error::::OutOfGas)?; - Ok(Syncable(self.fuel_left)) + self.fuel.checked_sub(amount).ok_or_else(|| Error::::OutOfGas)?; + Ok(Syncable(self.fuel)) } } @@ -149,7 +144,7 @@ pub struct GasMeter { /// The amount of resources that was consumed by the execution engine. /// We have to track it separately in order to avoid the loss of precision that happens when /// converting from ref_time to the execution engine unit. - executor_meter: ExecutorMeter, + engine_meter: EngineMeter, _phantom: PhantomData, #[cfg(test)] tokens: Vec, @@ -161,7 +156,7 @@ impl GasMeter { gas_limit, gas_left: gas_limit, gas_left_lowest: gas_limit, - executor_meter: ExecutorMeter::new(gas_limit), + engine_meter: EngineMeter::new(gas_limit), _phantom: PhantomData, #[cfg(test)] tokens: Vec::new(), @@ -241,11 +236,8 @@ impl GasMeter { /// Needs to be called when entering a host function to update this meter with the /// gas that was tracked by the executor. It tracks the latest seen total value /// in order to compute the delta that needs to be charged. - pub fn sync_from_executor( - &mut self, - executor_total: u64, - ) -> Result { - let weight_consumed = self.executor_meter.update(executor_total); + pub fn sync_from_executor(&mut self, engine_fuel: u64) -> Result { + let weight_consumed = self.engine_meter.set_fuel(engine_fuel); self.gas_left .checked_reduce(weight_consumed) .ok_or_else(|| Error::::OutOfGas)?; @@ -262,7 +254,7 @@ impl GasMeter { /// to be done by the caller. pub fn sync_to_executor(&mut self, before: RefTimeLeft) -> Result { let ref_time_consumed = before.0.saturating_sub(self.gas_left().ref_time()); - self.executor_meter.charge(ref_time_consumed) + self.engine_meter.charge_ref_time(ref_time_consumed) } /// Returns the amount of gas that is required to run the same call. diff --git a/substrate/frame/contracts/src/schedule.rs b/substrate/frame/contracts/src/schedule.rs index a1fbdea4228b..60c9520677eb 100644 --- a/substrate/frame/contracts/src/schedule.rs +++ b/substrate/frame/contracts/src/schedule.rs @@ -62,6 +62,13 @@ pub struct Schedule { pub instruction_weights: InstructionWeights, } +impl Schedule { + /// Returns the reference time per engine fuel. + pub fn ref_time_by_fuel(&self) -> u64 { + self.instruction_weights.base as u64 + } +} + /// Describes the upper limits on various metrics. #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] #[cfg_attr(feature = "runtime-benchmarks", derive(Debug))] diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index 7e9f17ca8342..e5de287de54e 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -419,7 +419,7 @@ impl WasmBlob { .gas_meter_mut() .gas_left() .ref_time() - .checked_div(T::Schedule::get().instruction_weights.base as u64) + .checked_div(T::Schedule::get().ref_time_by_fuel()) .ok_or(Error::::InvalidSchedule)?; store .set_fuel(fuel_limit) From 28acc562a86ad7e952630fa3e65a757f56996cf5 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Wed, 15 May 2024 16:43:51 +0200 Subject: [PATCH 36/75] Add PRdoc --- prdoc/pr_4233.prdoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 prdoc/pr_4233.prdoc diff --git a/prdoc/pr_4233.prdoc b/prdoc/pr_4233.prdoc new file mode 100644 index 000000000000..c156e084146e --- /dev/null +++ b/prdoc/pr_4233.prdoc @@ -0,0 +1,12 @@ +title: "[pallet_contracts] Update Host fn benchnmarks" + +doc: + - audience: Runtime Dev + description: | + Update how the host functions are benchmarked. + Instead of benchnarking a contract that calls the host functions, we now benchmark the host functions directly. + +crates: + - name: pallet-contracts + bump: patch + From 6d87585d72f7020ee92baec22cfecae1fb190bf9 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Wed, 15 May 2024 21:20:35 +0200 Subject: [PATCH 37/75] Fix PRdoc --- prdoc/pr_4233.prdoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prdoc/pr_4233.prdoc b/prdoc/pr_4233.prdoc index c156e084146e..c593fec68a66 100644 --- a/prdoc/pr_4233.prdoc +++ b/prdoc/pr_4233.prdoc @@ -8,5 +8,7 @@ doc: crates: - name: pallet-contracts - bump: patch + bump: minor + - name: pallet-contracts-proc-macro + bump: minor From 0586b4a6c73c66b7bb5489713632bf1779ea6d62 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 16 May 2024 18:48:40 +0200 Subject: [PATCH 38/75] benchmarks: whitelist account_id and contract_info for the root contract --- .../frame/contracts/src/benchmarking/call_builder.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/substrate/frame/contracts/src/benchmarking/call_builder.rs b/substrate/frame/contracts/src/benchmarking/call_builder.rs index 5a0a043b2e7a..5d73d825fca9 100644 --- a/substrate/frame/contracts/src/benchmarking/call_builder.rs +++ b/substrate/frame/contracts/src/benchmarking/call_builder.rs @@ -25,6 +25,7 @@ use crate::{ }; use codec::{Encode, HasCompact}; use core::fmt::Debug; +use frame_benchmarking::benchmarking; use sp_core::Get; use sp_std::prelude::*; @@ -80,6 +81,17 @@ where let storage_meter = Meter::new(&origin, None, 0u32.into()).unwrap(); + // Whitelist contract account, as it is already accounted for in the call benchmark + benchmarking::add_to_whitelist( + frame_system::Account::::hashed_key_for(&contract.account_id).into(), + ); + + // Whitelist the contract's contractInfo as it is already accounted for in the call + // benchmark + benchmarking::add_to_whitelist( + crate::ContractInfoOf::::hashed_key_for(&contract.account_id).into(), + ); + Self { contract, dest, From fbdc565b3ed8f0d91a0013b480dad85b4091dbae Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 16 May 2024 20:35:07 +0200 Subject: [PATCH 39/75] fix --- substrate/bin/node/runtime/src/lib.rs | 26 ++++++-------------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/substrate/bin/node/runtime/src/lib.rs b/substrate/bin/node/runtime/src/lib.rs index 017ee9100f9e..ffda5ad6043d 100644 --- a/substrate/bin/node/runtime/src/lib.rs +++ b/substrate/bin/node/runtime/src/lib.rs @@ -1341,6 +1341,9 @@ impl pallet_tips::Config for Runtime { } parameter_types! { + pub const DepositPerItem: Balance = deposit(1, 0); + pub const DepositPerByte: Balance = deposit(0, 1); + pub const DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); pub Schedule: pallet_contracts::Schedule = Default::default(); pub CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(30); } @@ -1358,9 +1361,9 @@ impl pallet_contracts::Config for Runtime { /// change because that would break already deployed contracts. The `Call` structure itself /// is not allowed to change the indices of existing pallets, too. type CallFilter = Nothing; - type DepositPerItem = dynamic_params::contracts::DepositPerItem; - type DepositPerByte = dynamic_params::contracts::DepositPerByte; - type DefaultDepositLimit = dynamic_params::contracts::DefaultDepositLimit; + type DepositPerItem = DepositPerItem; + type DepositPerByte = DepositPerByte; + type DefaultDepositLimit = DefaultDepositLimit; type CallStack = [pallet_contracts::Frame; 5]; type WeightPrice = pallet_transaction_payment::Pallet; type WeightInfo = pallet_contracts::weights::SubstrateWeight; @@ -2181,19 +2184,6 @@ pub mod dynamic_params { #[codec(index = 1)] pub static ByteDeposit: Balance = 1 * CENTS; } - - #[dynamic_pallet_params] - #[codec(index = 1)] - pub mod contracts { - #[codec(index = 0)] - pub static DepositPerItem: Balance = deposit(1, 0); - - #[codec(index = 1)] - pub static DepositPerByte: Balance = deposit(0, 1); - - #[codec(index = 2)] - pub static DefaultDepositLimit: Balance = deposit(1024, 1024 * 1024); - } } #[cfg(feature = "runtime-benchmarks")] @@ -2219,10 +2209,6 @@ impl EnsureOriginWithArg for DynamicParamet frame_system::ensure_root(origin.clone()).map_err(|_| origin)?; return Ok(()) }, - RuntimeParametersKey::Contracts(_) => { - frame_system::ensure_root(origin.clone()).map_err(|_| origin)?; - return Ok(()) - }, } } From 58517ee67868387112dd5bbc44964935f6b5e50e Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 16 May 2024 20:55:37 +0200 Subject: [PATCH 40/75] PR review merge set_storage_per_new_byte & _old_bytes --- .../frame/contracts/src/benchmarking/mod.rs | 41 +++---------------- substrate/frame/contracts/src/wasm/runtime.rs | 3 +- substrate/frame/contracts/src/weights.rs | 37 ++--------------- 3 files changed, 10 insertions(+), 71 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index fc94cf3285df..6e0270b89f1d 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -1013,9 +1013,12 @@ mod benchmarks { assert_eq!(setup.debug_message().unwrap().len() as u32, i); } + // n: new byte size + // o: old byte size #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_set_storage_per_new_byte( + fn seal_set_storage( n: Linear<0, { T::Schedule::get().limits.payload_len }>, + o: Linear<0, { T::Schedule::get().limits.payload_len }>, ) -> Result<(), BenchmarkError> { let max_key_len = T::MaxStorageKeyLen::get(); let key = Key::::try_from_var(vec![0u8; max_key_len as usize]) @@ -1024,7 +1027,8 @@ mod benchmarks { build_runtime!(runtime, instance, memory: [ key.to_vec(), value.clone(), ]); let info = instance.info()?; - info.write(&key, Some(vec![]), None, false) + + info.write(&key, Some(vec![42u8; o as usize]), None, false) .map_err(|_| "Failed to write to storage during setup.")?; let result; @@ -1045,39 +1049,6 @@ mod benchmarks { Ok(()) } - #[benchmark(skip_meta, pov_mode = Measured)] - fn seal_set_storage_per_old_byte( - n: Linear<0, { T::Schedule::get().limits.payload_len }>, - ) -> Result<(), BenchmarkError> { - let max_key_len = T::MaxStorageKeyLen::get(); - let key = Key::::try_from_var(vec![0u8; max_key_len as usize]) - .map_err(|_| "Key has wrong length")?; - let value = vec![1u8; n as usize]; - - build_runtime!(runtime, instance, memory: [ key.to_vec(), value.clone(), ]); - let info = instance.info()?; - - info.write(&key, Some(vec![42u8; n as usize]), None, false) - .map_err(|_| "Failed to write to storage during setup.")?; - - let result; - #[block] - { - result = BenchEnv::seal2_set_storage( - &mut runtime, - &mut memory, - 0, // key_ptr - max_key_len, // key_len - max_key_len, // value_ptr - 0, // value_len is 0 as testing vs pre-existing value len - ); - } - - assert_ok!(result); - assert!(info.read(&key).unwrap().is_empty()); - Ok(()) - } - #[benchmark(skip_meta, pov_mode = Measured)] fn seal_clear_storage( n: Linear<0, { T::Schedule::get().limits.payload_len }>, diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index 4ea54d9b56db..a993bdf5c236 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -292,8 +292,7 @@ impl Token for RuntimeCosts { DepositEvent { num_topic, len } => T::WeightInfo::seal_deposit_event(num_topic, len), DebugMessage(len) => T::WeightInfo::seal_debug_message(len), SetStorage { new_bytes, old_bytes } => - T::WeightInfo::seal_set_storage_per_new_byte(new_bytes) - .saturating_add(T::WeightInfo::seal_set_storage_per_old_byte(old_bytes)), + T::WeightInfo::seal_set_storage(new_bytes, old_bytes), ClearStorage(len) => T::WeightInfo::seal_clear_storage(len), ContainsStorage(len) => T::WeightInfo::seal_contains_storage(len), GetStorage(len) => T::WeightInfo::seal_get_storage(len), diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 352a84e3bddd..59772ee6eac3 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -93,8 +93,7 @@ pub trait WeightInfo { fn seal_random() -> Weight; fn seal_deposit_event(t: u32, n: u32, ) -> Weight; fn seal_debug_message(i: u32, ) -> Weight; - fn seal_set_storage_per_new_byte(n: u32, ) -> Weight; - fn seal_set_storage_per_old_byte(n: u32, ) -> Weight; + fn seal_set_storage(n: u32, o: u32) -> Weight; fn seal_clear_storage(n: u32, ) -> Weight; fn seal_get_storage(n: u32, ) -> Weight; fn seal_contains_storage(n: u32, ) -> Weight; @@ -738,7 +737,7 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_set_storage_per_new_byte(n: u32, ) -> Weight { + fn seal_set_storage(n: u32, _o: u32) -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` @@ -752,21 +751,6 @@ impl WeightInfo for SubstrateWeight { /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_016_000 picoseconds. - Weight::from_parts(9_309_029, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(1_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` @@ -1676,7 +1660,7 @@ impl WeightInfo for () { /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_set_storage_per_new_byte(n: u32, ) -> Weight { + fn seal_set_storage(n: u32, _o: u32) -> Weight { // Proof Size summary in bytes: // Measured: `245` // Estimated: `245` @@ -1690,21 +1674,6 @@ impl WeightInfo for () { /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_set_storage_per_old_byte(n: u32, ) -> Weight { - // Proof Size summary in bytes: - // Measured: `248 + n * (1 ±0)` - // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_016_000 picoseconds. - Weight::from_parts(9_309_029, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) - .saturating_add(RocksDbWeight::get().reads(1_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) - } - /// Storage: `Skipped::Metadata` (r:0 w:0) - /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// The range of component `n` is `[0, 16384]`. fn seal_clear_storage(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` From 2cc19fb62b42893433bbde20461518c24ec1a6f6 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 16 May 2024 19:57:52 +0000 Subject: [PATCH 41/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 1016 ++++++++++------------ 1 file changed, 478 insertions(+), 538 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 59772ee6eac3..d7ce94298ec0 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-04-29, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-unxyhko3-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -93,7 +93,7 @@ pub trait WeightInfo { fn seal_random() -> Weight; fn seal_deposit_event(t: u32, n: u32, ) -> Weight; fn seal_debug_message(i: u32, ) -> Weight; - fn seal_set_storage(n: u32, o: u32) -> Weight; + fn seal_set_storage(n: u32, o: u32, ) -> Weight; fn seal_clear_storage(n: u32, ) -> Weight; fn seal_get_storage(n: u32, ) -> Weight; fn seal_contains_storage(n: u32, ) -> Weight; @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_077_000 picoseconds. - Weight::from_parts(2_153_000, 1627) + // Minimum execution time: 2_110_000 picoseconds. + Weight::from_parts(2_251_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_456_000 picoseconds. - Weight::from_parts(12_730_000, 442) - // Standard Error: 1_183 - .saturating_add(Weight::from_parts(1_096_672, 0).saturating_mul(k.into())) + // Minimum execution time: 12_154_000 picoseconds. + Weight::from_parts(12_536_000, 442) + // Standard Error: 907 + .saturating_add(Weight::from_parts(1_102_613, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_181_000 picoseconds. - Weight::from_parts(9_113_032, 6149) + // Minimum execution time: 8_232_000 picoseconds. + Weight::from_parts(8_895_498, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_213, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_156, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_780_000 picoseconds. - Weight::from_parts(17_448_000, 6450) + // Minimum execution time: 16_760_000 picoseconds. + Weight::from_parts(17_693_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_382_000 picoseconds. - Weight::from_parts(1_286_516, 3635) - // Standard Error: 973 - .saturating_add(Weight::from_parts(1_204_983, 0).saturating_mul(k.into())) + // Minimum execution time: 3_535_000 picoseconds. + Weight::from_parts(9_084_983, 3635) + // Standard Error: 1_564 + .saturating_add(Weight::from_parts(1_222_023, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -198,8 +198,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0) /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1) /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:0 w:1) @@ -207,13 +205,13 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `328 + c * (1 ±0)` - // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_685_000 picoseconds. - Weight::from_parts(21_384_758, 6266) - // Standard Error: 0 - .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `325 + c * (1 ±0)` + // Estimated: `6263 + c * (1 ±0)` + // Minimum execution time: 16_624_000 picoseconds. + Weight::from_parts(16_323_086, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(397, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) } @@ -223,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 13_070_000 picoseconds. - Weight::from_parts(13_535_000, 6380) + // Minimum execution time: 12_748_000 picoseconds. + Weight::from_parts(13_278_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -238,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_012_000 picoseconds. - Weight::from_parts(48_423_000, 6292) + // Minimum execution time: 46_790_000 picoseconds. + Weight::from_parts(48_318_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -251,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_207_000 picoseconds. - Weight::from_parts(57_924_000, 6534) + // Minimum execution time: 55_028_000 picoseconds. + Weight::from_parts(57_473_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -262,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_075_000 picoseconds. - Weight::from_parts(12_708_000, 6349) + // Minimum execution time: 12_073_000 picoseconds. + Weight::from_parts(12_598_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -274,7 +272,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `142` // Estimated: `1627` // Minimum execution time: 2_470_000 picoseconds. - Weight::from_parts(2_653_000, 1627) + Weight::from_parts(2_587_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -286,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_935_000 picoseconds. - Weight::from_parts(12_443_000, 3631) + // Minimum execution time: 11_986_000 picoseconds. + Weight::from_parts(12_434_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -297,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_706_000 picoseconds. - Weight::from_parts(4_937_000, 3607) + // Minimum execution time: 4_697_000 picoseconds. + Weight::from_parts(5_026_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -309,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_942_000 picoseconds. - Weight::from_parts(6_224_000, 3632) + // Minimum execution time: 5_963_000 picoseconds. + Weight::from_parts(6_245_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -321,15 +319,13 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_161_000 picoseconds. - Weight::from_parts(6_476_000, 3607) + // Minimum execution time: 6_235_000 picoseconds. + Weight::from_parts(6_555_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) @@ -345,20 +341,18 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `804 + c * (1 ±0)` - // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 367_780_000 picoseconds. - Weight::from_parts(340_082_130, 9217) - // Standard Error: 86 - .saturating_add(Weight::from_parts(34_319, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(11_u64)) + // Measured: `801 + c * (1 ±0)` + // Estimated: `6739 + c * (1 ±0)` + // Minimum execution time: 299_356_000 picoseconds. + Weight::from_parts(276_901_396, 6739) + // Standard Error: 78 + .saturating_add(Weight::from_parts(33_208, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:2 w:2) @@ -380,17 +374,17 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `326` - // Estimated: `8740` - // Minimum execution time: 4_288_324_000 picoseconds. - Weight::from_parts(851_698_267, 8740) - // Standard Error: 115 - .saturating_add(Weight::from_parts(68_501, 0).saturating_mul(c.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_658, 0).saturating_mul(i.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_666, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(14_u64)) + // Measured: `323` + // Estimated: `8737` + // Minimum execution time: 3_772_084_000 picoseconds. + Weight::from_parts(753_868_107, 8737) + // Standard Error: 130 + .saturating_add(Weight::from_parts(66_251, 0).saturating_mul(c.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_437, 0).saturating_mul(i.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_542, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) @@ -399,8 +393,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::Nonce` (r:1 w:1) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) @@ -417,21 +409,19 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563` - // Estimated: `8982` - // Minimum execution time: 2_133_178_000 picoseconds. - Weight::from_parts(2_142_604_000, 8982) + // Measured: `560` + // Estimated: `6504` + // Minimum execution time: 1_956_848_000 picoseconds. + Weight::from_parts(1_983_893_000, 6504) // Standard Error: 26 - .saturating_add(Weight::from_parts(887, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(813, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(790, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(Weight::from_parts(787, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) @@ -446,17 +436,15 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `829` - // Estimated: `9244` - // Minimum execution time: 211_959_000 picoseconds. - Weight::from_parts(222_187_000, 9244) - .saturating_add(T::DbWeight::get().reads(11_u64)) + // Measured: `826` + // Estimated: `6766` + // Minimum execution time: 199_924_000 picoseconds. + Weight::from_parts(209_592_000, 6766) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) @@ -468,19 +456,17 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn upload_code_determinism_enforced(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `145` - // Estimated: `6085` - // Minimum execution time: 339_757_000 picoseconds. - Weight::from_parts(351_268_427, 6085) - // Standard Error: 54 - .saturating_add(Weight::from_parts(33_161, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 257_465_000 picoseconds. + Weight::from_parts(288_412_411, 3607) + // Standard Error: 44 + .saturating_add(Weight::from_parts(32_279, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) @@ -492,13 +478,13 @@ impl WeightInfo for SubstrateWeight { /// The range of component `c` is `[0, 125952]`. fn upload_code_determinism_relaxed(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `145` - // Estimated: `6085` - // Minimum execution time: 351_862_000 picoseconds. - Weight::from_parts(368_816_737, 6085) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 281_502_000 picoseconds. + Weight::from_parts(296_208_635, 3607) // Standard Error: 49 - .saturating_add(Weight::from_parts(33_163, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(Weight::from_parts(32_646, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) @@ -515,8 +501,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_679_000 picoseconds. - Weight::from_parts(46_940_000, 3780) + // Minimum execution time: 45_012_000 picoseconds. + Weight::from_parts(46_216_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -532,8 +518,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_955_000 picoseconds. - Weight::from_parts(36_174_000, 8967) + // Minimum execution time: 34_828_000 picoseconds. + Weight::from_parts(35_904_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -542,10 +528,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_394_000 picoseconds. - Weight::from_parts(10_159_990, 0) - // Standard Error: 56 - .saturating_add(Weight::from_parts(71_497, 0).saturating_mul(r.into())) + // Minimum execution time: 9_265_000 picoseconds. + Weight::from_parts(10_458_655, 0) + // Standard Error: 81 + .saturating_add(Weight::from_parts(70_250, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: @@ -560,8 +546,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_925_000 picoseconds. - Weight::from_parts(7_060_000, 3819) + // Minimum execution time: 6_782_000 picoseconds. + Weight::from_parts(7_244_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -570,82 +556,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_928_000 picoseconds. - Weight::from_parts(8_230_000, 3912) + // Minimum execution time: 8_038_000 picoseconds. + Weight::from_parts(8_201_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 818_000 picoseconds. - Weight::from_parts(864_000, 0) + // Minimum execution time: 783_000 picoseconds. + Weight::from_parts(817_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 382_000 picoseconds. - Weight::from_parts(411_000, 0) + // Minimum execution time: 413_000 picoseconds. + Weight::from_parts(430_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 350_000 picoseconds. - Weight::from_parts(386_000, 0) + // Minimum execution time: 351_000 picoseconds. + Weight::from_parts(366_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 613_000 picoseconds. - Weight::from_parts(654_000, 0) + // Minimum execution time: 634_000 picoseconds. + Weight::from_parts(664_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 619_000 picoseconds. - Weight::from_parts(680_000, 0) + // Minimum execution time: 673_000 picoseconds. + Weight::from_parts(713_000, 0) } - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` - // Estimated: `3605` - // Minimum execution time: 4_800_000 picoseconds. - Weight::from_parts(4_992_000, 3605) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Estimated: `0` + // Minimum execution time: 4_847_000 picoseconds. + Weight::from_parts(5_057_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 545_000 picoseconds. - Weight::from_parts(596_000, 0) + // Minimum execution time: 601_000 picoseconds. + Weight::from_parts(649_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 571_000 picoseconds. - Weight::from_parts(620_000, 0) + // Minimum execution time: 567_000 picoseconds. + Weight::from_parts(611_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 540_000 picoseconds. - Weight::from_parts(612_000, 0) + // Minimum execution time: 573_000 picoseconds. + Weight::from_parts(602_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 588_000 picoseconds. - Weight::from_parts(638_000, 0) + // Minimum execution time: 567_000 picoseconds. + Weight::from_parts(618_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -653,8 +636,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_415_000 picoseconds. - Weight::from_parts(4_703_000, 1552) + // Minimum execution time: 4_490_000 picoseconds. + Weight::from_parts(4_765_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -662,20 +645,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 484_000 picoseconds. - Weight::from_parts(508_000, 0) + // Minimum execution time: 483_000 picoseconds. + Weight::from_parts(498_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(292, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 390_000 picoseconds. - Weight::from_parts(421_000, 0) + // Minimum execution time: 371_000 picoseconds. + Weight::from_parts(392_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(400, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -683,18 +666,16 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) fn seal_terminate() -> Weight { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 134_681_000 picoseconds. - Weight::from_parts(136_452_000, 85486) + // Minimum execution time: 136_837_000 picoseconds. + Weight::from_parts(139_490_000, 85486) .saturating_add(T::DbWeight::get().reads(36_u64)) - .saturating_add(T::DbWeight::get().writes(38_u64)) + .saturating_add(T::DbWeight::get().writes(37_u64)) } /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0) /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`) @@ -702,8 +683,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_664_000 picoseconds. - Weight::from_parts(3_887_000, 1561) + // Minimum execution time: 3_738_000 picoseconds. + Weight::from_parts(3_910_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -714,11 +695,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_150_000 picoseconds. - Weight::from_parts(4_478_017, 990) - // Standard Error: 6_791 - .saturating_add(Weight::from_parts(2_359_039, 0).saturating_mul(t.into())) - // Standard Error: 1 + // Minimum execution time: 4_066_000 picoseconds. + Weight::from_parts(4_465_496, 990) + // Standard Error: 7_195 + .saturating_add(Weight::from_parts(2_349_432, 0).saturating_mul(t.into())) + // Standard Error: 2 .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) @@ -729,24 +710,28 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 400_000 picoseconds. - Weight::from_parts(424_000, 0) + // Minimum execution time: 457_000 picoseconds. + Weight::from_parts(483_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_set_storage(n: u32, _o: u32) -> Weight { + /// The range of component `o` is `[0, 16384]`. + fn seal_set_storage(n: u32, o: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `245` - // Minimum execution time: 8_012_000 picoseconds. - Weight::from_parts(8_699_107, 245) + // Measured: `250 + o * (1 ±0)` + // Estimated: `249 + o * (1 ±0)` + // Minimum execution time: 9_784_000 picoseconds. + Weight::from_parts(9_860_281, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(351, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(242, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(62, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -755,10 +740,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_984_000 picoseconds. - Weight::from_parts(9_206_228, 248) + // Minimum execution time: 7_785_000 picoseconds. + Weight::from_parts(9_260_270, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -770,10 +755,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_083_000 picoseconds. - Weight::from_parts(8_815_611, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) + // Minimum execution time: 7_004_000 picoseconds. + Weight::from_parts(8_830_936, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -784,10 +769,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_708_000 picoseconds. - Weight::from_parts(8_031_454, 248) + // Minimum execution time: 6_766_000 picoseconds. + Weight::from_parts(7_955_845, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -798,34 +783,29 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_273_000 picoseconds. - Weight::from_parts(9_872_829, 248) + // Minimum execution time: 8_425_000 picoseconds. + Weight::from_parts(10_053_859, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(605, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn seal_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `140` - // Estimated: `3605` - // Minimum execution time: 9_220_000 picoseconds. - Weight::from_parts(9_590_000, 3605) - .saturating_add(T::DbWeight::get().reads(1_u64)) + // Estimated: `0` + // Minimum execution time: 9_089_000 picoseconds. + Weight::from_parts(9_472_000, 0) } - /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) + /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. @@ -833,21 +813,21 @@ impl WeightInfo for SubstrateWeight { /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `623 + t * (280 ±0)` - // Estimated: `6563 + t * (3422 ±0)` - // Minimum execution time: 171_273_000 picoseconds. - Weight::from_parts(172_294_959, 6563) - // Standard Error: 309_680 - .saturating_add(Weight::from_parts(41_035_739, 0).saturating_mul(t.into())) - // Standard Error: 309_680 - .saturating_add(Weight::from_parts(168_535, 0).saturating_mul(c.into())) + // Measured: `620 + t * (280 ±0)` + // Estimated: `6560 + t * (2182 ±0)` + // Minimum execution time: 158_642_000 picoseconds. + Weight::from_parts(159_204_537, 6560) + // Standard Error: 312_560 + .saturating_add(Weight::from_parts(43_721_097, 0).saturating_mul(t.into())) + // Standard Error: 312_560 + .saturating_add(Weight::from_parts(1_118_806, 0).saturating_mul(c.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(4_u64)) - .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 3422).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(8, 0).saturating_mul(i.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) + .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_parts(0, 2182).saturating_mul(t.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -855,18 +835,14 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) fn seal_delegate_call() -> Weight { // Proof Size summary in bytes: - // Measured: `433` - // Estimated: `6373` - // Minimum execution time: 155_964_000 picoseconds. - Weight::from_parts(160_485_000, 6373) - .saturating_add(T::DbWeight::get().reads(6_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `430` + // Estimated: `6370` + // Minimum execution time: 145_817_000 picoseconds. + Weight::from_parts(152_499_000, 6370) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -874,12 +850,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) + /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `System::Account` (r:3 w:3) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. @@ -887,101 +861,97 @@ impl WeightInfo for SubstrateWeight { /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `679 + t * (102 ±0)` - // Estimated: `6616 + t * (2565 ±1)` - // Minimum execution time: 1_821_557_000 picoseconds. - Weight::from_parts(85_126_984, 6616) - // Standard Error: 6_661_370 - .saturating_add(Weight::from_parts(175_191_430, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_811, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(7_u64)) - .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2565).saturating_mul(t.into())) + // Measured: `676 + t * (102 ±0)` + // Estimated: `6613 + t * (90 ±1)` + // Minimum execution time: 1_654_022_000 picoseconds. + Weight::from_parts(34_582_395, 6613) + // Standard Error: 8_789_446 + .saturating_add(Weight::from_parts(213_375_982, 0).saturating_mul(t.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_362, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_703, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) + .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 834_000 picoseconds. - Weight::from_parts(891_000, 0) + // Minimum execution time: 861_000 picoseconds. + Weight::from_parts(909_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_152, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_050, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_428_000 picoseconds. - Weight::from_parts(1_493_000, 0) + // Minimum execution time: 1_344_000 picoseconds. + Weight::from_parts(1_378_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_414, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_314, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 707_000 picoseconds. - Weight::from_parts(774_000, 0) + // Minimum execution time: 764_000 picoseconds. + Weight::from_parts(777_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_185, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 763_000 picoseconds. - Weight::from_parts(822_000, 0) + // Minimum execution time: 753_000 picoseconds. + Weight::from_parts(767_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 45_176_000 picoseconds. - Weight::from_parts(46_961_397, 0) - // Standard Error: 7 - .saturating_add(Weight::from_parts(4_692, 0).saturating_mul(n.into())) + // Minimum execution time: 43_241_000 picoseconds. + Weight::from_parts(48_851_058, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(4_453, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_301_000 picoseconds. - Weight::from_parts(48_454_000, 0) + // Minimum execution time: 47_013_000 picoseconds. + Weight::from_parts(49_080_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_031_000 picoseconds. - Weight::from_parts(13_300_000, 0) + // Minimum execution time: 12_861_000 picoseconds. + Weight::from_parts(13_006_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn seal_set_code_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `433` - // Estimated: `6373` - // Minimum execution time: 31_664_000 picoseconds. - Weight::from_parts(32_906_000, 6373) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `430` + // Estimated: `6370` + // Minimum execution time: 27_062_000 picoseconds. + Weight::from_parts(27_950_000, 6370) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -990,8 +960,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_364_000 picoseconds. - Weight::from_parts(9_551_000, 3820) + // Minimum execution time: 9_225_000 picoseconds. + Weight::from_parts(9_644_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1001,8 +971,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_210_000 picoseconds. - Weight::from_parts(8_551_000, 3558) + // Minimum execution time: 8_209_000 picoseconds. + Weight::from_parts(8_639_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1010,15 +980,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 355_000 picoseconds. - Weight::from_parts(401_000, 0) + // Minimum execution time: 353_000 picoseconds. + Weight::from_parts(373_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 383_000 picoseconds. - Weight::from_parts(406_000, 0) + // Minimum execution time: 369_000 picoseconds. + Weight::from_parts(395_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1026,8 +996,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 3_011_000 picoseconds. - Weight::from_parts(3_197_000, 1704) + // Minimum execution time: 2_985_000 picoseconds. + Weight::from_parts(3_126_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1035,10 +1005,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 945_000 picoseconds. - Weight::from_parts(916_399, 0) - // Standard Error: 14 - .saturating_add(Weight::from_parts(14_957, 0).saturating_mul(r.into())) + // Minimum execution time: 1_032_000 picoseconds. + Weight::from_parts(762_731, 0) + // Standard Error: 27 + .saturating_add(Weight::from_parts(15_049, 0).saturating_mul(r.into())) } } @@ -1050,8 +1020,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_077_000 picoseconds. - Weight::from_parts(2_153_000, 1627) + // Minimum execution time: 2_110_000 picoseconds. + Weight::from_parts(2_251_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1061,10 +1031,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_456_000 picoseconds. - Weight::from_parts(12_730_000, 442) - // Standard Error: 1_183 - .saturating_add(Weight::from_parts(1_096_672, 0).saturating_mul(k.into())) + // Minimum execution time: 12_154_000 picoseconds. + Weight::from_parts(12_536_000, 442) + // Standard Error: 907 + .saturating_add(Weight::from_parts(1_102_613, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1078,10 +1048,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_181_000 picoseconds. - Weight::from_parts(9_113_032, 6149) + // Minimum execution time: 8_232_000 picoseconds. + Weight::from_parts(8_895_498, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_213, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_156, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1094,8 +1064,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_780_000 picoseconds. - Weight::from_parts(17_448_000, 6450) + // Minimum execution time: 16_760_000 picoseconds. + Weight::from_parts(17_693_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1108,10 +1078,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_382_000 picoseconds. - Weight::from_parts(1_286_516, 3635) - // Standard Error: 973 - .saturating_add(Weight::from_parts(1_204_983, 0).saturating_mul(k.into())) + // Minimum execution time: 3_535_000 picoseconds. + Weight::from_parts(9_084_983, 3635) + // Standard Error: 1_564 + .saturating_add(Weight::from_parts(1_222_023, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1121,8 +1091,6 @@ impl WeightInfo for () { /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553053f13fd319a03c211337c76e0fe776df` (r:2 w:0) /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1) /// Proof: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc553022fca90611ba8b7942f8bdb3b97f6580` (r:1 w:1) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::Account` (r:1 w:0) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:0 w:1) @@ -1130,13 +1098,13 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn v12_migration_step(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `328 + c * (1 ±0)` - // Estimated: `6266 + c * (1 ±0)` - // Minimum execution time: 20_685_000 picoseconds. - Weight::from_parts(21_384_758, 6266) - // Standard Error: 0 - .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `325 + c * (1 ±0)` + // Estimated: `6263 + c * (1 ±0)` + // Minimum execution time: 16_624_000 picoseconds. + Weight::from_parts(16_323_086, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(397, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) } @@ -1146,8 +1114,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 13_070_000 picoseconds. - Weight::from_parts(13_535_000, 6380) + // Minimum execution time: 12_748_000 picoseconds. + Weight::from_parts(13_278_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1161,8 +1129,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_012_000 picoseconds. - Weight::from_parts(48_423_000, 6292) + // Minimum execution time: 46_790_000 picoseconds. + Weight::from_parts(48_318_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1174,8 +1142,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 56_207_000 picoseconds. - Weight::from_parts(57_924_000, 6534) + // Minimum execution time: 55_028_000 picoseconds. + Weight::from_parts(57_473_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1185,8 +1153,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_075_000 picoseconds. - Weight::from_parts(12_708_000, 6349) + // Minimum execution time: 12_073_000 picoseconds. + Weight::from_parts(12_598_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1197,7 +1165,7 @@ impl WeightInfo for () { // Measured: `142` // Estimated: `1627` // Minimum execution time: 2_470_000 picoseconds. - Weight::from_parts(2_653_000, 1627) + Weight::from_parts(2_587_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1209,8 +1177,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_935_000 picoseconds. - Weight::from_parts(12_443_000, 3631) + // Minimum execution time: 11_986_000 picoseconds. + Weight::from_parts(12_434_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1220,8 +1188,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_706_000 picoseconds. - Weight::from_parts(4_937_000, 3607) + // Minimum execution time: 4_697_000 picoseconds. + Weight::from_parts(5_026_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1232,8 +1200,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_942_000 picoseconds. - Weight::from_parts(6_224_000, 3632) + // Minimum execution time: 5_963_000 picoseconds. + Weight::from_parts(6_245_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1244,15 +1212,13 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_161_000 picoseconds. - Weight::from_parts(6_476_000, 3607) + // Minimum execution time: 6_235_000 picoseconds. + Weight::from_parts(6_555_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) @@ -1268,20 +1234,18 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `804 + c * (1 ±0)` - // Estimated: `9217 + c * (1 ±0)` - // Minimum execution time: 367_780_000 picoseconds. - Weight::from_parts(340_082_130, 9217) - // Standard Error: 86 - .saturating_add(Weight::from_parts(34_319, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(11_u64)) + // Measured: `801 + c * (1 ±0)` + // Estimated: `6739 + c * (1 ±0)` + // Minimum execution time: 299_356_000 picoseconds. + Weight::from_parts(276_901_396, 6739) + // Standard Error: 78 + .saturating_add(Weight::from_parts(33_208, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:2 w:2) @@ -1303,17 +1267,17 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `326` - // Estimated: `8740` - // Minimum execution time: 4_288_324_000 picoseconds. - Weight::from_parts(851_698_267, 8740) - // Standard Error: 115 - .saturating_add(Weight::from_parts(68_501, 0).saturating_mul(c.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_658, 0).saturating_mul(i.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_666, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(14_u64)) + // Measured: `323` + // Estimated: `8737` + // Minimum execution time: 3_772_084_000 picoseconds. + Weight::from_parts(753_868_107, 8737) + // Standard Error: 130 + .saturating_add(Weight::from_parts(66_251, 0).saturating_mul(c.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_437, 0).saturating_mul(i.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_542, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) @@ -1322,8 +1286,6 @@ impl WeightInfo for () { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::Nonce` (r:1 w:1) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) @@ -1340,21 +1302,19 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 1048576]`. fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `563` - // Estimated: `8982` - // Minimum execution time: 2_133_178_000 picoseconds. - Weight::from_parts(2_142_604_000, 8982) + // Measured: `560` + // Estimated: `6504` + // Minimum execution time: 1_956_848_000 picoseconds. + Weight::from_parts(1_983_893_000, 6504) // Standard Error: 26 - .saturating_add(Weight::from_parts(887, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(813, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(790, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(13_u64)) + .saturating_add(Weight::from_parts(787, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:3 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) @@ -1369,17 +1329,15 @@ impl WeightInfo for () { /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: - // Measured: `829` - // Estimated: `9244` - // Minimum execution time: 211_959_000 picoseconds. - Weight::from_parts(222_187_000, 9244) - .saturating_add(RocksDbWeight::get().reads(11_u64)) + // Measured: `826` + // Estimated: `6766` + // Minimum execution time: 199_924_000 picoseconds. + Weight::from_parts(209_592_000, 6766) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) @@ -1391,19 +1349,17 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn upload_code_determinism_enforced(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `145` - // Estimated: `6085` - // Minimum execution time: 339_757_000 picoseconds. - Weight::from_parts(351_268_427, 6085) - // Standard Error: 54 - .saturating_add(Weight::from_parts(33_161, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 257_465_000 picoseconds. + Weight::from_parts(288_412_411, 3607) + // Standard Error: 44 + .saturating_add(Weight::from_parts(32_279, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) @@ -1415,13 +1371,13 @@ impl WeightInfo for () { /// The range of component `c` is `[0, 125952]`. fn upload_code_determinism_relaxed(c: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `145` - // Estimated: `6085` - // Minimum execution time: 351_862_000 picoseconds. - Weight::from_parts(368_816_737, 6085) + // Measured: `142` + // Estimated: `3607` + // Minimum execution time: 281_502_000 picoseconds. + Weight::from_parts(296_208_635, 3607) // Standard Error: 49 - .saturating_add(Weight::from_parts(33_163, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(Weight::from_parts(32_646, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) @@ -1438,8 +1394,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_679_000 picoseconds. - Weight::from_parts(46_940_000, 3780) + // Minimum execution time: 45_012_000 picoseconds. + Weight::from_parts(46_216_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1455,8 +1411,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_955_000 picoseconds. - Weight::from_parts(36_174_000, 8967) + // Minimum execution time: 34_828_000 picoseconds. + Weight::from_parts(35_904_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1465,10 +1421,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_394_000 picoseconds. - Weight::from_parts(10_159_990, 0) - // Standard Error: 56 - .saturating_add(Weight::from_parts(71_497, 0).saturating_mul(r.into())) + // Minimum execution time: 9_265_000 picoseconds. + Weight::from_parts(10_458_655, 0) + // Standard Error: 81 + .saturating_add(Weight::from_parts(70_250, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: @@ -1483,8 +1439,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_925_000 picoseconds. - Weight::from_parts(7_060_000, 3819) + // Minimum execution time: 6_782_000 picoseconds. + Weight::from_parts(7_244_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1493,82 +1449,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_928_000 picoseconds. - Weight::from_parts(8_230_000, 3912) + // Minimum execution time: 8_038_000 picoseconds. + Weight::from_parts(8_201_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 818_000 picoseconds. - Weight::from_parts(864_000, 0) + // Minimum execution time: 783_000 picoseconds. + Weight::from_parts(817_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 382_000 picoseconds. - Weight::from_parts(411_000, 0) + // Minimum execution time: 413_000 picoseconds. + Weight::from_parts(430_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 350_000 picoseconds. - Weight::from_parts(386_000, 0) + // Minimum execution time: 351_000 picoseconds. + Weight::from_parts(366_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 613_000 picoseconds. - Weight::from_parts(654_000, 0) + // Minimum execution time: 634_000 picoseconds. + Weight::from_parts(664_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 619_000 picoseconds. - Weight::from_parts(680_000, 0) + // Minimum execution time: 673_000 picoseconds. + Weight::from_parts(713_000, 0) } - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` - // Estimated: `3605` - // Minimum execution time: 4_800_000 picoseconds. - Weight::from_parts(4_992_000, 3605) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Estimated: `0` + // Minimum execution time: 4_847_000 picoseconds. + Weight::from_parts(5_057_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 545_000 picoseconds. - Weight::from_parts(596_000, 0) + // Minimum execution time: 601_000 picoseconds. + Weight::from_parts(649_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 571_000 picoseconds. - Weight::from_parts(620_000, 0) + // Minimum execution time: 567_000 picoseconds. + Weight::from_parts(611_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 540_000 picoseconds. - Weight::from_parts(612_000, 0) + // Minimum execution time: 573_000 picoseconds. + Weight::from_parts(602_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 588_000 picoseconds. - Weight::from_parts(638_000, 0) + // Minimum execution time: 567_000 picoseconds. + Weight::from_parts(618_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1576,8 +1529,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_415_000 picoseconds. - Weight::from_parts(4_703_000, 1552) + // Minimum execution time: 4_490_000 picoseconds. + Weight::from_parts(4_765_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1585,20 +1538,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 484_000 picoseconds. - Weight::from_parts(508_000, 0) + // Minimum execution time: 483_000 picoseconds. + Weight::from_parts(498_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(292, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 390_000 picoseconds. - Weight::from_parts(421_000, 0) + // Minimum execution time: 371_000 picoseconds. + Weight::from_parts(392_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(479, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(400, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1606,18 +1559,16 @@ impl WeightInfo for () { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) fn seal_terminate() -> Weight { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` - // Minimum execution time: 134_681_000 picoseconds. - Weight::from_parts(136_452_000, 85486) + // Minimum execution time: 136_837_000 picoseconds. + Weight::from_parts(139_490_000, 85486) .saturating_add(RocksDbWeight::get().reads(36_u64)) - .saturating_add(RocksDbWeight::get().writes(38_u64)) + .saturating_add(RocksDbWeight::get().writes(37_u64)) } /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0) /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`) @@ -1625,8 +1576,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_664_000 picoseconds. - Weight::from_parts(3_887_000, 1561) + // Minimum execution time: 3_738_000 picoseconds. + Weight::from_parts(3_910_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1637,11 +1588,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_150_000 picoseconds. - Weight::from_parts(4_478_017, 990) - // Standard Error: 6_791 - .saturating_add(Weight::from_parts(2_359_039, 0).saturating_mul(t.into())) - // Standard Error: 1 + // Minimum execution time: 4_066_000 picoseconds. + Weight::from_parts(4_465_496, 990) + // Standard Error: 7_195 + .saturating_add(Weight::from_parts(2_349_432, 0).saturating_mul(t.into())) + // Standard Error: 2 .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) @@ -1652,24 +1603,28 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 400_000 picoseconds. - Weight::from_parts(424_000, 0) + // Minimum execution time: 457_000 picoseconds. + Weight::from_parts(483_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `n` is `[0, 16384]`. - fn seal_set_storage(n: u32, _o: u32) -> Weight { + /// The range of component `o` is `[0, 16384]`. + fn seal_set_storage(n: u32, o: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `245` - // Estimated: `245` - // Minimum execution time: 8_012_000 picoseconds. - Weight::from_parts(8_699_107, 245) + // Measured: `250 + o * (1 ±0)` + // Estimated: `249 + o * (1 ±0)` + // Minimum execution time: 9_784_000 picoseconds. + Weight::from_parts(9_860_281, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(351, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(242, 0).saturating_mul(n.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(62, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) + .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1678,10 +1633,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_984_000 picoseconds. - Weight::from_parts(9_206_228, 248) + // Minimum execution time: 7_785_000 picoseconds. + Weight::from_parts(9_260_270, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1693,10 +1648,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_083_000 picoseconds. - Weight::from_parts(8_815_611, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) + // Minimum execution time: 7_004_000 picoseconds. + Weight::from_parts(8_830_936, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1707,10 +1662,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_708_000 picoseconds. - Weight::from_parts(8_031_454, 248) + // Minimum execution time: 6_766_000 picoseconds. + Weight::from_parts(7_955_845, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(78, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1721,34 +1676,29 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_273_000 picoseconds. - Weight::from_parts(9_872_829, 248) + // Minimum execution time: 8_425_000 picoseconds. + Weight::from_parts(10_053_859, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(605, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } - /// Storage: `System::Account` (r:1 w:0) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) fn seal_transfer() -> Weight { // Proof Size summary in bytes: // Measured: `140` - // Estimated: `3605` - // Minimum execution time: 9_220_000 picoseconds. - Weight::from_parts(9_590_000, 3605) - .saturating_add(RocksDbWeight::get().reads(1_u64)) + // Estimated: `0` + // Minimum execution time: 9_089_000 picoseconds. + Weight::from_parts(9_472_000, 0) } - /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) + /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. @@ -1756,21 +1706,21 @@ impl WeightInfo for () { /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `623 + t * (280 ±0)` - // Estimated: `6563 + t * (3422 ±0)` - // Minimum execution time: 171_273_000 picoseconds. - Weight::from_parts(172_294_959, 6563) - // Standard Error: 309_680 - .saturating_add(Weight::from_parts(41_035_739, 0).saturating_mul(t.into())) - // Standard Error: 309_680 - .saturating_add(Weight::from_parts(168_535, 0).saturating_mul(c.into())) + // Measured: `620 + t * (280 ±0)` + // Estimated: `6560 + t * (2182 ±0)` + // Minimum execution time: 158_642_000 picoseconds. + Weight::from_parts(159_204_537, 6560) + // Standard Error: 312_560 + .saturating_add(Weight::from_parts(43_721_097, 0).saturating_mul(t.into())) + // Standard Error: 312_560 + .saturating_add(Weight::from_parts(1_118_806, 0).saturating_mul(c.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) - .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) - .saturating_add(RocksDbWeight::get().writes(4_u64)) - .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 3422).saturating_mul(t.into())) + .saturating_add(Weight::from_parts(8, 0).saturating_mul(i.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) + .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) + .saturating_add(Weight::from_parts(0, 2182).saturating_mul(t.into())) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:0) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1778,18 +1728,14 @@ impl WeightInfo for () { /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:0 w:1) - /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) fn seal_delegate_call() -> Weight { // Proof Size summary in bytes: - // Measured: `433` - // Estimated: `6373` - // Minimum execution time: 155_964_000 picoseconds. - Weight::from_parts(160_485_000, 6373) - .saturating_add(RocksDbWeight::get().reads(6_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `430` + // Estimated: `6370` + // Minimum execution time: 145_817_000 picoseconds. + Weight::from_parts(152_499_000, 6370) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1797,12 +1743,10 @@ impl WeightInfo for () { /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) - /// Storage: `Contracts::ContractInfoOf` (r:1 w:2) + /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `System::Account` (r:3 w:3) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. @@ -1810,101 +1754,97 @@ impl WeightInfo for () { /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `679 + t * (102 ±0)` - // Estimated: `6616 + t * (2565 ±1)` - // Minimum execution time: 1_821_557_000 picoseconds. - Weight::from_parts(85_126_984, 6616) - // Standard Error: 6_661_370 - .saturating_add(Weight::from_parts(175_191_430, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_539, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_811, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(10_u64)) - .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(RocksDbWeight::get().writes(7_u64)) - .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) - .saturating_add(Weight::from_parts(0, 2565).saturating_mul(t.into())) + // Measured: `676 + t * (102 ±0)` + // Estimated: `6613 + t * (90 ±1)` + // Minimum execution time: 1_654_022_000 picoseconds. + Weight::from_parts(34_582_395, 6613) + // Standard Error: 8_789_446 + .saturating_add(Weight::from_parts(213_375_982, 0).saturating_mul(t.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_362, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_703, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) + .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 834_000 picoseconds. - Weight::from_parts(891_000, 0) + // Minimum execution time: 861_000 picoseconds. + Weight::from_parts(909_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_152, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_050, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_428_000 picoseconds. - Weight::from_parts(1_493_000, 0) + // Minimum execution time: 1_344_000 picoseconds. + Weight::from_parts(1_378_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_414, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_314, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 707_000 picoseconds. - Weight::from_parts(774_000, 0) + // Minimum execution time: 764_000 picoseconds. + Weight::from_parts(777_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_185, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 763_000 picoseconds. - Weight::from_parts(822_000, 0) + // Minimum execution time: 753_000 picoseconds. + Weight::from_parts(767_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 45_176_000 picoseconds. - Weight::from_parts(46_961_397, 0) - // Standard Error: 7 - .saturating_add(Weight::from_parts(4_692, 0).saturating_mul(n.into())) + // Minimum execution time: 43_241_000 picoseconds. + Weight::from_parts(48_851_058, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(4_453, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_301_000 picoseconds. - Weight::from_parts(48_454_000, 0) + // Minimum execution time: 47_013_000 picoseconds. + Weight::from_parts(49_080_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_031_000 picoseconds. - Weight::from_parts(13_300_000, 0) + // Minimum execution time: 12_861_000 picoseconds. + Weight::from_parts(13_006_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `Parameters::Parameters` (r:2 w:0) - /// Proof: `Parameters::Parameters` (`max_values`: None, `max_size`: Some(36), added: 2511, mode: `Measured`) /// Storage: `System::EventTopics` (r:2 w:2) /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn seal_set_code_hash() -> Weight { // Proof Size summary in bytes: - // Measured: `433` - // Estimated: `6373` - // Minimum execution time: 31_664_000 picoseconds. - Weight::from_parts(32_906_000, 6373) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `430` + // Estimated: `6370` + // Minimum execution time: 27_062_000 picoseconds. + Weight::from_parts(27_950_000, 6370) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1913,8 +1853,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_364_000 picoseconds. - Weight::from_parts(9_551_000, 3820) + // Minimum execution time: 9_225_000 picoseconds. + Weight::from_parts(9_644_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1924,8 +1864,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_210_000 picoseconds. - Weight::from_parts(8_551_000, 3558) + // Minimum execution time: 8_209_000 picoseconds. + Weight::from_parts(8_639_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1933,15 +1873,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 355_000 picoseconds. - Weight::from_parts(401_000, 0) + // Minimum execution time: 353_000 picoseconds. + Weight::from_parts(373_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 383_000 picoseconds. - Weight::from_parts(406_000, 0) + // Minimum execution time: 369_000 picoseconds. + Weight::from_parts(395_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1949,8 +1889,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 3_011_000 picoseconds. - Weight::from_parts(3_197_000, 1704) + // Minimum execution time: 2_985_000 picoseconds. + Weight::from_parts(3_126_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1958,9 +1898,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 945_000 picoseconds. - Weight::from_parts(916_399, 0) - // Standard Error: 14 - .saturating_add(Weight::from_parts(14_957, 0).saturating_mul(r.into())) + // Minimum execution time: 1_032_000 picoseconds. + Weight::from_parts(762_731, 0) + // Standard Error: 27 + .saturating_add(Weight::from_parts(15_049, 0).saturating_mul(r.into())) } } From a11e74bc575e4c1c8096f78d1cba2b97e753a4ed Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 17 May 2024 09:18:14 +0200 Subject: [PATCH 42/75] Fix terminate --- substrate/frame/contracts/src/benchmarking/mod.rs | 8 ++++---- substrate/frame/contracts/src/exec.rs | 9 +++++++++ substrate/frame/contracts/src/wasm/mod.rs | 3 +++ substrate/frame/contracts/src/wasm/runtime.rs | 10 ++++++---- substrate/frame/contracts/src/weights.rs | 6 +++--- 5 files changed, 25 insertions(+), 11 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 6e0270b89f1d..e930bad1dcce 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -886,9 +886,10 @@ mod benchmarks { )); } - // The same argument as for `seal_return` is true here. #[benchmark(pov_mode = Measured)] - fn seal_terminate() -> Result<(), BenchmarkError> { + fn seal_terminate( + n: Linear<0, { T::MaxDelegateDependencies::get() }>, + ) -> Result<(), BenchmarkError> { let beneficiary = account::("beneficiary", 0, 0); let caller = whitelisted_caller(); @@ -896,8 +897,7 @@ mod benchmarks { T::Currency::set_balance(&caller, caller_funding::()); - // Maximize the delegate_dependencies to account for the worst-case scenario. - (0..T::MaxDelegateDependencies::get()).for_each(|i| { + (0..n).for_each(|i| { let new_code = WasmModule::::dummy_with_bytes(65 + i); Contracts::::store_code_raw(new_code.code, caller.clone()).unwrap(); runtime.ext().lock_delegate_dependency(new_code.hash).unwrap(); diff --git a/substrate/frame/contracts/src/exec.rs b/substrate/frame/contracts/src/exec.rs index 061d2fc3a1d9..94f11b57fe47 100644 --- a/substrate/frame/contracts/src/exec.rs +++ b/substrate/frame/contracts/src/exec.rs @@ -365,6 +365,11 @@ pub trait Ext: sealing::Sealed { &mut self, code_hash: &CodeHash, ) -> Result<(), DispatchError>; + + /// Returns the number of locked delegate dependencies. + /// + /// Note: Requires &mut self to access the contract info. + fn locked_delegate_dependencies_count(&mut self) -> usize; } /// Describes the different functions that can be exported by an [`Executable`]. @@ -1611,6 +1616,10 @@ where .charge_deposit(frame.account_id.clone(), StorageDeposit::Refund(deposit)); Ok(()) } + + fn locked_delegate_dependencies_count(&mut self) -> usize { + self.top_frame_mut().contract_info().delegate_dependencies_count() + } } mod sealing { diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index 380bd366f72a..b578de284d15 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -807,6 +807,9 @@ mod tests { self.delegate_dependencies.borrow_mut().remove(code); Ok(()) } + fn locked_delegate_dependencies_count(&mut self) -> usize { + self.delegate_dependencies.borrow().len() + } } /// Execute the supplied code. diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index a993bdf5c236..f2468e05ff63 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -180,8 +180,8 @@ pub enum RuntimeCosts { Now, /// Weight of calling `seal_weight_to_fee`. WeightToFee, - /// Weight of calling `seal_terminate`. - Terminate, + /// Weight of calling `seal_terminate`, passing the number of locked dependencies. + Terminate(u32), /// Weight of calling `seal_random`. It includes the weight for copying the subject. Random, /// Weight of calling `seal_deposit_event` with the given number of topics and event size. @@ -287,7 +287,7 @@ impl Token for RuntimeCosts { BlockNumber => T::WeightInfo::seal_block_number(), Now => T::WeightInfo::seal_now(), WeightToFee => T::WeightInfo::seal_weight_to_fee(), - Terminate => T::WeightInfo::seal_terminate(), + Terminate(locked_dependencies) => T::WeightInfo::seal_terminate(locked_dependencies), Random => T::WeightInfo::seal_random(), DepositEvent { num_topic, len } => T::WeightInfo::seal_deposit_event(num_topic, len), DebugMessage(len) => T::WeightInfo::seal_debug_message(len), @@ -927,7 +927,9 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> { } fn terminate(&mut self, memory: &[u8], beneficiary_ptr: u32) -> Result<(), TrapReason> { - self.charge_gas(RuntimeCosts::Terminate)?; + let count = self.ext.locked_delegate_dependencies_count() as _; + self.charge_gas(RuntimeCosts::Terminate(count))?; + let beneficiary: <::T as frame_system::Config>::AccountId = self.read_sandbox_memory_as(memory, beneficiary_ptr)?; self.ext.terminate(&beneficiary)?; diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index d7ce94298ec0..a2c739352186 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -89,7 +89,7 @@ pub trait WeightInfo { fn seal_weight_to_fee() -> Weight; fn seal_input(n: u32, ) -> Weight; fn seal_return(n: u32, ) -> Weight; - fn seal_terminate() -> Weight; + fn seal_terminate(n: u32) -> Weight; fn seal_random() -> Weight; fn seal_deposit_event(t: u32, n: u32, ) -> Weight; fn seal_debug_message(i: u32, ) -> Weight; @@ -668,7 +668,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) - fn seal_terminate() -> Weight { + fn seal_terminate(_n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` @@ -1561,7 +1561,7 @@ impl WeightInfo for () { /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) - fn seal_terminate() -> Weight { + fn seal_terminate(_n: u32) -> Weight { // Proof Size summary in bytes: // Measured: `2821` // Estimated: `85486` From b806834bc4bcc91dd9f7ebff63153323ffada3a6 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 17 May 2024 08:02:48 +0000 Subject: [PATCH 43/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 796 ++++++++++++----------- 1 file changed, 404 insertions(+), 392 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index a2c739352186..638883eae9d3 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-16, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-unxyhko3-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -89,7 +89,7 @@ pub trait WeightInfo { fn seal_weight_to_fee() -> Weight; fn seal_input(n: u32, ) -> Weight; fn seal_return(n: u32, ) -> Weight; - fn seal_terminate(n: u32) -> Weight; + fn seal_terminate(n: u32, ) -> Weight; fn seal_random() -> Weight; fn seal_deposit_event(t: u32, n: u32, ) -> Weight; fn seal_debug_message(i: u32, ) -> Weight; @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_110_000 picoseconds. - Weight::from_parts(2_251_000, 1627) + // Minimum execution time: 2_094_000 picoseconds. + Weight::from_parts(2_238_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_154_000 picoseconds. - Weight::from_parts(12_536_000, 442) - // Standard Error: 907 - .saturating_add(Weight::from_parts(1_102_613, 0).saturating_mul(k.into())) + // Minimum execution time: 12_226_000 picoseconds. + Weight::from_parts(12_508_000, 442) + // Standard Error: 1_454 + .saturating_add(Weight::from_parts(1_124_285, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_232_000 picoseconds. - Weight::from_parts(8_895_498, 6149) + // Minimum execution time: 8_644_000 picoseconds. + Weight::from_parts(9_027_360, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_156, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_760_000 picoseconds. - Weight::from_parts(17_693_000, 6450) + // Minimum execution time: 16_756_000 picoseconds. + Weight::from_parts(17_643_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_535_000 picoseconds. - Weight::from_parts(9_084_983, 3635) - // Standard Error: 1_564 - .saturating_add(Weight::from_parts(1_222_023, 0).saturating_mul(k.into())) + // Minimum execution time: 3_444_000 picoseconds. + Weight::from_parts(3_583_000, 3635) + // Standard Error: 777 + .saturating_add(Weight::from_parts(1_222_839, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_624_000 picoseconds. - Weight::from_parts(16_323_086, 6263) - // Standard Error: 1 - .saturating_add(Weight::from_parts(397, 0).saturating_mul(c.into())) + // Minimum execution time: 16_786_000 picoseconds. + Weight::from_parts(17_044_074, 6263) + // Standard Error: 0 + .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_748_000 picoseconds. - Weight::from_parts(13_278_000, 6380) + // Minimum execution time: 12_921_000 picoseconds. + Weight::from_parts(13_391_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_790_000 picoseconds. - Weight::from_parts(48_318_000, 6292) + // Minimum execution time: 47_556_000 picoseconds. + Weight::from_parts(49_386_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_028_000 picoseconds. - Weight::from_parts(57_473_000, 6534) + // Minimum execution time: 54_956_000 picoseconds. + Weight::from_parts(57_387_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_073_000 picoseconds. - Weight::from_parts(12_598_000, 6349) + // Minimum execution time: 12_196_000 picoseconds. + Weight::from_parts(12_747_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_470_000 picoseconds. - Weight::from_parts(2_587_000, 1627) + // Minimum execution time: 2_500_000 picoseconds. + Weight::from_parts(2_572_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_986_000 picoseconds. - Weight::from_parts(12_434_000, 3631) + // Minimum execution time: 12_297_000 picoseconds. + Weight::from_parts(12_552_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_697_000 picoseconds. - Weight::from_parts(5_026_000, 3607) + // Minimum execution time: 4_745_000 picoseconds. + Weight::from_parts(5_049_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_963_000 picoseconds. - Weight::from_parts(6_245_000, 3632) + // Minimum execution time: 6_293_000 picoseconds. + Weight::from_parts(6_465_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_235_000 picoseconds. - Weight::from_parts(6_555_000, 3607) + // Minimum execution time: 6_378_000 picoseconds. + Weight::from_parts(6_874_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -343,10 +343,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `6739 + c * (1 ±0)` - // Minimum execution time: 299_356_000 picoseconds. - Weight::from_parts(276_901_396, 6739) - // Standard Error: 78 - .saturating_add(Weight::from_parts(33_208, 0).saturating_mul(c.into())) + // Minimum execution time: 362_366_000 picoseconds. + Weight::from_parts(353_347_662, 6739) + // Standard Error: 129 + .saturating_add(Weight::from_parts(34_964, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -376,14 +376,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `8737` - // Minimum execution time: 3_772_084_000 picoseconds. - Weight::from_parts(753_868_107, 8737) - // Standard Error: 130 - .saturating_add(Weight::from_parts(66_251, 0).saturating_mul(c.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_437, 0).saturating_mul(i.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_542, 0).saturating_mul(s.into())) + // Minimum execution time: 4_266_902_000 picoseconds. + Weight::from_parts(914_416_909, 8737) + // Standard Error: 123 + .saturating_add(Weight::from_parts(67_482, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_659, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_619, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -411,12 +411,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `6504` - // Minimum execution time: 1_956_848_000 picoseconds. - Weight::from_parts(1_983_893_000, 6504) + // Minimum execution time: 2_101_015_000 picoseconds. + Weight::from_parts(2_123_733_000, 6504) // Standard Error: 26 - .saturating_add(Weight::from_parts(813, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(895, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(787, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(805, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -438,8 +438,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `6766` - // Minimum execution time: 199_924_000 picoseconds. - Weight::from_parts(209_592_000, 6766) + // Minimum execution time: 205_788_000 picoseconds. + Weight::from_parts(210_371_000, 6766) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -458,10 +458,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 257_465_000 picoseconds. - Weight::from_parts(288_412_411, 3607) - // Standard Error: 44 - .saturating_add(Weight::from_parts(32_279, 0).saturating_mul(c.into())) + // Minimum execution time: 334_087_000 picoseconds. + Weight::from_parts(347_294_648, 3607) + // Standard Error: 75 + .saturating_add(Weight::from_parts(33_819, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -480,10 +480,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 281_502_000 picoseconds. - Weight::from_parts(296_208_635, 3607) - // Standard Error: 49 - .saturating_add(Weight::from_parts(32_646, 0).saturating_mul(c.into())) + // Minimum execution time: 348_078_000 picoseconds. + Weight::from_parts(393_851_501, 3607) + // Standard Error: 62 + .saturating_add(Weight::from_parts(33_635, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -501,8 +501,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_012_000 picoseconds. - Weight::from_parts(46_216_000, 3780) + // Minimum execution time: 45_294_000 picoseconds. + Weight::from_parts(46_148_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -518,8 +518,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_828_000 picoseconds. - Weight::from_parts(35_904_000, 8967) + // Minimum execution time: 34_298_000 picoseconds. + Weight::from_parts(35_728_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -528,17 +528,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_265_000 picoseconds. - Weight::from_parts(10_458_655, 0) - // Standard Error: 81 - .saturating_add(Weight::from_parts(70_250, 0).saturating_mul(r.into())) + // Minimum execution time: 9_347_000 picoseconds. + Weight::from_parts(10_917_661, 0) + // Standard Error: 142 + .saturating_add(Weight::from_parts(70_824, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 617_000 picoseconds. - Weight::from_parts(662_000, 0) + // Minimum execution time: 600_000 picoseconds. + Weight::from_parts(650_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -546,8 +546,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_782_000 picoseconds. - Weight::from_parts(7_244_000, 3819) + // Minimum execution time: 6_710_000 picoseconds. + Weight::from_parts(7_005_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -556,79 +556,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 8_038_000 picoseconds. - Weight::from_parts(8_201_000, 3912) + // Minimum execution time: 8_112_000 picoseconds. + Weight::from_parts(8_360_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 783_000 picoseconds. - Weight::from_parts(817_000, 0) + // Minimum execution time: 668_000 picoseconds. + Weight::from_parts(761_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 413_000 picoseconds. - Weight::from_parts(430_000, 0) + // Minimum execution time: 385_000 picoseconds. + Weight::from_parts(425_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 351_000 picoseconds. - Weight::from_parts(366_000, 0) + // Minimum execution time: 312_000 picoseconds. + Weight::from_parts(354_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 634_000 picoseconds. - Weight::from_parts(664_000, 0) + // Minimum execution time: 558_000 picoseconds. + Weight::from_parts(607_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 673_000 picoseconds. - Weight::from_parts(713_000, 0) + // Minimum execution time: 661_000 picoseconds. + Weight::from_parts(706_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_847_000 picoseconds. - Weight::from_parts(5_057_000, 0) + // Minimum execution time: 4_693_000 picoseconds. + Weight::from_parts(4_872_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 601_000 picoseconds. - Weight::from_parts(649_000, 0) + // Minimum execution time: 532_000 picoseconds. + Weight::from_parts(583_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 567_000 picoseconds. - Weight::from_parts(611_000, 0) + // Minimum execution time: 529_000 picoseconds. + Weight::from_parts(570_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 573_000 picoseconds. - Weight::from_parts(602_000, 0) + // Minimum execution time: 557_000 picoseconds. + Weight::from_parts(597_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 567_000 picoseconds. - Weight::from_parts(618_000, 0) + // Minimum execution time: 551_000 picoseconds. + Weight::from_parts(588_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -636,8 +636,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_490_000 picoseconds. - Weight::from_parts(4_765_000, 1552) + // Minimum execution time: 4_284_000 picoseconds. + Weight::from_parts(4_564_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -645,20 +645,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 483_000 picoseconds. - Weight::from_parts(498_000, 0) + // Minimum execution time: 452_000 picoseconds. + Weight::from_parts(480_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(292, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 371_000 picoseconds. - Weight::from_parts(392_000, 0) + // Minimum execution time: 322_000 picoseconds. + Weight::from_parts(349_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(400, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -668,14 +668,20 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) - fn seal_terminate(_n: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `2821` - // Estimated: `85486` - // Minimum execution time: 136_837_000 picoseconds. - Weight::from_parts(139_490_000, 85486) - .saturating_add(T::DbWeight::get().reads(36_u64)) - .saturating_add(T::DbWeight::get().writes(37_u64)) + /// The range of component `n` is `[0, 32]`. + fn seal_terminate(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `319 + n * (78 ±0)` + // Estimated: `6259 + n * (2553 ±0)` + // Minimum execution time: 21_002_000 picoseconds. + Weight::from_parts(22_620_068, 6259) + // Standard Error: 6_761 + .saturating_add(Weight::from_parts(3_676_180, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2553).saturating_mul(n.into())) } /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0) /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`) @@ -683,8 +689,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_738_000 picoseconds. - Weight::from_parts(3_910_000, 1561) + // Minimum execution time: 3_622_000 picoseconds. + Weight::from_parts(3_809_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -695,12 +701,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_066_000 picoseconds. - Weight::from_parts(4_465_496, 990) - // Standard Error: 7_195 - .saturating_add(Weight::from_parts(2_349_432, 0).saturating_mul(t.into())) + // Minimum execution time: 4_029_000 picoseconds. + Weight::from_parts(4_444_994, 990) + // Standard Error: 7_216 + .saturating_add(Weight::from_parts(2_404_769, 0).saturating_mul(t.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(16, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -710,10 +716,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 457_000 picoseconds. - Weight::from_parts(483_000, 0) + // Minimum execution time: 407_000 picoseconds. + Weight::from_parts(430_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -723,12 +729,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_784_000 picoseconds. - Weight::from_parts(9_860_281, 249) + // Minimum execution time: 9_907_000 picoseconds. + Weight::from_parts(9_926_136, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(242, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(62, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -740,10 +746,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_785_000 picoseconds. - Weight::from_parts(9_260_270, 248) + // Minimum execution time: 8_288_000 picoseconds. + Weight::from_parts(9_347_243, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -755,10 +761,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_004_000 picoseconds. - Weight::from_parts(8_830_936, 248) + // Minimum execution time: 7_180_000 picoseconds. + Weight::from_parts(9_058_388, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -769,10 +775,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_766_000 picoseconds. - Weight::from_parts(7_955_845, 248) + // Minimum execution time: 6_868_000 picoseconds. + Weight::from_parts(8_056_732, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -783,10 +789,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_425_000 picoseconds. - Weight::from_parts(10_053_859, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(605, 0).saturating_mul(n.into())) + // Minimum execution time: 8_601_000 picoseconds. + Weight::from_parts(10_124_367, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -795,8 +801,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_089_000 picoseconds. - Weight::from_parts(9_472_000, 0) + // Minimum execution time: 9_242_000 picoseconds. + Weight::from_parts(9_557_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -815,14 +821,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `6560 + t * (2182 ±0)` - // Minimum execution time: 158_642_000 picoseconds. - Weight::from_parts(159_204_537, 6560) - // Standard Error: 312_560 - .saturating_add(Weight::from_parts(43_721_097, 0).saturating_mul(t.into())) - // Standard Error: 312_560 - .saturating_add(Weight::from_parts(1_118_806, 0).saturating_mul(c.into())) + // Minimum execution time: 161_170_000 picoseconds. + Weight::from_parts(165_269_982, 6560) + // Standard Error: 327_855 + .saturating_add(Weight::from_parts(42_589_388, 0).saturating_mul(t.into())) + // Standard Error: 327_855 + .saturating_add(Weight::from_parts(1_482_035, 0).saturating_mul(c.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(8, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -839,8 +845,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `6370` - // Minimum execution time: 145_817_000 picoseconds. - Weight::from_parts(152_499_000, 6370) + // Minimum execution time: 149_765_000 picoseconds. + Weight::from_parts(159_745_000, 6370) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -863,14 +869,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `676 + t * (102 ±0)` // Estimated: `6613 + t * (90 ±1)` - // Minimum execution time: 1_654_022_000 picoseconds. - Weight::from_parts(34_582_395, 6613) - // Standard Error: 8_789_446 - .saturating_add(Weight::from_parts(213_375_982, 0).saturating_mul(t.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_362, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_703, 0).saturating_mul(s.into())) + // Minimum execution time: 1_807_196_000 picoseconds. + Weight::from_parts(83_888_679, 6613) + // Standard Error: 6_713_052 + .saturating_add(Weight::from_parts(184_318_405, 0).saturating_mul(t.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_532, 0).saturating_mul(i.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_796, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) @@ -880,64 +886,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 861_000 picoseconds. - Weight::from_parts(909_000, 0) + // Minimum execution time: 850_000 picoseconds. + Weight::from_parts(927_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_050, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_146, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_344_000 picoseconds. - Weight::from_parts(1_378_000, 0) + // Minimum execution time: 1_318_000 picoseconds. + Weight::from_parts(1_404_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_314, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_405, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 764_000 picoseconds. - Weight::from_parts(777_000, 0) + // Minimum execution time: 709_000 picoseconds. + Weight::from_parts(736_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_185, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_282, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 753_000 picoseconds. - Weight::from_parts(767_000, 0) + // Minimum execution time: 707_000 picoseconds. + Weight::from_parts(748_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_241_000 picoseconds. - Weight::from_parts(48_851_058, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(4_453, 0).saturating_mul(n.into())) + // Minimum execution time: 43_289_000 picoseconds. + Weight::from_parts(47_063_362, 0) + // Standard Error: 11 + .saturating_add(Weight::from_parts(4_544, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_013_000 picoseconds. - Weight::from_parts(49_080_000, 0) + // Minimum execution time: 46_432_000 picoseconds. + Weight::from_parts(48_334_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_861_000 picoseconds. - Weight::from_parts(13_006_000, 0) + // Minimum execution time: 12_812_000 picoseconds. + Weight::from_parts(13_019_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -949,8 +955,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `6370` - // Minimum execution time: 27_062_000 picoseconds. - Weight::from_parts(27_950_000, 6370) + // Minimum execution time: 27_336_000 picoseconds. + Weight::from_parts(28_146_000, 6370) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -960,8 +966,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_225_000 picoseconds. - Weight::from_parts(9_644_000, 3820) + // Minimum execution time: 9_209_000 picoseconds. + Weight::from_parts(9_638_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -971,8 +977,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_209_000 picoseconds. - Weight::from_parts(8_639_000, 3558) + // Minimum execution time: 8_161_000 picoseconds. + Weight::from_parts(8_449_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -980,15 +986,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 353_000 picoseconds. - Weight::from_parts(373_000, 0) + // Minimum execution time: 330_000 picoseconds. + Weight::from_parts(354_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 369_000 picoseconds. - Weight::from_parts(395_000, 0) + // Minimum execution time: 337_000 picoseconds. + Weight::from_parts(381_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -996,8 +1002,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_985_000 picoseconds. - Weight::from_parts(3_126_000, 1704) + // Minimum execution time: 2_975_000 picoseconds. + Weight::from_parts(3_147_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1005,10 +1011,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_032_000 picoseconds. - Weight::from_parts(762_731, 0) - // Standard Error: 27 - .saturating_add(Weight::from_parts(15_049, 0).saturating_mul(r.into())) + // Minimum execution time: 863_000 picoseconds. + Weight::from_parts(439_219, 0) + // Standard Error: 17 + .saturating_add(Weight::from_parts(15_175, 0).saturating_mul(r.into())) } } @@ -1020,8 +1026,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_110_000 picoseconds. - Weight::from_parts(2_251_000, 1627) + // Minimum execution time: 2_094_000 picoseconds. + Weight::from_parts(2_238_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1031,10 +1037,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_154_000 picoseconds. - Weight::from_parts(12_536_000, 442) - // Standard Error: 907 - .saturating_add(Weight::from_parts(1_102_613, 0).saturating_mul(k.into())) + // Minimum execution time: 12_226_000 picoseconds. + Weight::from_parts(12_508_000, 442) + // Standard Error: 1_454 + .saturating_add(Weight::from_parts(1_124_285, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1048,10 +1054,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_232_000 picoseconds. - Weight::from_parts(8_895_498, 6149) + // Minimum execution time: 8_644_000 picoseconds. + Weight::from_parts(9_027_360, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_156, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1064,8 +1070,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_760_000 picoseconds. - Weight::from_parts(17_693_000, 6450) + // Minimum execution time: 16_756_000 picoseconds. + Weight::from_parts(17_643_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1078,10 +1084,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_535_000 picoseconds. - Weight::from_parts(9_084_983, 3635) - // Standard Error: 1_564 - .saturating_add(Weight::from_parts(1_222_023, 0).saturating_mul(k.into())) + // Minimum execution time: 3_444_000 picoseconds. + Weight::from_parts(3_583_000, 3635) + // Standard Error: 777 + .saturating_add(Weight::from_parts(1_222_839, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1100,10 +1106,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_624_000 picoseconds. - Weight::from_parts(16_323_086, 6263) - // Standard Error: 1 - .saturating_add(Weight::from_parts(397, 0).saturating_mul(c.into())) + // Minimum execution time: 16_786_000 picoseconds. + Weight::from_parts(17_044_074, 6263) + // Standard Error: 0 + .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1114,8 +1120,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_748_000 picoseconds. - Weight::from_parts(13_278_000, 6380) + // Minimum execution time: 12_921_000 picoseconds. + Weight::from_parts(13_391_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1129,8 +1135,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_790_000 picoseconds. - Weight::from_parts(48_318_000, 6292) + // Minimum execution time: 47_556_000 picoseconds. + Weight::from_parts(49_386_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1142,8 +1148,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_028_000 picoseconds. - Weight::from_parts(57_473_000, 6534) + // Minimum execution time: 54_956_000 picoseconds. + Weight::from_parts(57_387_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1153,8 +1159,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_073_000 picoseconds. - Weight::from_parts(12_598_000, 6349) + // Minimum execution time: 12_196_000 picoseconds. + Weight::from_parts(12_747_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1164,8 +1170,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_470_000 picoseconds. - Weight::from_parts(2_587_000, 1627) + // Minimum execution time: 2_500_000 picoseconds. + Weight::from_parts(2_572_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1177,8 +1183,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_986_000 picoseconds. - Weight::from_parts(12_434_000, 3631) + // Minimum execution time: 12_297_000 picoseconds. + Weight::from_parts(12_552_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1188,8 +1194,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_697_000 picoseconds. - Weight::from_parts(5_026_000, 3607) + // Minimum execution time: 4_745_000 picoseconds. + Weight::from_parts(5_049_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1200,8 +1206,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_963_000 picoseconds. - Weight::from_parts(6_245_000, 3632) + // Minimum execution time: 6_293_000 picoseconds. + Weight::from_parts(6_465_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1212,8 +1218,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_235_000 picoseconds. - Weight::from_parts(6_555_000, 3607) + // Minimum execution time: 6_378_000 picoseconds. + Weight::from_parts(6_874_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1236,10 +1242,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `6739 + c * (1 ±0)` - // Minimum execution time: 299_356_000 picoseconds. - Weight::from_parts(276_901_396, 6739) - // Standard Error: 78 - .saturating_add(Weight::from_parts(33_208, 0).saturating_mul(c.into())) + // Minimum execution time: 362_366_000 picoseconds. + Weight::from_parts(353_347_662, 6739) + // Standard Error: 129 + .saturating_add(Weight::from_parts(34_964, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1269,14 +1275,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `8737` - // Minimum execution time: 3_772_084_000 picoseconds. - Weight::from_parts(753_868_107, 8737) - // Standard Error: 130 - .saturating_add(Weight::from_parts(66_251, 0).saturating_mul(c.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_437, 0).saturating_mul(i.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_542, 0).saturating_mul(s.into())) + // Minimum execution time: 4_266_902_000 picoseconds. + Weight::from_parts(914_416_909, 8737) + // Standard Error: 123 + .saturating_add(Weight::from_parts(67_482, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_659, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_619, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1304,12 +1310,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `6504` - // Minimum execution time: 1_956_848_000 picoseconds. - Weight::from_parts(1_983_893_000, 6504) + // Minimum execution time: 2_101_015_000 picoseconds. + Weight::from_parts(2_123_733_000, 6504) // Standard Error: 26 - .saturating_add(Weight::from_parts(813, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(895, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(787, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(805, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1331,8 +1337,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `6766` - // Minimum execution time: 199_924_000 picoseconds. - Weight::from_parts(209_592_000, 6766) + // Minimum execution time: 205_788_000 picoseconds. + Weight::from_parts(210_371_000, 6766) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1351,10 +1357,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 257_465_000 picoseconds. - Weight::from_parts(288_412_411, 3607) - // Standard Error: 44 - .saturating_add(Weight::from_parts(32_279, 0).saturating_mul(c.into())) + // Minimum execution time: 334_087_000 picoseconds. + Weight::from_parts(347_294_648, 3607) + // Standard Error: 75 + .saturating_add(Weight::from_parts(33_819, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1373,10 +1379,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 281_502_000 picoseconds. - Weight::from_parts(296_208_635, 3607) - // Standard Error: 49 - .saturating_add(Weight::from_parts(32_646, 0).saturating_mul(c.into())) + // Minimum execution time: 348_078_000 picoseconds. + Weight::from_parts(393_851_501, 3607) + // Standard Error: 62 + .saturating_add(Weight::from_parts(33_635, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1394,8 +1400,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_012_000 picoseconds. - Weight::from_parts(46_216_000, 3780) + // Minimum execution time: 45_294_000 picoseconds. + Weight::from_parts(46_148_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1411,8 +1417,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_828_000 picoseconds. - Weight::from_parts(35_904_000, 8967) + // Minimum execution time: 34_298_000 picoseconds. + Weight::from_parts(35_728_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1421,17 +1427,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_265_000 picoseconds. - Weight::from_parts(10_458_655, 0) - // Standard Error: 81 - .saturating_add(Weight::from_parts(70_250, 0).saturating_mul(r.into())) + // Minimum execution time: 9_347_000 picoseconds. + Weight::from_parts(10_917_661, 0) + // Standard Error: 142 + .saturating_add(Weight::from_parts(70_824, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 617_000 picoseconds. - Weight::from_parts(662_000, 0) + // Minimum execution time: 600_000 picoseconds. + Weight::from_parts(650_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1439,8 +1445,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_782_000 picoseconds. - Weight::from_parts(7_244_000, 3819) + // Minimum execution time: 6_710_000 picoseconds. + Weight::from_parts(7_005_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1449,79 +1455,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 8_038_000 picoseconds. - Weight::from_parts(8_201_000, 3912) + // Minimum execution time: 8_112_000 picoseconds. + Weight::from_parts(8_360_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 783_000 picoseconds. - Weight::from_parts(817_000, 0) + // Minimum execution time: 668_000 picoseconds. + Weight::from_parts(761_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 413_000 picoseconds. - Weight::from_parts(430_000, 0) + // Minimum execution time: 385_000 picoseconds. + Weight::from_parts(425_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 351_000 picoseconds. - Weight::from_parts(366_000, 0) + // Minimum execution time: 312_000 picoseconds. + Weight::from_parts(354_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 634_000 picoseconds. - Weight::from_parts(664_000, 0) + // Minimum execution time: 558_000 picoseconds. + Weight::from_parts(607_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 673_000 picoseconds. - Weight::from_parts(713_000, 0) + // Minimum execution time: 661_000 picoseconds. + Weight::from_parts(706_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_847_000 picoseconds. - Weight::from_parts(5_057_000, 0) + // Minimum execution time: 4_693_000 picoseconds. + Weight::from_parts(4_872_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 601_000 picoseconds. - Weight::from_parts(649_000, 0) + // Minimum execution time: 532_000 picoseconds. + Weight::from_parts(583_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 567_000 picoseconds. - Weight::from_parts(611_000, 0) + // Minimum execution time: 529_000 picoseconds. + Weight::from_parts(570_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 573_000 picoseconds. - Weight::from_parts(602_000, 0) + // Minimum execution time: 557_000 picoseconds. + Weight::from_parts(597_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 567_000 picoseconds. - Weight::from_parts(618_000, 0) + // Minimum execution time: 551_000 picoseconds. + Weight::from_parts(588_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1529,8 +1535,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_490_000 picoseconds. - Weight::from_parts(4_765_000, 1552) + // Minimum execution time: 4_284_000 picoseconds. + Weight::from_parts(4_564_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1538,20 +1544,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 483_000 picoseconds. - Weight::from_parts(498_000, 0) + // Minimum execution time: 452_000 picoseconds. + Weight::from_parts(480_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(292, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 371_000 picoseconds. - Weight::from_parts(392_000, 0) + // Minimum execution time: 322_000 picoseconds. + Weight::from_parts(349_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(400, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1561,14 +1567,20 @@ impl WeightInfo for () { /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) - fn seal_terminate(_n: u32) -> Weight { - // Proof Size summary in bytes: - // Measured: `2821` - // Estimated: `85486` - // Minimum execution time: 136_837_000 picoseconds. - Weight::from_parts(139_490_000, 85486) - .saturating_add(RocksDbWeight::get().reads(36_u64)) - .saturating_add(RocksDbWeight::get().writes(37_u64)) + /// The range of component `n` is `[0, 32]`. + fn seal_terminate(n: u32, ) -> Weight { + // Proof Size summary in bytes: + // Measured: `319 + n * (78 ±0)` + // Estimated: `6259 + n * (2553 ±0)` + // Minimum execution time: 21_002_000 picoseconds. + Weight::from_parts(22_620_068, 6259) + // Standard Error: 6_761 + .saturating_add(Weight::from_parts(3_676_180, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) + .saturating_add(RocksDbWeight::get().writes(5_u64)) + .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into()))) + .saturating_add(Weight::from_parts(0, 2553).saturating_mul(n.into())) } /// Storage: `RandomnessCollectiveFlip::RandomMaterial` (r:1 w:0) /// Proof: `RandomnessCollectiveFlip::RandomMaterial` (`max_values`: Some(1), `max_size`: Some(2594), added: 3089, mode: `Measured`) @@ -1576,8 +1588,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_738_000 picoseconds. - Weight::from_parts(3_910_000, 1561) + // Minimum execution time: 3_622_000 picoseconds. + Weight::from_parts(3_809_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1588,12 +1600,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_066_000 picoseconds. - Weight::from_parts(4_465_496, 990) - // Standard Error: 7_195 - .saturating_add(Weight::from_parts(2_349_432, 0).saturating_mul(t.into())) + // Minimum execution time: 4_029_000 picoseconds. + Weight::from_parts(4_444_994, 990) + // Standard Error: 7_216 + .saturating_add(Weight::from_parts(2_404_769, 0).saturating_mul(t.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(16, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1603,10 +1615,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 457_000 picoseconds. - Weight::from_parts(483_000, 0) + // Minimum execution time: 407_000 picoseconds. + Weight::from_parts(430_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_202, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1616,12 +1628,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_784_000 picoseconds. - Weight::from_parts(9_860_281, 249) + // Minimum execution time: 9_907_000 picoseconds. + Weight::from_parts(9_926_136, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(242, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(62, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1633,10 +1645,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_785_000 picoseconds. - Weight::from_parts(9_260_270, 248) + // Minimum execution time: 8_288_000 picoseconds. + Weight::from_parts(9_347_243, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1648,10 +1660,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_004_000 picoseconds. - Weight::from_parts(8_830_936, 248) + // Minimum execution time: 7_180_000 picoseconds. + Weight::from_parts(9_058_388, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1662,10 +1674,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_766_000 picoseconds. - Weight::from_parts(7_955_845, 248) + // Minimum execution time: 6_868_000 picoseconds. + Weight::from_parts(8_056_732, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1676,10 +1688,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_425_000 picoseconds. - Weight::from_parts(10_053_859, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(605, 0).saturating_mul(n.into())) + // Minimum execution time: 8_601_000 picoseconds. + Weight::from_parts(10_124_367, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1688,8 +1700,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_089_000 picoseconds. - Weight::from_parts(9_472_000, 0) + // Minimum execution time: 9_242_000 picoseconds. + Weight::from_parts(9_557_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1708,14 +1720,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `6560 + t * (2182 ±0)` - // Minimum execution time: 158_642_000 picoseconds. - Weight::from_parts(159_204_537, 6560) - // Standard Error: 312_560 - .saturating_add(Weight::from_parts(43_721_097, 0).saturating_mul(t.into())) - // Standard Error: 312_560 - .saturating_add(Weight::from_parts(1_118_806, 0).saturating_mul(c.into())) + // Minimum execution time: 161_170_000 picoseconds. + Weight::from_parts(165_269_982, 6560) + // Standard Error: 327_855 + .saturating_add(Weight::from_parts(42_589_388, 0).saturating_mul(t.into())) + // Standard Error: 327_855 + .saturating_add(Weight::from_parts(1_482_035, 0).saturating_mul(c.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(8, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1732,8 +1744,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `6370` - // Minimum execution time: 145_817_000 picoseconds. - Weight::from_parts(152_499_000, 6370) + // Minimum execution time: 149_765_000 picoseconds. + Weight::from_parts(159_745_000, 6370) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1756,14 +1768,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `676 + t * (102 ±0)` // Estimated: `6613 + t * (90 ±1)` - // Minimum execution time: 1_654_022_000 picoseconds. - Weight::from_parts(34_582_395, 6613) - // Standard Error: 8_789_446 - .saturating_add(Weight::from_parts(213_375_982, 0).saturating_mul(t.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_362, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_703, 0).saturating_mul(s.into())) + // Minimum execution time: 1_807_196_000 picoseconds. + Weight::from_parts(83_888_679, 6613) + // Standard Error: 6_713_052 + .saturating_add(Weight::from_parts(184_318_405, 0).saturating_mul(t.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_532, 0).saturating_mul(i.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_796, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) @@ -1773,64 +1785,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 861_000 picoseconds. - Weight::from_parts(909_000, 0) + // Minimum execution time: 850_000 picoseconds. + Weight::from_parts(927_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_050, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_146, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_344_000 picoseconds. - Weight::from_parts(1_378_000, 0) + // Minimum execution time: 1_318_000 picoseconds. + Weight::from_parts(1_404_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_314, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_405, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 764_000 picoseconds. - Weight::from_parts(777_000, 0) + // Minimum execution time: 709_000 picoseconds. + Weight::from_parts(736_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_185, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_282, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 753_000 picoseconds. - Weight::from_parts(767_000, 0) + // Minimum execution time: 707_000 picoseconds. + Weight::from_parts(748_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_241_000 picoseconds. - Weight::from_parts(48_851_058, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(4_453, 0).saturating_mul(n.into())) + // Minimum execution time: 43_289_000 picoseconds. + Weight::from_parts(47_063_362, 0) + // Standard Error: 11 + .saturating_add(Weight::from_parts(4_544, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_013_000 picoseconds. - Weight::from_parts(49_080_000, 0) + // Minimum execution time: 46_432_000 picoseconds. + Weight::from_parts(48_334_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_861_000 picoseconds. - Weight::from_parts(13_006_000, 0) + // Minimum execution time: 12_812_000 picoseconds. + Weight::from_parts(13_019_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1842,8 +1854,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `6370` - // Minimum execution time: 27_062_000 picoseconds. - Weight::from_parts(27_950_000, 6370) + // Minimum execution time: 27_336_000 picoseconds. + Weight::from_parts(28_146_000, 6370) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1853,8 +1865,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_225_000 picoseconds. - Weight::from_parts(9_644_000, 3820) + // Minimum execution time: 9_209_000 picoseconds. + Weight::from_parts(9_638_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1864,8 +1876,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_209_000 picoseconds. - Weight::from_parts(8_639_000, 3558) + // Minimum execution time: 8_161_000 picoseconds. + Weight::from_parts(8_449_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1873,15 +1885,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 353_000 picoseconds. - Weight::from_parts(373_000, 0) + // Minimum execution time: 330_000 picoseconds. + Weight::from_parts(354_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 369_000 picoseconds. - Weight::from_parts(395_000, 0) + // Minimum execution time: 337_000 picoseconds. + Weight::from_parts(381_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1889,8 +1901,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_985_000 picoseconds. - Weight::from_parts(3_126_000, 1704) + // Minimum execution time: 2_975_000 picoseconds. + Weight::from_parts(3_147_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1898,9 +1910,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_032_000 picoseconds. - Weight::from_parts(762_731, 0) - // Standard Error: 27 - .saturating_add(Weight::from_parts(15_049, 0).saturating_mul(r.into())) + // Minimum execution time: 863_000 picoseconds. + Weight::from_parts(439_219, 0) + // Standard Error: 17 + .saturating_add(Weight::from_parts(15_175, 0).saturating_mul(r.into())) } } From ae171659ad022ed820121fb212350f49ee2953b8 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 17 May 2024 11:07:56 +0200 Subject: [PATCH 44/75] Bump beta version --- Cargo.lock | 102 ++++++++++++++++++++++----- substrate/frame/contracts/Cargo.toml | 2 +- 2 files changed, 86 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 642fe88db006..f3821fc685a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -90,9 +90,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.8" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "getrandom 0.2.10", @@ -6459,7 +6459,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", ] [[package]] @@ -6468,7 +6468,7 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "allocator-api2", "serde", ] @@ -7484,9 +7484,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libnghttp2-sys" @@ -8575,6 +8575,12 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "multi-stash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685a9ac4b61f4e728e1d2c6a7844609c16527aeb5e6c865915c08e619c16410f" + [[package]] name = "multiaddr" version = "0.17.1" @@ -9128,6 +9134,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2 1.0.82", + "quote 1.0.35", + "syn 2.0.61", +] + [[package]] name = "num-format" version = "0.4.4" @@ -9996,7 +10013,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi", + "wasmi 0.32.0-beta.16", "wat", ] @@ -16671,7 +16688,7 @@ dependencies = [ name = "sc-consensus-grandpa" version = "0.19.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "array-bytes", "assert_matches", "async-trait", @@ -17056,7 +17073,7 @@ dependencies = [ name = "sc-network-gossip" version = "0.34.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "async-trait", "futures", "futures-timer", @@ -17777,7 +17794,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] @@ -18418,9 +18435,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" [[package]] name = "smol" @@ -18497,7 +18514,7 @@ dependencies = [ "smallvec", "soketto", "twox-hash", - "wasmi", + "wasmi 0.31.2", "x25519-dalek 2.0.0", "zeroize", ] @@ -19942,7 +19959,7 @@ dependencies = [ name = "sp-trie" version = "29.0.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "array-bytes", "criterion", "hash-db", @@ -20388,6 +20405,17 @@ dependencies = [ "tracing", ] +[[package]] +name = "string-interner" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" +dependencies = [ + "cfg-if", + "hashbrown 0.14.3", + "serde", +] + [[package]] name = "strobe-rs" version = "0.8.1" @@ -22420,7 +22448,24 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_arena", - "wasmi_core", + "wasmi_core 0.13.0", + "wasmparser-nostd", +] + +[[package]] +name = "wasmi" +version = "0.32.0-beta.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89197c624ff57b954a57779b670f43709a023b1e365285af4bf14db37c9bed8b" +dependencies = [ + "arrayvec 0.7.4", + "multi-stash", + "num-derive", + "num-traits", + "smallvec", + "spin 0.9.8", + "wasmi_collections", + "wasmi_core 0.32.0-beta.16", "wasmparser-nostd", ] @@ -22430,6 +22475,17 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" +[[package]] +name = "wasmi_collections" +version = "0.32.0-beta.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3eefbe690421d1957bba7ced57b427263ff66885f6772b7e995806327e1086bf" +dependencies = [ + "ahash 0.8.11", + "hashbrown 0.14.3", + "string-interner", +] + [[package]] name = "wasmi_core" version = "0.13.0" @@ -22442,6 +22498,18 @@ dependencies = [ "paste", ] +[[package]] +name = "wasmi_core" +version = "0.32.0-beta.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f873c298a7a5581318f6e7e604f90b2c6fc682ba032592126a0e71017f68cc0" +dependencies = [ + "downcast-rs", + "libm", + "num-traits", + "paste", +] + [[package]] name = "wasmparser" version = "0.102.0" @@ -22454,9 +22522,9 @@ dependencies = [ [[package]] name = "wasmparser-nostd" -version = "0.100.1" +version = "0.100.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" +checksum = "d5a015fe95f3504a94bb1462c717aae75253e39b9dd6c3fb1062c934535c64aa" dependencies = [ "indexmap-nostd", ] diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index d67890378eb3..0a74baa65ecd 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32.0-beta.13", default-features = false } +wasmi = { version = "0.32.0-beta.16", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From 80dc6068d97c4d5dc3da5168bebb4e06c72a8b67 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 17 May 2024 09:51:49 +0000 Subject: [PATCH 45/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 768 +++++++++++------------ 1 file changed, 382 insertions(+), 386 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 638883eae9d3..b336bbc79351 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_094_000 picoseconds. - Weight::from_parts(2_238_000, 1627) + // Minimum execution time: 1_977_000 picoseconds. + Weight::from_parts(2_100_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_226_000 picoseconds. - Weight::from_parts(12_508_000, 442) - // Standard Error: 1_454 - .saturating_add(Weight::from_parts(1_124_285, 0).saturating_mul(k.into())) + // Minimum execution time: 12_141_000 picoseconds. + Weight::from_parts(12_584_000, 442) + // Standard Error: 1_025 + .saturating_add(Weight::from_parts(1_160_222, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_644_000 picoseconds. - Weight::from_parts(9_027_360, 6149) + // Minimum execution time: 8_482_000 picoseconds. + Weight::from_parts(8_918_059, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_154, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_756_000 picoseconds. - Weight::from_parts(17_643_000, 6450) + // Minimum execution time: 16_509_000 picoseconds. + Weight::from_parts(17_240_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_444_000 picoseconds. - Weight::from_parts(3_583_000, 3635) - // Standard Error: 777 - .saturating_add(Weight::from_parts(1_222_839, 0).saturating_mul(k.into())) + // Minimum execution time: 3_545_000 picoseconds. + Weight::from_parts(127_311, 3635) + // Standard Error: 814 + .saturating_add(Weight::from_parts(1_229_136, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_786_000 picoseconds. - Weight::from_parts(17_044_074, 6263) - // Standard Error: 0 - .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) + // Minimum execution time: 16_635_000 picoseconds. + Weight::from_parts(16_662_411, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(384, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_921_000 picoseconds. - Weight::from_parts(13_391_000, 6380) + // Minimum execution time: 12_750_000 picoseconds. + Weight::from_parts(13_330_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_556_000 picoseconds. - Weight::from_parts(49_386_000, 6292) + // Minimum execution time: 47_630_000 picoseconds. + Weight::from_parts(48_494_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 54_956_000 picoseconds. - Weight::from_parts(57_387_000, 6534) + // Minimum execution time: 54_894_000 picoseconds. + Weight::from_parts(57_652_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_196_000 picoseconds. - Weight::from_parts(12_747_000, 6349) + // Minimum execution time: 11_851_000 picoseconds. + Weight::from_parts(12_532_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_500_000 picoseconds. - Weight::from_parts(2_572_000, 1627) + // Minimum execution time: 2_415_000 picoseconds. + Weight::from_parts(2_592_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_297_000 picoseconds. - Weight::from_parts(12_552_000, 3631) + // Minimum execution time: 12_404_000 picoseconds. + Weight::from_parts(12_727_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_745_000 picoseconds. - Weight::from_parts(5_049_000, 3607) + // Minimum execution time: 4_877_000 picoseconds. + Weight::from_parts(5_104_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_293_000 picoseconds. - Weight::from_parts(6_465_000, 3632) + // Minimum execution time: 6_315_000 picoseconds. + Weight::from_parts(6_634_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_378_000 picoseconds. - Weight::from_parts(6_874_000, 3607) + // Minimum execution time: 6_138_000 picoseconds. + Weight::from_parts(6_604_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -343,10 +343,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `6739 + c * (1 ±0)` - // Minimum execution time: 362_366_000 picoseconds. - Weight::from_parts(353_347_662, 6739) - // Standard Error: 129 - .saturating_add(Weight::from_parts(34_964, 0).saturating_mul(c.into())) + // Minimum execution time: 263_253_000 picoseconds. + Weight::from_parts(271_009_246, 6739) + // Standard Error: 6 + .saturating_add(Weight::from_parts(882, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -376,14 +376,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `8737` - // Minimum execution time: 4_266_902_000 picoseconds. - Weight::from_parts(914_416_909, 8737) - // Standard Error: 123 - .saturating_add(Weight::from_parts(67_482, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_659, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_619, 0).saturating_mul(s.into())) + // Minimum execution time: 3_838_336_000 picoseconds. + Weight::from_parts(278_968_556, 8737) + // Standard Error: 112 + .saturating_add(Weight::from_parts(54_469, 0).saturating_mul(c.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_831, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_802, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(10_u64)) } @@ -411,12 +411,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `6504` - // Minimum execution time: 2_101_015_000 picoseconds. - Weight::from_parts(2_123_733_000, 6504) - // Standard Error: 26 - .saturating_add(Weight::from_parts(895, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(805, 0).saturating_mul(s.into())) + // Minimum execution time: 1_962_044_000 picoseconds. + Weight::from_parts(1_974_156_000, 6504) + // Standard Error: 27 + .saturating_add(Weight::from_parts(869, 0).saturating_mul(i.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(820, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -438,8 +438,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `6766` - // Minimum execution time: 205_788_000 picoseconds. - Weight::from_parts(210_371_000, 6766) + // Minimum execution time: 169_884_000 picoseconds. + Weight::from_parts(172_905_000, 6766) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -458,10 +458,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 334_087_000 picoseconds. - Weight::from_parts(347_294_648, 3607) - // Standard Error: 75 - .saturating_add(Weight::from_parts(33_819, 0).saturating_mul(c.into())) + // Minimum execution time: 246_477_000 picoseconds. + Weight::from_parts(256_355_917, 3607) + // Standard Error: 70 + .saturating_add(Weight::from_parts(50_911, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -480,10 +480,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 348_078_000 picoseconds. - Weight::from_parts(393_851_501, 3607) - // Standard Error: 62 - .saturating_add(Weight::from_parts(33_635, 0).saturating_mul(c.into())) + // Minimum execution time: 251_993_000 picoseconds. + Weight::from_parts(254_230_050, 3607) + // Standard Error: 56 + .saturating_add(Weight::from_parts(51_212, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -501,8 +501,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_294_000 picoseconds. - Weight::from_parts(46_148_000, 3780) + // Minimum execution time: 45_037_000 picoseconds. + Weight::from_parts(45_823_000, 3780) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -518,8 +518,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_298_000 picoseconds. - Weight::from_parts(35_728_000, 8967) + // Minimum execution time: 34_035_000 picoseconds. + Weight::from_parts(34_814_000, 8967) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -528,17 +528,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_347_000 picoseconds. - Weight::from_parts(10_917_661, 0) - // Standard Error: 142 - .saturating_add(Weight::from_parts(70_824, 0).saturating_mul(r.into())) + // Minimum execution time: 8_262_000 picoseconds. + Weight::from_parts(9_638_362, 0) + // Standard Error: 115 + .saturating_add(Weight::from_parts(88_859, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 600_000 picoseconds. - Weight::from_parts(650_000, 0) + // Minimum execution time: 565_000 picoseconds. + Weight::from_parts(637_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -546,8 +546,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_710_000 picoseconds. - Weight::from_parts(7_005_000, 3819) + // Minimum execution time: 6_446_000 picoseconds. + Weight::from_parts(6_784_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -556,79 +556,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 8_112_000 picoseconds. - Weight::from_parts(8_360_000, 3912) + // Minimum execution time: 7_483_000 picoseconds. + Weight::from_parts(7_838_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 668_000 picoseconds. - Weight::from_parts(761_000, 0) + // Minimum execution time: 746_000 picoseconds. + Weight::from_parts(790_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 385_000 picoseconds. - Weight::from_parts(425_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(365_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000 picoseconds. - Weight::from_parts(354_000, 0) + // Minimum execution time: 308_000 picoseconds. + Weight::from_parts(340_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 558_000 picoseconds. - Weight::from_parts(607_000, 0) + // Minimum execution time: 578_000 picoseconds. + Weight::from_parts(600_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 661_000 picoseconds. + // Minimum execution time: 674_000 picoseconds. Weight::from_parts(706_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_693_000 picoseconds. - Weight::from_parts(4_872_000, 0) + // Minimum execution time: 4_572_000 picoseconds. + Weight::from_parts(4_849_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 532_000 picoseconds. - Weight::from_parts(583_000, 0) + // Minimum execution time: 528_000 picoseconds. + Weight::from_parts(563_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 529_000 picoseconds. - Weight::from_parts(570_000, 0) + // Minimum execution time: 538_000 picoseconds. + Weight::from_parts(594_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 557_000 picoseconds. - Weight::from_parts(597_000, 0) + // Minimum execution time: 532_000 picoseconds. + Weight::from_parts(575_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 551_000 picoseconds. - Weight::from_parts(588_000, 0) + // Minimum execution time: 524_000 picoseconds. + Weight::from_parts(562_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -636,8 +636,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_284_000 picoseconds. - Weight::from_parts(4_564_000, 1552) + // Minimum execution time: 4_315_000 picoseconds. + Weight::from_parts(4_523_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -645,20 +645,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 452_000 picoseconds. - Weight::from_parts(480_000, 0) + // Minimum execution time: 444_000 picoseconds. + Weight::from_parts(484_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(297, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 322_000 picoseconds. - Weight::from_parts(349_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) + // Minimum execution time: 344_000 picoseconds. + Weight::from_parts(373_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(404, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -673,10 +673,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `6259 + n * (2553 ±0)` - // Minimum execution time: 21_002_000 picoseconds. - Weight::from_parts(22_620_068, 6259) - // Standard Error: 6_761 - .saturating_add(Weight::from_parts(3_676_180, 0).saturating_mul(n.into())) + // Minimum execution time: 20_556_000 picoseconds. + Weight::from_parts(22_516_459, 6259) + // Standard Error: 7_823 + .saturating_add(Weight::from_parts(3_608_993, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(5_u64)) @@ -689,8 +689,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_622_000 picoseconds. - Weight::from_parts(3_809_000, 1561) + // Minimum execution time: 3_497_000 picoseconds. + Weight::from_parts(3_661_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -701,12 +701,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_029_000 picoseconds. - Weight::from_parts(4_444_994, 990) - // Standard Error: 7_216 - .saturating_add(Weight::from_parts(2_404_769, 0).saturating_mul(t.into())) + // Minimum execution time: 3_936_000 picoseconds. + Weight::from_parts(4_433_964, 990) + // Standard Error: 7_661 + .saturating_add(Weight::from_parts(2_253_158, 0).saturating_mul(t.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(16, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(14, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -716,10 +716,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 407_000 picoseconds. - Weight::from_parts(430_000, 0) + // Minimum execution time: 395_000 picoseconds. + Weight::from_parts(431_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -729,12 +729,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_907_000 picoseconds. - Weight::from_parts(9_926_136, 249) + // Minimum execution time: 9_941_000 picoseconds. + Weight::from_parts(9_706_556, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(236, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(57, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -746,10 +746,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_288_000 picoseconds. - Weight::from_parts(9_347_243, 248) + // Minimum execution time: 7_658_000 picoseconds. + Weight::from_parts(9_000_670, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -761,10 +761,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_180_000 picoseconds. - Weight::from_parts(9_058_388, 248) + // Minimum execution time: 6_656_000 picoseconds. + Weight::from_parts(8_433_870, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -775,10 +775,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_868_000 picoseconds. - Weight::from_parts(8_056_732, 248) + // Minimum execution time: 6_589_000 picoseconds. + Weight::from_parts(7_716_308, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(79, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -789,10 +789,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_601_000 picoseconds. - Weight::from_parts(10_124_367, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + // Minimum execution time: 8_014_000 picoseconds. + Weight::from_parts(9_642_404, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(608, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -801,8 +801,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_242_000 picoseconds. - Weight::from_parts(9_557_000, 0) + // Minimum execution time: 8_709_000 picoseconds. + Weight::from_parts(8_980_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -821,14 +821,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `6560 + t * (2182 ±0)` - // Minimum execution time: 161_170_000 picoseconds. - Weight::from_parts(165_269_982, 6560) - // Standard Error: 327_855 - .saturating_add(Weight::from_parts(42_589_388, 0).saturating_mul(t.into())) - // Standard Error: 327_855 - .saturating_add(Weight::from_parts(1_482_035, 0).saturating_mul(c.into())) + // Minimum execution time: 128_396_000 picoseconds. + Weight::from_parts(126_352_398, 6560) + // Standard Error: 188_770 + .saturating_add(Weight::from_parts(42_179_223, 0).saturating_mul(t.into())) + // Standard Error: 188_770 + .saturating_add(Weight::from_parts(773_417, 0).saturating_mul(c.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -845,8 +845,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `6370` - // Minimum execution time: 149_765_000 picoseconds. - Weight::from_parts(159_745_000, 6370) + // Minimum execution time: 117_314_000 picoseconds. + Weight::from_parts(122_011_000, 6370) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -869,14 +869,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `676 + t * (102 ±0)` // Estimated: `6613 + t * (90 ±1)` - // Minimum execution time: 1_807_196_000 picoseconds. - Weight::from_parts(83_888_679, 6613) - // Standard Error: 6_713_052 - .saturating_add(Weight::from_parts(184_318_405, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_532, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_796, 0).saturating_mul(s.into())) + // Minimum execution time: 1_614_389_000 picoseconds. + Weight::from_parts(1_626_932_000, 6613) + // Standard Error: 13 + .saturating_add(Weight::from_parts(611, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(959, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) @@ -886,64 +884,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 850_000 picoseconds. - Weight::from_parts(927_000, 0) + // Minimum execution time: 743_000 picoseconds. + Weight::from_parts(804_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_146, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_318_000 picoseconds. - Weight::from_parts(1_404_000, 0) + // Minimum execution time: 1_308_000 picoseconds. + Weight::from_parts(1_402_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_405, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_314, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 709_000 picoseconds. - Weight::from_parts(736_000, 0) + // Minimum execution time: 687_000 picoseconds. + Weight::from_parts(719_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_282, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_177, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 707_000 picoseconds. - Weight::from_parts(748_000, 0) + // Minimum execution time: 690_000 picoseconds. + Weight::from_parts(732_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_184, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_289_000 picoseconds. - Weight::from_parts(47_063_362, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(4_544, 0).saturating_mul(n.into())) + // Minimum execution time: 45_163_000 picoseconds. + Weight::from_parts(48_046_707, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(4_524, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_432_000 picoseconds. - Weight::from_parts(48_334_000, 0) + // Minimum execution time: 47_903_000 picoseconds. + Weight::from_parts(49_233_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_812_000 picoseconds. - Weight::from_parts(13_019_000, 0) + // Minimum execution time: 13_041_000 picoseconds. + Weight::from_parts(13_186_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -955,8 +953,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `6370` - // Minimum execution time: 27_336_000 picoseconds. - Weight::from_parts(28_146_000, 6370) + // Minimum execution time: 26_065_000 picoseconds. + Weight::from_parts(27_813_000, 6370) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -966,8 +964,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_209_000 picoseconds. - Weight::from_parts(9_638_000, 3820) + // Minimum execution time: 9_008_000 picoseconds. + Weight::from_parts(9_359_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -977,8 +975,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_161_000 picoseconds. - Weight::from_parts(8_449_000, 3558) + // Minimum execution time: 7_880_000 picoseconds. + Weight::from_parts(8_266_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -986,15 +984,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 330_000 picoseconds. - Weight::from_parts(354_000, 0) + // Minimum execution time: 294_000 picoseconds. + Weight::from_parts(323_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 337_000 picoseconds. - Weight::from_parts(381_000, 0) + // Minimum execution time: 336_000 picoseconds. + Weight::from_parts(364_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1002,8 +1000,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_975_000 picoseconds. - Weight::from_parts(3_147_000, 1704) + // Minimum execution time: 2_841_000 picoseconds. + Weight::from_parts(2_972_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1011,10 +1009,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 863_000 picoseconds. - Weight::from_parts(439_219, 0) - // Standard Error: 17 - .saturating_add(Weight::from_parts(15_175, 0).saturating_mul(r.into())) + // Minimum execution time: 731_000 picoseconds. + Weight::from_parts(1_017_331, 0) + // Standard Error: 6 + .saturating_add(Weight::from_parts(6_488, 0).saturating_mul(r.into())) } } @@ -1026,8 +1024,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_094_000 picoseconds. - Weight::from_parts(2_238_000, 1627) + // Minimum execution time: 1_977_000 picoseconds. + Weight::from_parts(2_100_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1037,10 +1035,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_226_000 picoseconds. - Weight::from_parts(12_508_000, 442) - // Standard Error: 1_454 - .saturating_add(Weight::from_parts(1_124_285, 0).saturating_mul(k.into())) + // Minimum execution time: 12_141_000 picoseconds. + Weight::from_parts(12_584_000, 442) + // Standard Error: 1_025 + .saturating_add(Weight::from_parts(1_160_222, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1054,10 +1052,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_644_000 picoseconds. - Weight::from_parts(9_027_360, 6149) + // Minimum execution time: 8_482_000 picoseconds. + Weight::from_parts(8_918_059, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_154, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1070,8 +1068,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_756_000 picoseconds. - Weight::from_parts(17_643_000, 6450) + // Minimum execution time: 16_509_000 picoseconds. + Weight::from_parts(17_240_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1084,10 +1082,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_444_000 picoseconds. - Weight::from_parts(3_583_000, 3635) - // Standard Error: 777 - .saturating_add(Weight::from_parts(1_222_839, 0).saturating_mul(k.into())) + // Minimum execution time: 3_545_000 picoseconds. + Weight::from_parts(127_311, 3635) + // Standard Error: 814 + .saturating_add(Weight::from_parts(1_229_136, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1106,10 +1104,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_786_000 picoseconds. - Weight::from_parts(17_044_074, 6263) - // Standard Error: 0 - .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) + // Minimum execution time: 16_635_000 picoseconds. + Weight::from_parts(16_662_411, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(384, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1120,8 +1118,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_921_000 picoseconds. - Weight::from_parts(13_391_000, 6380) + // Minimum execution time: 12_750_000 picoseconds. + Weight::from_parts(13_330_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1135,8 +1133,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_556_000 picoseconds. - Weight::from_parts(49_386_000, 6292) + // Minimum execution time: 47_630_000 picoseconds. + Weight::from_parts(48_494_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1148,8 +1146,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 54_956_000 picoseconds. - Weight::from_parts(57_387_000, 6534) + // Minimum execution time: 54_894_000 picoseconds. + Weight::from_parts(57_652_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1159,8 +1157,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_196_000 picoseconds. - Weight::from_parts(12_747_000, 6349) + // Minimum execution time: 11_851_000 picoseconds. + Weight::from_parts(12_532_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1170,8 +1168,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_500_000 picoseconds. - Weight::from_parts(2_572_000, 1627) + // Minimum execution time: 2_415_000 picoseconds. + Weight::from_parts(2_592_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1183,8 +1181,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_297_000 picoseconds. - Weight::from_parts(12_552_000, 3631) + // Minimum execution time: 12_404_000 picoseconds. + Weight::from_parts(12_727_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1194,8 +1192,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_745_000 picoseconds. - Weight::from_parts(5_049_000, 3607) + // Minimum execution time: 4_877_000 picoseconds. + Weight::from_parts(5_104_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1206,8 +1204,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_293_000 picoseconds. - Weight::from_parts(6_465_000, 3632) + // Minimum execution time: 6_315_000 picoseconds. + Weight::from_parts(6_634_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1218,8 +1216,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_378_000 picoseconds. - Weight::from_parts(6_874_000, 3607) + // Minimum execution time: 6_138_000 picoseconds. + Weight::from_parts(6_604_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1242,10 +1240,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `6739 + c * (1 ±0)` - // Minimum execution time: 362_366_000 picoseconds. - Weight::from_parts(353_347_662, 6739) - // Standard Error: 129 - .saturating_add(Weight::from_parts(34_964, 0).saturating_mul(c.into())) + // Minimum execution time: 263_253_000 picoseconds. + Weight::from_parts(271_009_246, 6739) + // Standard Error: 6 + .saturating_add(Weight::from_parts(882, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1275,14 +1273,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `8737` - // Minimum execution time: 4_266_902_000 picoseconds. - Weight::from_parts(914_416_909, 8737) - // Standard Error: 123 - .saturating_add(Weight::from_parts(67_482, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_659, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_619, 0).saturating_mul(s.into())) + // Minimum execution time: 3_838_336_000 picoseconds. + Weight::from_parts(278_968_556, 8737) + // Standard Error: 112 + .saturating_add(Weight::from_parts(54_469, 0).saturating_mul(c.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_831, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_802, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(10_u64)) } @@ -1310,12 +1308,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `6504` - // Minimum execution time: 2_101_015_000 picoseconds. - Weight::from_parts(2_123_733_000, 6504) - // Standard Error: 26 - .saturating_add(Weight::from_parts(895, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(805, 0).saturating_mul(s.into())) + // Minimum execution time: 1_962_044_000 picoseconds. + Weight::from_parts(1_974_156_000, 6504) + // Standard Error: 27 + .saturating_add(Weight::from_parts(869, 0).saturating_mul(i.into())) + // Standard Error: 27 + .saturating_add(Weight::from_parts(820, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1337,8 +1335,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `6766` - // Minimum execution time: 205_788_000 picoseconds. - Weight::from_parts(210_371_000, 6766) + // Minimum execution time: 169_884_000 picoseconds. + Weight::from_parts(172_905_000, 6766) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1357,10 +1355,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 334_087_000 picoseconds. - Weight::from_parts(347_294_648, 3607) - // Standard Error: 75 - .saturating_add(Weight::from_parts(33_819, 0).saturating_mul(c.into())) + // Minimum execution time: 246_477_000 picoseconds. + Weight::from_parts(256_355_917, 3607) + // Standard Error: 70 + .saturating_add(Weight::from_parts(50_911, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1379,10 +1377,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 348_078_000 picoseconds. - Weight::from_parts(393_851_501, 3607) - // Standard Error: 62 - .saturating_add(Weight::from_parts(33_635, 0).saturating_mul(c.into())) + // Minimum execution time: 251_993_000 picoseconds. + Weight::from_parts(254_230_050, 3607) + // Standard Error: 56 + .saturating_add(Weight::from_parts(51_212, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1400,8 +1398,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_294_000 picoseconds. - Weight::from_parts(46_148_000, 3780) + // Minimum execution time: 45_037_000 picoseconds. + Weight::from_parts(45_823_000, 3780) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -1417,8 +1415,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `8967` - // Minimum execution time: 34_298_000 picoseconds. - Weight::from_parts(35_728_000, 8967) + // Minimum execution time: 34_035_000 picoseconds. + Weight::from_parts(34_814_000, 8967) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -1427,17 +1425,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_347_000 picoseconds. - Weight::from_parts(10_917_661, 0) - // Standard Error: 142 - .saturating_add(Weight::from_parts(70_824, 0).saturating_mul(r.into())) + // Minimum execution time: 8_262_000 picoseconds. + Weight::from_parts(9_638_362, 0) + // Standard Error: 115 + .saturating_add(Weight::from_parts(88_859, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 600_000 picoseconds. - Weight::from_parts(650_000, 0) + // Minimum execution time: 565_000 picoseconds. + Weight::from_parts(637_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1445,8 +1443,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_710_000 picoseconds. - Weight::from_parts(7_005_000, 3819) + // Minimum execution time: 6_446_000 picoseconds. + Weight::from_parts(6_784_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1455,79 +1453,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 8_112_000 picoseconds. - Weight::from_parts(8_360_000, 3912) + // Minimum execution time: 7_483_000 picoseconds. + Weight::from_parts(7_838_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 668_000 picoseconds. - Weight::from_parts(761_000, 0) + // Minimum execution time: 746_000 picoseconds. + Weight::from_parts(790_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 385_000 picoseconds. - Weight::from_parts(425_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(365_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000 picoseconds. - Weight::from_parts(354_000, 0) + // Minimum execution time: 308_000 picoseconds. + Weight::from_parts(340_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 558_000 picoseconds. - Weight::from_parts(607_000, 0) + // Minimum execution time: 578_000 picoseconds. + Weight::from_parts(600_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 661_000 picoseconds. + // Minimum execution time: 674_000 picoseconds. Weight::from_parts(706_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_693_000 picoseconds. - Weight::from_parts(4_872_000, 0) + // Minimum execution time: 4_572_000 picoseconds. + Weight::from_parts(4_849_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 532_000 picoseconds. - Weight::from_parts(583_000, 0) + // Minimum execution time: 528_000 picoseconds. + Weight::from_parts(563_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 529_000 picoseconds. - Weight::from_parts(570_000, 0) + // Minimum execution time: 538_000 picoseconds. + Weight::from_parts(594_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 557_000 picoseconds. - Weight::from_parts(597_000, 0) + // Minimum execution time: 532_000 picoseconds. + Weight::from_parts(575_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 551_000 picoseconds. - Weight::from_parts(588_000, 0) + // Minimum execution time: 524_000 picoseconds. + Weight::from_parts(562_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1535,8 +1533,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_284_000 picoseconds. - Weight::from_parts(4_564_000, 1552) + // Minimum execution time: 4_315_000 picoseconds. + Weight::from_parts(4_523_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1544,20 +1542,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 452_000 picoseconds. - Weight::from_parts(480_000, 0) + // Minimum execution time: 444_000 picoseconds. + Weight::from_parts(484_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(297, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 322_000 picoseconds. - Weight::from_parts(349_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) + // Minimum execution time: 344_000 picoseconds. + Weight::from_parts(373_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(404, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1572,10 +1570,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `6259 + n * (2553 ±0)` - // Minimum execution time: 21_002_000 picoseconds. - Weight::from_parts(22_620_068, 6259) - // Standard Error: 6_761 - .saturating_add(Weight::from_parts(3_676_180, 0).saturating_mul(n.into())) + // Minimum execution time: 20_556_000 picoseconds. + Weight::from_parts(22_516_459, 6259) + // Standard Error: 7_823 + .saturating_add(Weight::from_parts(3_608_993, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(5_u64)) @@ -1588,8 +1586,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_622_000 picoseconds. - Weight::from_parts(3_809_000, 1561) + // Minimum execution time: 3_497_000 picoseconds. + Weight::from_parts(3_661_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1600,12 +1598,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_029_000 picoseconds. - Weight::from_parts(4_444_994, 990) - // Standard Error: 7_216 - .saturating_add(Weight::from_parts(2_404_769, 0).saturating_mul(t.into())) + // Minimum execution time: 3_936_000 picoseconds. + Weight::from_parts(4_433_964, 990) + // Standard Error: 7_661 + .saturating_add(Weight::from_parts(2_253_158, 0).saturating_mul(t.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(16, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(14, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1615,10 +1613,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 407_000 picoseconds. - Weight::from_parts(430_000, 0) + // Minimum execution time: 395_000 picoseconds. + Weight::from_parts(431_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1628,12 +1626,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_907_000 picoseconds. - Weight::from_parts(9_926_136, 249) + // Minimum execution time: 9_941_000 picoseconds. + Weight::from_parts(9_706_556, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(236, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(57, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1645,10 +1643,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_288_000 picoseconds. - Weight::from_parts(9_347_243, 248) + // Minimum execution time: 7_658_000 picoseconds. + Weight::from_parts(9_000_670, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1660,10 +1658,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_180_000 picoseconds. - Weight::from_parts(9_058_388, 248) + // Minimum execution time: 6_656_000 picoseconds. + Weight::from_parts(8_433_870, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(614, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1674,10 +1672,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_868_000 picoseconds. - Weight::from_parts(8_056_732, 248) + // Minimum execution time: 6_589_000 picoseconds. + Weight::from_parts(7_716_308, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(79, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1688,10 +1686,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_601_000 picoseconds. - Weight::from_parts(10_124_367, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + // Minimum execution time: 8_014_000 picoseconds. + Weight::from_parts(9_642_404, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(608, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1700,8 +1698,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_242_000 picoseconds. - Weight::from_parts(9_557_000, 0) + // Minimum execution time: 8_709_000 picoseconds. + Weight::from_parts(8_980_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1720,14 +1718,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `6560 + t * (2182 ±0)` - // Minimum execution time: 161_170_000 picoseconds. - Weight::from_parts(165_269_982, 6560) - // Standard Error: 327_855 - .saturating_add(Weight::from_parts(42_589_388, 0).saturating_mul(t.into())) - // Standard Error: 327_855 - .saturating_add(Weight::from_parts(1_482_035, 0).saturating_mul(c.into())) + // Minimum execution time: 128_396_000 picoseconds. + Weight::from_parts(126_352_398, 6560) + // Standard Error: 188_770 + .saturating_add(Weight::from_parts(42_179_223, 0).saturating_mul(t.into())) + // Standard Error: 188_770 + .saturating_add(Weight::from_parts(773_417, 0).saturating_mul(c.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1744,8 +1742,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `6370` - // Minimum execution time: 149_765_000 picoseconds. - Weight::from_parts(159_745_000, 6370) + // Minimum execution time: 117_314_000 picoseconds. + Weight::from_parts(122_011_000, 6370) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1768,14 +1766,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `676 + t * (102 ±0)` // Estimated: `6613 + t * (90 ±1)` - // Minimum execution time: 1_807_196_000 picoseconds. - Weight::from_parts(83_888_679, 6613) - // Standard Error: 6_713_052 - .saturating_add(Weight::from_parts(184_318_405, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_532, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_796, 0).saturating_mul(s.into())) + // Minimum execution time: 1_614_389_000 picoseconds. + Weight::from_parts(1_626_932_000, 6613) + // Standard Error: 13 + .saturating_add(Weight::from_parts(611, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(959, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) @@ -1785,64 +1781,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 850_000 picoseconds. - Weight::from_parts(927_000, 0) + // Minimum execution time: 743_000 picoseconds. + Weight::from_parts(804_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_146, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_060, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_318_000 picoseconds. - Weight::from_parts(1_404_000, 0) + // Minimum execution time: 1_308_000 picoseconds. + Weight::from_parts(1_402_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_405, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_314, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 709_000 picoseconds. - Weight::from_parts(736_000, 0) + // Minimum execution time: 687_000 picoseconds. + Weight::from_parts(719_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_282, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_177, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 707_000 picoseconds. - Weight::from_parts(748_000, 0) + // Minimum execution time: 690_000 picoseconds. + Weight::from_parts(732_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_184, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_289_000 picoseconds. - Weight::from_parts(47_063_362, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(4_544, 0).saturating_mul(n.into())) + // Minimum execution time: 45_163_000 picoseconds. + Weight::from_parts(48_046_707, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(4_524, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_432_000 picoseconds. - Weight::from_parts(48_334_000, 0) + // Minimum execution time: 47_903_000 picoseconds. + Weight::from_parts(49_233_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_812_000 picoseconds. - Weight::from_parts(13_019_000, 0) + // Minimum execution time: 13_041_000 picoseconds. + Weight::from_parts(13_186_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1854,8 +1850,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `6370` - // Minimum execution time: 27_336_000 picoseconds. - Weight::from_parts(28_146_000, 6370) + // Minimum execution time: 26_065_000 picoseconds. + Weight::from_parts(27_813_000, 6370) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1865,8 +1861,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_209_000 picoseconds. - Weight::from_parts(9_638_000, 3820) + // Minimum execution time: 9_008_000 picoseconds. + Weight::from_parts(9_359_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1876,8 +1872,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_161_000 picoseconds. - Weight::from_parts(8_449_000, 3558) + // Minimum execution time: 7_880_000 picoseconds. + Weight::from_parts(8_266_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1885,15 +1881,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 330_000 picoseconds. - Weight::from_parts(354_000, 0) + // Minimum execution time: 294_000 picoseconds. + Weight::from_parts(323_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 337_000 picoseconds. - Weight::from_parts(381_000, 0) + // Minimum execution time: 336_000 picoseconds. + Weight::from_parts(364_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1901,8 +1897,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_975_000 picoseconds. - Weight::from_parts(3_147_000, 1704) + // Minimum execution time: 2_841_000 picoseconds. + Weight::from_parts(2_972_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1910,9 +1906,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 863_000 picoseconds. - Weight::from_parts(439_219, 0) - // Standard Error: 17 - .saturating_add(Weight::from_parts(15_175, 0).saturating_mul(r.into())) + // Minimum execution time: 731_000 picoseconds. + Weight::from_parts(1_017_331, 0) + // Standard Error: 6 + .saturating_add(Weight::from_parts(6_488, 0).saturating_mul(r.into())) } } From d235dfa864b7dc249b2cbdd8e588e268950b57ac Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 17 May 2024 14:18:03 +0200 Subject: [PATCH 46/75] Remove internal events --- substrate/frame/contracts/src/exec.rs | 52 ++++++++----------- substrate/frame/contracts/src/lib.rs | 24 +++++---- .../frame/contracts/src/storage/meter.rs | 30 +++++------ substrate/frame/contracts/src/wasm/mod.rs | 22 ++++---- 4 files changed, 58 insertions(+), 70 deletions(-) diff --git a/substrate/frame/contracts/src/exec.rs b/substrate/frame/contracts/src/exec.rs index 31cdadb4bb43..85aab56027a7 100644 --- a/substrate/frame/contracts/src/exec.rs +++ b/substrate/frame/contracts/src/exec.rs @@ -46,7 +46,7 @@ use sp_core::{ }; use sp_io::{crypto::secp256k1_ecdsa_recover_compressed, hashing::blake2_256}; use sp_runtime::{ - traits::{Convert, Dispatchable, Hash, Zero}, + traits::{Convert, Dispatchable, Zero}, DispatchError, }; use sp_std::{fmt::Debug, marker::PhantomData, mem, prelude::*, vec::Vec}; @@ -983,16 +983,16 @@ where let caller = self.caller().account_id()?.clone(); // Deposit an instantiation event. - Contracts::::deposit_event( - vec![T::Hashing::hash_of(&caller), T::Hashing::hash_of(account_id)], - Event::Instantiated { deployer: caller, contract: account_id.clone() }, - ); + Contracts::::deposit_event(Event::Instantiated { + deployer: caller, + contract: account_id.clone(), + }); }, (ExportedFunction::Call, Some(code_hash)) => { - Contracts::::deposit_event( - vec![T::Hashing::hash_of(account_id), T::Hashing::hash_of(&code_hash)], - Event::DelegateCalled { contract: account_id.clone(), code_hash }, - ); + Contracts::::deposit_event(Event::DelegateCalled { + contract: account_id.clone(), + code_hash, + }); }, (ExportedFunction::Call, None) => { // If a special limit was set for the sub-call, we enforce it here. @@ -1002,10 +1002,10 @@ where frame.nested_storage.enforce_subcall_limit(contract)?; let caller = self.caller(); - Contracts::::deposit_event( - vec![T::Hashing::hash_of(&caller), T::Hashing::hash_of(&account_id)], - Event::Called { caller: caller.clone(), contract: account_id.clone() }, - ); + Contracts::::deposit_event(Event::Called { + caller: caller.clone(), + contract: account_id.clone(), + }); }, } @@ -1324,13 +1324,10 @@ where .charge_deposit(frame.account_id.clone(), StorageDeposit::Refund(*deposit)); } - Contracts::::deposit_event( - vec![T::Hashing::hash_of(&frame.account_id), T::Hashing::hash_of(&beneficiary)], - Event::Terminated { - contract: frame.account_id.clone(), - beneficiary: beneficiary.clone(), - }, - ); + Contracts::::deposit_event(Event::Terminated { + contract: frame.account_id.clone(), + beneficiary: beneficiary.clone(), + }); Ok(()) } @@ -1422,7 +1419,7 @@ where } fn deposit_event(&mut self, topics: Vec, data: Vec) { - Contracts::::deposit_event( + Contracts::::deposit_indexed_event( topics, Event::ContractEmitted { contract: self.top_frame().account_id.clone(), data }, ); @@ -1527,14 +1524,11 @@ where Self::increment_refcount(hash)?; Self::decrement_refcount(prev_hash); - Contracts::::deposit_event( - vec![T::Hashing::hash_of(&frame.account_id), hash, prev_hash], - Event::ContractCodeUpdated { - contract: frame.account_id.clone(), - new_code_hash: hash, - old_code_hash: prev_hash, - }, - ); + Contracts::::deposit_event(Event::ContractCodeUpdated { + contract: frame.account_id.clone(), + new_code_hash: hash, + old_code_hash: prev_hash, + }); Ok(()) } diff --git a/substrate/frame/contracts/src/lib.rs b/substrate/frame/contracts/src/lib.rs index 3e87eb9f37ea..d20f3c15fb56 100644 --- a/substrate/frame/contracts/src/lib.rs +++ b/substrate/frame/contracts/src/lib.rs @@ -135,7 +135,7 @@ use frame_system::{ use scale_info::TypeInfo; use smallvec::Array; use sp_runtime::{ - traits::{Convert, Dispatchable, Hash, Saturating, StaticLookup, Zero}, + traits::{Convert, Dispatchable, Saturating, StaticLookup, Zero}, DispatchError, RuntimeDebug, }; use sp_std::{fmt::Debug, prelude::*}; @@ -833,14 +833,11 @@ pub mod pallet { }; >>::increment_refcount(code_hash)?; >>::decrement_refcount(contract.code_hash); - Self::deposit_event( - vec![T::Hashing::hash_of(&dest), code_hash, contract.code_hash], - Event::ContractCodeUpdated { - contract: dest.clone(), - new_code_hash: code_hash, - old_code_hash: contract.code_hash, - }, - ); + Self::deposit_event(Event::ContractCodeUpdated { + contract: dest.clone(), + new_code_hash: code_hash, + old_code_hash: contract.code_hash, + }); contract.code_hash = code_hash; Ok(()) }) @@ -1827,8 +1824,13 @@ impl Pallet { Ok(()) } - /// Deposit a pallet contracts event. Handles the conversion to the overarching event type. - fn deposit_event(topics: Vec, event: Event) { + /// Deposit a pallet contracts event. + fn deposit_event(event: Event) { + >::deposit_event(::RuntimeEvent::from(event)) + } + + /// Deposit a pallet contracts indexed event. + fn deposit_indexed_event(topics: Vec, event: Event) { >::deposit_event_indexed( &topics, ::RuntimeEvent::from(event).into(), diff --git a/substrate/frame/contracts/src/storage/meter.rs b/substrate/frame/contracts/src/storage/meter.rs index 5db9a772ad82..7c55ce5d3f0c 100644 --- a/substrate/frame/contracts/src/storage/meter.rs +++ b/substrate/frame/contracts/src/storage/meter.rs @@ -34,10 +34,10 @@ use frame_support::{ DefaultNoBound, RuntimeDebugNoBound, }; use sp_runtime::{ - traits::{Hash as HashT, Saturating, Zero}, + traits::{Saturating, Zero}, DispatchError, FixedPointNumber, FixedU128, }; -use sp_std::{fmt::Debug, marker::PhantomData, vec, vec::Vec}; +use sp_std::{fmt::Debug, marker::PhantomData, vec::Vec}; /// Deposit that uses the native fungible's balance type. pub type DepositOf = Deposit>; @@ -551,14 +551,11 @@ impl Ext for ReservingExt { Fortitude::Polite, )?; - Pallet::::deposit_event( - vec![T::Hashing::hash_of(&origin), T::Hashing::hash_of(&contract)], - Event::StorageDepositTransferredAndHeld { - from: origin.clone(), - to: contract.clone(), - amount: *amount, - }, - ); + Pallet::::deposit_event(Event::StorageDepositTransferredAndHeld { + from: origin.clone(), + to: contract.clone(), + amount: *amount, + }); }, Deposit::Refund(amount) => { let transferred = T::Currency::transfer_on_hold( @@ -571,14 +568,11 @@ impl Ext for ReservingExt { Fortitude::Polite, )?; - Pallet::::deposit_event( - vec![T::Hashing::hash_of(&contract), T::Hashing::hash_of(&origin)], - Event::StorageDepositTransferredAndReleased { - from: contract.clone(), - to: origin.clone(), - amount: transferred, - }, - ); + Pallet::::deposit_event(Event::StorageDepositTransferredAndReleased { + from: contract.clone(), + to: origin.clone(), + amount: transferred, + }); if transferred < *amount { // This should never happen, if it does it means that there is a bug in the diff --git a/substrate/frame/contracts/src/wasm/mod.rs b/substrate/frame/contracts/src/wasm/mod.rs index 8d7f928dba33..b40eb699db9e 100644 --- a/substrate/frame/contracts/src/wasm/mod.rs +++ b/substrate/frame/contracts/src/wasm/mod.rs @@ -184,10 +184,11 @@ impl WasmBlob { *existing = None; >::remove(&code_hash); - >::deposit_event( - vec![code_hash], - Event::CodeRemoved { code_hash, deposit_released, remover }, - ); + >::deposit_event(Event::CodeRemoved { + code_hash, + deposit_released, + remover, + }); Ok(()) } else { Err(>::CodeNotFound.into()) @@ -271,14 +272,11 @@ impl WasmBlob { self.code_info.refcount = 0; >::insert(code_hash, &self.code); *stored_code_info = Some(self.code_info.clone()); - >::deposit_event( - vec![code_hash], - Event::CodeStored { - code_hash, - deposit_held: deposit, - uploader: self.code_info.owner.clone(), - }, - ); + >::deposit_event(Event::CodeStored { + code_hash, + deposit_held: deposit, + uploader: self.code_info.owner.clone(), + }); Ok(deposit) }, } From 7ae8ac1dcbf81461dee71e0844e95a36158999b6 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 17 May 2024 15:06:07 +0200 Subject: [PATCH 47/75] Add prdoc --- prdoc/pr_4510.prdoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 prdoc/pr_4510.prdoc diff --git a/prdoc/pr_4510.prdoc b/prdoc/pr_4510.prdoc new file mode 100644 index 000000000000..fbd9bf961fe9 --- /dev/null +++ b/prdoc/pr_4510.prdoc @@ -0,0 +1,13 @@ +title: "[Contracts] Remove internal topic index" + +doc: + - audience: Runtime Dev + description: | + This PR removes topics from internal events emitted by pallet_contracts. It does not touch the `deposit_event` host function used by + smart contracts that can still include topics. + Event topics incurs significant Storage costs, and are only used by light clients to index events and avoid downloading the entire block. + They are not used by Dapp or Indexers that download the whole block anyway. + +crates: + - name: pallet-contracts + bump: patch From 737e95694ae9e5d4ba7e515092158f10288d3000 Mon Sep 17 00:00:00 2001 From: PG Herveou Date: Fri, 17 May 2024 15:23:16 +0200 Subject: [PATCH 48/75] Fix tests --- substrate/frame/contracts/src/exec.rs | 6 +- substrate/frame/contracts/src/tests.rs | 78 +++++++++++--------------- 2 files changed, 36 insertions(+), 48 deletions(-) diff --git a/substrate/frame/contracts/src/exec.rs b/substrate/frame/contracts/src/exec.rs index 85aab56027a7..21ebb1e8c5f3 100644 --- a/substrate/frame/contracts/src/exec.rs +++ b/substrate/frame/contracts/src/exec.rs @@ -1633,7 +1633,7 @@ mod tests { exec::ExportedFunction::*, gas::GasMeter, tests::{ - test_utils::{get_balance, hash, place_contract, set_balance}, + test_utils::{get_balance, place_contract, set_balance}, ExtBuilder, RuntimeCall, RuntimeEvent as MetaEvent, Test, TestFilter, ALICE, BOB, CHARLIE, GAS_LIMIT, }, @@ -3158,7 +3158,7 @@ mod tests { caller: Origin::from_account_id(ALICE), contract: BOB, }), - topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&BOB)], + topics: vec![], }, ] ); @@ -3258,7 +3258,7 @@ mod tests { caller: Origin::from_account_id(ALICE), contract: BOB, }), - topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&BOB)], + topics: vec![], }, ] ); diff --git a/substrate/frame/contracts/src/tests.rs b/substrate/frame/contracts/src/tests.rs index 8fe845fcf0f8..251c037d317d 100644 --- a/substrate/frame/contracts/src/tests.rs +++ b/substrate/frame/contracts/src/tests.rs @@ -20,13 +20,13 @@ mod test_debug; use self::{ test_debug::TestDebug, - test_utils::{ensure_stored, expected_deposit, hash}, + test_utils::{ensure_stored, expected_deposit}, }; use crate::{ self as pallet_contracts, chain_extension::{ ChainExtension, Environment, Ext, InitState, RegisteredChainExtension, - Result as ExtensionResult, RetVal, ReturnFlags, SysConfig, + Result as ExtensionResult, RetVal, ReturnFlags, }, exec::{Frame, Key}, migration::codegen::LATEST_MIGRATION_VERSION, @@ -63,7 +63,7 @@ use sp_io::hashing::blake2_256; use sp_keystore::{testing::MemoryKeystore, KeystoreExt}; use sp_runtime::{ testing::H256, - traits::{BlakeTwo256, Convert, Hash, IdentityLookup}, + traits::{BlakeTwo256, Convert, IdentityLookup}, AccountId32, BuildStorage, DispatchError, Perbill, TokenError, }; @@ -97,7 +97,7 @@ macro_rules! assert_refcount { } pub mod test_utils { - use super::{Contracts, DepositPerByte, DepositPerItem, Hash, SysConfig, Test}; + use super::{Contracts, DepositPerByte, DepositPerItem, Test}; use crate::{ exec::AccountIdOf, BalanceOf, CodeHash, CodeInfo, CodeInfoOf, Config, ContractInfo, ContractInfoOf, Nonce, PristineCode, @@ -145,9 +145,6 @@ pub mod test_utils { .saturating_mul(info_size) .saturating_add(DepositPerItem::get()) } - pub fn hash(s: &S) -> <::Hashing as Hash>::Output { - <::Hashing as Hash>::hash_of(s) - } pub fn expected_deposit(code_len: usize) -> u64 { // For code_info, the deposit for max_encoded_len is taken. let code_info_len = CodeInfo::::max_encoded_len() as u64; @@ -768,7 +765,7 @@ fn instantiate_and_call_and_deposit_event() { deployer: ALICE, contract: addr.clone() }), - topics: vec![hash(&ALICE), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -779,7 +776,7 @@ fn instantiate_and_call_and_deposit_event() { amount: test_utils::contract_info_storage_deposit(&addr), } ), - topics: vec![hash(&ALICE), hash(&addr)], + topics: vec![], }, ] ); @@ -1039,7 +1036,7 @@ fn deploy_and_call_other_contract() { deployer: caller_addr.clone(), contract: callee_addr.clone(), }), - topics: vec![hash(&caller_addr), hash(&callee_addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -1056,10 +1053,7 @@ fn deploy_and_call_other_contract() { caller: Origin::from_account_id(caller_addr.clone()), contract: callee_addr.clone(), }), - topics: vec![ - hash(&Origin::::from_account_id(caller_addr.clone())), - hash(&callee_addr) - ], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -1067,7 +1061,7 @@ fn deploy_and_call_other_contract() { caller: Origin::from_account_id(ALICE), contract: caller_addr.clone(), }), - topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&caller_addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -1078,7 +1072,7 @@ fn deploy_and_call_other_contract() { amount: test_utils::contract_info_storage_deposit(&callee_addr), } ), - topics: vec![hash(&ALICE), hash(&callee_addr)], + topics: vec![], }, ] ); @@ -1304,7 +1298,7 @@ fn self_destruct_works() { contract: addr.clone(), beneficiary: DJANGO }), - topics: vec![hash(&addr), hash(&DJANGO)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -1312,7 +1306,7 @@ fn self_destruct_works() { caller: Origin::from_account_id(ALICE), contract: addr.clone(), }), - topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -1323,7 +1317,7 @@ fn self_destruct_works() { amount: info_deposit, } ), - topics: vec![hash(&addr), hash(&ALICE)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2511,7 +2505,7 @@ fn upload_code_works() { deposit_held: deposit_expected, uploader: ALICE }), - topics: vec![code_hash], + topics: vec![], },] ); }); @@ -2599,7 +2593,7 @@ fn remove_code_works() { deposit_held: deposit_expected, uploader: ALICE }), - topics: vec![code_hash], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2608,7 +2602,7 @@ fn remove_code_works() { deposit_released: deposit_expected, remover: ALICE }), - topics: vec![code_hash], + topics: vec![], }, ] ); @@ -2648,7 +2642,7 @@ fn remove_code_wrong_origin() { deposit_held: deposit_expected, uploader: ALICE }), - topics: vec![code_hash], + topics: vec![], },] ); }); @@ -2727,7 +2721,7 @@ fn instantiate_with_zero_balance_works() { deposit_held: deposit_expected, uploader: ALICE }), - topics: vec![code_hash], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2759,7 +2753,7 @@ fn instantiate_with_zero_balance_works() { deployer: ALICE, contract: addr.clone(), }), - topics: vec![hash(&ALICE), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2770,7 +2764,7 @@ fn instantiate_with_zero_balance_works() { amount: test_utils::contract_info_storage_deposit(&addr), } ), - topics: vec![hash(&ALICE), hash(&addr)], + topics: vec![], }, ] ); @@ -2812,7 +2806,7 @@ fn instantiate_with_below_existential_deposit_works() { deposit_held: deposit_expected, uploader: ALICE }), - topics: vec![code_hash], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2853,7 +2847,7 @@ fn instantiate_with_below_existential_deposit_works() { deployer: ALICE, contract: addr.clone(), }), - topics: vec![hash(&ALICE), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2864,7 +2858,7 @@ fn instantiate_with_below_existential_deposit_works() { amount: test_utils::contract_info_storage_deposit(&addr), } ), - topics: vec![hash(&ALICE), hash(&addr)], + topics: vec![], }, ] ); @@ -2925,7 +2919,7 @@ fn storage_deposit_works() { caller: Origin::from_account_id(ALICE), contract: addr.clone(), }), - topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2936,7 +2930,7 @@ fn storage_deposit_works() { amount: charged0, } ), - topics: vec![hash(&ALICE), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2944,7 +2938,7 @@ fn storage_deposit_works() { caller: Origin::from_account_id(ALICE), contract: addr.clone(), }), - topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2955,7 +2949,7 @@ fn storage_deposit_works() { amount: charged1, } ), - topics: vec![hash(&ALICE), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2963,7 +2957,7 @@ fn storage_deposit_works() { caller: Origin::from_account_id(ALICE), contract: addr.clone(), }), - topics: vec![hash(&Origin::::from_account_id(ALICE)), hash(&addr)], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -2974,7 +2968,7 @@ fn storage_deposit_works() { amount: refunded0, } ), - topics: vec![hash(&addr.clone()), hash(&ALICE)], + topics: vec![], }, ] ); @@ -3078,7 +3072,7 @@ fn set_code_extrinsic() { new_code_hash, old_code_hash: code_hash, }), - topics: vec![hash(&addr), new_code_hash, code_hash], + topics: vec![], },] ); }); @@ -3230,7 +3224,7 @@ fn set_code_hash() { new_code_hash, old_code_hash: code_hash, }), - topics: vec![hash(&contract_addr), new_code_hash, code_hash], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -3238,10 +3232,7 @@ fn set_code_hash() { caller: Origin::from_account_id(ALICE), contract: contract_addr.clone(), }), - topics: vec![ - hash(&Origin::::from_account_id(ALICE)), - hash(&contract_addr) - ], + topics: vec![], }, EventRecord { phase: Phase::Initialization, @@ -3249,10 +3240,7 @@ fn set_code_hash() { caller: Origin::from_account_id(ALICE), contract: contract_addr.clone(), }), - topics: vec![ - hash(&Origin::::from_account_id(ALICE)), - hash(&contract_addr) - ], + topics: vec![], }, ], ); From 2f34c0fda6ef68141b8df8657586975c2c2d62be Mon Sep 17 00:00:00 2001 From: pgherveou Date: Fri, 17 May 2024 16:21:04 +0200 Subject: [PATCH 49/75] use whitelisted root contract origin for cross contract benchmarks --- substrate/frame/contracts/src/benchmarking/mod.rs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index e930bad1dcce..4797e851faa1 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -1219,8 +1219,9 @@ mod benchmarks { let mut setup = CallSetup::::default(); setup.set_storage_deposit_limit(deposit); - setup.set_data(vec![42; i as usize]); + setup.set_origin(Origin::from_account_id(setup.contract().account_id.clone())); + let (mut ext, _) = setup.ext(); let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); let mut memory = memory!(callee_bytes, deposit_bytes, value_bytes,); @@ -1252,7 +1253,13 @@ mod benchmarks { #[benchmark(pov_mode = Measured)] fn seal_delegate_call() -> Result<(), BenchmarkError> { let hash = Contract::::with_index(1, WasmModule::dummy(), vec![])?.info()?.code_hash; - build_runtime!(runtime, memory: [hash.encode(), ]); + + let mut setup = CallSetup::::default(); + setup.set_origin(Origin::from_account_id(setup.contract().account_id.clone())); + + let (mut ext, _) = setup.ext(); + let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); + let mut memory = memory!(hash.encode(),); let result; #[block] @@ -1295,7 +1302,9 @@ mod benchmarks { let deposit_len = deposit_bytes.len() as u32; let mut setup = CallSetup::::default(); + setup.set_origin(Origin::from_account_id(setup.contract().account_id.clone())); setup.set_balance(value + (Pallet::::min_balance() * 2u32.into())); + let account_id = &setup.contract().account_id.clone(); let (mut ext, _) = setup.ext(); let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); From 2926901b04decc4006baaa5e8af1de447415802f Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 17 May 2024 15:23:40 +0000 Subject: [PATCH 50/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 960 +++++++++++------------ 1 file changed, 452 insertions(+), 508 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 638883eae9d3..35dddc052aba 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_094_000 picoseconds. - Weight::from_parts(2_238_000, 1627) + // Minimum execution time: 2_024_000 picoseconds. + Weight::from_parts(2_252_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_226_000 picoseconds. - Weight::from_parts(12_508_000, 442) - // Standard Error: 1_454 - .saturating_add(Weight::from_parts(1_124_285, 0).saturating_mul(k.into())) + // Minimum execution time: 12_431_000 picoseconds. + Weight::from_parts(12_776_000, 442) + // Standard Error: 1_067 + .saturating_add(Weight::from_parts(1_151_178, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_644_000 picoseconds. - Weight::from_parts(9_027_360, 6149) + // Minimum execution time: 8_449_000 picoseconds. + Weight::from_parts(8_973_080, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_159, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_756_000 picoseconds. - Weight::from_parts(17_643_000, 6450) + // Minimum execution time: 16_720_000 picoseconds. + Weight::from_parts(17_514_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_444_000 picoseconds. - Weight::from_parts(3_583_000, 3635) - // Standard Error: 777 - .saturating_add(Weight::from_parts(1_222_839, 0).saturating_mul(k.into())) + // Minimum execution time: 3_540_000 picoseconds. + Weight::from_parts(40_895, 3635) + // Standard Error: 1_472 + .saturating_add(Weight::from_parts(1_232_021, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_786_000 picoseconds. - Weight::from_parts(17_044_074, 6263) - // Standard Error: 0 - .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) + // Minimum execution time: 16_770_000 picoseconds. + Weight::from_parts(16_902_655, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(377, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_921_000 picoseconds. - Weight::from_parts(13_391_000, 6380) + // Minimum execution time: 12_617_000 picoseconds. + Weight::from_parts(13_253_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_556_000 picoseconds. - Weight::from_parts(49_386_000, 6292) + // Minimum execution time: 47_835_000 picoseconds. + Weight::from_parts(49_254_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 54_956_000 picoseconds. - Weight::from_parts(57_387_000, 6534) + // Minimum execution time: 55_489_000 picoseconds. + Weight::from_parts(57_136_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_196_000 picoseconds. - Weight::from_parts(12_747_000, 6349) + // Minimum execution time: 11_795_000 picoseconds. + Weight::from_parts(12_655_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_500_000 picoseconds. - Weight::from_parts(2_572_000, 1627) + // Minimum execution time: 2_448_000 picoseconds. + Weight::from_parts(2_608_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_297_000 picoseconds. - Weight::from_parts(12_552_000, 3631) + // Minimum execution time: 12_208_000 picoseconds. + Weight::from_parts(12_653_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_745_000 picoseconds. - Weight::from_parts(5_049_000, 3607) + // Minimum execution time: 4_830_000 picoseconds. + Weight::from_parts(5_026_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_293_000 picoseconds. - Weight::from_parts(6_465_000, 3632) + // Minimum execution time: 6_178_000 picoseconds. + Weight::from_parts(6_485_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_378_000 picoseconds. - Weight::from_parts(6_874_000, 3607) + // Minimum execution time: 6_203_000 picoseconds. + Weight::from_parts(6_533_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -336,19 +336,17 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` - // Estimated: `6739 + c * (1 ±0)` - // Minimum execution time: 362_366_000 picoseconds. - Weight::from_parts(353_347_662, 6739) - // Standard Error: 129 - .saturating_add(Weight::from_parts(34_964, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Estimated: `4264 + c * (1 ±0)` + // Minimum execution time: 290_448_000 picoseconds. + Weight::from_parts(274_301_376, 4264) + // Standard Error: 64 + .saturating_add(Weight::from_parts(32_946, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) @@ -357,8 +355,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:2 w:2) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) - /// Storage: `System::EventTopics` (r:3 w:3) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::Nonce` (r:1 w:1) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) @@ -375,17 +371,17 @@ impl WeightInfo for SubstrateWeight { fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `323` - // Estimated: `8737` - // Minimum execution time: 4_266_902_000 picoseconds. - Weight::from_parts(914_416_909, 8737) - // Standard Error: 123 - .saturating_add(Weight::from_parts(67_482, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_659, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_619, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(10_u64)) + // Estimated: `6262` + // Minimum execution time: 3_777_124_000 picoseconds. + Weight::from_parts(858_828_640, 6262) + // Standard Error: 158 + .saturating_add(Weight::from_parts(67_299, 0).saturating_mul(c.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(i.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(7_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -401,8 +397,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) /// The range of component `i` is `[0, 1048576]`. @@ -410,15 +404,15 @@ impl WeightInfo for SubstrateWeight { fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `560` - // Estimated: `6504` - // Minimum execution time: 2_101_015_000 picoseconds. - Weight::from_parts(2_123_733_000, 6504) + // Estimated: `4029` + // Minimum execution time: 1_960_317_000 picoseconds. + Weight::from_parts(1_985_571_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(895, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(849, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(805, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(10_u64)) - .saturating_add(T::DbWeight::get().writes(7_u64)) + .saturating_add(Weight::from_parts(813, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(5_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -432,16 +426,14 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: // Measured: `826` - // Estimated: `6766` - // Minimum execution time: 205_788_000 picoseconds. - Weight::from_parts(210_371_000, 6766) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Estimated: `4291` + // Minimum execution time: 195_828_000 picoseconds. + Weight::from_parts(203_985_000, 4291) + .saturating_add(T::DbWeight::get().reads(6_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -449,8 +441,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) - /// Storage: `System::EventTopics` (r:1 w:1) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:0 w:1) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. @@ -458,12 +448,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 334_087_000 picoseconds. - Weight::from_parts(347_294_648, 3607) - // Standard Error: 75 - .saturating_add(Weight::from_parts(33_819, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 263_760_000 picoseconds. + Weight::from_parts(269_484_033, 3607) + // Standard Error: 54 + .saturating_add(Weight::from_parts(32_487, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -471,8 +461,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) - /// Storage: `System::EventTopics` (r:1 w:1) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:0 w:1) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. @@ -480,12 +468,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 348_078_000 picoseconds. - Weight::from_parts(393_851_501, 3607) - // Standard Error: 62 - .saturating_add(Weight::from_parts(33_635, 0).saturating_mul(c.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 274_929_000 picoseconds. + Weight::from_parts(285_405_269, 3607) + // Standard Error: 52 + .saturating_add(Weight::from_parts(32_658, 0).saturating_mul(c.into())) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -493,18 +481,16 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) - /// Storage: `System::EventTopics` (r:1 w:1) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:0 w:1) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) fn remove_code() -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_294_000 picoseconds. - Weight::from_parts(46_148_000, 3780) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Minimum execution time: 42_693_000 picoseconds. + Weight::from_parts(43_590_000, 3780) + .saturating_add(T::DbWeight::get().reads(3_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -512,33 +498,31 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:2 w:2) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `System::EventTopics` (r:3 w:3) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: // Measured: `552` - // Estimated: `8967` - // Minimum execution time: 34_298_000 picoseconds. - Weight::from_parts(35_728_000, 8967) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) + // Estimated: `6492` + // Minimum execution time: 26_126_000 picoseconds. + Weight::from_parts(27_456_000, 6492) + .saturating_add(T::DbWeight::get().reads(4_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// The range of component `r` is `[0, 1600]`. fn noop_host_fn(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_347_000 picoseconds. - Weight::from_parts(10_917_661, 0) - // Standard Error: 142 - .saturating_add(Weight::from_parts(70_824, 0).saturating_mul(r.into())) + // Minimum execution time: 9_933_000 picoseconds. + Weight::from_parts(10_586_445, 0) + // Standard Error: 74 + .saturating_add(Weight::from_parts(73_229, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 600_000 picoseconds. - Weight::from_parts(650_000, 0) + // Minimum execution time: 621_000 picoseconds. + Weight::from_parts(667_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -546,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_710_000 picoseconds. - Weight::from_parts(7_005_000, 3819) + // Minimum execution time: 6_594_000 picoseconds. + Weight::from_parts(6_855_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -556,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 8_112_000 picoseconds. - Weight::from_parts(8_360_000, 3912) + // Minimum execution time: 7_893_000 picoseconds. + Weight::from_parts(8_172_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 668_000 picoseconds. - Weight::from_parts(761_000, 0) + // Minimum execution time: 772_000 picoseconds. + Weight::from_parts(826_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 385_000 picoseconds. - Weight::from_parts(425_000, 0) + // Minimum execution time: 409_000 picoseconds. + Weight::from_parts(431_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000 picoseconds. - Weight::from_parts(354_000, 0) + // Minimum execution time: 333_000 picoseconds. + Weight::from_parts(360_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 558_000 picoseconds. - Weight::from_parts(607_000, 0) + // Minimum execution time: 609_000 picoseconds. + Weight::from_parts(628_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 661_000 picoseconds. - Weight::from_parts(706_000, 0) + // Minimum execution time: 669_000 picoseconds. + Weight::from_parts(741_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_693_000 picoseconds. - Weight::from_parts(4_872_000, 0) + // Minimum execution time: 4_778_000 picoseconds. + Weight::from_parts(4_985_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 532_000 picoseconds. - Weight::from_parts(583_000, 0) + // Minimum execution time: 585_000 picoseconds. + Weight::from_parts(610_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 529_000 picoseconds. - Weight::from_parts(570_000, 0) + // Minimum execution time: 567_000 picoseconds. + Weight::from_parts(601_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 557_000 picoseconds. - Weight::from_parts(597_000, 0) + // Minimum execution time: 592_000 picoseconds. + Weight::from_parts(627_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 551_000 picoseconds. - Weight::from_parts(588_000, 0) + // Minimum execution time: 576_000 picoseconds. + Weight::from_parts(616_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -636,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_284_000 picoseconds. - Weight::from_parts(4_564_000, 1552) + // Minimum execution time: 4_477_000 picoseconds. + Weight::from_parts(4_706_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -645,41 +629,39 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 452_000 picoseconds. - Weight::from_parts(480_000, 0) + // Minimum execution time: 503_000 picoseconds. + Weight::from_parts(528_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(292, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 322_000 picoseconds. - Weight::from_parts(349_000, 0) + // Minimum execution time: 333_000 picoseconds. + Weight::from_parts(371_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(398, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:33 w:33) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) /// The range of component `n` is `[0, 32]`. fn seal_terminate(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` - // Estimated: `6259 + n * (2553 ±0)` - // Minimum execution time: 21_002_000 picoseconds. - Weight::from_parts(22_620_068, 6259) - // Standard Error: 6_761 - .saturating_add(Weight::from_parts(3_676_180, 0).saturating_mul(n.into())) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Estimated: `3784 + n * (2553 ±0)` + // Minimum execution time: 14_468_000 picoseconds. + Weight::from_parts(16_793_355, 3784) + // Standard Error: 8_365 + .saturating_add(Weight::from_parts(3_694_281, 0).saturating_mul(n.into())) + .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) - .saturating_add(T::DbWeight::get().writes(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(n.into())) } @@ -689,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_622_000 picoseconds. - Weight::from_parts(3_809_000, 1561) + // Minimum execution time: 3_563_000 picoseconds. + Weight::from_parts(3_784_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -701,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_029_000 picoseconds. - Weight::from_parts(4_444_994, 990) - // Standard Error: 7_216 - .saturating_add(Weight::from_parts(2_404_769, 0).saturating_mul(t.into())) + // Minimum execution time: 4_064_000 picoseconds. + Weight::from_parts(4_551_057, 990) + // Standard Error: 7_249 + .saturating_add(Weight::from_parts(2_342_414, 0).saturating_mul(t.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(16, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(9, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -716,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 407_000 picoseconds. - Weight::from_parts(430_000, 0) + // Minimum execution time: 436_000 picoseconds. + Weight::from_parts(440_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_201, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -729,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_907_000 picoseconds. - Weight::from_parts(9_926_136, 249) + // Minimum execution time: 10_097_000 picoseconds. + Weight::from_parts(9_877_776, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(241, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -746,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_288_000 picoseconds. - Weight::from_parts(9_347_243, 248) + // Minimum execution time: 8_068_000 picoseconds. + Weight::from_parts(9_298_830, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -761,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_180_000 picoseconds. - Weight::from_parts(9_058_388, 248) + // Minimum execution time: 7_315_000 picoseconds. + Weight::from_parts(9_026_712, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(595, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -775,10 +757,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_868_000 picoseconds. - Weight::from_parts(8_056_732, 248) + // Minimum execution time: 6_833_000 picoseconds. + Weight::from_parts(7_980_890, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -789,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_601_000 picoseconds. - Weight::from_parts(10_124_367, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + // Minimum execution time: 8_250_000 picoseconds. + Weight::from_parts(10_058_209, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(607, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -801,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_242_000 picoseconds. - Weight::from_parts(9_557_000, 0) + // Minimum execution time: 8_858_000 picoseconds. + Weight::from_parts(9_238_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -812,26 +794,24 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` - // Estimated: `6560 + t * (2182 ±0)` - // Minimum execution time: 161_170_000 picoseconds. - Weight::from_parts(165_269_982, 6560) - // Standard Error: 327_855 - .saturating_add(Weight::from_parts(42_589_388, 0).saturating_mul(t.into())) - // Standard Error: 327_855 - .saturating_add(Weight::from_parts(1_482_035, 0).saturating_mul(c.into())) + // Estimated: `4085 + t * (2182 ±0)` + // Minimum execution time: 153_417_000 picoseconds. + Weight::from_parts(154_858_902, 4085) + // Standard Error: 339_920 + .saturating_add(Weight::from_parts(45_327_013, 0).saturating_mul(t.into())) + // Standard Error: 339_920 + .saturating_add(Weight::from_parts(1_016_817, 0).saturating_mul(c.into())) // Standard Error: 0 .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) - .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(T::DbWeight::get().writes(3_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2182).saturating_mul(t.into())) } @@ -839,16 +819,13 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn seal_delegate_call() -> Weight { // Proof Size summary in bytes: // Measured: `430` - // Estimated: `6370` - // Minimum execution time: 149_765_000 picoseconds. - Weight::from_parts(159_745_000, 6370) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) + // Estimated: `3895` + // Minimum execution time: 140_613_000 picoseconds. + Weight::from_parts(149_663_000, 3895) + .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -858,107 +835,102 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `676 + t * (102 ±0)` - // Estimated: `6613 + t * (90 ±1)` - // Minimum execution time: 1_807_196_000 picoseconds. - Weight::from_parts(83_888_679, 6613) - // Standard Error: 6_713_052 - .saturating_add(Weight::from_parts(184_318_405, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_532, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_796, 0).saturating_mul(s.into())) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(6_u64)) - .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) + // Measured: `676` + // Estimated: `4138` + // Minimum execution time: 1_637_633_000 picoseconds. + Weight::from_parts(1_668_892, 4138) + // Standard Error: 8_487_760 + .saturating_add(Weight::from_parts(210_998_534, 0).saturating_mul(t.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_392, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_733, 0).saturating_mul(s.into())) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(3_u64)) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 850_000 picoseconds. - Weight::from_parts(927_000, 0) + // Minimum execution time: 868_000 picoseconds. + Weight::from_parts(882_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_146, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_051, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_318_000 picoseconds. - Weight::from_parts(1_404_000, 0) + // Minimum execution time: 1_404_000 picoseconds. + Weight::from_parts(1_490_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_405, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_316, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 709_000 picoseconds. - Weight::from_parts(736_000, 0) + // Minimum execution time: 849_000 picoseconds. + Weight::from_parts(913_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_282, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 707_000 picoseconds. - Weight::from_parts(748_000, 0) + // Minimum execution time: 697_000 picoseconds. + Weight::from_parts(772_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_289_000 picoseconds. - Weight::from_parts(47_063_362, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(4_544, 0).saturating_mul(n.into())) + // Minimum execution time: 42_862_000 picoseconds. + Weight::from_parts(48_510_759, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(4_451, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_432_000 picoseconds. - Weight::from_parts(48_334_000, 0) + // Minimum execution time: 47_180_000 picoseconds. + Weight::from_parts(48_679_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_812_000 picoseconds. - Weight::from_parts(13_019_000, 0) + // Minimum execution time: 13_057_000 picoseconds. + Weight::from_parts(13_227_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn seal_set_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `430` - // Estimated: `6370` - // Minimum execution time: 27_336_000 picoseconds. - Weight::from_parts(28_146_000, 6370) - .saturating_add(T::DbWeight::get().reads(4_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Estimated: `3895` + // Minimum execution time: 19_335_000 picoseconds. + Weight::from_parts(20_225_000, 3895) + .saturating_add(T::DbWeight::get().reads(2_u64)) + .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -966,8 +938,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_209_000 picoseconds. - Weight::from_parts(9_638_000, 3820) + // Minimum execution time: 9_400_000 picoseconds. + Weight::from_parts(9_743_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -977,8 +949,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_161_000 picoseconds. - Weight::from_parts(8_449_000, 3558) + // Minimum execution time: 8_125_000 picoseconds. + Weight::from_parts(8_491_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -987,14 +959,14 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 330_000 picoseconds. - Weight::from_parts(354_000, 0) + Weight::from_parts(383_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 337_000 picoseconds. - Weight::from_parts(381_000, 0) + // Minimum execution time: 349_000 picoseconds. + Weight::from_parts(380_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1002,8 +974,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_975_000 picoseconds. - Weight::from_parts(3_147_000, 1704) + // Minimum execution time: 3_083_000 picoseconds. + Weight::from_parts(3_248_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1011,10 +983,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 863_000 picoseconds. - Weight::from_parts(439_219, 0) - // Standard Error: 17 - .saturating_add(Weight::from_parts(15_175, 0).saturating_mul(r.into())) + // Minimum execution time: 918_000 picoseconds. + Weight::from_parts(1_027_293, 0) + // Standard Error: 23 + .saturating_add(Weight::from_parts(14_764, 0).saturating_mul(r.into())) } } @@ -1026,8 +998,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_094_000 picoseconds. - Weight::from_parts(2_238_000, 1627) + // Minimum execution time: 2_024_000 picoseconds. + Weight::from_parts(2_252_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1037,10 +1009,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_226_000 picoseconds. - Weight::from_parts(12_508_000, 442) - // Standard Error: 1_454 - .saturating_add(Weight::from_parts(1_124_285, 0).saturating_mul(k.into())) + // Minimum execution time: 12_431_000 picoseconds. + Weight::from_parts(12_776_000, 442) + // Standard Error: 1_067 + .saturating_add(Weight::from_parts(1_151_178, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1054,10 +1026,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_644_000 picoseconds. - Weight::from_parts(9_027_360, 6149) + // Minimum execution time: 8_449_000 picoseconds. + Weight::from_parts(8_973_080, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_159, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1070,8 +1042,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_756_000 picoseconds. - Weight::from_parts(17_643_000, 6450) + // Minimum execution time: 16_720_000 picoseconds. + Weight::from_parts(17_514_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1084,10 +1056,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_444_000 picoseconds. - Weight::from_parts(3_583_000, 3635) - // Standard Error: 777 - .saturating_add(Weight::from_parts(1_222_839, 0).saturating_mul(k.into())) + // Minimum execution time: 3_540_000 picoseconds. + Weight::from_parts(40_895, 3635) + // Standard Error: 1_472 + .saturating_add(Weight::from_parts(1_232_021, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1106,10 +1078,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_786_000 picoseconds. - Weight::from_parts(17_044_074, 6263) - // Standard Error: 0 - .saturating_add(Weight::from_parts(463, 0).saturating_mul(c.into())) + // Minimum execution time: 16_770_000 picoseconds. + Weight::from_parts(16_902_655, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(377, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1120,8 +1092,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_921_000 picoseconds. - Weight::from_parts(13_391_000, 6380) + // Minimum execution time: 12_617_000 picoseconds. + Weight::from_parts(13_253_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1135,8 +1107,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_556_000 picoseconds. - Weight::from_parts(49_386_000, 6292) + // Minimum execution time: 47_835_000 picoseconds. + Weight::from_parts(49_254_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1148,8 +1120,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 54_956_000 picoseconds. - Weight::from_parts(57_387_000, 6534) + // Minimum execution time: 55_489_000 picoseconds. + Weight::from_parts(57_136_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1159,8 +1131,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_196_000 picoseconds. - Weight::from_parts(12_747_000, 6349) + // Minimum execution time: 11_795_000 picoseconds. + Weight::from_parts(12_655_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1170,8 +1142,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_500_000 picoseconds. - Weight::from_parts(2_572_000, 1627) + // Minimum execution time: 2_448_000 picoseconds. + Weight::from_parts(2_608_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1183,8 +1155,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_297_000 picoseconds. - Weight::from_parts(12_552_000, 3631) + // Minimum execution time: 12_208_000 picoseconds. + Weight::from_parts(12_653_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1194,8 +1166,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_745_000 picoseconds. - Weight::from_parts(5_049_000, 3607) + // Minimum execution time: 4_830_000 picoseconds. + Weight::from_parts(5_026_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1206,8 +1178,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_293_000 picoseconds. - Weight::from_parts(6_465_000, 3632) + // Minimum execution time: 6_178_000 picoseconds. + Weight::from_parts(6_485_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1218,8 +1190,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_378_000 picoseconds. - Weight::from_parts(6_874_000, 3607) + // Minimum execution time: 6_203_000 picoseconds. + Weight::from_parts(6_533_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1235,19 +1207,17 @@ impl WeightInfo for () { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. fn call_with_code_per_byte(c: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` - // Estimated: `6739 + c * (1 ±0)` - // Minimum execution time: 362_366_000 picoseconds. - Weight::from_parts(353_347_662, 6739) - // Standard Error: 129 - .saturating_add(Weight::from_parts(34_964, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Estimated: `4264 + c * (1 ±0)` + // Minimum execution time: 290_448_000 picoseconds. + Weight::from_parts(274_301_376, 4264) + // Standard Error: 64 + .saturating_add(Weight::from_parts(32_946, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) @@ -1256,8 +1226,6 @@ impl WeightInfo for () { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:2 w:2) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) - /// Storage: `System::EventTopics` (r:3 w:3) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::Nonce` (r:1 w:1) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) @@ -1274,17 +1242,17 @@ impl WeightInfo for () { fn instantiate_with_code(c: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `323` - // Estimated: `8737` - // Minimum execution time: 4_266_902_000 picoseconds. - Weight::from_parts(914_416_909, 8737) - // Standard Error: 123 - .saturating_add(Weight::from_parts(67_482, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_659, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_619, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(11_u64)) - .saturating_add(RocksDbWeight::get().writes(10_u64)) + // Estimated: `6262` + // Minimum execution time: 3_777_124_000 picoseconds. + Weight::from_parts(858_828_640, 6262) + // Standard Error: 158 + .saturating_add(Weight::from_parts(67_299, 0).saturating_mul(c.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(i.into())) + // Standard Error: 19 + .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(7_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -1300,8 +1268,6 @@ impl WeightInfo for () { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) /// The range of component `i` is `[0, 1048576]`. @@ -1309,15 +1275,15 @@ impl WeightInfo for () { fn instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `560` - // Estimated: `6504` - // Minimum execution time: 2_101_015_000 picoseconds. - Weight::from_parts(2_123_733_000, 6504) + // Estimated: `4029` + // Minimum execution time: 1_960_317_000 picoseconds. + Weight::from_parts(1_985_571_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(895, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(849, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(805, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(10_u64)) - .saturating_add(RocksDbWeight::get().writes(7_u64)) + .saturating_add(Weight::from_parts(813, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(5_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -1331,16 +1297,14 @@ impl WeightInfo for () { /// Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn call() -> Weight { // Proof Size summary in bytes: // Measured: `826` - // Estimated: `6766` - // Minimum execution time: 205_788_000 picoseconds. - Weight::from_parts(210_371_000, 6766) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Estimated: `4291` + // Minimum execution time: 195_828_000 picoseconds. + Weight::from_parts(203_985_000, 4291) + .saturating_add(RocksDbWeight::get().reads(6_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -1348,8 +1312,6 @@ impl WeightInfo for () { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) - /// Storage: `System::EventTopics` (r:1 w:1) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:0 w:1) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. @@ -1357,12 +1319,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 334_087_000 picoseconds. - Weight::from_parts(347_294_648, 3607) - // Standard Error: 75 - .saturating_add(Weight::from_parts(33_819, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Minimum execution time: 263_760_000 picoseconds. + Weight::from_parts(269_484_033, 3607) + // Standard Error: 54 + .saturating_add(Weight::from_parts(32_487, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -1370,8 +1332,6 @@ impl WeightInfo for () { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) - /// Storage: `System::EventTopics` (r:1 w:1) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:0 w:1) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// The range of component `c` is `[0, 125952]`. @@ -1379,12 +1339,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 348_078_000 picoseconds. - Weight::from_parts(393_851_501, 3607) - // Standard Error: 62 - .saturating_add(Weight::from_parts(33_635, 0).saturating_mul(c.into())) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Minimum execution time: 274_929_000 picoseconds. + Weight::from_parts(285_405_269, 3607) + // Standard Error: 52 + .saturating_add(Weight::from_parts(32_658, 0).saturating_mul(c.into())) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -1392,18 +1352,16 @@ impl WeightInfo for () { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Balances::Holds` (r:1 w:1) /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(193), added: 2668, mode: `Measured`) - /// Storage: `System::EventTopics` (r:1 w:1) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:0 w:1) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) fn remove_code() -> Weight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 45_294_000 picoseconds. - Weight::from_parts(46_148_000, 3780) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Minimum execution time: 42_693_000 picoseconds. + Weight::from_parts(43_590_000, 3780) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `Contracts::MigrationInProgress` (r:1 w:0) /// Proof: `Contracts::MigrationInProgress` (`max_values`: Some(1), `max_size`: Some(1026), added: 1521, mode: `Measured`) @@ -1411,33 +1369,31 @@ impl WeightInfo for () { /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:2 w:2) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `System::EventTopics` (r:3 w:3) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_code() -> Weight { // Proof Size summary in bytes: // Measured: `552` - // Estimated: `8967` - // Minimum execution time: 34_298_000 picoseconds. - Weight::from_parts(35_728_000, 8967) - .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().writes(6_u64)) + // Estimated: `6492` + // Minimum execution time: 26_126_000 picoseconds. + Weight::from_parts(27_456_000, 6492) + .saturating_add(RocksDbWeight::get().reads(4_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// The range of component `r` is `[0, 1600]`. fn noop_host_fn(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_347_000 picoseconds. - Weight::from_parts(10_917_661, 0) - // Standard Error: 142 - .saturating_add(Weight::from_parts(70_824, 0).saturating_mul(r.into())) + // Minimum execution time: 9_933_000 picoseconds. + Weight::from_parts(10_586_445, 0) + // Standard Error: 74 + .saturating_add(Weight::from_parts(73_229, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 600_000 picoseconds. - Weight::from_parts(650_000, 0) + // Minimum execution time: 621_000 picoseconds. + Weight::from_parts(667_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1445,8 +1401,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_710_000 picoseconds. - Weight::from_parts(7_005_000, 3819) + // Minimum execution time: 6_594_000 picoseconds. + Weight::from_parts(6_855_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1455,79 +1411,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 8_112_000 picoseconds. - Weight::from_parts(8_360_000, 3912) + // Minimum execution time: 7_893_000 picoseconds. + Weight::from_parts(8_172_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 668_000 picoseconds. - Weight::from_parts(761_000, 0) + // Minimum execution time: 772_000 picoseconds. + Weight::from_parts(826_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 385_000 picoseconds. - Weight::from_parts(425_000, 0) + // Minimum execution time: 409_000 picoseconds. + Weight::from_parts(431_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 312_000 picoseconds. - Weight::from_parts(354_000, 0) + // Minimum execution time: 333_000 picoseconds. + Weight::from_parts(360_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 558_000 picoseconds. - Weight::from_parts(607_000, 0) + // Minimum execution time: 609_000 picoseconds. + Weight::from_parts(628_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 661_000 picoseconds. - Weight::from_parts(706_000, 0) + // Minimum execution time: 669_000 picoseconds. + Weight::from_parts(741_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_693_000 picoseconds. - Weight::from_parts(4_872_000, 0) + // Minimum execution time: 4_778_000 picoseconds. + Weight::from_parts(4_985_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 532_000 picoseconds. - Weight::from_parts(583_000, 0) + // Minimum execution time: 585_000 picoseconds. + Weight::from_parts(610_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 529_000 picoseconds. - Weight::from_parts(570_000, 0) + // Minimum execution time: 567_000 picoseconds. + Weight::from_parts(601_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 557_000 picoseconds. - Weight::from_parts(597_000, 0) + // Minimum execution time: 592_000 picoseconds. + Weight::from_parts(627_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 551_000 picoseconds. - Weight::from_parts(588_000, 0) + // Minimum execution time: 576_000 picoseconds. + Weight::from_parts(616_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1535,8 +1491,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_284_000 picoseconds. - Weight::from_parts(4_564_000, 1552) + // Minimum execution time: 4_477_000 picoseconds. + Weight::from_parts(4_706_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1544,41 +1500,39 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 452_000 picoseconds. - Weight::from_parts(480_000, 0) + // Minimum execution time: 503_000 picoseconds. + Weight::from_parts(528_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(292, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 322_000 picoseconds. - Weight::from_parts(349_000, 0) + // Minimum execution time: 333_000 picoseconds. + Weight::from_parts(371_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(398, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::CodeInfoOf` (r:33 w:33) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Contracts::DeletionQueue` (r:0 w:1) /// Proof: `Contracts::DeletionQueue` (`max_values`: None, `max_size`: Some(142), added: 2617, mode: `Measured`) /// The range of component `n` is `[0, 32]`. fn seal_terminate(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` - // Estimated: `6259 + n * (2553 ±0)` - // Minimum execution time: 21_002_000 picoseconds. - Weight::from_parts(22_620_068, 6259) - // Standard Error: 6_761 - .saturating_add(Weight::from_parts(3_676_180, 0).saturating_mul(n.into())) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Estimated: `3784 + n * (2553 ±0)` + // Minimum execution time: 14_468_000 picoseconds. + Weight::from_parts(16_793_355, 3784) + // Standard Error: 8_365 + .saturating_add(Weight::from_parts(3_694_281, 0).saturating_mul(n.into())) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) - .saturating_add(RocksDbWeight::get().writes(5_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into()))) .saturating_add(Weight::from_parts(0, 2553).saturating_mul(n.into())) } @@ -1588,8 +1542,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_622_000 picoseconds. - Weight::from_parts(3_809_000, 1561) + // Minimum execution time: 3_563_000 picoseconds. + Weight::from_parts(3_784_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1600,12 +1554,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_029_000 picoseconds. - Weight::from_parts(4_444_994, 990) - // Standard Error: 7_216 - .saturating_add(Weight::from_parts(2_404_769, 0).saturating_mul(t.into())) + // Minimum execution time: 4_064_000 picoseconds. + Weight::from_parts(4_551_057, 990) + // Standard Error: 7_249 + .saturating_add(Weight::from_parts(2_342_414, 0).saturating_mul(t.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(16, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(9, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1615,10 +1569,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 407_000 picoseconds. - Weight::from_parts(430_000, 0) + // Minimum execution time: 436_000 picoseconds. + Weight::from_parts(440_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_271, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_201, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1628,12 +1582,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_907_000 picoseconds. - Weight::from_parts(9_926_136, 249) + // Minimum execution time: 10_097_000 picoseconds. + Weight::from_parts(9_877_776, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(334, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(241, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1645,10 +1599,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_288_000 picoseconds. - Weight::from_parts(9_347_243, 248) + // Minimum execution time: 8_068_000 picoseconds. + Weight::from_parts(9_298_830, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1660,10 +1614,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_180_000 picoseconds. - Weight::from_parts(9_058_388, 248) + // Minimum execution time: 7_315_000 picoseconds. + Weight::from_parts(9_026_712, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(595, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1674,10 +1628,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_868_000 picoseconds. - Weight::from_parts(8_056_732, 248) + // Minimum execution time: 6_833_000 picoseconds. + Weight::from_parts(7_980_890, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1688,10 +1642,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_601_000 picoseconds. - Weight::from_parts(10_124_367, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + // Minimum execution time: 8_250_000 picoseconds. + Weight::from_parts(10_058_209, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(607, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1700,8 +1654,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_242_000 picoseconds. - Weight::from_parts(9_557_000, 0) + // Minimum execution time: 8_858_000 picoseconds. + Weight::from_parts(9_238_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1711,26 +1665,24 @@ impl WeightInfo for () { /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` - // Estimated: `6560 + t * (2182 ±0)` - // Minimum execution time: 161_170_000 picoseconds. - Weight::from_parts(165_269_982, 6560) - // Standard Error: 327_855 - .saturating_add(Weight::from_parts(42_589_388, 0).saturating_mul(t.into())) - // Standard Error: 327_855 - .saturating_add(Weight::from_parts(1_482_035, 0).saturating_mul(c.into())) + // Estimated: `4085 + t * (2182 ±0)` + // Minimum execution time: 153_417_000 picoseconds. + Weight::from_parts(154_858_902, 4085) + // Standard Error: 339_920 + .saturating_add(Weight::from_parts(45_327_013, 0).saturating_mul(t.into())) + // Standard Error: 339_920 + .saturating_add(Weight::from_parts(1_016_817, 0).saturating_mul(c.into())) // Standard Error: 0 .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2182).saturating_mul(t.into())) } @@ -1738,16 +1690,13 @@ impl WeightInfo for () { /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn seal_delegate_call() -> Weight { // Proof Size summary in bytes: // Measured: `430` - // Estimated: `6370` - // Minimum execution time: 149_765_000 picoseconds. - Weight::from_parts(159_745_000, 6370) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) + // Estimated: `3895` + // Minimum execution time: 140_613_000 picoseconds. + Weight::from_parts(149_663_000, 3895) + .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1757,107 +1706,102 @@ impl WeightInfo for () { /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) - /// Storage: `System::Account` (r:2 w:2) + /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `676 + t * (102 ±0)` - // Estimated: `6613 + t * (90 ±1)` - // Minimum execution time: 1_807_196_000 picoseconds. - Weight::from_parts(83_888_679, 6613) - // Standard Error: 6_713_052 - .saturating_add(Weight::from_parts(184_318_405, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_532, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_796, 0).saturating_mul(s.into())) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(6_u64)) - .saturating_add(Weight::from_parts(0, 90).saturating_mul(t.into())) + // Measured: `676` + // Estimated: `4138` + // Minimum execution time: 1_637_633_000 picoseconds. + Weight::from_parts(1_668_892, 4138) + // Standard Error: 8_487_760 + .saturating_add(Weight::from_parts(210_998_534, 0).saturating_mul(t.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_392, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(1_733, 0).saturating_mul(s.into())) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_sha2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 850_000 picoseconds. - Weight::from_parts(927_000, 0) + // Minimum execution time: 868_000 picoseconds. + Weight::from_parts(882_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_146, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_051, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_318_000 picoseconds. - Weight::from_parts(1_404_000, 0) + // Minimum execution time: 1_404_000 picoseconds. + Weight::from_parts(1_490_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_405, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_316, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 709_000 picoseconds. - Weight::from_parts(736_000, 0) + // Minimum execution time: 849_000 picoseconds. + Weight::from_parts(913_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_282, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 707_000 picoseconds. - Weight::from_parts(748_000, 0) + // Minimum execution time: 697_000 picoseconds. + Weight::from_parts(772_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_280, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_289_000 picoseconds. - Weight::from_parts(47_063_362, 0) - // Standard Error: 11 - .saturating_add(Weight::from_parts(4_544, 0).saturating_mul(n.into())) + // Minimum execution time: 42_862_000 picoseconds. + Weight::from_parts(48_510_759, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(4_451, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_432_000 picoseconds. - Weight::from_parts(48_334_000, 0) + // Minimum execution time: 47_180_000 picoseconds. + Weight::from_parts(48_679_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_812_000 picoseconds. - Weight::from_parts(13_019_000, 0) + // Minimum execution time: 13_057_000 picoseconds. + Weight::from_parts(13_227_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) /// Storage: `Contracts::PristineCode` (r:1 w:0) /// Proof: `Contracts::PristineCode` (`max_values`: None, `max_size`: Some(125988), added: 128463, mode: `Measured`) - /// Storage: `System::EventTopics` (r:2 w:2) - /// Proof: `System::EventTopics` (`max_values`: None, `max_size`: None, mode: `Measured`) fn seal_set_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `430` - // Estimated: `6370` - // Minimum execution time: 27_336_000 picoseconds. - Weight::from_parts(28_146_000, 6370) - .saturating_add(RocksDbWeight::get().reads(4_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Estimated: `3895` + // Minimum execution time: 19_335_000 picoseconds. + Weight::from_parts(20_225_000, 3895) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1865,8 +1809,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_209_000 picoseconds. - Weight::from_parts(9_638_000, 3820) + // Minimum execution time: 9_400_000 picoseconds. + Weight::from_parts(9_743_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1876,8 +1820,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_161_000 picoseconds. - Weight::from_parts(8_449_000, 3558) + // Minimum execution time: 8_125_000 picoseconds. + Weight::from_parts(8_491_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1886,14 +1830,14 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 330_000 picoseconds. - Weight::from_parts(354_000, 0) + Weight::from_parts(383_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 337_000 picoseconds. - Weight::from_parts(381_000, 0) + // Minimum execution time: 349_000 picoseconds. + Weight::from_parts(380_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1901,8 +1845,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_975_000 picoseconds. - Weight::from_parts(3_147_000, 1704) + // Minimum execution time: 3_083_000 picoseconds. + Weight::from_parts(3_248_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1910,9 +1854,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 863_000 picoseconds. - Weight::from_parts(439_219, 0) - // Standard Error: 17 - .saturating_add(Weight::from_parts(15_175, 0).saturating_mul(r.into())) + // Minimum execution time: 918_000 picoseconds. + Weight::from_parts(1_027_293, 0) + // Standard Error: 23 + .saturating_add(Weight::from_parts(14_764, 0).saturating_mul(r.into())) } } From 6b4eea3c341922d5c915fc7287d30eb365eaa4c0 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Sun, 19 May 2024 20:06:40 +0000 Subject: [PATCH 51/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 754 +++++++++++------------ 1 file changed, 375 insertions(+), 379 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 35dddc052aba..6be41a09ef1d 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-unxyhko3-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_024_000 picoseconds. - Weight::from_parts(2_252_000, 1627) + // Minimum execution time: 2_074_000 picoseconds. + Weight::from_parts(2_166_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_431_000 picoseconds. - Weight::from_parts(12_776_000, 442) - // Standard Error: 1_067 - .saturating_add(Weight::from_parts(1_151_178, 0).saturating_mul(k.into())) + // Minimum execution time: 12_411_000 picoseconds. + Weight::from_parts(12_587_000, 442) + // Standard Error: 1_213 + .saturating_add(Weight::from_parts(1_149_896, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_449_000 picoseconds. - Weight::from_parts(8_973_080, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_159, 0).saturating_mul(c.into())) + // Minimum execution time: 8_308_000 picoseconds. + Weight::from_parts(9_014_393, 6149) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_169, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_720_000 picoseconds. - Weight::from_parts(17_514_000, 6450) + // Minimum execution time: 16_847_000 picoseconds. + Weight::from_parts(17_478_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_540_000 picoseconds. - Weight::from_parts(40_895, 3635) - // Standard Error: 1_472 - .saturating_add(Weight::from_parts(1_232_021, 0).saturating_mul(k.into())) + // Minimum execution time: 3_456_000 picoseconds. + Weight::from_parts(3_534_000, 3635) + // Standard Error: 679 + .saturating_add(Weight::from_parts(1_224_649, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_770_000 picoseconds. - Weight::from_parts(16_902_655, 6263) - // Standard Error: 1 - .saturating_add(Weight::from_parts(377, 0).saturating_mul(c.into())) + // Minimum execution time: 16_933_000 picoseconds. + Weight::from_parts(16_929_238, 6263) + // Standard Error: 0 + .saturating_add(Weight::from_parts(405, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_617_000 picoseconds. - Weight::from_parts(13_253_000, 6380) + // Minimum execution time: 12_826_000 picoseconds. + Weight::from_parts(13_566_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_835_000 picoseconds. - Weight::from_parts(49_254_000, 6292) + // Minimum execution time: 48_129_000 picoseconds. + Weight::from_parts(49_472_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_489_000 picoseconds. - Weight::from_parts(57_136_000, 6534) + // Minimum execution time: 55_401_000 picoseconds. + Weight::from_parts(57_543_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_795_000 picoseconds. - Weight::from_parts(12_655_000, 6349) + // Minimum execution time: 12_066_000 picoseconds. + Weight::from_parts(12_386_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_448_000 picoseconds. - Weight::from_parts(2_608_000, 1627) + // Minimum execution time: 2_394_000 picoseconds. + Weight::from_parts(2_695_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_208_000 picoseconds. - Weight::from_parts(12_653_000, 3631) + // Minimum execution time: 12_286_000 picoseconds. + Weight::from_parts(12_764_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_830_000 picoseconds. - Weight::from_parts(5_026_000, 3607) + // Minimum execution time: 4_888_000 picoseconds. + Weight::from_parts(5_192_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_178_000 picoseconds. - Weight::from_parts(6_485_000, 3632) + // Minimum execution time: 6_033_000 picoseconds. + Weight::from_parts(6_404_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_203_000 picoseconds. - Weight::from_parts(6_533_000, 3607) + // Minimum execution time: 6_260_000 picoseconds. + Weight::from_parts(6_761_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 290_448_000 picoseconds. - Weight::from_parts(274_301_376, 4264) - // Standard Error: 64 - .saturating_add(Weight::from_parts(32_946, 0).saturating_mul(c.into())) + // Minimum execution time: 282_827_000 picoseconds. + Weight::from_parts(268_595_710, 4264) + // Standard Error: 74 + .saturating_add(Weight::from_parts(33_961, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 3_777_124_000 picoseconds. - Weight::from_parts(858_828_640, 6262) - // Standard Error: 158 - .saturating_add(Weight::from_parts(67_299, 0).saturating_mul(c.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(i.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(s.into())) + // Minimum execution time: 4_039_064_000 picoseconds. + Weight::from_parts(511_488_092, 6262) + // Standard Error: 154 + .saturating_add(Weight::from_parts(68_951, 0).saturating_mul(c.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_740, 0).saturating_mul(i.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_737, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 1_960_317_000 picoseconds. - Weight::from_parts(1_985_571_000, 4029) + // Minimum execution time: 2_043_035_000 picoseconds. + Weight::from_parts(2_056_535_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(849, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(907, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(813, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(797, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 195_828_000 picoseconds. - Weight::from_parts(203_985_000, 4291) + // Minimum execution time: 197_670_000 picoseconds. + Weight::from_parts(207_490_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 263_760_000 picoseconds. - Weight::from_parts(269_484_033, 3607) - // Standard Error: 54 - .saturating_add(Weight::from_parts(32_487, 0).saturating_mul(c.into())) + // Minimum execution time: 268_742_000 picoseconds. + Weight::from_parts(271_032_265, 3607) + // Standard Error: 67 + .saturating_add(Weight::from_parts(33_877, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 274_929_000 picoseconds. - Weight::from_parts(285_405_269, 3607) - // Standard Error: 52 - .saturating_add(Weight::from_parts(32_658, 0).saturating_mul(c.into())) + // Minimum execution time: 262_093_000 picoseconds. + Weight::from_parts(284_700_466, 3607) + // Standard Error: 64 + .saturating_add(Weight::from_parts(33_947, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 42_693_000 picoseconds. - Weight::from_parts(43_590_000, 3780) + // Minimum execution time: 41_895_000 picoseconds. + Weight::from_parts(43_710_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_126_000 picoseconds. - Weight::from_parts(27_456_000, 6492) + // Minimum execution time: 26_308_000 picoseconds. + Weight::from_parts(27_330_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_933_000 picoseconds. - Weight::from_parts(10_586_445, 0) + // Minimum execution time: 9_599_000 picoseconds. + Weight::from_parts(9_964_505, 0) // Standard Error: 74 - .saturating_add(Weight::from_parts(73_229, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(71_132, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 621_000 picoseconds. - Weight::from_parts(667_000, 0) + Weight::from_parts(669_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_594_000 picoseconds. - Weight::from_parts(6_855_000, 3819) + // Minimum execution time: 6_787_000 picoseconds. + Weight::from_parts(7_039_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_893_000 picoseconds. - Weight::from_parts(8_172_000, 3912) + // Minimum execution time: 7_839_000 picoseconds. + Weight::from_parts(8_154_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 772_000 picoseconds. - Weight::from_parts(826_000, 0) + // Minimum execution time: 729_000 picoseconds. + Weight::from_parts(805_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 409_000 picoseconds. - Weight::from_parts(431_000, 0) + // Minimum execution time: 422_000 picoseconds. + Weight::from_parts(442_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 333_000 picoseconds. - Weight::from_parts(360_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(361_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 609_000 picoseconds. - Weight::from_parts(628_000, 0) + // Minimum execution time: 572_000 picoseconds. + Weight::from_parts(627_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 669_000 picoseconds. - Weight::from_parts(741_000, 0) + // Minimum execution time: 698_000 picoseconds. + Weight::from_parts(731_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_778_000 picoseconds. - Weight::from_parts(4_985_000, 0) + // Minimum execution time: 4_569_000 picoseconds. + Weight::from_parts(4_823_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 585_000 picoseconds. - Weight::from_parts(610_000, 0) + // Minimum execution time: 563_000 picoseconds. + Weight::from_parts(591_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 567_000 picoseconds. - Weight::from_parts(601_000, 0) + Weight::from_parts(592_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 592_000 picoseconds. - Weight::from_parts(627_000, 0) + // Minimum execution time: 534_000 picoseconds. + Weight::from_parts(586_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 576_000 picoseconds. - Weight::from_parts(616_000, 0) + // Minimum execution time: 507_000 picoseconds. + Weight::from_parts(577_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_477_000 picoseconds. - Weight::from_parts(4_706_000, 1552) + // Minimum execution time: 4_331_000 picoseconds. + Weight::from_parts(4_582_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,20 +629,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 503_000 picoseconds. - Weight::from_parts(528_000, 0) + // Minimum execution time: 435_000 picoseconds. + Weight::from_parts(500_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(292, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 333_000 picoseconds. - Weight::from_parts(371_000, 0) + // Minimum execution time: 331_000 picoseconds. + Weight::from_parts(356_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(398, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(423, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_468_000 picoseconds. - Weight::from_parts(16_793_355, 3784) - // Standard Error: 8_365 - .saturating_add(Weight::from_parts(3_694_281, 0).saturating_mul(n.into())) + // Minimum execution time: 14_488_000 picoseconds. + Weight::from_parts(16_354_601, 3784) + // Standard Error: 7_864 + .saturating_add(Weight::from_parts(3_700_384, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_563_000 picoseconds. - Weight::from_parts(3_784_000, 1561) + // Minimum execution time: 3_470_000 picoseconds. + Weight::from_parts(3_637_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_064_000 picoseconds. - Weight::from_parts(4_551_057, 990) - // Standard Error: 7_249 - .saturating_add(Weight::from_parts(2_342_414, 0).saturating_mul(t.into())) + // Minimum execution time: 4_046_000 picoseconds. + Weight::from_parts(4_233_938, 990) + // Standard Error: 7_203 + .saturating_add(Weight::from_parts(2_402_117, 0).saturating_mul(t.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(9, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(27, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 436_000 picoseconds. - Weight::from_parts(440_000, 0) + // Minimum execution time: 421_000 picoseconds. + Weight::from_parts(456_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_201, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 10_097_000 picoseconds. - Weight::from_parts(9_877_776, 249) + // Minimum execution time: 9_900_000 picoseconds. + Weight::from_parts(9_611_602, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(241, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(282, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(70, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_068_000 picoseconds. - Weight::from_parts(9_298_830, 248) + // Minimum execution time: 7_965_000 picoseconds. + Weight::from_parts(9_211_072, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_315_000 picoseconds. - Weight::from_parts(9_026_712, 248) + // Minimum execution time: 6_851_000 picoseconds. + Weight::from_parts(8_930_522, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(595, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(647, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,8 +757,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_833_000 picoseconds. - Weight::from_parts(7_980_890, 248) + // Minimum execution time: 6_602_000 picoseconds. + Weight::from_parts(7_843_808, 248) // Standard Error: 2 .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_250_000 picoseconds. - Weight::from_parts(10_058_209, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(607, 0).saturating_mul(n.into())) + // Minimum execution time: 8_245_000 picoseconds. + Weight::from_parts(9_953_659, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(654, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_858_000 picoseconds. - Weight::from_parts(9_238_000, 0) + // Minimum execution time: 8_993_000 picoseconds. + Weight::from_parts(9_445_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -797,18 +797,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. - fn seal_call(t: u32, c: u32, i: u32, ) -> Weight { + fn seal_call(t: u32, _c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 153_417_000 picoseconds. - Weight::from_parts(154_858_902, 4085) - // Standard Error: 339_920 - .saturating_add(Weight::from_parts(45_327_013, 0).saturating_mul(t.into())) - // Standard Error: 339_920 - .saturating_add(Weight::from_parts(1_016_817, 0).saturating_mul(c.into())) + // Minimum execution time: 151_051_000 picoseconds. + Weight::from_parts(164_928_785, 4085) + // Standard Error: 344_718 + .saturating_add(Weight::from_parts(40_015_500, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(2, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -823,8 +821,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 140_613_000 picoseconds. - Weight::from_parts(149_663_000, 3895) + // Minimum execution time: 138_670_000 picoseconds. + Weight::from_parts(144_148_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -844,14 +842,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_637_633_000 picoseconds. - Weight::from_parts(1_668_892, 4138) - // Standard Error: 8_487_760 - .saturating_add(Weight::from_parts(210_998_534, 0).saturating_mul(t.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_392, 0).saturating_mul(i.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_733, 0).saturating_mul(s.into())) + // Minimum execution time: 1_744_236_000 picoseconds. + Weight::from_parts(67_596_989, 4138) + // Standard Error: 6_993_227 + .saturating_add(Weight::from_parts(156_283_395, 0).saturating_mul(t.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_489, 0).saturating_mul(i.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_781, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -860,64 +858,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 868_000 picoseconds. - Weight::from_parts(882_000, 0) + // Minimum execution time: 838_000 picoseconds. + Weight::from_parts(855_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_051, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_083, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_404_000 picoseconds. - Weight::from_parts(1_490_000, 0) + // Minimum execution time: 1_449_000 picoseconds. + Weight::from_parts(1_466_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_316, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_350, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 849_000 picoseconds. - Weight::from_parts(913_000, 0) + // Minimum execution time: 759_000 picoseconds. + Weight::from_parts(800_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 697_000 picoseconds. - Weight::from_parts(772_000, 0) + // Minimum execution time: 714_000 picoseconds. + Weight::from_parts(733_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 42_862_000 picoseconds. - Weight::from_parts(48_510_759, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(4_451, 0).saturating_mul(n.into())) + // Minimum execution time: 47_253_000 picoseconds. + Weight::from_parts(51_184_900, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(4_602, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_180_000 picoseconds. - Weight::from_parts(48_679_000, 0) + // Minimum execution time: 47_378_000 picoseconds. + Weight::from_parts(49_505_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_057_000 picoseconds. - Weight::from_parts(13_227_000, 0) + // Minimum execution time: 13_088_000 picoseconds. + Weight::from_parts(13_299_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -927,8 +925,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_335_000 picoseconds. - Weight::from_parts(20_225_000, 3895) + // Minimum execution time: 19_326_000 picoseconds. + Weight::from_parts(20_179_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -938,8 +936,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_400_000 picoseconds. - Weight::from_parts(9_743_000, 3820) + // Minimum execution time: 9_432_000 picoseconds. + Weight::from_parts(9_851_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -949,8 +947,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_125_000 picoseconds. - Weight::from_parts(8_491_000, 3558) + // Minimum execution time: 8_359_000 picoseconds. + Weight::from_parts(8_676_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -958,15 +956,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 330_000 picoseconds. - Weight::from_parts(383_000, 0) + // Minimum execution time: 320_000 picoseconds. + Weight::from_parts(366_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 349_000 picoseconds. - Weight::from_parts(380_000, 0) + // Minimum execution time: 342_000 picoseconds. + Weight::from_parts(379_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -974,8 +972,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 3_083_000 picoseconds. - Weight::from_parts(3_248_000, 1704) + // Minimum execution time: 3_001_000 picoseconds. + Weight::from_parts(3_163_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -983,10 +981,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 918_000 picoseconds. - Weight::from_parts(1_027_293, 0) - // Standard Error: 23 - .saturating_add(Weight::from_parts(14_764, 0).saturating_mul(r.into())) + // Minimum execution time: 952_000 picoseconds. + Weight::from_parts(571_197, 0) + // Standard Error: 19 + .saturating_add(Weight::from_parts(14_886, 0).saturating_mul(r.into())) } } @@ -998,8 +996,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_024_000 picoseconds. - Weight::from_parts(2_252_000, 1627) + // Minimum execution time: 2_074_000 picoseconds. + Weight::from_parts(2_166_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1009,10 +1007,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_431_000 picoseconds. - Weight::from_parts(12_776_000, 442) - // Standard Error: 1_067 - .saturating_add(Weight::from_parts(1_151_178, 0).saturating_mul(k.into())) + // Minimum execution time: 12_411_000 picoseconds. + Weight::from_parts(12_587_000, 442) + // Standard Error: 1_213 + .saturating_add(Weight::from_parts(1_149_896, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1026,10 +1024,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_449_000 picoseconds. - Weight::from_parts(8_973_080, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_159, 0).saturating_mul(c.into())) + // Minimum execution time: 8_308_000 picoseconds. + Weight::from_parts(9_014_393, 6149) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_169, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1042,8 +1040,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_720_000 picoseconds. - Weight::from_parts(17_514_000, 6450) + // Minimum execution time: 16_847_000 picoseconds. + Weight::from_parts(17_478_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1056,10 +1054,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_540_000 picoseconds. - Weight::from_parts(40_895, 3635) - // Standard Error: 1_472 - .saturating_add(Weight::from_parts(1_232_021, 0).saturating_mul(k.into())) + // Minimum execution time: 3_456_000 picoseconds. + Weight::from_parts(3_534_000, 3635) + // Standard Error: 679 + .saturating_add(Weight::from_parts(1_224_649, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1078,10 +1076,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_770_000 picoseconds. - Weight::from_parts(16_902_655, 6263) - // Standard Error: 1 - .saturating_add(Weight::from_parts(377, 0).saturating_mul(c.into())) + // Minimum execution time: 16_933_000 picoseconds. + Weight::from_parts(16_929_238, 6263) + // Standard Error: 0 + .saturating_add(Weight::from_parts(405, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1092,8 +1090,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_617_000 picoseconds. - Weight::from_parts(13_253_000, 6380) + // Minimum execution time: 12_826_000 picoseconds. + Weight::from_parts(13_566_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1107,8 +1105,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_835_000 picoseconds. - Weight::from_parts(49_254_000, 6292) + // Minimum execution time: 48_129_000 picoseconds. + Weight::from_parts(49_472_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1120,8 +1118,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_489_000 picoseconds. - Weight::from_parts(57_136_000, 6534) + // Minimum execution time: 55_401_000 picoseconds. + Weight::from_parts(57_543_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1131,8 +1129,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_795_000 picoseconds. - Weight::from_parts(12_655_000, 6349) + // Minimum execution time: 12_066_000 picoseconds. + Weight::from_parts(12_386_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1142,8 +1140,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_448_000 picoseconds. - Weight::from_parts(2_608_000, 1627) + // Minimum execution time: 2_394_000 picoseconds. + Weight::from_parts(2_695_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1155,8 +1153,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_208_000 picoseconds. - Weight::from_parts(12_653_000, 3631) + // Minimum execution time: 12_286_000 picoseconds. + Weight::from_parts(12_764_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1166,8 +1164,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_830_000 picoseconds. - Weight::from_parts(5_026_000, 3607) + // Minimum execution time: 4_888_000 picoseconds. + Weight::from_parts(5_192_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1178,8 +1176,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_178_000 picoseconds. - Weight::from_parts(6_485_000, 3632) + // Minimum execution time: 6_033_000 picoseconds. + Weight::from_parts(6_404_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1190,8 +1188,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_203_000 picoseconds. - Weight::from_parts(6_533_000, 3607) + // Minimum execution time: 6_260_000 picoseconds. + Weight::from_parts(6_761_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1212,10 +1210,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 290_448_000 picoseconds. - Weight::from_parts(274_301_376, 4264) - // Standard Error: 64 - .saturating_add(Weight::from_parts(32_946, 0).saturating_mul(c.into())) + // Minimum execution time: 282_827_000 picoseconds. + Weight::from_parts(268_595_710, 4264) + // Standard Error: 74 + .saturating_add(Weight::from_parts(33_961, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1243,14 +1241,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 3_777_124_000 picoseconds. - Weight::from_parts(858_828_640, 6262) - // Standard Error: 158 - .saturating_add(Weight::from_parts(67_299, 0).saturating_mul(c.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_353, 0).saturating_mul(i.into())) - // Standard Error: 19 - .saturating_add(Weight::from_parts(1_580, 0).saturating_mul(s.into())) + // Minimum execution time: 4_039_064_000 picoseconds. + Weight::from_parts(511_488_092, 6262) + // Standard Error: 154 + .saturating_add(Weight::from_parts(68_951, 0).saturating_mul(c.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_740, 0).saturating_mul(i.into())) + // Standard Error: 18 + .saturating_add(Weight::from_parts(1_737, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1276,12 +1274,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 1_960_317_000 picoseconds. - Weight::from_parts(1_985_571_000, 4029) + // Minimum execution time: 2_043_035_000 picoseconds. + Weight::from_parts(2_056_535_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(849, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(907, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(813, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(797, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1301,8 +1299,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 195_828_000 picoseconds. - Weight::from_parts(203_985_000, 4291) + // Minimum execution time: 197_670_000 picoseconds. + Weight::from_parts(207_490_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1319,10 +1317,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 263_760_000 picoseconds. - Weight::from_parts(269_484_033, 3607) - // Standard Error: 54 - .saturating_add(Weight::from_parts(32_487, 0).saturating_mul(c.into())) + // Minimum execution time: 268_742_000 picoseconds. + Weight::from_parts(271_032_265, 3607) + // Standard Error: 67 + .saturating_add(Weight::from_parts(33_877, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1339,10 +1337,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 274_929_000 picoseconds. - Weight::from_parts(285_405_269, 3607) - // Standard Error: 52 - .saturating_add(Weight::from_parts(32_658, 0).saturating_mul(c.into())) + // Minimum execution time: 262_093_000 picoseconds. + Weight::from_parts(284_700_466, 3607) + // Standard Error: 64 + .saturating_add(Weight::from_parts(33_947, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1358,8 +1356,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 42_693_000 picoseconds. - Weight::from_parts(43_590_000, 3780) + // Minimum execution time: 41_895_000 picoseconds. + Weight::from_parts(43_710_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1373,8 +1371,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_126_000 picoseconds. - Weight::from_parts(27_456_000, 6492) + // Minimum execution time: 26_308_000 picoseconds. + Weight::from_parts(27_330_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1383,17 +1381,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_933_000 picoseconds. - Weight::from_parts(10_586_445, 0) + // Minimum execution time: 9_599_000 picoseconds. + Weight::from_parts(9_964_505, 0) // Standard Error: 74 - .saturating_add(Weight::from_parts(73_229, 0).saturating_mul(r.into())) + .saturating_add(Weight::from_parts(71_132, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 621_000 picoseconds. - Weight::from_parts(667_000, 0) + Weight::from_parts(669_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1401,8 +1399,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_594_000 picoseconds. - Weight::from_parts(6_855_000, 3819) + // Minimum execution time: 6_787_000 picoseconds. + Weight::from_parts(7_039_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1411,79 +1409,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_893_000 picoseconds. - Weight::from_parts(8_172_000, 3912) + // Minimum execution time: 7_839_000 picoseconds. + Weight::from_parts(8_154_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 772_000 picoseconds. - Weight::from_parts(826_000, 0) + // Minimum execution time: 729_000 picoseconds. + Weight::from_parts(805_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 409_000 picoseconds. - Weight::from_parts(431_000, 0) + // Minimum execution time: 422_000 picoseconds. + Weight::from_parts(442_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 333_000 picoseconds. - Weight::from_parts(360_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(361_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 609_000 picoseconds. - Weight::from_parts(628_000, 0) + // Minimum execution time: 572_000 picoseconds. + Weight::from_parts(627_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 669_000 picoseconds. - Weight::from_parts(741_000, 0) + // Minimum execution time: 698_000 picoseconds. + Weight::from_parts(731_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_778_000 picoseconds. - Weight::from_parts(4_985_000, 0) + // Minimum execution time: 4_569_000 picoseconds. + Weight::from_parts(4_823_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 585_000 picoseconds. - Weight::from_parts(610_000, 0) + // Minimum execution time: 563_000 picoseconds. + Weight::from_parts(591_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` // Minimum execution time: 567_000 picoseconds. - Weight::from_parts(601_000, 0) + Weight::from_parts(592_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 592_000 picoseconds. - Weight::from_parts(627_000, 0) + // Minimum execution time: 534_000 picoseconds. + Weight::from_parts(586_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 576_000 picoseconds. - Weight::from_parts(616_000, 0) + // Minimum execution time: 507_000 picoseconds. + Weight::from_parts(577_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1491,8 +1489,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_477_000 picoseconds. - Weight::from_parts(4_706_000, 1552) + // Minimum execution time: 4_331_000 picoseconds. + Weight::from_parts(4_582_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1500,20 +1498,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 503_000 picoseconds. - Weight::from_parts(528_000, 0) + // Minimum execution time: 435_000 picoseconds. + Weight::from_parts(500_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(292, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 333_000 picoseconds. - Weight::from_parts(371_000, 0) + // Minimum execution time: 331_000 picoseconds. + Weight::from_parts(356_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(398, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(423, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1526,10 +1524,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_468_000 picoseconds. - Weight::from_parts(16_793_355, 3784) - // Standard Error: 8_365 - .saturating_add(Weight::from_parts(3_694_281, 0).saturating_mul(n.into())) + // Minimum execution time: 14_488_000 picoseconds. + Weight::from_parts(16_354_601, 3784) + // Standard Error: 7_864 + .saturating_add(Weight::from_parts(3_700_384, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1542,8 +1540,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_563_000 picoseconds. - Weight::from_parts(3_784_000, 1561) + // Minimum execution time: 3_470_000 picoseconds. + Weight::from_parts(3_637_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1554,12 +1552,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_064_000 picoseconds. - Weight::from_parts(4_551_057, 990) - // Standard Error: 7_249 - .saturating_add(Weight::from_parts(2_342_414, 0).saturating_mul(t.into())) + // Minimum execution time: 4_046_000 picoseconds. + Weight::from_parts(4_233_938, 990) + // Standard Error: 7_203 + .saturating_add(Weight::from_parts(2_402_117, 0).saturating_mul(t.into())) // Standard Error: 2 - .saturating_add(Weight::from_parts(9, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(27, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1569,10 +1567,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 436_000 picoseconds. - Weight::from_parts(440_000, 0) + // Minimum execution time: 421_000 picoseconds. + Weight::from_parts(456_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_201, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1582,12 +1580,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 10_097_000 picoseconds. - Weight::from_parts(9_877_776, 249) + // Minimum execution time: 9_900_000 picoseconds. + Weight::from_parts(9_611_602, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(241, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(282, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(70, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1599,10 +1597,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_068_000 picoseconds. - Weight::from_parts(9_298_830, 248) + // Minimum execution time: 7_965_000 picoseconds. + Weight::from_parts(9_211_072, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1614,10 +1612,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_315_000 picoseconds. - Weight::from_parts(9_026_712, 248) + // Minimum execution time: 6_851_000 picoseconds. + Weight::from_parts(8_930_522, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(595, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(647, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1628,8 +1626,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_833_000 picoseconds. - Weight::from_parts(7_980_890, 248) + // Minimum execution time: 6_602_000 picoseconds. + Weight::from_parts(7_843_808, 248) // Standard Error: 2 .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) @@ -1642,10 +1640,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_250_000 picoseconds. - Weight::from_parts(10_058_209, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(607, 0).saturating_mul(n.into())) + // Minimum execution time: 8_245_000 picoseconds. + Weight::from_parts(9_953_659, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(654, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1654,8 +1652,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_858_000 picoseconds. - Weight::from_parts(9_238_000, 0) + // Minimum execution time: 8_993_000 picoseconds. + Weight::from_parts(9_445_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1668,18 +1666,16 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. - fn seal_call(t: u32, c: u32, i: u32, ) -> Weight { + fn seal_call(t: u32, _c: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 153_417_000 picoseconds. - Weight::from_parts(154_858_902, 4085) - // Standard Error: 339_920 - .saturating_add(Weight::from_parts(45_327_013, 0).saturating_mul(t.into())) - // Standard Error: 339_920 - .saturating_add(Weight::from_parts(1_016_817, 0).saturating_mul(c.into())) + // Minimum execution time: 151_051_000 picoseconds. + Weight::from_parts(164_928_785, 4085) + // Standard Error: 344_718 + .saturating_add(Weight::from_parts(40_015_500, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(7, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(2, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1694,8 +1690,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 140_613_000 picoseconds. - Weight::from_parts(149_663_000, 3895) + // Minimum execution time: 138_670_000 picoseconds. + Weight::from_parts(144_148_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1715,14 +1711,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_637_633_000 picoseconds. - Weight::from_parts(1_668_892, 4138) - // Standard Error: 8_487_760 - .saturating_add(Weight::from_parts(210_998_534, 0).saturating_mul(t.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_392, 0).saturating_mul(i.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_733, 0).saturating_mul(s.into())) + // Minimum execution time: 1_744_236_000 picoseconds. + Weight::from_parts(67_596_989, 4138) + // Standard Error: 6_993_227 + .saturating_add(Weight::from_parts(156_283_395, 0).saturating_mul(t.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_489, 0).saturating_mul(i.into())) + // Standard Error: 11 + .saturating_add(Weight::from_parts(1_781, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1731,64 +1727,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 868_000 picoseconds. - Weight::from_parts(882_000, 0) + // Minimum execution time: 838_000 picoseconds. + Weight::from_parts(855_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_051, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_083, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_404_000 picoseconds. - Weight::from_parts(1_490_000, 0) + // Minimum execution time: 1_449_000 picoseconds. + Weight::from_parts(1_466_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_316, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_350, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 849_000 picoseconds. - Weight::from_parts(913_000, 0) + // Minimum execution time: 759_000 picoseconds. + Weight::from_parts(800_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 697_000 picoseconds. - Weight::from_parts(772_000, 0) + // Minimum execution time: 714_000 picoseconds. + Weight::from_parts(733_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_186, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 42_862_000 picoseconds. - Weight::from_parts(48_510_759, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(4_451, 0).saturating_mul(n.into())) + // Minimum execution time: 47_253_000 picoseconds. + Weight::from_parts(51_184_900, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(4_602, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_180_000 picoseconds. - Weight::from_parts(48_679_000, 0) + // Minimum execution time: 47_378_000 picoseconds. + Weight::from_parts(49_505_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_057_000 picoseconds. - Weight::from_parts(13_227_000, 0) + // Minimum execution time: 13_088_000 picoseconds. + Weight::from_parts(13_299_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1798,8 +1794,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_335_000 picoseconds. - Weight::from_parts(20_225_000, 3895) + // Minimum execution time: 19_326_000 picoseconds. + Weight::from_parts(20_179_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1809,8 +1805,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_400_000 picoseconds. - Weight::from_parts(9_743_000, 3820) + // Minimum execution time: 9_432_000 picoseconds. + Weight::from_parts(9_851_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1820,8 +1816,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_125_000 picoseconds. - Weight::from_parts(8_491_000, 3558) + // Minimum execution time: 8_359_000 picoseconds. + Weight::from_parts(8_676_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1829,15 +1825,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 330_000 picoseconds. - Weight::from_parts(383_000, 0) + // Minimum execution time: 320_000 picoseconds. + Weight::from_parts(366_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 349_000 picoseconds. - Weight::from_parts(380_000, 0) + // Minimum execution time: 342_000 picoseconds. + Weight::from_parts(379_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1845,8 +1841,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 3_083_000 picoseconds. - Weight::from_parts(3_248_000, 1704) + // Minimum execution time: 3_001_000 picoseconds. + Weight::from_parts(3_163_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1854,9 +1850,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 918_000 picoseconds. - Weight::from_parts(1_027_293, 0) - // Standard Error: 23 - .saturating_add(Weight::from_parts(14_764, 0).saturating_mul(r.into())) + // Minimum execution time: 952_000 picoseconds. + Weight::from_parts(571_197, 0) + // Standard Error: 19 + .saturating_add(Weight::from_parts(14_886, 0).saturating_mul(r.into())) } } From 2fa8edc7c998950c41038d59c2dcf20d9b846352 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 20 May 2024 15:50:39 +0200 Subject: [PATCH 52/75] Simplify clone call --- .../frame/contracts/src/benchmarking/mod.rs | 29 +++++++------------ substrate/frame/contracts/src/wasm/runtime.rs | 6 ++-- 2 files changed, 14 insertions(+), 21 deletions(-) diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 4797e851faa1..7c993bc9a771 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -1196,15 +1196,10 @@ mod benchmarks { assert_ok!(result); } - // c: with or without clone flag // t: with or without some value to transfer // i: size of the input data #[benchmark(pov_mode = Measured)] - fn seal_call( - t: Linear<0, 1>, - c: Linear<0, 1>, - i: Linear<0, { code::max_pages::() * 64 * 1024 }>, - ) { + fn seal_call(t: Linear<0, 1>, i: Linear<0, { code::max_pages::() * 64 * 1024 }>) { let Contract { account_id: callee, .. } = Contract::::with_index(1, WasmModule::dummy(), vec![]).unwrap(); let callee_bytes = callee.encode(); @@ -1226,24 +1221,22 @@ mod benchmarks { let mut runtime = crate::wasm::Runtime::new(&mut ext, vec![]); let mut memory = memory!(callee_bytes, deposit_bytes, value_bytes,); - let flags = if c == 1 { CallFlags::CLONE_INPUT } else { CallFlags::empty() }; - let result; #[block] { result = BenchEnv::seal2_call( &mut runtime, &mut memory, - flags.bits(), // flags - 0, // callee_ptr - 0, // ref_time_limit - 0, // proof_size_limit - callee_len, // deposit_ptr - callee_len + deposit_len, // value_ptr - 0, // input_data_ptr - 0, // input_data_len - SENTINEL, // output_ptr - 0, // output_len_ptr + CallFlags::CLONE_INPUT.bits(), // flags + 0, // callee_ptr + 0, // ref_time_limit + 0, // proof_size_limit + callee_len, // deposit_ptr + callee_len + deposit_len, // value_ptr + 0, // input_data_ptr + 0, // input_data_len + SENTINEL, // output_ptr + 0, // output_len_ptr ); } diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index f2468e05ff63..39b15c867c6a 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -298,10 +298,10 @@ impl Token for RuntimeCosts { GetStorage(len) => T::WeightInfo::seal_get_storage(len), TakeStorage(len) => T::WeightInfo::seal_take_storage(len), Transfer => T::WeightInfo::seal_transfer(), - CallBase => T::WeightInfo::seal_call(0, 0, 0), + CallBase => T::WeightInfo::seal_call(0, 0), DelegateCallBase => T::WeightInfo::seal_delegate_call(), - CallTransferSurcharge => cost_args!(seal_call, 1, 0, 0), - CallInputCloned(len) => cost_args!(seal_call, 0, 1, len), + CallTransferSurcharge => cost_args!(seal_call, 1, 0), + CallInputCloned(len) => cost_args!(seal_call, 0, len), InstantiateBase { input_data_len, salt_len } => T::WeightInfo::seal_instantiate(0, input_data_len, salt_len), InstantiateTransferSurcharge => cost_args!(seal_instantiate, 1, 0, 0), From 46650ca9e929a12e61c510df019ffa6a5038804d Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 20 May 2024 16:06:18 +0200 Subject: [PATCH 53/75] Fix weights --- substrate/frame/contracts/src/weights.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 6be41a09ef1d..9f01c4287ce3 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -99,7 +99,7 @@ pub trait WeightInfo { fn seal_contains_storage(n: u32, ) -> Weight; fn seal_take_storage(n: u32, ) -> Weight; fn seal_transfer() -> Weight; - fn seal_call(t: u32, c: u32, i: u32, ) -> Weight; + fn seal_call(t: u32, i: u32, ) -> Weight; fn seal_delegate_call() -> Weight; fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight; fn seal_hash_sha2_256(n: u32, ) -> Weight; @@ -797,7 +797,7 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. - fn seal_call(t: u32, _c: u32, i: u32, ) -> Weight { + fn seal_call(t: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` @@ -1666,7 +1666,7 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. - fn seal_call(t: u32, _c: u32, i: u32, ) -> Weight { + fn seal_call(t: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` From 8f15947e328465043f7c08fec27e90c9b50b606f Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 20 May 2024 14:48:21 +0000 Subject: [PATCH 54/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 754 +++++++++++------------ 1 file changed, 376 insertions(+), 378 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 9f01c4287ce3..2e9c2cd15af8 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-unxyhko3-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `runner-vicqj8em-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_074_000 picoseconds. - Weight::from_parts(2_166_000, 1627) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_142_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_411_000 picoseconds. - Weight::from_parts(12_587_000, 442) - // Standard Error: 1_213 - .saturating_add(Weight::from_parts(1_149_896, 0).saturating_mul(k.into())) + // Minimum execution time: 12_095_000 picoseconds. + Weight::from_parts(12_699_000, 442) + // Standard Error: 891 + .saturating_add(Weight::from_parts(1_114_063, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_308_000 picoseconds. - Weight::from_parts(9_014_393, 6149) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_169, 0).saturating_mul(c.into())) + // Minimum execution time: 8_433_000 picoseconds. + Weight::from_parts(8_992_328, 6149) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_847_000 picoseconds. - Weight::from_parts(17_478_000, 6450) + // Minimum execution time: 16_415_000 picoseconds. + Weight::from_parts(17_348_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_456_000 picoseconds. - Weight::from_parts(3_534_000, 3635) - // Standard Error: 679 - .saturating_add(Weight::from_parts(1_224_649, 0).saturating_mul(k.into())) + // Minimum execution time: 3_433_000 picoseconds. + Weight::from_parts(3_490_000, 3635) + // Standard Error: 1_043 + .saturating_add(Weight::from_parts(1_225_953, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_933_000 picoseconds. - Weight::from_parts(16_929_238, 6263) + // Minimum execution time: 16_421_000 picoseconds. + Weight::from_parts(16_822_963, 6263) // Standard Error: 0 - .saturating_add(Weight::from_parts(405, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(456, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_826_000 picoseconds. - Weight::from_parts(13_566_000, 6380) + // Minimum execution time: 12_569_000 picoseconds. + Weight::from_parts(13_277_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 48_129_000 picoseconds. - Weight::from_parts(49_472_000, 6292) + // Minimum execution time: 46_777_000 picoseconds. + Weight::from_parts(47_690_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_401_000 picoseconds. - Weight::from_parts(57_543_000, 6534) + // Minimum execution time: 55_280_000 picoseconds. + Weight::from_parts(57_081_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_066_000 picoseconds. - Weight::from_parts(12_386_000, 6349) + // Minimum execution time: 12_077_000 picoseconds. + Weight::from_parts(12_647_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_394_000 picoseconds. - Weight::from_parts(2_695_000, 1627) + // Minimum execution time: 2_559_000 picoseconds. + Weight::from_parts(2_711_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_286_000 picoseconds. - Weight::from_parts(12_764_000, 3631) + // Minimum execution time: 12_238_000 picoseconds. + Weight::from_parts(12_627_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_888_000 picoseconds. - Weight::from_parts(5_192_000, 3607) + // Minimum execution time: 4_836_000 picoseconds. + Weight::from_parts(5_086_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_033_000 picoseconds. - Weight::from_parts(6_404_000, 3632) + // Minimum execution time: 6_147_000 picoseconds. + Weight::from_parts(6_380_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_260_000 picoseconds. - Weight::from_parts(6_761_000, 3607) + // Minimum execution time: 6_140_000 picoseconds. + Weight::from_parts(6_670_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 282_827_000 picoseconds. - Weight::from_parts(268_595_710, 4264) - // Standard Error: 74 - .saturating_add(Weight::from_parts(33_961, 0).saturating_mul(c.into())) + // Minimum execution time: 354_459_000 picoseconds. + Weight::from_parts(332_397_871, 4264) + // Standard Error: 70 + .saturating_add(Weight::from_parts(33_775, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_039_064_000 picoseconds. - Weight::from_parts(511_488_092, 6262) - // Standard Error: 154 - .saturating_add(Weight::from_parts(68_951, 0).saturating_mul(c.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_740, 0).saturating_mul(i.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_737, 0).saturating_mul(s.into())) + // Minimum execution time: 4_239_452_000 picoseconds. + Weight::from_parts(800_849_282, 6262) + // Standard Error: 117 + .saturating_add(Weight::from_parts(68_435, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_653, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_668, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_043_035_000 picoseconds. - Weight::from_parts(2_056_535_000, 4029) + // Minimum execution time: 2_085_570_000 picoseconds. + Weight::from_parts(2_112_501_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(907, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(888, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(797, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(795, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 197_670_000 picoseconds. - Weight::from_parts(207_490_000, 4291) + // Minimum execution time: 201_900_000 picoseconds. + Weight::from_parts(206_738_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 268_742_000 picoseconds. - Weight::from_parts(271_032_265, 3607) - // Standard Error: 67 - .saturating_add(Weight::from_parts(33_877, 0).saturating_mul(c.into())) + // Minimum execution time: 330_704_000 picoseconds. + Weight::from_parts(345_129_342, 3607) + // Standard Error: 51 + .saturating_add(Weight::from_parts(33_126, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 262_093_000 picoseconds. - Weight::from_parts(284_700_466, 3607) - // Standard Error: 64 - .saturating_add(Weight::from_parts(33_947, 0).saturating_mul(c.into())) + // Minimum execution time: 343_339_000 picoseconds. + Weight::from_parts(356_479_729, 3607) + // Standard Error: 49 + .saturating_add(Weight::from_parts(33_404, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 41_895_000 picoseconds. - Weight::from_parts(43_710_000, 3780) + // Minimum execution time: 42_241_000 picoseconds. + Weight::from_parts(43_365_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_308_000 picoseconds. - Weight::from_parts(27_330_000, 6492) + // Minimum execution time: 26_318_000 picoseconds. + Weight::from_parts(27_840_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_599_000 picoseconds. - Weight::from_parts(9_964_505, 0) - // Standard Error: 74 - .saturating_add(Weight::from_parts(71_132, 0).saturating_mul(r.into())) + // Minimum execution time: 9_397_000 picoseconds. + Weight::from_parts(9_318_986, 0) + // Standard Error: 72 + .saturating_add(Weight::from_parts(72_994, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 621_000 picoseconds. - Weight::from_parts(669_000, 0) + // Minimum execution time: 644_000 picoseconds. + Weight::from_parts(687_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_787_000 picoseconds. - Weight::from_parts(7_039_000, 3819) + // Minimum execution time: 6_465_000 picoseconds. + Weight::from_parts(6_850_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_839_000 picoseconds. - Weight::from_parts(8_154_000, 3912) + // Minimum execution time: 7_735_000 picoseconds. + Weight::from_parts(8_115_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 729_000 picoseconds. - Weight::from_parts(805_000, 0) + // Minimum execution time: 717_000 picoseconds. + Weight::from_parts(791_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 422_000 picoseconds. - Weight::from_parts(442_000, 0) + // Minimum execution time: 365_000 picoseconds. + Weight::from_parts(427_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 327_000 picoseconds. - Weight::from_parts(361_000, 0) + // Minimum execution time: 331_000 picoseconds. + Weight::from_parts(363_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 572_000 picoseconds. - Weight::from_parts(627_000, 0) + // Minimum execution time: 586_000 picoseconds. + Weight::from_parts(625_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 698_000 picoseconds. - Weight::from_parts(731_000, 0) + // Minimum execution time: 680_000 picoseconds. + Weight::from_parts(734_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_569_000 picoseconds. - Weight::from_parts(4_823_000, 0) + // Minimum execution time: 4_732_000 picoseconds. + Weight::from_parts(5_008_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 563_000 picoseconds. - Weight::from_parts(591_000, 0) + // Minimum execution time: 608_000 picoseconds. + Weight::from_parts(635_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 567_000 picoseconds. - Weight::from_parts(592_000, 0) + // Minimum execution time: 571_000 picoseconds. + Weight::from_parts(606_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 534_000 picoseconds. - Weight::from_parts(586_000, 0) + // Minimum execution time: 511_000 picoseconds. + Weight::from_parts(584_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 507_000 picoseconds. - Weight::from_parts(577_000, 0) + // Minimum execution time: 552_000 picoseconds. + Weight::from_parts(612_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_331_000 picoseconds. - Weight::from_parts(4_582_000, 1552) + // Minimum execution time: 4_396_000 picoseconds. + Weight::from_parts(4_630_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,8 +629,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 435_000 picoseconds. - Weight::from_parts(500_000, 0) + // Minimum execution time: 494_000 picoseconds. + Weight::from_parts(510_000, 0) // Standard Error: 3 .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) } @@ -639,10 +639,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 331_000 picoseconds. - Weight::from_parts(356_000, 0) + // Minimum execution time: 311_000 picoseconds. + Weight::from_parts(346_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(423, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_488_000 picoseconds. - Weight::from_parts(16_354_601, 3784) - // Standard Error: 7_864 - .saturating_add(Weight::from_parts(3_700_384, 0).saturating_mul(n.into())) + // Minimum execution time: 14_403_000 picoseconds. + Weight::from_parts(16_478_113, 3784) + // Standard Error: 6_667 + .saturating_add(Weight::from_parts(3_641_603, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_470_000 picoseconds. - Weight::from_parts(3_637_000, 1561) + // Minimum execution time: 3_639_000 picoseconds. + Weight::from_parts(3_801_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_046_000 picoseconds. - Weight::from_parts(4_233_938, 990) - // Standard Error: 7_203 - .saturating_add(Weight::from_parts(2_402_117, 0).saturating_mul(t.into())) - // Standard Error: 2 - .saturating_add(Weight::from_parts(27, 0).saturating_mul(n.into())) + // Minimum execution time: 4_102_000 picoseconds. + Weight::from_parts(4_256_984, 990) + // Standard Error: 6_777 + .saturating_add(Weight::from_parts(2_331_893, 0).saturating_mul(t.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 421_000 picoseconds. - Weight::from_parts(456_000, 0) + // Minimum execution time: 385_000 picoseconds. + Weight::from_parts(427_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_900_000 picoseconds. - Weight::from_parts(9_611_602, 249) + // Minimum execution time: 10_128_000 picoseconds. + Weight::from_parts(9_963_519, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(282, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(327, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(70, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_965_000 picoseconds. - Weight::from_parts(9_211_072, 248) + // Minimum execution time: 7_921_000 picoseconds. + Weight::from_parts(9_290_526, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_851_000 picoseconds. - Weight::from_parts(8_930_522, 248) + // Minimum execution time: 7_403_000 picoseconds. + Weight::from_parts(8_815_037, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(647, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,10 +757,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_602_000 picoseconds. - Weight::from_parts(7_843_808, 248) + // Minimum execution time: 6_590_000 picoseconds. + Weight::from_parts(7_949_861, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_245_000 picoseconds. - Weight::from_parts(9_953_659, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(654, 0).saturating_mul(n.into())) + // Minimum execution time: 7_900_000 picoseconds. + Weight::from_parts(9_988_151, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(703, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_993_000 picoseconds. - Weight::from_parts(9_445_000, 0) + // Minimum execution time: 9_023_000 picoseconds. + Weight::from_parts(9_375_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -795,18 +795,17 @@ impl WeightInfo for SubstrateWeight { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `t` is `[0, 1]`. - /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 151_051_000 picoseconds. - Weight::from_parts(164_928_785, 4085) - // Standard Error: 344_718 - .saturating_add(Weight::from_parts(40_015_500, 0).saturating_mul(t.into())) + // Minimum execution time: 157_109_000 picoseconds. + Weight::from_parts(159_458_069, 4085) + // Standard Error: 339_702 + .saturating_add(Weight::from_parts(44_066_869, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(2, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -821,8 +820,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 138_670_000 picoseconds. - Weight::from_parts(144_148_000, 3895) + // Minimum execution time: 143_384_000 picoseconds. + Weight::from_parts(147_554_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -842,14 +841,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_744_236_000 picoseconds. - Weight::from_parts(67_596_989, 4138) - // Standard Error: 6_993_227 - .saturating_add(Weight::from_parts(156_283_395, 0).saturating_mul(t.into())) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_489, 0).saturating_mul(i.into())) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_781, 0).saturating_mul(s.into())) + // Minimum execution time: 1_798_243_000 picoseconds. + Weight::from_parts(82_642_573, 4138) + // Standard Error: 6_831_260 + .saturating_add(Weight::from_parts(159_867_027, 0).saturating_mul(t.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_534, 0).saturating_mul(i.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_809, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -858,64 +857,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 838_000 picoseconds. - Weight::from_parts(855_000, 0) + // Minimum execution time: 875_000 picoseconds. + Weight::from_parts(904_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_083, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_145, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_449_000 picoseconds. - Weight::from_parts(1_466_000, 0) + // Minimum execution time: 1_475_000 picoseconds. + Weight::from_parts(1_551_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_350, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 759_000 picoseconds. - Weight::from_parts(800_000, 0) + // Minimum execution time: 821_000 picoseconds. + Weight::from_parts(850_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 714_000 picoseconds. - Weight::from_parts(733_000, 0) + // Minimum execution time: 747_000 picoseconds. + Weight::from_parts(773_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_276, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_253_000 picoseconds. - Weight::from_parts(51_184_900, 0) + // Minimum execution time: 43_154_000 picoseconds. + Weight::from_parts(45_087_558, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(4_602, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(4_628, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_378_000 picoseconds. - Weight::from_parts(49_505_000, 0) + // Minimum execution time: 47_193_000 picoseconds. + Weight::from_parts(48_514_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_088_000 picoseconds. - Weight::from_parts(13_299_000, 0) + // Minimum execution time: 13_083_000 picoseconds. + Weight::from_parts(13_218_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -925,8 +924,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_326_000 picoseconds. - Weight::from_parts(20_179_000, 3895) + // Minimum execution time: 19_308_000 picoseconds. + Weight::from_parts(20_116_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -936,8 +935,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_432_000 picoseconds. - Weight::from_parts(9_851_000, 3820) + // Minimum execution time: 9_271_000 picoseconds. + Weight::from_parts(9_640_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -947,8 +946,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_359_000 picoseconds. - Weight::from_parts(8_676_000, 3558) + // Minimum execution time: 8_182_000 picoseconds. + Weight::from_parts(8_343_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -957,14 +956,14 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 320_000 picoseconds. - Weight::from_parts(366_000, 0) + Weight::from_parts(347_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 342_000 picoseconds. - Weight::from_parts(379_000, 0) + // Minimum execution time: 345_000 picoseconds. + Weight::from_parts(370_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -972,8 +971,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 3_001_000 picoseconds. - Weight::from_parts(3_163_000, 1704) + // Minimum execution time: 2_998_000 picoseconds. + Weight::from_parts(3_221_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -981,10 +980,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 952_000 picoseconds. - Weight::from_parts(571_197, 0) - // Standard Error: 19 - .saturating_add(Weight::from_parts(14_886, 0).saturating_mul(r.into())) + // Minimum execution time: 1_002_000 picoseconds. + Weight::from_parts(1_094_958, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(14_531, 0).saturating_mul(r.into())) } } @@ -996,8 +995,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_074_000 picoseconds. - Weight::from_parts(2_166_000, 1627) + // Minimum execution time: 2_000_000 picoseconds. + Weight::from_parts(2_142_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1007,10 +1006,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_411_000 picoseconds. - Weight::from_parts(12_587_000, 442) - // Standard Error: 1_213 - .saturating_add(Weight::from_parts(1_149_896, 0).saturating_mul(k.into())) + // Minimum execution time: 12_095_000 picoseconds. + Weight::from_parts(12_699_000, 442) + // Standard Error: 891 + .saturating_add(Weight::from_parts(1_114_063, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1024,10 +1023,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_308_000 picoseconds. - Weight::from_parts(9_014_393, 6149) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_169, 0).saturating_mul(c.into())) + // Minimum execution time: 8_433_000 picoseconds. + Weight::from_parts(8_992_328, 6149) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1040,8 +1039,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_847_000 picoseconds. - Weight::from_parts(17_478_000, 6450) + // Minimum execution time: 16_415_000 picoseconds. + Weight::from_parts(17_348_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1054,10 +1053,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_456_000 picoseconds. - Weight::from_parts(3_534_000, 3635) - // Standard Error: 679 - .saturating_add(Weight::from_parts(1_224_649, 0).saturating_mul(k.into())) + // Minimum execution time: 3_433_000 picoseconds. + Weight::from_parts(3_490_000, 3635) + // Standard Error: 1_043 + .saturating_add(Weight::from_parts(1_225_953, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1076,10 +1075,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_933_000 picoseconds. - Weight::from_parts(16_929_238, 6263) + // Minimum execution time: 16_421_000 picoseconds. + Weight::from_parts(16_822_963, 6263) // Standard Error: 0 - .saturating_add(Weight::from_parts(405, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(456, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1090,8 +1089,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_826_000 picoseconds. - Weight::from_parts(13_566_000, 6380) + // Minimum execution time: 12_569_000 picoseconds. + Weight::from_parts(13_277_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1105,8 +1104,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 48_129_000 picoseconds. - Weight::from_parts(49_472_000, 6292) + // Minimum execution time: 46_777_000 picoseconds. + Weight::from_parts(47_690_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1118,8 +1117,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_401_000 picoseconds. - Weight::from_parts(57_543_000, 6534) + // Minimum execution time: 55_280_000 picoseconds. + Weight::from_parts(57_081_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1129,8 +1128,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_066_000 picoseconds. - Weight::from_parts(12_386_000, 6349) + // Minimum execution time: 12_077_000 picoseconds. + Weight::from_parts(12_647_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1140,8 +1139,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_394_000 picoseconds. - Weight::from_parts(2_695_000, 1627) + // Minimum execution time: 2_559_000 picoseconds. + Weight::from_parts(2_711_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1153,8 +1152,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_286_000 picoseconds. - Weight::from_parts(12_764_000, 3631) + // Minimum execution time: 12_238_000 picoseconds. + Weight::from_parts(12_627_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1164,8 +1163,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_888_000 picoseconds. - Weight::from_parts(5_192_000, 3607) + // Minimum execution time: 4_836_000 picoseconds. + Weight::from_parts(5_086_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1176,8 +1175,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_033_000 picoseconds. - Weight::from_parts(6_404_000, 3632) + // Minimum execution time: 6_147_000 picoseconds. + Weight::from_parts(6_380_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1188,8 +1187,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_260_000 picoseconds. - Weight::from_parts(6_761_000, 3607) + // Minimum execution time: 6_140_000 picoseconds. + Weight::from_parts(6_670_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1210,10 +1209,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 282_827_000 picoseconds. - Weight::from_parts(268_595_710, 4264) - // Standard Error: 74 - .saturating_add(Weight::from_parts(33_961, 0).saturating_mul(c.into())) + // Minimum execution time: 354_459_000 picoseconds. + Weight::from_parts(332_397_871, 4264) + // Standard Error: 70 + .saturating_add(Weight::from_parts(33_775, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1241,14 +1240,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_039_064_000 picoseconds. - Weight::from_parts(511_488_092, 6262) - // Standard Error: 154 - .saturating_add(Weight::from_parts(68_951, 0).saturating_mul(c.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_740, 0).saturating_mul(i.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_737, 0).saturating_mul(s.into())) + // Minimum execution time: 4_239_452_000 picoseconds. + Weight::from_parts(800_849_282, 6262) + // Standard Error: 117 + .saturating_add(Weight::from_parts(68_435, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_653, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(1_668, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1274,12 +1273,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_043_035_000 picoseconds. - Weight::from_parts(2_056_535_000, 4029) + // Minimum execution time: 2_085_570_000 picoseconds. + Weight::from_parts(2_112_501_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(907, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(888, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(797, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(795, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1299,8 +1298,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 197_670_000 picoseconds. - Weight::from_parts(207_490_000, 4291) + // Minimum execution time: 201_900_000 picoseconds. + Weight::from_parts(206_738_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1317,10 +1316,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 268_742_000 picoseconds. - Weight::from_parts(271_032_265, 3607) - // Standard Error: 67 - .saturating_add(Weight::from_parts(33_877, 0).saturating_mul(c.into())) + // Minimum execution time: 330_704_000 picoseconds. + Weight::from_parts(345_129_342, 3607) + // Standard Error: 51 + .saturating_add(Weight::from_parts(33_126, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1337,10 +1336,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 262_093_000 picoseconds. - Weight::from_parts(284_700_466, 3607) - // Standard Error: 64 - .saturating_add(Weight::from_parts(33_947, 0).saturating_mul(c.into())) + // Minimum execution time: 343_339_000 picoseconds. + Weight::from_parts(356_479_729, 3607) + // Standard Error: 49 + .saturating_add(Weight::from_parts(33_404, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1356,8 +1355,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 41_895_000 picoseconds. - Weight::from_parts(43_710_000, 3780) + // Minimum execution time: 42_241_000 picoseconds. + Weight::from_parts(43_365_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1371,8 +1370,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_308_000 picoseconds. - Weight::from_parts(27_330_000, 6492) + // Minimum execution time: 26_318_000 picoseconds. + Weight::from_parts(27_840_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1381,17 +1380,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_599_000 picoseconds. - Weight::from_parts(9_964_505, 0) - // Standard Error: 74 - .saturating_add(Weight::from_parts(71_132, 0).saturating_mul(r.into())) + // Minimum execution time: 9_397_000 picoseconds. + Weight::from_parts(9_318_986, 0) + // Standard Error: 72 + .saturating_add(Weight::from_parts(72_994, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 621_000 picoseconds. - Weight::from_parts(669_000, 0) + // Minimum execution time: 644_000 picoseconds. + Weight::from_parts(687_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1399,8 +1398,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_787_000 picoseconds. - Weight::from_parts(7_039_000, 3819) + // Minimum execution time: 6_465_000 picoseconds. + Weight::from_parts(6_850_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1409,79 +1408,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_839_000 picoseconds. - Weight::from_parts(8_154_000, 3912) + // Minimum execution time: 7_735_000 picoseconds. + Weight::from_parts(8_115_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 729_000 picoseconds. - Weight::from_parts(805_000, 0) + // Minimum execution time: 717_000 picoseconds. + Weight::from_parts(791_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 422_000 picoseconds. - Weight::from_parts(442_000, 0) + // Minimum execution time: 365_000 picoseconds. + Weight::from_parts(427_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 327_000 picoseconds. - Weight::from_parts(361_000, 0) + // Minimum execution time: 331_000 picoseconds. + Weight::from_parts(363_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 572_000 picoseconds. - Weight::from_parts(627_000, 0) + // Minimum execution time: 586_000 picoseconds. + Weight::from_parts(625_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 698_000 picoseconds. - Weight::from_parts(731_000, 0) + // Minimum execution time: 680_000 picoseconds. + Weight::from_parts(734_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_569_000 picoseconds. - Weight::from_parts(4_823_000, 0) + // Minimum execution time: 4_732_000 picoseconds. + Weight::from_parts(5_008_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 563_000 picoseconds. - Weight::from_parts(591_000, 0) + // Minimum execution time: 608_000 picoseconds. + Weight::from_parts(635_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 567_000 picoseconds. - Weight::from_parts(592_000, 0) + // Minimum execution time: 571_000 picoseconds. + Weight::from_parts(606_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 534_000 picoseconds. - Weight::from_parts(586_000, 0) + // Minimum execution time: 511_000 picoseconds. + Weight::from_parts(584_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 507_000 picoseconds. - Weight::from_parts(577_000, 0) + // Minimum execution time: 552_000 picoseconds. + Weight::from_parts(612_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1489,8 +1488,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_331_000 picoseconds. - Weight::from_parts(4_582_000, 1552) + // Minimum execution time: 4_396_000 picoseconds. + Weight::from_parts(4_630_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1498,8 +1497,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 435_000 picoseconds. - Weight::from_parts(500_000, 0) + // Minimum execution time: 494_000 picoseconds. + Weight::from_parts(510_000, 0) // Standard Error: 3 .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) } @@ -1508,10 +1507,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 331_000 picoseconds. - Weight::from_parts(356_000, 0) + // Minimum execution time: 311_000 picoseconds. + Weight::from_parts(346_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(423, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1524,10 +1523,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_488_000 picoseconds. - Weight::from_parts(16_354_601, 3784) - // Standard Error: 7_864 - .saturating_add(Weight::from_parts(3_700_384, 0).saturating_mul(n.into())) + // Minimum execution time: 14_403_000 picoseconds. + Weight::from_parts(16_478_113, 3784) + // Standard Error: 6_667 + .saturating_add(Weight::from_parts(3_641_603, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1540,8 +1539,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_470_000 picoseconds. - Weight::from_parts(3_637_000, 1561) + // Minimum execution time: 3_639_000 picoseconds. + Weight::from_parts(3_801_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1552,12 +1551,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_046_000 picoseconds. - Weight::from_parts(4_233_938, 990) - // Standard Error: 7_203 - .saturating_add(Weight::from_parts(2_402_117, 0).saturating_mul(t.into())) - // Standard Error: 2 - .saturating_add(Weight::from_parts(27, 0).saturating_mul(n.into())) + // Minimum execution time: 4_102_000 picoseconds. + Weight::from_parts(4_256_984, 990) + // Standard Error: 6_777 + .saturating_add(Weight::from_parts(2_331_893, 0).saturating_mul(t.into())) + // Standard Error: 1 + .saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1567,10 +1566,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 421_000 picoseconds. - Weight::from_parts(456_000, 0) + // Minimum execution time: 385_000 picoseconds. + Weight::from_parts(427_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1580,12 +1579,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_900_000 picoseconds. - Weight::from_parts(9_611_602, 249) + // Minimum execution time: 10_128_000 picoseconds. + Weight::from_parts(9_963_519, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(282, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(327, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(70, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1597,10 +1596,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_965_000 picoseconds. - Weight::from_parts(9_211_072, 248) + // Minimum execution time: 7_921_000 picoseconds. + Weight::from_parts(9_290_526, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1612,10 +1611,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_851_000 picoseconds. - Weight::from_parts(8_930_522, 248) + // Minimum execution time: 7_403_000 picoseconds. + Weight::from_parts(8_815_037, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(647, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1626,10 +1625,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_602_000 picoseconds. - Weight::from_parts(7_843_808, 248) + // Minimum execution time: 6_590_000 picoseconds. + Weight::from_parts(7_949_861, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(85, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1640,10 +1639,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_245_000 picoseconds. - Weight::from_parts(9_953_659, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(654, 0).saturating_mul(n.into())) + // Minimum execution time: 7_900_000 picoseconds. + Weight::from_parts(9_988_151, 248) + // Standard Error: 3 + .saturating_add(Weight::from_parts(703, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1652,8 +1651,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_993_000 picoseconds. - Weight::from_parts(9_445_000, 0) + // Minimum execution time: 9_023_000 picoseconds. + Weight::from_parts(9_375_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1664,18 +1663,17 @@ impl WeightInfo for () { /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) /// The range of component `t` is `[0, 1]`. - /// The range of component `c` is `[0, 1]`. /// The range of component `i` is `[0, 1048576]`. fn seal_call(t: u32, i: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 151_051_000 picoseconds. - Weight::from_parts(164_928_785, 4085) - // Standard Error: 344_718 - .saturating_add(Weight::from_parts(40_015_500, 0).saturating_mul(t.into())) + // Minimum execution time: 157_109_000 picoseconds. + Weight::from_parts(159_458_069, 4085) + // Standard Error: 339_702 + .saturating_add(Weight::from_parts(44_066_869, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(2, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1690,8 +1688,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 138_670_000 picoseconds. - Weight::from_parts(144_148_000, 3895) + // Minimum execution time: 143_384_000 picoseconds. + Weight::from_parts(147_554_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1711,14 +1709,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_744_236_000 picoseconds. - Weight::from_parts(67_596_989, 4138) - // Standard Error: 6_993_227 - .saturating_add(Weight::from_parts(156_283_395, 0).saturating_mul(t.into())) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_489, 0).saturating_mul(i.into())) - // Standard Error: 11 - .saturating_add(Weight::from_parts(1_781, 0).saturating_mul(s.into())) + // Minimum execution time: 1_798_243_000 picoseconds. + Weight::from_parts(82_642_573, 4138) + // Standard Error: 6_831_260 + .saturating_add(Weight::from_parts(159_867_027, 0).saturating_mul(t.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_534, 0).saturating_mul(i.into())) + // Standard Error: 10 + .saturating_add(Weight::from_parts(1_809, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1727,64 +1725,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 838_000 picoseconds. - Weight::from_parts(855_000, 0) + // Minimum execution time: 875_000 picoseconds. + Weight::from_parts(904_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_083, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_145, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_449_000 picoseconds. - Weight::from_parts(1_466_000, 0) + // Minimum execution time: 1_475_000 picoseconds. + Weight::from_parts(1_551_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_350, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 759_000 picoseconds. - Weight::from_parts(800_000, 0) + // Minimum execution time: 821_000 picoseconds. + Weight::from_parts(850_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 714_000 picoseconds. - Weight::from_parts(733_000, 0) + // Minimum execution time: 747_000 picoseconds. + Weight::from_parts(773_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_220, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_276, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_253_000 picoseconds. - Weight::from_parts(51_184_900, 0) + // Minimum execution time: 43_154_000 picoseconds. + Weight::from_parts(45_087_558, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(4_602, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(4_628, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_378_000 picoseconds. - Weight::from_parts(49_505_000, 0) + // Minimum execution time: 47_193_000 picoseconds. + Weight::from_parts(48_514_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_088_000 picoseconds. - Weight::from_parts(13_299_000, 0) + // Minimum execution time: 13_083_000 picoseconds. + Weight::from_parts(13_218_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1794,8 +1792,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_326_000 picoseconds. - Weight::from_parts(20_179_000, 3895) + // Minimum execution time: 19_308_000 picoseconds. + Weight::from_parts(20_116_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1805,8 +1803,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_432_000 picoseconds. - Weight::from_parts(9_851_000, 3820) + // Minimum execution time: 9_271_000 picoseconds. + Weight::from_parts(9_640_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1816,8 +1814,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_359_000 picoseconds. - Weight::from_parts(8_676_000, 3558) + // Minimum execution time: 8_182_000 picoseconds. + Weight::from_parts(8_343_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1826,14 +1824,14 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 320_000 picoseconds. - Weight::from_parts(366_000, 0) + Weight::from_parts(347_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 342_000 picoseconds. - Weight::from_parts(379_000, 0) + // Minimum execution time: 345_000 picoseconds. + Weight::from_parts(370_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1841,8 +1839,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 3_001_000 picoseconds. - Weight::from_parts(3_163_000, 1704) + // Minimum execution time: 2_998_000 picoseconds. + Weight::from_parts(3_221_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1850,9 +1848,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 952_000 picoseconds. - Weight::from_parts(571_197, 0) - // Standard Error: 19 - .saturating_add(Weight::from_parts(14_886, 0).saturating_mul(r.into())) + // Minimum execution time: 1_002_000 picoseconds. + Weight::from_parts(1_094_958, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(14_531, 0).saturating_mul(r.into())) } } From 35323674b6c5cdddfaef489bde73263d6b236cff Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 23 May 2024 10:45:05 +0200 Subject: [PATCH 55/75] Bump wasmi beta --- Cargo.lock | 16 ++++++++-------- substrate/frame/contracts/Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f3821fc685a8..9c939640ff95 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10013,7 +10013,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi 0.32.0-beta.16", + "wasmi 0.32.0-beta.17", "wat", ] @@ -22454,9 +22454,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.32.0-beta.16" +version = "0.32.0-beta.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89197c624ff57b954a57779b670f43709a023b1e365285af4bf14db37c9bed8b" +checksum = "e95733b20d84b86116a0e52e430d0f58f848c510664e581a3e2730acba841516" dependencies = [ "arrayvec 0.7.4", "multi-stash", @@ -22465,7 +22465,7 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_collections", - "wasmi_core 0.32.0-beta.16", + "wasmi_core 0.32.0-beta.17", "wasmparser-nostd", ] @@ -22477,9 +22477,9 @@ checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_collections" -version = "0.32.0-beta.16" +version = "0.32.0-beta.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3eefbe690421d1957bba7ced57b427263ff66885f6772b7e995806327e1086bf" +checksum = "1374b05c71a1078ff514fe72f2c5c5eacffa2cc21baae3fefa3364bc551d9572" dependencies = [ "ahash 0.8.11", "hashbrown 0.14.3", @@ -22500,9 +22500,9 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.32.0-beta.16" +version = "0.32.0-beta.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f873c298a7a5581318f6e7e604f90b2c6fc682ba032592126a0e71017f68cc0" +checksum = "5ddf119e300d3e211ffaa0fb6091f3901855c667c9a262fe630b0ed84756cfc5" dependencies = [ "downcast-rs", "libm", diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index 0a74baa65ecd..4b9373326513 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32.0-beta.16", default-features = false } +wasmi = { version = "0.32.0-beta.17", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From 7ff36555be0b2bd76906875956c65162a1af9974 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 23 May 2024 10:52:24 +0200 Subject: [PATCH 56/75] Update prdoc --- prdoc/pr_3679.prdoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/prdoc/pr_3679.prdoc b/prdoc/pr_3679.prdoc index c6a78569f067..0321776238f4 100644 --- a/prdoc/pr_3679.prdoc +++ b/prdoc/pr_3679.prdoc @@ -1,10 +1,12 @@ -title: "[pallet-contracts] use lazy compilation mode in wasmi" +title: "[pallet-contracts] bump wasmi to 0.32" doc: - audience: Runtime Dev description: | - Turn on lazy compilation mode in wasmi. - See https://docs.rs/wasmi/0.32.0-beta.7/wasmi/enum.CompilationMode.html#variant.Lazy + - Bump wasmi to 0.32 + - Turn on lazy and unchecked compilation when calling a contract. + See https://docs.rs/wasmi/0.32.0-beta.17/wasmi/enum.CompilationMode.html#variant.Lazy + See https://docs.rs/wasmi/0.32.0-beta.17/wasmi/struct.Module.html#method.new_unchecked crates: - name: pallet-contracts From d054fcd13e8f37dad3755a6857662454d151c7fb Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 23 May 2024 09:27:39 +0000 Subject: [PATCH 57/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 758 +++++++++++------------ 1 file changed, 377 insertions(+), 381 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 2e9c2cd15af8..85a9edb1b808 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-vicqj8em-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_142_000, 1627) + // Minimum execution time: 2_091_000 picoseconds. + Weight::from_parts(2_202_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_095_000 picoseconds. - Weight::from_parts(12_699_000, 442) - // Standard Error: 891 - .saturating_add(Weight::from_parts(1_114_063, 0).saturating_mul(k.into())) + // Minimum execution time: 12_149_000 picoseconds. + Weight::from_parts(12_473_000, 442) + // Standard Error: 1_188 + .saturating_add(Weight::from_parts(1_103_323, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_433_000 picoseconds. - Weight::from_parts(8_992_328, 6149) + // Minimum execution time: 8_230_000 picoseconds. + Weight::from_parts(8_549_057, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_166, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_415_000 picoseconds. - Weight::from_parts(17_348_000, 6450) + // Minimum execution time: 16_322_000 picoseconds. + Weight::from_parts(17_080_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_433_000 picoseconds. - Weight::from_parts(3_490_000, 3635) - // Standard Error: 1_043 - .saturating_add(Weight::from_parts(1_225_953, 0).saturating_mul(k.into())) + // Minimum execution time: 3_391_000 picoseconds. + Weight::from_parts(883_421, 3635) + // Standard Error: 1_098 + .saturating_add(Weight::from_parts(1_216_079, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_421_000 picoseconds. - Weight::from_parts(16_822_963, 6263) - // Standard Error: 0 - .saturating_add(Weight::from_parts(456, 0).saturating_mul(c.into())) + // Minimum execution time: 16_610_000 picoseconds. + Weight::from_parts(16_879_990, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(364, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_569_000 picoseconds. - Weight::from_parts(13_277_000, 6380) + // Minimum execution time: 12_401_000 picoseconds. + Weight::from_parts(13_138_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_777_000 picoseconds. - Weight::from_parts(47_690_000, 6292) + // Minimum execution time: 49_392_000 picoseconds. + Weight::from_parts(50_402_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_280_000 picoseconds. - Weight::from_parts(57_081_000, 6534) + // Minimum execution time: 55_805_000 picoseconds. + Weight::from_parts(57_273_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_077_000 picoseconds. - Weight::from_parts(12_647_000, 6349) + // Minimum execution time: 11_919_000 picoseconds. + Weight::from_parts(12_273_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_559_000 picoseconds. - Weight::from_parts(2_711_000, 1627) + // Minimum execution time: 2_421_000 picoseconds. + Weight::from_parts(2_607_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_238_000 picoseconds. - Weight::from_parts(12_627_000, 3631) + // Minimum execution time: 12_054_000 picoseconds. + Weight::from_parts(12_671_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_836_000 picoseconds. - Weight::from_parts(5_086_000, 3607) + // Minimum execution time: 4_738_000 picoseconds. + Weight::from_parts(5_090_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_147_000 picoseconds. - Weight::from_parts(6_380_000, 3632) + // Minimum execution time: 5_977_000 picoseconds. + Weight::from_parts(6_326_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_140_000 picoseconds. - Weight::from_parts(6_670_000, 3607) + // Minimum execution time: 5_991_000 picoseconds. + Weight::from_parts(6_510_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 354_459_000 picoseconds. - Weight::from_parts(332_397_871, 4264) - // Standard Error: 70 - .saturating_add(Weight::from_parts(33_775, 0).saturating_mul(c.into())) + // Minimum execution time: 258_514_000 picoseconds. + Weight::from_parts(267_930_839, 4264) + // Standard Error: 8 + .saturating_add(Weight::from_parts(733, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_239_452_000 picoseconds. - Weight::from_parts(800_849_282, 6262) - // Standard Error: 117 - .saturating_add(Weight::from_parts(68_435, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_653, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_668, 0).saturating_mul(s.into())) + // Minimum execution time: 3_667_751_000 picoseconds. + Weight::from_parts(463_118_107, 6262) + // Standard Error: 147 + .saturating_add(Weight::from_parts(52_398, 0).saturating_mul(c.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_620, 0).saturating_mul(i.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_623, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_085_570_000 picoseconds. - Weight::from_parts(2_112_501_000, 4029) + // Minimum execution time: 1_930_692_000 picoseconds. + Weight::from_parts(1_946_941_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(888, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(826, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(795, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(784, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 201_900_000 picoseconds. - Weight::from_parts(206_738_000, 4291) + // Minimum execution time: 165_606_000 picoseconds. + Weight::from_parts(168_925_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 330_704_000 picoseconds. - Weight::from_parts(345_129_342, 3607) - // Standard Error: 51 - .saturating_add(Weight::from_parts(33_126, 0).saturating_mul(c.into())) + // Minimum execution time: 243_810_000 picoseconds. + Weight::from_parts(262_054_914, 3607) + // Standard Error: 49 + .saturating_add(Weight::from_parts(49_267, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 343_339_000 picoseconds. - Weight::from_parts(356_479_729, 3607) - // Standard Error: 49 - .saturating_add(Weight::from_parts(33_404, 0).saturating_mul(c.into())) + // Minimum execution time: 256_642_000 picoseconds. + Weight::from_parts(242_104_062, 3607) + // Standard Error: 79 + .saturating_add(Weight::from_parts(50_116, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 42_241_000 picoseconds. - Weight::from_parts(43_365_000, 3780) + // Minimum execution time: 42_097_000 picoseconds. + Weight::from_parts(43_072_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_318_000 picoseconds. - Weight::from_parts(27_840_000, 6492) + // Minimum execution time: 25_967_000 picoseconds. + Weight::from_parts(27_160_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_397_000 picoseconds. - Weight::from_parts(9_318_986, 0) - // Standard Error: 72 - .saturating_add(Weight::from_parts(72_994, 0).saturating_mul(r.into())) + // Minimum execution time: 8_878_000 picoseconds. + Weight::from_parts(10_075_696, 0) + // Standard Error: 52 + .saturating_add(Weight::from_parts(52_164, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 644_000 picoseconds. - Weight::from_parts(687_000, 0) + // Minimum execution time: 561_000 picoseconds. + Weight::from_parts(621_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_465_000 picoseconds. - Weight::from_parts(6_850_000, 3819) + // Minimum execution time: 6_481_000 picoseconds. + Weight::from_parts(6_805_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_735_000 picoseconds. - Weight::from_parts(8_115_000, 3912) + // Minimum execution time: 7_550_000 picoseconds. + Weight::from_parts(7_901_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 717_000 picoseconds. - Weight::from_parts(791_000, 0) + // Minimum execution time: 736_000 picoseconds. + Weight::from_parts(802_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 365_000 picoseconds. - Weight::from_parts(427_000, 0) + // Minimum execution time: 388_000 picoseconds. + Weight::from_parts(410_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 331_000 picoseconds. - Weight::from_parts(363_000, 0) + // Minimum execution time: 325_000 picoseconds. + Weight::from_parts(368_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 586_000 picoseconds. - Weight::from_parts(625_000, 0) + // Minimum execution time: 569_000 picoseconds. + Weight::from_parts(610_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 680_000 picoseconds. - Weight::from_parts(734_000, 0) + // Minimum execution time: 664_000 picoseconds. + Weight::from_parts(719_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_732_000 picoseconds. - Weight::from_parts(5_008_000, 0) + // Minimum execution time: 4_581_000 picoseconds. + Weight::from_parts(4_826_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 608_000 picoseconds. - Weight::from_parts(635_000, 0) + // Minimum execution time: 555_000 picoseconds. + Weight::from_parts(600_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 571_000 picoseconds. - Weight::from_parts(606_000, 0) + // Minimum execution time: 530_000 picoseconds. + Weight::from_parts(609_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 511_000 picoseconds. - Weight::from_parts(584_000, 0) + // Minimum execution time: 510_000 picoseconds. + Weight::from_parts(573_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 552_000 picoseconds. - Weight::from_parts(612_000, 0) + // Minimum execution time: 511_000 picoseconds. + Weight::from_parts(578_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_396_000 picoseconds. - Weight::from_parts(4_630_000, 1552) + // Minimum execution time: 4_324_000 picoseconds. + Weight::from_parts(4_511_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,20 +629,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 494_000 picoseconds. - Weight::from_parts(510_000, 0) + // Minimum execution time: 459_000 picoseconds. + Weight::from_parts(522_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(298, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 311_000 picoseconds. - Weight::from_parts(346_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) + // Minimum execution time: 452_000 picoseconds. + Weight::from_parts(465_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(403, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_403_000 picoseconds. - Weight::from_parts(16_478_113, 3784) - // Standard Error: 6_667 - .saturating_add(Weight::from_parts(3_641_603, 0).saturating_mul(n.into())) + // Minimum execution time: 14_541_000 picoseconds. + Weight::from_parts(16_756_770, 3784) + // Standard Error: 6_657 + .saturating_add(Weight::from_parts(3_735_742, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_639_000 picoseconds. - Weight::from_parts(3_801_000, 1561) + // Minimum execution time: 3_464_000 picoseconds. + Weight::from_parts(3_668_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_102_000 picoseconds. - Weight::from_parts(4_256_984, 990) - // Standard Error: 6_777 - .saturating_add(Weight::from_parts(2_331_893, 0).saturating_mul(t.into())) + // Minimum execution time: 4_237_000 picoseconds. + Weight::from_parts(4_607_742, 990) + // Standard Error: 6_954 + .saturating_add(Weight::from_parts(2_326_968, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 385_000 picoseconds. - Weight::from_parts(427_000, 0) + // Minimum execution time: 368_000 picoseconds. + Weight::from_parts(408_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_206, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 10_128_000 picoseconds. - Weight::from_parts(9_963_519, 249) + // Minimum execution time: 9_497_000 picoseconds. + Weight::from_parts(9_454_190, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(327, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(243, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(63, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_921_000 picoseconds. - Weight::from_parts(9_290_526, 248) + // Minimum execution time: 7_686_000 picoseconds. + Weight::from_parts(8_885_816, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(90, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_403_000 picoseconds. - Weight::from_parts(8_815_037, 248) + // Minimum execution time: 6_820_000 picoseconds. + Weight::from_parts(8_565_645, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(613, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,10 +757,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_590_000 picoseconds. - Weight::from_parts(7_949_861, 248) + // Minimum execution time: 6_479_000 picoseconds. + Weight::from_parts(7_679_523, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_900_000 picoseconds. - Weight::from_parts(9_988_151, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(703, 0).saturating_mul(n.into())) + // Minimum execution time: 8_066_000 picoseconds. + Weight::from_parts(9_688_719, 248) + // Standard Error: 6 + .saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_023_000 picoseconds. - Weight::from_parts(9_375_000, 0) + // Minimum execution time: 9_254_000 picoseconds. + Weight::from_parts(9_445_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -800,12 +800,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 157_109_000 picoseconds. - Weight::from_parts(159_458_069, 4085) - // Standard Error: 339_702 - .saturating_add(Weight::from_parts(44_066_869, 0).saturating_mul(t.into())) + // Minimum execution time: 123_552_000 picoseconds. + Weight::from_parts(118_449_684, 4085) + // Standard Error: 191_111 + .saturating_add(Weight::from_parts(45_346_523, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(8, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -820,8 +820,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 143_384_000 picoseconds. - Weight::from_parts(147_554_000, 3895) + // Minimum execution time: 109_770_000 picoseconds. + Weight::from_parts(113_371_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -837,18 +837,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. - fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { + fn seal_instantiate(_t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_798_243_000 picoseconds. - Weight::from_parts(82_642_573, 4138) - // Standard Error: 6_831_260 - .saturating_add(Weight::from_parts(159_867_027, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_534, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_809, 0).saturating_mul(s.into())) + // Minimum execution time: 1_586_729_000 picoseconds. + Weight::from_parts(1_603_069_000, 4138) + // Standard Error: 13 + .saturating_add(Weight::from_parts(562, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(918, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -857,64 +855,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 875_000 picoseconds. - Weight::from_parts(904_000, 0) + // Minimum execution time: 888_000 picoseconds. + Weight::from_parts(910_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_145, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_053, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_475_000 picoseconds. - Weight::from_parts(1_551_000, 0) + // Minimum execution time: 1_428_000 picoseconds. + Weight::from_parts(1_500_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_309, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 821_000 picoseconds. - Weight::from_parts(850_000, 0) + // Minimum execution time: 759_000 picoseconds. + Weight::from_parts(809_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_179, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 747_000 picoseconds. - Weight::from_parts(773_000, 0) + // Minimum execution time: 645_000 picoseconds. + Weight::from_parts(738_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_276, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_179, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_154_000 picoseconds. - Weight::from_parts(45_087_558, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_628, 0).saturating_mul(n.into())) + // Minimum execution time: 44_311_000 picoseconds. + Weight::from_parts(46_235_680, 0) + // Standard Error: 6 + .saturating_add(Weight::from_parts(4_607, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_193_000 picoseconds. - Weight::from_parts(48_514_000, 0) + // Minimum execution time: 46_863_000 picoseconds. + Weight::from_parts(48_198_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_083_000 picoseconds. - Weight::from_parts(13_218_000, 0) + // Minimum execution time: 13_051_000 picoseconds. + Weight::from_parts(13_205_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -924,8 +922,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_308_000 picoseconds. - Weight::from_parts(20_116_000, 3895) + // Minimum execution time: 19_577_000 picoseconds. + Weight::from_parts(20_108_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -935,8 +933,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_271_000 picoseconds. - Weight::from_parts(9_640_000, 3820) + // Minimum execution time: 9_107_000 picoseconds. + Weight::from_parts(9_391_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -946,8 +944,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_182_000 picoseconds. - Weight::from_parts(8_343_000, 3558) + // Minimum execution time: 8_094_000 picoseconds. + Weight::from_parts(8_377_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -956,14 +954,14 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 320_000 picoseconds. - Weight::from_parts(347_000, 0) + Weight::from_parts(366_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 345_000 picoseconds. - Weight::from_parts(370_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(379_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -971,8 +969,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_998_000 picoseconds. - Weight::from_parts(3_221_000, 1704) + // Minimum execution time: 2_836_000 picoseconds. + Weight::from_parts(3_007_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -980,10 +978,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_002_000 picoseconds. - Weight::from_parts(1_094_958, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(14_531, 0).saturating_mul(r.into())) + // Minimum execution time: 608_000 picoseconds. + Weight::from_parts(390_023, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(6_999, 0).saturating_mul(r.into())) } } @@ -995,8 +993,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_142_000, 1627) + // Minimum execution time: 2_091_000 picoseconds. + Weight::from_parts(2_202_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1006,10 +1004,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_095_000 picoseconds. - Weight::from_parts(12_699_000, 442) - // Standard Error: 891 - .saturating_add(Weight::from_parts(1_114_063, 0).saturating_mul(k.into())) + // Minimum execution time: 12_149_000 picoseconds. + Weight::from_parts(12_473_000, 442) + // Standard Error: 1_188 + .saturating_add(Weight::from_parts(1_103_323, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1023,10 +1021,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_433_000 picoseconds. - Weight::from_parts(8_992_328, 6149) + // Minimum execution time: 8_230_000 picoseconds. + Weight::from_parts(8_549_057, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_166, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1039,8 +1037,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_415_000 picoseconds. - Weight::from_parts(17_348_000, 6450) + // Minimum execution time: 16_322_000 picoseconds. + Weight::from_parts(17_080_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1053,10 +1051,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_433_000 picoseconds. - Weight::from_parts(3_490_000, 3635) - // Standard Error: 1_043 - .saturating_add(Weight::from_parts(1_225_953, 0).saturating_mul(k.into())) + // Minimum execution time: 3_391_000 picoseconds. + Weight::from_parts(883_421, 3635) + // Standard Error: 1_098 + .saturating_add(Weight::from_parts(1_216_079, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1075,10 +1073,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_421_000 picoseconds. - Weight::from_parts(16_822_963, 6263) - // Standard Error: 0 - .saturating_add(Weight::from_parts(456, 0).saturating_mul(c.into())) + // Minimum execution time: 16_610_000 picoseconds. + Weight::from_parts(16_879_990, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(364, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1089,8 +1087,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_569_000 picoseconds. - Weight::from_parts(13_277_000, 6380) + // Minimum execution time: 12_401_000 picoseconds. + Weight::from_parts(13_138_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1104,8 +1102,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_777_000 picoseconds. - Weight::from_parts(47_690_000, 6292) + // Minimum execution time: 49_392_000 picoseconds. + Weight::from_parts(50_402_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1117,8 +1115,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_280_000 picoseconds. - Weight::from_parts(57_081_000, 6534) + // Minimum execution time: 55_805_000 picoseconds. + Weight::from_parts(57_273_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1128,8 +1126,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_077_000 picoseconds. - Weight::from_parts(12_647_000, 6349) + // Minimum execution time: 11_919_000 picoseconds. + Weight::from_parts(12_273_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1139,8 +1137,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_559_000 picoseconds. - Weight::from_parts(2_711_000, 1627) + // Minimum execution time: 2_421_000 picoseconds. + Weight::from_parts(2_607_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1152,8 +1150,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_238_000 picoseconds. - Weight::from_parts(12_627_000, 3631) + // Minimum execution time: 12_054_000 picoseconds. + Weight::from_parts(12_671_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1163,8 +1161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_836_000 picoseconds. - Weight::from_parts(5_086_000, 3607) + // Minimum execution time: 4_738_000 picoseconds. + Weight::from_parts(5_090_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1175,8 +1173,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_147_000 picoseconds. - Weight::from_parts(6_380_000, 3632) + // Minimum execution time: 5_977_000 picoseconds. + Weight::from_parts(6_326_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1187,8 +1185,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_140_000 picoseconds. - Weight::from_parts(6_670_000, 3607) + // Minimum execution time: 5_991_000 picoseconds. + Weight::from_parts(6_510_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1209,10 +1207,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 354_459_000 picoseconds. - Weight::from_parts(332_397_871, 4264) - // Standard Error: 70 - .saturating_add(Weight::from_parts(33_775, 0).saturating_mul(c.into())) + // Minimum execution time: 258_514_000 picoseconds. + Weight::from_parts(267_930_839, 4264) + // Standard Error: 8 + .saturating_add(Weight::from_parts(733, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1240,14 +1238,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_239_452_000 picoseconds. - Weight::from_parts(800_849_282, 6262) - // Standard Error: 117 - .saturating_add(Weight::from_parts(68_435, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_653, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_668, 0).saturating_mul(s.into())) + // Minimum execution time: 3_667_751_000 picoseconds. + Weight::from_parts(463_118_107, 6262) + // Standard Error: 147 + .saturating_add(Weight::from_parts(52_398, 0).saturating_mul(c.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_620, 0).saturating_mul(i.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_623, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1273,12 +1271,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_085_570_000 picoseconds. - Weight::from_parts(2_112_501_000, 4029) + // Minimum execution time: 1_930_692_000 picoseconds. + Weight::from_parts(1_946_941_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(888, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(826, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(795, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(784, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1298,8 +1296,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 201_900_000 picoseconds. - Weight::from_parts(206_738_000, 4291) + // Minimum execution time: 165_606_000 picoseconds. + Weight::from_parts(168_925_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1316,10 +1314,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 330_704_000 picoseconds. - Weight::from_parts(345_129_342, 3607) - // Standard Error: 51 - .saturating_add(Weight::from_parts(33_126, 0).saturating_mul(c.into())) + // Minimum execution time: 243_810_000 picoseconds. + Weight::from_parts(262_054_914, 3607) + // Standard Error: 49 + .saturating_add(Weight::from_parts(49_267, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1336,10 +1334,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 343_339_000 picoseconds. - Weight::from_parts(356_479_729, 3607) - // Standard Error: 49 - .saturating_add(Weight::from_parts(33_404, 0).saturating_mul(c.into())) + // Minimum execution time: 256_642_000 picoseconds. + Weight::from_parts(242_104_062, 3607) + // Standard Error: 79 + .saturating_add(Weight::from_parts(50_116, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1355,8 +1353,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 42_241_000 picoseconds. - Weight::from_parts(43_365_000, 3780) + // Minimum execution time: 42_097_000 picoseconds. + Weight::from_parts(43_072_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1370,8 +1368,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_318_000 picoseconds. - Weight::from_parts(27_840_000, 6492) + // Minimum execution time: 25_967_000 picoseconds. + Weight::from_parts(27_160_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1380,17 +1378,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_397_000 picoseconds. - Weight::from_parts(9_318_986, 0) - // Standard Error: 72 - .saturating_add(Weight::from_parts(72_994, 0).saturating_mul(r.into())) + // Minimum execution time: 8_878_000 picoseconds. + Weight::from_parts(10_075_696, 0) + // Standard Error: 52 + .saturating_add(Weight::from_parts(52_164, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 644_000 picoseconds. - Weight::from_parts(687_000, 0) + // Minimum execution time: 561_000 picoseconds. + Weight::from_parts(621_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1398,8 +1396,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_465_000 picoseconds. - Weight::from_parts(6_850_000, 3819) + // Minimum execution time: 6_481_000 picoseconds. + Weight::from_parts(6_805_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1408,79 +1406,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_735_000 picoseconds. - Weight::from_parts(8_115_000, 3912) + // Minimum execution time: 7_550_000 picoseconds. + Weight::from_parts(7_901_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 717_000 picoseconds. - Weight::from_parts(791_000, 0) + // Minimum execution time: 736_000 picoseconds. + Weight::from_parts(802_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 365_000 picoseconds. - Weight::from_parts(427_000, 0) + // Minimum execution time: 388_000 picoseconds. + Weight::from_parts(410_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 331_000 picoseconds. - Weight::from_parts(363_000, 0) + // Minimum execution time: 325_000 picoseconds. + Weight::from_parts(368_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 586_000 picoseconds. - Weight::from_parts(625_000, 0) + // Minimum execution time: 569_000 picoseconds. + Weight::from_parts(610_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 680_000 picoseconds. - Weight::from_parts(734_000, 0) + // Minimum execution time: 664_000 picoseconds. + Weight::from_parts(719_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_732_000 picoseconds. - Weight::from_parts(5_008_000, 0) + // Minimum execution time: 4_581_000 picoseconds. + Weight::from_parts(4_826_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 608_000 picoseconds. - Weight::from_parts(635_000, 0) + // Minimum execution time: 555_000 picoseconds. + Weight::from_parts(600_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 571_000 picoseconds. - Weight::from_parts(606_000, 0) + // Minimum execution time: 530_000 picoseconds. + Weight::from_parts(609_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 511_000 picoseconds. - Weight::from_parts(584_000, 0) + // Minimum execution time: 510_000 picoseconds. + Weight::from_parts(573_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 552_000 picoseconds. - Weight::from_parts(612_000, 0) + // Minimum execution time: 511_000 picoseconds. + Weight::from_parts(578_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1488,8 +1486,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_396_000 picoseconds. - Weight::from_parts(4_630_000, 1552) + // Minimum execution time: 4_324_000 picoseconds. + Weight::from_parts(4_511_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1497,20 +1495,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 494_000 picoseconds. - Weight::from_parts(510_000, 0) + // Minimum execution time: 459_000 picoseconds. + Weight::from_parts(522_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(298, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 311_000 picoseconds. - Weight::from_parts(346_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) + // Minimum execution time: 452_000 picoseconds. + Weight::from_parts(465_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(403, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1523,10 +1521,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_403_000 picoseconds. - Weight::from_parts(16_478_113, 3784) - // Standard Error: 6_667 - .saturating_add(Weight::from_parts(3_641_603, 0).saturating_mul(n.into())) + // Minimum execution time: 14_541_000 picoseconds. + Weight::from_parts(16_756_770, 3784) + // Standard Error: 6_657 + .saturating_add(Weight::from_parts(3_735_742, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1539,8 +1537,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_639_000 picoseconds. - Weight::from_parts(3_801_000, 1561) + // Minimum execution time: 3_464_000 picoseconds. + Weight::from_parts(3_668_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1551,12 +1549,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_102_000 picoseconds. - Weight::from_parts(4_256_984, 990) - // Standard Error: 6_777 - .saturating_add(Weight::from_parts(2_331_893, 0).saturating_mul(t.into())) + // Minimum execution time: 4_237_000 picoseconds. + Weight::from_parts(4_607_742, 990) + // Standard Error: 6_954 + .saturating_add(Weight::from_parts(2_326_968, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1566,10 +1564,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 385_000 picoseconds. - Weight::from_parts(427_000, 0) + // Minimum execution time: 368_000 picoseconds. + Weight::from_parts(408_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_206, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1579,12 +1577,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 10_128_000 picoseconds. - Weight::from_parts(9_963_519, 249) + // Minimum execution time: 9_497_000 picoseconds. + Weight::from_parts(9_454_190, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(327, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(243, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(63, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1596,10 +1594,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_921_000 picoseconds. - Weight::from_parts(9_290_526, 248) + // Minimum execution time: 7_686_000 picoseconds. + Weight::from_parts(8_885_816, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(90, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1611,10 +1609,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_403_000 picoseconds. - Weight::from_parts(8_815_037, 248) + // Minimum execution time: 6_820_000 picoseconds. + Weight::from_parts(8_565_645, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(613, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1625,10 +1623,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_590_000 picoseconds. - Weight::from_parts(7_949_861, 248) + // Minimum execution time: 6_479_000 picoseconds. + Weight::from_parts(7_679_523, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1639,10 +1637,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_900_000 picoseconds. - Weight::from_parts(9_988_151, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(703, 0).saturating_mul(n.into())) + // Minimum execution time: 8_066_000 picoseconds. + Weight::from_parts(9_688_719, 248) + // Standard Error: 6 + .saturating_add(Weight::from_parts(617, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1651,8 +1649,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_023_000 picoseconds. - Weight::from_parts(9_375_000, 0) + // Minimum execution time: 9_254_000 picoseconds. + Weight::from_parts(9_445_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1668,12 +1666,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 157_109_000 picoseconds. - Weight::from_parts(159_458_069, 4085) - // Standard Error: 339_702 - .saturating_add(Weight::from_parts(44_066_869, 0).saturating_mul(t.into())) + // Minimum execution time: 123_552_000 picoseconds. + Weight::from_parts(118_449_684, 4085) + // Standard Error: 191_111 + .saturating_add(Weight::from_parts(45_346_523, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(8, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1688,8 +1686,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 143_384_000 picoseconds. - Weight::from_parts(147_554_000, 3895) + // Minimum execution time: 109_770_000 picoseconds. + Weight::from_parts(113_371_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1705,18 +1703,16 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. - fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { + fn seal_instantiate(_t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_798_243_000 picoseconds. - Weight::from_parts(82_642_573, 4138) - // Standard Error: 6_831_260 - .saturating_add(Weight::from_parts(159_867_027, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_534, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_809, 0).saturating_mul(s.into())) + // Minimum execution time: 1_586_729_000 picoseconds. + Weight::from_parts(1_603_069_000, 4138) + // Standard Error: 13 + .saturating_add(Weight::from_parts(562, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(918, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1725,64 +1721,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 875_000 picoseconds. - Weight::from_parts(904_000, 0) + // Minimum execution time: 888_000 picoseconds. + Weight::from_parts(910_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_145, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_053, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_475_000 picoseconds. - Weight::from_parts(1_551_000, 0) + // Minimum execution time: 1_428_000 picoseconds. + Weight::from_parts(1_500_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_309, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 821_000 picoseconds. - Weight::from_parts(850_000, 0) + // Minimum execution time: 759_000 picoseconds. + Weight::from_parts(809_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_179, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 747_000 picoseconds. - Weight::from_parts(773_000, 0) + // Minimum execution time: 645_000 picoseconds. + Weight::from_parts(738_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_276, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_179, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_154_000 picoseconds. - Weight::from_parts(45_087_558, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_628, 0).saturating_mul(n.into())) + // Minimum execution time: 44_311_000 picoseconds. + Weight::from_parts(46_235_680, 0) + // Standard Error: 6 + .saturating_add(Weight::from_parts(4_607, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_193_000 picoseconds. - Weight::from_parts(48_514_000, 0) + // Minimum execution time: 46_863_000 picoseconds. + Weight::from_parts(48_198_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_083_000 picoseconds. - Weight::from_parts(13_218_000, 0) + // Minimum execution time: 13_051_000 picoseconds. + Weight::from_parts(13_205_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1792,8 +1788,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_308_000 picoseconds. - Weight::from_parts(20_116_000, 3895) + // Minimum execution time: 19_577_000 picoseconds. + Weight::from_parts(20_108_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1803,8 +1799,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_271_000 picoseconds. - Weight::from_parts(9_640_000, 3820) + // Minimum execution time: 9_107_000 picoseconds. + Weight::from_parts(9_391_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1814,8 +1810,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_182_000 picoseconds. - Weight::from_parts(8_343_000, 3558) + // Minimum execution time: 8_094_000 picoseconds. + Weight::from_parts(8_377_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1824,14 +1820,14 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 320_000 picoseconds. - Weight::from_parts(347_000, 0) + Weight::from_parts(366_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 345_000 picoseconds. - Weight::from_parts(370_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(379_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1839,8 +1835,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_998_000 picoseconds. - Weight::from_parts(3_221_000, 1704) + // Minimum execution time: 2_836_000 picoseconds. + Weight::from_parts(3_007_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1848,9 +1844,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_002_000 picoseconds. - Weight::from_parts(1_094_958, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(14_531, 0).saturating_mul(r.into())) + // Minimum execution time: 608_000 picoseconds. + Weight::from_parts(390_023, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(6_999, 0).saturating_mul(r.into())) } } From e2ec3cdba6d934f7f76fa9275da70f496dda5d63 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 23 May 2024 12:04:24 +0200 Subject: [PATCH 58/75] Add debug statement --- substrate/frame/contracts/src/wasm/runtime.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index 02a78f005864..f238910e99c0 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -425,12 +425,14 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> { SupervisorError(error) => return Err((*error).into()), } } + // Any other error is returned only if instantiation or linking failed (i.e. // wasm binary tried to import a function that is not provided by the host). // This shouldn't happen because validation process ought to reject such binaries. // // Because panics are really undesirable in the runtime code, we treat this as // a trap for now. Eventually, we might want to revisit this. + log::debug!("Code rejected: {:?}", error); Err(Error::::CodeRejected.into()) } From 8e25cc92a6ee3917c4c20cd65329c837de0ba655 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 23 May 2024 13:38:54 +0200 Subject: [PATCH 59/75] Update to latest beta --- Cargo.lock | 16 ++++++++-------- substrate/frame/contracts/Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a4a1a4cb9f1d..6b5287420f73 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10013,7 +10013,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi 0.32.0-beta.17", + "wasmi 0.32.0-beta.18", "wat", ] @@ -22455,9 +22455,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.32.0-beta.17" +version = "0.32.0-beta.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e95733b20d84b86116a0e52e430d0f58f848c510664e581a3e2730acba841516" +checksum = "0f6bf8aed8277f4231c75963529abc962b3efcebaf79954a81c609dabf470c60" dependencies = [ "arrayvec 0.7.4", "multi-stash", @@ -22466,7 +22466,7 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_collections", - "wasmi_core 0.32.0-beta.17", + "wasmi_core 0.32.0-beta.18", "wasmparser-nostd", ] @@ -22478,9 +22478,9 @@ checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_collections" -version = "0.32.0-beta.17" +version = "0.32.0-beta.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1374b05c71a1078ff514fe72f2c5c5eacffa2cc21baae3fefa3364bc551d9572" +checksum = "3769b8a1146eea42b5fb9b7f75714310f1e91fd5735580f1018afd3b11363a3e" dependencies = [ "ahash 0.8.11", "hashbrown 0.14.3", @@ -22501,9 +22501,9 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.32.0-beta.17" +version = "0.32.0-beta.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ddf119e300d3e211ffaa0fb6091f3901855c667c9a262fe630b0ed84756cfc5" +checksum = "0488c9d81aa221d20a3b3fdc460e1b2e02417a8bea2bbe9da5760c5a3c70ca00" dependencies = [ "downcast-rs", "libm", diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index 4b9373326513..09a2932a92c2 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32.0-beta.17", default-features = false } +wasmi = { version = "0.32.0-beta.18", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From d47a0d273b064ddc0e7f72055b55b6947e27a23b Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 23 May 2024 12:28:55 +0000 Subject: [PATCH 60/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 750 +++++++++++------------ 1 file changed, 373 insertions(+), 377 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 2e9c2cd15af8..a9a6b16ac5cd 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-vicqj8em-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_142_000, 1627) + // Minimum execution time: 2_024_000 picoseconds. + Weight::from_parts(2_117_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_095_000 picoseconds. - Weight::from_parts(12_699_000, 442) - // Standard Error: 891 - .saturating_add(Weight::from_parts(1_114_063, 0).saturating_mul(k.into())) + // Minimum execution time: 12_189_000 picoseconds. + Weight::from_parts(12_290_000, 442) + // Standard Error: 1_255 + .saturating_add(Weight::from_parts(1_119_723, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_433_000 picoseconds. - Weight::from_parts(8_992_328, 6149) + // Minimum execution time: 8_675_000 picoseconds. + Weight::from_parts(9_091_909, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_155, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_415_000 picoseconds. - Weight::from_parts(17_348_000, 6450) + // Minimum execution time: 16_966_000 picoseconds. + Weight::from_parts(17_880_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_433_000 picoseconds. - Weight::from_parts(3_490_000, 3635) - // Standard Error: 1_043 - .saturating_add(Weight::from_parts(1_225_953, 0).saturating_mul(k.into())) + // Minimum execution time: 3_506_000 picoseconds. + Weight::from_parts(3_639_000, 3635) + // Standard Error: 871 + .saturating_add(Weight::from_parts(1_233_153, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_421_000 picoseconds. - Weight::from_parts(16_822_963, 6263) - // Standard Error: 0 - .saturating_add(Weight::from_parts(456, 0).saturating_mul(c.into())) + // Minimum execution time: 16_756_000 picoseconds. + Weight::from_parts(17_175_540, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(380, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_569_000 picoseconds. - Weight::from_parts(13_277_000, 6380) + // Minimum execution time: 12_795_000 picoseconds. + Weight::from_parts(13_478_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_777_000 picoseconds. - Weight::from_parts(47_690_000, 6292) + // Minimum execution time: 47_644_000 picoseconds. + Weight::from_parts(49_342_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_280_000 picoseconds. - Weight::from_parts(57_081_000, 6534) + // Minimum execution time: 54_835_000 picoseconds. + Weight::from_parts(57_440_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_077_000 picoseconds. - Weight::from_parts(12_647_000, 6349) + // Minimum execution time: 12_361_000 picoseconds. + Weight::from_parts(12_853_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_559_000 picoseconds. - Weight::from_parts(2_711_000, 1627) + // Minimum execution time: 2_428_000 picoseconds. + Weight::from_parts(2_597_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_238_000 picoseconds. - Weight::from_parts(12_627_000, 3631) + // Minimum execution time: 12_351_000 picoseconds. + Weight::from_parts(12_771_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_836_000 picoseconds. - Weight::from_parts(5_086_000, 3607) + // Minimum execution time: 4_931_000 picoseconds. + Weight::from_parts(5_102_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_147_000 picoseconds. - Weight::from_parts(6_380_000, 3632) + // Minimum execution time: 6_238_000 picoseconds. + Weight::from_parts(6_496_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_140_000 picoseconds. - Weight::from_parts(6_670_000, 3607) + // Minimum execution time: 6_349_000 picoseconds. + Weight::from_parts(6_704_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 354_459_000 picoseconds. - Weight::from_parts(332_397_871, 4264) - // Standard Error: 70 - .saturating_add(Weight::from_parts(33_775, 0).saturating_mul(c.into())) + // Minimum execution time: 263_028_000 picoseconds. + Weight::from_parts(269_129_439, 4264) + // Standard Error: 4 + .saturating_add(Weight::from_parts(695, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_239_452_000 picoseconds. - Weight::from_parts(800_849_282, 6262) - // Standard Error: 117 - .saturating_add(Weight::from_parts(68_435, 0).saturating_mul(c.into())) + // Minimum execution time: 3_725_400_000 picoseconds. + Weight::from_parts(396_613_197, 6262) + // Standard Error: 118 + .saturating_add(Weight::from_parts(54_003, 0).saturating_mul(c.into())) // Standard Error: 14 - .saturating_add(Weight::from_parts(1_653, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_680, 0).saturating_mul(i.into())) // Standard Error: 14 - .saturating_add(Weight::from_parts(1_668, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_684, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_085_570_000 picoseconds. - Weight::from_parts(2_112_501_000, 4029) + // Minimum execution time: 1_925_847_000 picoseconds. + Weight::from_parts(1_943_850_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(888, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(795, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(794, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 201_900_000 picoseconds. - Weight::from_parts(206_738_000, 4291) + // Minimum execution time: 167_693_000 picoseconds. + Weight::from_parts(171_747_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 330_704_000 picoseconds. - Weight::from_parts(345_129_342, 3607) - // Standard Error: 51 - .saturating_add(Weight::from_parts(33_126, 0).saturating_mul(c.into())) + // Minimum execution time: 244_601_000 picoseconds. + Weight::from_parts(286_420_359, 3607) + // Standard Error: 64 + .saturating_add(Weight::from_parts(49_509, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 343_339_000 picoseconds. - Weight::from_parts(356_479_729, 3607) - // Standard Error: 49 - .saturating_add(Weight::from_parts(33_404, 0).saturating_mul(c.into())) + // Minimum execution time: 251_518_000 picoseconds. + Weight::from_parts(273_039_983, 3607) + // Standard Error: 61 + .saturating_add(Weight::from_parts(49_628, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 42_241_000 picoseconds. - Weight::from_parts(43_365_000, 3780) + // Minimum execution time: 41_883_000 picoseconds. + Weight::from_parts(43_238_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_318_000 picoseconds. - Weight::from_parts(27_840_000, 6492) + // Minimum execution time: 26_873_000 picoseconds. + Weight::from_parts(27_826_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_397_000 picoseconds. - Weight::from_parts(9_318_986, 0) - // Standard Error: 72 - .saturating_add(Weight::from_parts(72_994, 0).saturating_mul(r.into())) + // Minimum execution time: 8_506_000 picoseconds. + Weight::from_parts(9_351_226, 0) + // Standard Error: 40 + .saturating_add(Weight::from_parts(50_389, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 644_000 picoseconds. - Weight::from_parts(687_000, 0) + // Minimum execution time: 625_000 picoseconds. + Weight::from_parts(670_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_465_000 picoseconds. - Weight::from_parts(6_850_000, 3819) + // Minimum execution time: 6_450_000 picoseconds. + Weight::from_parts(6_816_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_735_000 picoseconds. - Weight::from_parts(8_115_000, 3912) + // Minimum execution time: 7_607_000 picoseconds. + Weight::from_parts(8_051_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 717_000 picoseconds. - Weight::from_parts(791_000, 0) + // Minimum execution time: 804_000 picoseconds. + Weight::from_parts(855_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 365_000 picoseconds. - Weight::from_parts(427_000, 0) + // Minimum execution time: 435_000 picoseconds. + Weight::from_parts(460_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 331_000 picoseconds. - Weight::from_parts(363_000, 0) + // Minimum execution time: 358_000 picoseconds. + Weight::from_parts(391_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 586_000 picoseconds. - Weight::from_parts(625_000, 0) + // Minimum execution time: 597_000 picoseconds. + Weight::from_parts(651_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 680_000 picoseconds. - Weight::from_parts(734_000, 0) + // Minimum execution time: 700_000 picoseconds. + Weight::from_parts(742_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_732_000 picoseconds. - Weight::from_parts(5_008_000, 0) + // Minimum execution time: 4_727_000 picoseconds. + Weight::from_parts(4_953_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 608_000 picoseconds. - Weight::from_parts(635_000, 0) + // Minimum execution time: 585_000 picoseconds. + Weight::from_parts(638_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 571_000 picoseconds. - Weight::from_parts(606_000, 0) + // Minimum execution time: 575_000 picoseconds. + Weight::from_parts(616_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 511_000 picoseconds. - Weight::from_parts(584_000, 0) + // Minimum execution time: 597_000 picoseconds. + Weight::from_parts(648_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 552_000 picoseconds. - Weight::from_parts(612_000, 0) + // Minimum execution time: 609_000 picoseconds. + Weight::from_parts(645_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_396_000 picoseconds. - Weight::from_parts(4_630_000, 1552) + // Minimum execution time: 4_319_000 picoseconds. + Weight::from_parts(4_573_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,20 +629,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 494_000 picoseconds. - Weight::from_parts(510_000, 0) + // Minimum execution time: 473_000 picoseconds. + Weight::from_parts(492_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 311_000 picoseconds. - Weight::from_parts(346_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) + // Minimum execution time: 315_000 picoseconds. + Weight::from_parts(357_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(402, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_403_000 picoseconds. - Weight::from_parts(16_478_113, 3784) - // Standard Error: 6_667 - .saturating_add(Weight::from_parts(3_641_603, 0).saturating_mul(n.into())) + // Minimum execution time: 14_558_000 picoseconds. + Weight::from_parts(17_018_030, 3784) + // Standard Error: 7_252 + .saturating_add(Weight::from_parts(3_566_513, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_639_000 picoseconds. - Weight::from_parts(3_801_000, 1561) + // Minimum execution time: 3_524_000 picoseconds. + Weight::from_parts(3_757_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_102_000 picoseconds. - Weight::from_parts(4_256_984, 990) - // Standard Error: 6_777 - .saturating_add(Weight::from_parts(2_331_893, 0).saturating_mul(t.into())) + // Minimum execution time: 4_088_000 picoseconds. + Weight::from_parts(4_189_241, 990) + // Standard Error: 6_615 + .saturating_add(Weight::from_parts(2_374_540, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(33, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 385_000 picoseconds. - Weight::from_parts(427_000, 0) + // Minimum execution time: 428_000 picoseconds. + Weight::from_parts(473_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 10_128_000 picoseconds. - Weight::from_parts(9_963_519, 249) + // Minimum execution time: 10_150_000 picoseconds. + Weight::from_parts(9_973_537, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(327, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(237, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(54, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_921_000 picoseconds. - Weight::from_parts(9_290_526, 248) + // Minimum execution time: 7_960_000 picoseconds. + Weight::from_parts(9_152_525, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_403_000 picoseconds. - Weight::from_parts(8_815_037, 248) + // Minimum execution time: 7_257_000 picoseconds. + Weight::from_parts(8_932_036, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(609, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,10 +757,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_590_000 picoseconds. - Weight::from_parts(7_949_861, 248) + // Minimum execution time: 6_899_000 picoseconds. + Weight::from_parts(7_962_329, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_900_000 picoseconds. - Weight::from_parts(9_988_151, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(703, 0).saturating_mul(n.into())) + // Minimum execution time: 8_481_000 picoseconds. + Weight::from_parts(10_193_293, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(597, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_023_000 picoseconds. - Weight::from_parts(9_375_000, 0) + // Minimum execution time: 8_891_000 picoseconds. + Weight::from_parts(9_410_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -800,12 +800,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 157_109_000 picoseconds. - Weight::from_parts(159_458_069, 4085) - // Standard Error: 339_702 - .saturating_add(Weight::from_parts(44_066_869, 0).saturating_mul(t.into())) + // Minimum execution time: 123_115_000 picoseconds. + Weight::from_parts(118_681_160, 4085) + // Standard Error: 175_675 + .saturating_add(Weight::from_parts(44_573_845, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -820,8 +820,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 143_384_000 picoseconds. - Weight::from_parts(147_554_000, 3895) + // Minimum execution time: 111_808_000 picoseconds. + Weight::from_parts(116_032_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -837,18 +837,16 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. - fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { + fn seal_instantiate(_t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_798_243_000 picoseconds. - Weight::from_parts(82_642_573, 4138) - // Standard Error: 6_831_260 - .saturating_add(Weight::from_parts(159_867_027, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_534, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_809, 0).saturating_mul(s.into())) + // Minimum execution time: 1_576_658_000 picoseconds. + Weight::from_parts(1_599_215_000, 4138) + // Standard Error: 13 + .saturating_add(Weight::from_parts(576, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(935, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -857,64 +855,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 875_000 picoseconds. - Weight::from_parts(904_000, 0) + // Minimum execution time: 877_000 picoseconds. + Weight::from_parts(947_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_145, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_054, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_475_000 picoseconds. - Weight::from_parts(1_551_000, 0) + // Minimum execution time: 1_323_000 picoseconds. + Weight::from_parts(1_405_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_317, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 821_000 picoseconds. - Weight::from_parts(850_000, 0) + // Minimum execution time: 798_000 picoseconds. + Weight::from_parts(827_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 747_000 picoseconds. - Weight::from_parts(773_000, 0) + // Minimum execution time: 826_000 picoseconds. + Weight::from_parts(887_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_276, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_154_000 picoseconds. - Weight::from_parts(45_087_558, 0) + // Minimum execution time: 43_133_000 picoseconds. + Weight::from_parts(45_335_157, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(4_628, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(4_632, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_193_000 picoseconds. - Weight::from_parts(48_514_000, 0) + // Minimum execution time: 47_959_000 picoseconds. + Weight::from_parts(48_950_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_083_000 picoseconds. - Weight::from_parts(13_218_000, 0) + // Minimum execution time: 13_111_000 picoseconds. + Weight::from_parts(13_240_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -924,8 +922,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_308_000 picoseconds. - Weight::from_parts(20_116_000, 3895) + // Minimum execution time: 19_367_000 picoseconds. + Weight::from_parts(19_746_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -935,8 +933,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_271_000 picoseconds. - Weight::from_parts(9_640_000, 3820) + // Minimum execution time: 9_266_000 picoseconds. + Weight::from_parts(9_710_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -946,8 +944,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_182_000 picoseconds. - Weight::from_parts(8_343_000, 3558) + // Minimum execution time: 8_033_000 picoseconds. + Weight::from_parts(8_427_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -955,15 +953,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 320_000 picoseconds. - Weight::from_parts(347_000, 0) + // Minimum execution time: 342_000 picoseconds. + Weight::from_parts(368_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 345_000 picoseconds. - Weight::from_parts(370_000, 0) + // Minimum execution time: 366_000 picoseconds. + Weight::from_parts(413_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -971,8 +969,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_998_000 picoseconds. - Weight::from_parts(3_221_000, 1704) + // Minimum execution time: 2_910_000 picoseconds. + Weight::from_parts(3_053_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -980,10 +978,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_002_000 picoseconds. - Weight::from_parts(1_094_958, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(14_531, 0).saturating_mul(r.into())) + // Minimum execution time: 741_000 picoseconds. + Weight::from_parts(929_650, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(6_895, 0).saturating_mul(r.into())) } } @@ -995,8 +993,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_000_000 picoseconds. - Weight::from_parts(2_142_000, 1627) + // Minimum execution time: 2_024_000 picoseconds. + Weight::from_parts(2_117_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1006,10 +1004,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_095_000 picoseconds. - Weight::from_parts(12_699_000, 442) - // Standard Error: 891 - .saturating_add(Weight::from_parts(1_114_063, 0).saturating_mul(k.into())) + // Minimum execution time: 12_189_000 picoseconds. + Weight::from_parts(12_290_000, 442) + // Standard Error: 1_255 + .saturating_add(Weight::from_parts(1_119_723, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1023,10 +1021,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_433_000 picoseconds. - Weight::from_parts(8_992_328, 6149) + // Minimum execution time: 8_675_000 picoseconds. + Weight::from_parts(9_091_909, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_207, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_155, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1039,8 +1037,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_415_000 picoseconds. - Weight::from_parts(17_348_000, 6450) + // Minimum execution time: 16_966_000 picoseconds. + Weight::from_parts(17_880_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1053,10 +1051,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_433_000 picoseconds. - Weight::from_parts(3_490_000, 3635) - // Standard Error: 1_043 - .saturating_add(Weight::from_parts(1_225_953, 0).saturating_mul(k.into())) + // Minimum execution time: 3_506_000 picoseconds. + Weight::from_parts(3_639_000, 3635) + // Standard Error: 871 + .saturating_add(Weight::from_parts(1_233_153, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1075,10 +1073,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_421_000 picoseconds. - Weight::from_parts(16_822_963, 6263) - // Standard Error: 0 - .saturating_add(Weight::from_parts(456, 0).saturating_mul(c.into())) + // Minimum execution time: 16_756_000 picoseconds. + Weight::from_parts(17_175_540, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(380, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1089,8 +1087,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_569_000 picoseconds. - Weight::from_parts(13_277_000, 6380) + // Minimum execution time: 12_795_000 picoseconds. + Weight::from_parts(13_478_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1104,8 +1102,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 46_777_000 picoseconds. - Weight::from_parts(47_690_000, 6292) + // Minimum execution time: 47_644_000 picoseconds. + Weight::from_parts(49_342_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1117,8 +1115,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 55_280_000 picoseconds. - Weight::from_parts(57_081_000, 6534) + // Minimum execution time: 54_835_000 picoseconds. + Weight::from_parts(57_440_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1128,8 +1126,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_077_000 picoseconds. - Weight::from_parts(12_647_000, 6349) + // Minimum execution time: 12_361_000 picoseconds. + Weight::from_parts(12_853_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1139,8 +1137,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_559_000 picoseconds. - Weight::from_parts(2_711_000, 1627) + // Minimum execution time: 2_428_000 picoseconds. + Weight::from_parts(2_597_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1152,8 +1150,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_238_000 picoseconds. - Weight::from_parts(12_627_000, 3631) + // Minimum execution time: 12_351_000 picoseconds. + Weight::from_parts(12_771_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1163,8 +1161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_836_000 picoseconds. - Weight::from_parts(5_086_000, 3607) + // Minimum execution time: 4_931_000 picoseconds. + Weight::from_parts(5_102_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1175,8 +1173,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_147_000 picoseconds. - Weight::from_parts(6_380_000, 3632) + // Minimum execution time: 6_238_000 picoseconds. + Weight::from_parts(6_496_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1187,8 +1185,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_140_000 picoseconds. - Weight::from_parts(6_670_000, 3607) + // Minimum execution time: 6_349_000 picoseconds. + Weight::from_parts(6_704_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1209,10 +1207,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 354_459_000 picoseconds. - Weight::from_parts(332_397_871, 4264) - // Standard Error: 70 - .saturating_add(Weight::from_parts(33_775, 0).saturating_mul(c.into())) + // Minimum execution time: 263_028_000 picoseconds. + Weight::from_parts(269_129_439, 4264) + // Standard Error: 4 + .saturating_add(Weight::from_parts(695, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1240,14 +1238,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_239_452_000 picoseconds. - Weight::from_parts(800_849_282, 6262) - // Standard Error: 117 - .saturating_add(Weight::from_parts(68_435, 0).saturating_mul(c.into())) + // Minimum execution time: 3_725_400_000 picoseconds. + Weight::from_parts(396_613_197, 6262) + // Standard Error: 118 + .saturating_add(Weight::from_parts(54_003, 0).saturating_mul(c.into())) // Standard Error: 14 - .saturating_add(Weight::from_parts(1_653, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_680, 0).saturating_mul(i.into())) // Standard Error: 14 - .saturating_add(Weight::from_parts(1_668, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_684, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1273,12 +1271,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_085_570_000 picoseconds. - Weight::from_parts(2_112_501_000, 4029) + // Minimum execution time: 1_925_847_000 picoseconds. + Weight::from_parts(1_943_850_000, 4029) // Standard Error: 26 - .saturating_add(Weight::from_parts(888, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into())) // Standard Error: 26 - .saturating_add(Weight::from_parts(795, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(794, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1298,8 +1296,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 201_900_000 picoseconds. - Weight::from_parts(206_738_000, 4291) + // Minimum execution time: 167_693_000 picoseconds. + Weight::from_parts(171_747_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1316,10 +1314,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 330_704_000 picoseconds. - Weight::from_parts(345_129_342, 3607) - // Standard Error: 51 - .saturating_add(Weight::from_parts(33_126, 0).saturating_mul(c.into())) + // Minimum execution time: 244_601_000 picoseconds. + Weight::from_parts(286_420_359, 3607) + // Standard Error: 64 + .saturating_add(Weight::from_parts(49_509, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1336,10 +1334,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 343_339_000 picoseconds. - Weight::from_parts(356_479_729, 3607) - // Standard Error: 49 - .saturating_add(Weight::from_parts(33_404, 0).saturating_mul(c.into())) + // Minimum execution time: 251_518_000 picoseconds. + Weight::from_parts(273_039_983, 3607) + // Standard Error: 61 + .saturating_add(Weight::from_parts(49_628, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1355,8 +1353,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 42_241_000 picoseconds. - Weight::from_parts(43_365_000, 3780) + // Minimum execution time: 41_883_000 picoseconds. + Weight::from_parts(43_238_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1370,8 +1368,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_318_000 picoseconds. - Weight::from_parts(27_840_000, 6492) + // Minimum execution time: 26_873_000 picoseconds. + Weight::from_parts(27_826_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1380,17 +1378,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 9_397_000 picoseconds. - Weight::from_parts(9_318_986, 0) - // Standard Error: 72 - .saturating_add(Weight::from_parts(72_994, 0).saturating_mul(r.into())) + // Minimum execution time: 8_506_000 picoseconds. + Weight::from_parts(9_351_226, 0) + // Standard Error: 40 + .saturating_add(Weight::from_parts(50_389, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 644_000 picoseconds. - Weight::from_parts(687_000, 0) + // Minimum execution time: 625_000 picoseconds. + Weight::from_parts(670_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1398,8 +1396,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_465_000 picoseconds. - Weight::from_parts(6_850_000, 3819) + // Minimum execution time: 6_450_000 picoseconds. + Weight::from_parts(6_816_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1408,79 +1406,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_735_000 picoseconds. - Weight::from_parts(8_115_000, 3912) + // Minimum execution time: 7_607_000 picoseconds. + Weight::from_parts(8_051_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 717_000 picoseconds. - Weight::from_parts(791_000, 0) + // Minimum execution time: 804_000 picoseconds. + Weight::from_parts(855_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 365_000 picoseconds. - Weight::from_parts(427_000, 0) + // Minimum execution time: 435_000 picoseconds. + Weight::from_parts(460_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 331_000 picoseconds. - Weight::from_parts(363_000, 0) + // Minimum execution time: 358_000 picoseconds. + Weight::from_parts(391_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 586_000 picoseconds. - Weight::from_parts(625_000, 0) + // Minimum execution time: 597_000 picoseconds. + Weight::from_parts(651_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 680_000 picoseconds. - Weight::from_parts(734_000, 0) + // Minimum execution time: 700_000 picoseconds. + Weight::from_parts(742_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_732_000 picoseconds. - Weight::from_parts(5_008_000, 0) + // Minimum execution time: 4_727_000 picoseconds. + Weight::from_parts(4_953_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 608_000 picoseconds. - Weight::from_parts(635_000, 0) + // Minimum execution time: 585_000 picoseconds. + Weight::from_parts(638_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 571_000 picoseconds. - Weight::from_parts(606_000, 0) + // Minimum execution time: 575_000 picoseconds. + Weight::from_parts(616_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 511_000 picoseconds. - Weight::from_parts(584_000, 0) + // Minimum execution time: 597_000 picoseconds. + Weight::from_parts(648_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 552_000 picoseconds. - Weight::from_parts(612_000, 0) + // Minimum execution time: 609_000 picoseconds. + Weight::from_parts(645_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1488,8 +1486,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_396_000 picoseconds. - Weight::from_parts(4_630_000, 1552) + // Minimum execution time: 4_319_000 picoseconds. + Weight::from_parts(4_573_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1497,20 +1495,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 494_000 picoseconds. - Weight::from_parts(510_000, 0) + // Minimum execution time: 473_000 picoseconds. + Weight::from_parts(492_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(303, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 311_000 picoseconds. - Weight::from_parts(346_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(480, 0).saturating_mul(n.into())) + // Minimum execution time: 315_000 picoseconds. + Weight::from_parts(357_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(402, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1523,10 +1521,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_403_000 picoseconds. - Weight::from_parts(16_478_113, 3784) - // Standard Error: 6_667 - .saturating_add(Weight::from_parts(3_641_603, 0).saturating_mul(n.into())) + // Minimum execution time: 14_558_000 picoseconds. + Weight::from_parts(17_018_030, 3784) + // Standard Error: 7_252 + .saturating_add(Weight::from_parts(3_566_513, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1539,8 +1537,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_639_000 picoseconds. - Weight::from_parts(3_801_000, 1561) + // Minimum execution time: 3_524_000 picoseconds. + Weight::from_parts(3_757_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1551,12 +1549,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_102_000 picoseconds. - Weight::from_parts(4_256_984, 990) - // Standard Error: 6_777 - .saturating_add(Weight::from_parts(2_331_893, 0).saturating_mul(t.into())) + // Minimum execution time: 4_088_000 picoseconds. + Weight::from_parts(4_189_241, 990) + // Standard Error: 6_615 + .saturating_add(Weight::from_parts(2_374_540, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(31, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(33, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1566,10 +1564,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 385_000 picoseconds. - Weight::from_parts(427_000, 0) + // Minimum execution time: 428_000 picoseconds. + Weight::from_parts(473_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_272, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1579,12 +1577,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 10_128_000 picoseconds. - Weight::from_parts(9_963_519, 249) + // Minimum execution time: 10_150_000 picoseconds. + Weight::from_parts(9_973_537, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(327, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(237, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(58, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(54, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1596,10 +1594,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_921_000 picoseconds. - Weight::from_parts(9_290_526, 248) + // Minimum execution time: 7_960_000 picoseconds. + Weight::from_parts(9_152_525, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(77, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1611,10 +1609,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_403_000 picoseconds. - Weight::from_parts(8_815_037, 248) + // Minimum execution time: 7_257_000 picoseconds. + Weight::from_parts(8_932_036, 248) // Standard Error: 3 - .saturating_add(Weight::from_parts(701, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(609, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1625,10 +1623,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_590_000 picoseconds. - Weight::from_parts(7_949_861, 248) + // Minimum execution time: 6_899_000 picoseconds. + Weight::from_parts(7_962_329, 248) // Standard Error: 2 - .saturating_add(Weight::from_parts(76, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1639,10 +1637,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_900_000 picoseconds. - Weight::from_parts(9_988_151, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(703, 0).saturating_mul(n.into())) + // Minimum execution time: 8_481_000 picoseconds. + Weight::from_parts(10_193_293, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(597, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1651,8 +1649,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 9_023_000 picoseconds. - Weight::from_parts(9_375_000, 0) + // Minimum execution time: 8_891_000 picoseconds. + Weight::from_parts(9_410_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1668,12 +1666,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 157_109_000 picoseconds. - Weight::from_parts(159_458_069, 4085) - // Standard Error: 339_702 - .saturating_add(Weight::from_parts(44_066_869, 0).saturating_mul(t.into())) + // Minimum execution time: 123_115_000 picoseconds. + Weight::from_parts(118_681_160, 4085) + // Standard Error: 175_675 + .saturating_add(Weight::from_parts(44_573_845, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1688,8 +1686,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 143_384_000 picoseconds. - Weight::from_parts(147_554_000, 3895) + // Minimum execution time: 111_808_000 picoseconds. + Weight::from_parts(116_032_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1705,18 +1703,16 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. - fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight { + fn seal_instantiate(_t: u32, i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_798_243_000 picoseconds. - Weight::from_parts(82_642_573, 4138) - // Standard Error: 6_831_260 - .saturating_add(Weight::from_parts(159_867_027, 0).saturating_mul(t.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_534, 0).saturating_mul(i.into())) - // Standard Error: 10 - .saturating_add(Weight::from_parts(1_809, 0).saturating_mul(s.into())) + // Minimum execution time: 1_576_658_000 picoseconds. + Weight::from_parts(1_599_215_000, 4138) + // Standard Error: 13 + .saturating_add(Weight::from_parts(576, 0).saturating_mul(i.into())) + // Standard Error: 13 + .saturating_add(Weight::from_parts(935, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1725,64 +1721,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 875_000 picoseconds. - Weight::from_parts(904_000, 0) + // Minimum execution time: 877_000 picoseconds. + Weight::from_parts(947_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_145, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_054, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_475_000 picoseconds. - Weight::from_parts(1_551_000, 0) + // Minimum execution time: 1_323_000 picoseconds. + Weight::from_parts(1_405_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(3_410, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_317, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 821_000 picoseconds. - Weight::from_parts(850_000, 0) + // Minimum execution time: 798_000 picoseconds. + Weight::from_parts(827_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_279, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 747_000 picoseconds. - Weight::from_parts(773_000, 0) + // Minimum execution time: 826_000 picoseconds. + Weight::from_parts(887_000, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_276, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_154_000 picoseconds. - Weight::from_parts(45_087_558, 0) + // Minimum execution time: 43_133_000 picoseconds. + Weight::from_parts(45_335_157, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(4_628, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(4_632, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_193_000 picoseconds. - Weight::from_parts(48_514_000, 0) + // Minimum execution time: 47_959_000 picoseconds. + Weight::from_parts(48_950_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_083_000 picoseconds. - Weight::from_parts(13_218_000, 0) + // Minimum execution time: 13_111_000 picoseconds. + Weight::from_parts(13_240_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1792,8 +1788,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_308_000 picoseconds. - Weight::from_parts(20_116_000, 3895) + // Minimum execution time: 19_367_000 picoseconds. + Weight::from_parts(19_746_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1803,8 +1799,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_271_000 picoseconds. - Weight::from_parts(9_640_000, 3820) + // Minimum execution time: 9_266_000 picoseconds. + Weight::from_parts(9_710_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1814,8 +1810,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_182_000 picoseconds. - Weight::from_parts(8_343_000, 3558) + // Minimum execution time: 8_033_000 picoseconds. + Weight::from_parts(8_427_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1823,15 +1819,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 320_000 picoseconds. - Weight::from_parts(347_000, 0) + // Minimum execution time: 342_000 picoseconds. + Weight::from_parts(368_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 345_000 picoseconds. - Weight::from_parts(370_000, 0) + // Minimum execution time: 366_000 picoseconds. + Weight::from_parts(413_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1839,8 +1835,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_998_000 picoseconds. - Weight::from_parts(3_221_000, 1704) + // Minimum execution time: 2_910_000 picoseconds. + Weight::from_parts(3_053_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1848,9 +1844,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_002_000 picoseconds. - Weight::from_parts(1_094_958, 0) - // Standard Error: 12 - .saturating_add(Weight::from_parts(14_531, 0).saturating_mul(r.into())) + // Minimum execution time: 741_000 picoseconds. + Weight::from_parts(929_650, 0) + // Standard Error: 13 + .saturating_add(Weight::from_parts(6_895, 0).saturating_mul(r.into())) } } From a058d386858b84787b98299fddee955b7baf18a0 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 27 May 2024 10:37:26 +0200 Subject: [PATCH 61/75] Add assert --- substrate/frame/contracts/src/benchmarking/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 7c993bc9a771..9ee1f0aa9a37 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -1341,6 +1341,7 @@ mod benchmarks { assert_ok!(result); assert!(ContractInfoOf::::get(&addr).is_some()); + assert_eq!(T::Currency::balance(&addr), Pallet::::min_balance() + value); Ok(()) } From ba61f59f4d6905ee305361a573884be9450f204d Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 27 May 2024 09:26:52 +0000 Subject: [PATCH 62/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 790 +++++++++++------------ 1 file changed, 395 insertions(+), 395 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index a9a6b16ac5cd..a842b8492b6c 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-vicqj8em-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_024_000 picoseconds. - Weight::from_parts(2_117_000, 1627) + // Minimum execution time: 2_018_000 picoseconds. + Weight::from_parts(2_109_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_189_000 picoseconds. - Weight::from_parts(12_290_000, 442) - // Standard Error: 1_255 - .saturating_add(Weight::from_parts(1_119_723, 0).saturating_mul(k.into())) + // Minimum execution time: 11_393_000 picoseconds. + Weight::from_parts(11_654_000, 442) + // Standard Error: 1_916 + .saturating_add(Weight::from_parts(1_242_194, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_675_000 picoseconds. - Weight::from_parts(9_091_909, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_155, 0).saturating_mul(c.into())) + // Minimum execution time: 7_480_000 picoseconds. + Weight::from_parts(4_786_685, 6149) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_644, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_966_000 picoseconds. - Weight::from_parts(17_880_000, 6450) + // Minimum execution time: 16_523_000 picoseconds. + Weight::from_parts(17_094_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_506_000 picoseconds. - Weight::from_parts(3_639_000, 3635) - // Standard Error: 871 - .saturating_add(Weight::from_parts(1_233_153, 0).saturating_mul(k.into())) + // Minimum execution time: 3_151_000 picoseconds. + Weight::from_parts(3_198_000, 3635) + // Standard Error: 887 + .saturating_add(Weight::from_parts(1_100_268, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_756_000 picoseconds. - Weight::from_parts(17_175_540, 6263) - // Standard Error: 1 - .saturating_add(Weight::from_parts(380, 0).saturating_mul(c.into())) + // Minimum execution time: 15_425_000 picoseconds. + Weight::from_parts(16_166_436, 6263) + // Standard Error: 2 + .saturating_add(Weight::from_parts(427, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_795_000 picoseconds. - Weight::from_parts(13_478_000, 6380) + // Minimum execution time: 12_359_000 picoseconds. + Weight::from_parts(12_827_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_644_000 picoseconds. - Weight::from_parts(49_342_000, 6292) + // Minimum execution time: 47_585_000 picoseconds. + Weight::from_parts(49_776_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 54_835_000 picoseconds. - Weight::from_parts(57_440_000, 6534) + // Minimum execution time: 50_322_000 picoseconds. + Weight::from_parts(54_414_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_361_000 picoseconds. - Weight::from_parts(12_853_000, 6349) + // Minimum execution time: 11_750_000 picoseconds. + Weight::from_parts(12_129_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_428_000 picoseconds. - Weight::from_parts(2_597_000, 1627) + // Minimum execution time: 2_146_000 picoseconds. + Weight::from_parts(2_196_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_351_000 picoseconds. - Weight::from_parts(12_771_000, 3631) + // Minimum execution time: 10_922_000 picoseconds. + Weight::from_parts(11_222_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_931_000 picoseconds. - Weight::from_parts(5_102_000, 3607) + // Minimum execution time: 4_560_000 picoseconds. + Weight::from_parts(4_729_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_238_000 picoseconds. - Weight::from_parts(6_496_000, 3632) + // Minimum execution time: 5_604_000 picoseconds. + Weight::from_parts(5_868_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_349_000 picoseconds. - Weight::from_parts(6_704_000, 3607) + // Minimum execution time: 5_546_000 picoseconds. + Weight::from_parts(5_827_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 263_028_000 picoseconds. - Weight::from_parts(269_129_439, 4264) - // Standard Error: 4 - .saturating_add(Weight::from_parts(695, 0).saturating_mul(c.into())) + // Minimum execution time: 249_643_000 picoseconds. + Weight::from_parts(276_812_224, 4264) + // Standard Error: 31 + .saturating_add(Weight::from_parts(1_785, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 3_725_400_000 picoseconds. - Weight::from_parts(396_613_197, 6262) - // Standard Error: 118 - .saturating_add(Weight::from_parts(54_003, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_680, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_684, 0).saturating_mul(s.into())) + // Minimum execution time: 5_166_088_000 picoseconds. + Weight::from_parts(459_414_568, 6262) + // Standard Error: 347 + .saturating_add(Weight::from_parts(59_339, 0).saturating_mul(c.into())) + // Standard Error: 41 + .saturating_add(Weight::from_parts(2_464, 0).saturating_mul(i.into())) + // Standard Error: 41 + .saturating_add(Weight::from_parts(2_571, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 1_925_847_000 picoseconds. - Weight::from_parts(1_943_850_000, 4029) - // Standard Error: 26 - .saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(794, 0).saturating_mul(s.into())) + // Minimum execution time: 2_460_637_000 picoseconds. + Weight::from_parts(2_546_559_000, 4029) + // Standard Error: 36 + .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(i.into())) + // Standard Error: 36 + .saturating_add(Weight::from_parts(1_108, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 167_693_000 picoseconds. - Weight::from_parts(171_747_000, 4291) + // Minimum execution time: 162_647_000 picoseconds. + Weight::from_parts(167_497_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 244_601_000 picoseconds. - Weight::from_parts(286_420_359, 3607) - // Standard Error: 64 - .saturating_add(Weight::from_parts(49_509, 0).saturating_mul(c.into())) + // Minimum execution time: 225_283_000 picoseconds. + Weight::from_parts(219_443_916, 3607) + // Standard Error: 141 + .saturating_add(Weight::from_parts(55_574, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 251_518_000 picoseconds. - Weight::from_parts(273_039_983, 3607) - // Standard Error: 61 - .saturating_add(Weight::from_parts(49_628, 0).saturating_mul(c.into())) + // Minimum execution time: 248_645_000 picoseconds. + Weight::from_parts(229_652_474, 3607) + // Standard Error: 113 + .saturating_add(Weight::from_parts(55_396, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 41_883_000 picoseconds. - Weight::from_parts(43_238_000, 3780) + // Minimum execution time: 39_360_000 picoseconds. + Weight::from_parts(40_616_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_873_000 picoseconds. - Weight::from_parts(27_826_000, 6492) + // Minimum execution time: 25_444_000 picoseconds. + Weight::from_parts(26_498_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_506_000 picoseconds. - Weight::from_parts(9_351_226, 0) - // Standard Error: 40 - .saturating_add(Weight::from_parts(50_389, 0).saturating_mul(r.into())) + // Minimum execution time: 8_564_000 picoseconds. + Weight::from_parts(9_702_432, 0) + // Standard Error: 94 + .saturating_add(Weight::from_parts(53_350, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 625_000 picoseconds. - Weight::from_parts(670_000, 0) + // Minimum execution time: 638_000 picoseconds. + Weight::from_parts(668_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_450_000 picoseconds. - Weight::from_parts(6_816_000, 3819) + // Minimum execution time: 6_198_000 picoseconds. + Weight::from_parts(6_507_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_607_000 picoseconds. - Weight::from_parts(8_051_000, 3912) + // Minimum execution time: 7_642_000 picoseconds. + Weight::from_parts(7_905_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 804_000 picoseconds. - Weight::from_parts(855_000, 0) + // Minimum execution time: 739_000 picoseconds. + Weight::from_parts(797_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 435_000 picoseconds. - Weight::from_parts(460_000, 0) + // Minimum execution time: 426_000 picoseconds. + Weight::from_parts(450_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 358_000 picoseconds. - Weight::from_parts(391_000, 0) + // Minimum execution time: 342_000 picoseconds. + Weight::from_parts(366_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 597_000 picoseconds. - Weight::from_parts(651_000, 0) + // Minimum execution time: 593_000 picoseconds. + Weight::from_parts(617_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 700_000 picoseconds. - Weight::from_parts(742_000, 0) + // Minimum execution time: 721_000 picoseconds. + Weight::from_parts(753_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_727_000 picoseconds. - Weight::from_parts(4_953_000, 0) + // Minimum execution time: 4_472_000 picoseconds. + Weight::from_parts(4_638_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 585_000 picoseconds. - Weight::from_parts(638_000, 0) + // Minimum execution time: 553_000 picoseconds. + Weight::from_parts(608_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 575_000 picoseconds. - Weight::from_parts(616_000, 0) + // Minimum execution time: 554_000 picoseconds. + Weight::from_parts(611_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 597_000 picoseconds. - Weight::from_parts(648_000, 0) + // Minimum execution time: 543_000 picoseconds. + Weight::from_parts(583_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 609_000 picoseconds. - Weight::from_parts(645_000, 0) + // Minimum execution time: 559_000 picoseconds. + Weight::from_parts(584_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_319_000 picoseconds. - Weight::from_parts(4_573_000, 1552) + // Minimum execution time: 4_309_000 picoseconds. + Weight::from_parts(4_498_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,20 +629,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 473_000 picoseconds. - Weight::from_parts(492_000, 0) + // Minimum execution time: 490_000 picoseconds. + Weight::from_parts(505_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(304, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 315_000 picoseconds. + // Minimum execution time: 340_000 picoseconds. Weight::from_parts(357_000, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(402, 0).saturating_mul(n.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(411, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_558_000 picoseconds. - Weight::from_parts(17_018_030, 3784) - // Standard Error: 7_252 - .saturating_add(Weight::from_parts(3_566_513, 0).saturating_mul(n.into())) + // Minimum execution time: 13_276_000 picoseconds. + Weight::from_parts(16_001_703, 3784) + // Standard Error: 9_794 + .saturating_add(Weight::from_parts(3_581_434, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_524_000 picoseconds. - Weight::from_parts(3_757_000, 1561) + // Minimum execution time: 3_438_000 picoseconds. + Weight::from_parts(3_561_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_088_000 picoseconds. - Weight::from_parts(4_189_241, 990) - // Standard Error: 6_615 - .saturating_add(Weight::from_parts(2_374_540, 0).saturating_mul(t.into())) + // Minimum execution time: 3_889_000 picoseconds. + Weight::from_parts(4_003_929, 990) + // Standard Error: 6_468 + .saturating_add(Weight::from_parts(2_253_222, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(33, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(25, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 428_000 picoseconds. - Weight::from_parts(473_000, 0) + // Minimum execution time: 461_000 picoseconds. + Weight::from_parts(485_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_224, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 10_150_000 picoseconds. - Weight::from_parts(9_973_537, 249) + // Minimum execution time: 9_001_000 picoseconds. + Weight::from_parts(8_574_180, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(237, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(265, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(54, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_960_000 picoseconds. - Weight::from_parts(9_152_525, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) + // Minimum execution time: 7_236_000 picoseconds. + Weight::from_parts(8_073_423, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_257_000 picoseconds. - Weight::from_parts(8_932_036, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(609, 0).saturating_mul(n.into())) + // Minimum execution time: 6_644_000 picoseconds. + Weight::from_parts(7_593_940, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(637, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,10 +757,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_899_000 picoseconds. - Weight::from_parts(7_962_329, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + // Minimum execution time: 6_301_000 picoseconds. + Weight::from_parts(7_055_710, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_481_000 picoseconds. - Weight::from_parts(10_193_293, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(597, 0).saturating_mul(n.into())) + // Minimum execution time: 7_720_000 picoseconds. + Weight::from_parts(8_731_156, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(615, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_891_000 picoseconds. - Weight::from_parts(9_410_000, 0) + // Minimum execution time: 8_805_000 picoseconds. + Weight::from_parts(9_120_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -800,12 +800,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 123_115_000 picoseconds. - Weight::from_parts(118_681_160, 4085) - // Standard Error: 175_675 - .saturating_add(Weight::from_parts(44_573_845, 0).saturating_mul(t.into())) + // Minimum execution time: 120_956_000 picoseconds. + Weight::from_parts(118_896_195, 4085) + // Standard Error: 175_273 + .saturating_add(Weight::from_parts(42_861_855, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -820,8 +820,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 111_808_000 picoseconds. - Weight::from_parts(116_032_000, 3895) + // Minimum execution time: 112_316_000 picoseconds. + Weight::from_parts(120_379_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -841,12 +841,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_576_658_000 picoseconds. - Weight::from_parts(1_599_215_000, 4138) - // Standard Error: 13 - .saturating_add(Weight::from_parts(576, 0).saturating_mul(i.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(935, 0).saturating_mul(s.into())) + // Minimum execution time: 2_031_580_000 picoseconds. + Weight::from_parts(2_101_691_000, 4138) + // Standard Error: 29 + .saturating_add(Weight::from_parts(1_102, 0).saturating_mul(i.into())) + // Standard Error: 29 + .saturating_add(Weight::from_parts(1_524, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -855,64 +855,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 877_000 picoseconds. - Weight::from_parts(947_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_054, 0).saturating_mul(n.into())) + // Minimum execution time: 921_000 picoseconds. + Weight::from_parts(4_700_823, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_358, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_323_000 picoseconds. - Weight::from_parts(1_405_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_317, 0).saturating_mul(n.into())) + // Minimum execution time: 1_307_000 picoseconds. + Weight::from_parts(1_375_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_699, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 798_000 picoseconds. - Weight::from_parts(827_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(n.into())) + // Minimum execution time: 744_000 picoseconds. + Weight::from_parts(790_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_516, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 826_000 picoseconds. - Weight::from_parts(887_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(n.into())) + // Minimum execution time: 704_000 picoseconds. + Weight::from_parts(6_237_083, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_510, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_133_000 picoseconds. - Weight::from_parts(45_335_157, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_632, 0).saturating_mul(n.into())) + // Minimum execution time: 44_072_000 picoseconds. + Weight::from_parts(41_810_763, 0) + // Standard Error: 8 + .saturating_add(Weight::from_parts(5_369, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_959_000 picoseconds. - Weight::from_parts(48_950_000, 0) + // Minimum execution time: 48_867_000 picoseconds. + Weight::from_parts(51_474_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_111_000 picoseconds. - Weight::from_parts(13_240_000, 0) + // Minimum execution time: 12_842_000 picoseconds. + Weight::from_parts(13_037_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -922,8 +922,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_367_000 picoseconds. - Weight::from_parts(19_746_000, 3895) + // Minimum execution time: 17_652_000 picoseconds. + Weight::from_parts(18_200_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -933,8 +933,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_266_000 picoseconds. - Weight::from_parts(9_710_000, 3820) + // Minimum execution time: 8_518_000 picoseconds. + Weight::from_parts(8_993_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -944,8 +944,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_033_000 picoseconds. - Weight::from_parts(8_427_000, 3558) + // Minimum execution time: 7_637_000 picoseconds. + Weight::from_parts(7_938_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -953,15 +953,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 342_000 picoseconds. - Weight::from_parts(368_000, 0) + // Minimum execution time: 350_000 picoseconds. + Weight::from_parts(389_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 366_000 picoseconds. - Weight::from_parts(413_000, 0) + // Minimum execution time: 472_000 picoseconds. + Weight::from_parts(512_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -969,8 +969,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_910_000 picoseconds. - Weight::from_parts(3_053_000, 1704) + // Minimum execution time: 2_829_000 picoseconds. + Weight::from_parts(2_977_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -978,10 +978,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 741_000 picoseconds. - Weight::from_parts(929_650, 0) - // Standard Error: 13 - .saturating_add(Weight::from_parts(6_895, 0).saturating_mul(r.into())) + // Minimum execution time: 578_000 picoseconds. + Weight::from_parts(621_000, 0) + // Standard Error: 32 + .saturating_add(Weight::from_parts(8_143, 0).saturating_mul(r.into())) } } @@ -993,8 +993,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_024_000 picoseconds. - Weight::from_parts(2_117_000, 1627) + // Minimum execution time: 2_018_000 picoseconds. + Weight::from_parts(2_109_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1004,10 +1004,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 12_189_000 picoseconds. - Weight::from_parts(12_290_000, 442) - // Standard Error: 1_255 - .saturating_add(Weight::from_parts(1_119_723, 0).saturating_mul(k.into())) + // Minimum execution time: 11_393_000 picoseconds. + Weight::from_parts(11_654_000, 442) + // Standard Error: 1_916 + .saturating_add(Weight::from_parts(1_242_194, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1021,10 +1021,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_675_000 picoseconds. - Weight::from_parts(9_091_909, 6149) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_155, 0).saturating_mul(c.into())) + // Minimum execution time: 7_480_000 picoseconds. + Weight::from_parts(4_786_685, 6149) + // Standard Error: 5 + .saturating_add(Weight::from_parts(1_644, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1037,8 +1037,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_966_000 picoseconds. - Weight::from_parts(17_880_000, 6450) + // Minimum execution time: 16_523_000 picoseconds. + Weight::from_parts(17_094_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1051,10 +1051,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_506_000 picoseconds. - Weight::from_parts(3_639_000, 3635) - // Standard Error: 871 - .saturating_add(Weight::from_parts(1_233_153, 0).saturating_mul(k.into())) + // Minimum execution time: 3_151_000 picoseconds. + Weight::from_parts(3_198_000, 3635) + // Standard Error: 887 + .saturating_add(Weight::from_parts(1_100_268, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1073,10 +1073,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 16_756_000 picoseconds. - Weight::from_parts(17_175_540, 6263) - // Standard Error: 1 - .saturating_add(Weight::from_parts(380, 0).saturating_mul(c.into())) + // Minimum execution time: 15_425_000 picoseconds. + Weight::from_parts(16_166_436, 6263) + // Standard Error: 2 + .saturating_add(Weight::from_parts(427, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1087,8 +1087,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_795_000 picoseconds. - Weight::from_parts(13_478_000, 6380) + // Minimum execution time: 12_359_000 picoseconds. + Weight::from_parts(12_827_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1102,8 +1102,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_644_000 picoseconds. - Weight::from_parts(49_342_000, 6292) + // Minimum execution time: 47_585_000 picoseconds. + Weight::from_parts(49_776_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1115,8 +1115,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 54_835_000 picoseconds. - Weight::from_parts(57_440_000, 6534) + // Minimum execution time: 50_322_000 picoseconds. + Weight::from_parts(54_414_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1126,8 +1126,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 12_361_000 picoseconds. - Weight::from_parts(12_853_000, 6349) + // Minimum execution time: 11_750_000 picoseconds. + Weight::from_parts(12_129_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1137,8 +1137,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_428_000 picoseconds. - Weight::from_parts(2_597_000, 1627) + // Minimum execution time: 2_146_000 picoseconds. + Weight::from_parts(2_196_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1150,8 +1150,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_351_000 picoseconds. - Weight::from_parts(12_771_000, 3631) + // Minimum execution time: 10_922_000 picoseconds. + Weight::from_parts(11_222_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1161,8 +1161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_931_000 picoseconds. - Weight::from_parts(5_102_000, 3607) + // Minimum execution time: 4_560_000 picoseconds. + Weight::from_parts(4_729_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1173,8 +1173,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_238_000 picoseconds. - Weight::from_parts(6_496_000, 3632) + // Minimum execution time: 5_604_000 picoseconds. + Weight::from_parts(5_868_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1185,8 +1185,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 6_349_000 picoseconds. - Weight::from_parts(6_704_000, 3607) + // Minimum execution time: 5_546_000 picoseconds. + Weight::from_parts(5_827_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1207,10 +1207,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 263_028_000 picoseconds. - Weight::from_parts(269_129_439, 4264) - // Standard Error: 4 - .saturating_add(Weight::from_parts(695, 0).saturating_mul(c.into())) + // Minimum execution time: 249_643_000 picoseconds. + Weight::from_parts(276_812_224, 4264) + // Standard Error: 31 + .saturating_add(Weight::from_parts(1_785, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1238,14 +1238,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 3_725_400_000 picoseconds. - Weight::from_parts(396_613_197, 6262) - // Standard Error: 118 - .saturating_add(Weight::from_parts(54_003, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_680, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(1_684, 0).saturating_mul(s.into())) + // Minimum execution time: 5_166_088_000 picoseconds. + Weight::from_parts(459_414_568, 6262) + // Standard Error: 347 + .saturating_add(Weight::from_parts(59_339, 0).saturating_mul(c.into())) + // Standard Error: 41 + .saturating_add(Weight::from_parts(2_464, 0).saturating_mul(i.into())) + // Standard Error: 41 + .saturating_add(Weight::from_parts(2_571, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1271,12 +1271,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 1_925_847_000 picoseconds. - Weight::from_parts(1_943_850_000, 4029) - // Standard Error: 26 - .saturating_add(Weight::from_parts(827, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(794, 0).saturating_mul(s.into())) + // Minimum execution time: 2_460_637_000 picoseconds. + Weight::from_parts(2_546_559_000, 4029) + // Standard Error: 36 + .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(i.into())) + // Standard Error: 36 + .saturating_add(Weight::from_parts(1_108, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1296,8 +1296,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 167_693_000 picoseconds. - Weight::from_parts(171_747_000, 4291) + // Minimum execution time: 162_647_000 picoseconds. + Weight::from_parts(167_497_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1314,10 +1314,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 244_601_000 picoseconds. - Weight::from_parts(286_420_359, 3607) - // Standard Error: 64 - .saturating_add(Weight::from_parts(49_509, 0).saturating_mul(c.into())) + // Minimum execution time: 225_283_000 picoseconds. + Weight::from_parts(219_443_916, 3607) + // Standard Error: 141 + .saturating_add(Weight::from_parts(55_574, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1334,10 +1334,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 251_518_000 picoseconds. - Weight::from_parts(273_039_983, 3607) - // Standard Error: 61 - .saturating_add(Weight::from_parts(49_628, 0).saturating_mul(c.into())) + // Minimum execution time: 248_645_000 picoseconds. + Weight::from_parts(229_652_474, 3607) + // Standard Error: 113 + .saturating_add(Weight::from_parts(55_396, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1353,8 +1353,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 41_883_000 picoseconds. - Weight::from_parts(43_238_000, 3780) + // Minimum execution time: 39_360_000 picoseconds. + Weight::from_parts(40_616_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1368,8 +1368,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 26_873_000 picoseconds. - Weight::from_parts(27_826_000, 6492) + // Minimum execution time: 25_444_000 picoseconds. + Weight::from_parts(26_498_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1378,17 +1378,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_506_000 picoseconds. - Weight::from_parts(9_351_226, 0) - // Standard Error: 40 - .saturating_add(Weight::from_parts(50_389, 0).saturating_mul(r.into())) + // Minimum execution time: 8_564_000 picoseconds. + Weight::from_parts(9_702_432, 0) + // Standard Error: 94 + .saturating_add(Weight::from_parts(53_350, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 625_000 picoseconds. - Weight::from_parts(670_000, 0) + // Minimum execution time: 638_000 picoseconds. + Weight::from_parts(668_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1396,8 +1396,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_450_000 picoseconds. - Weight::from_parts(6_816_000, 3819) + // Minimum execution time: 6_198_000 picoseconds. + Weight::from_parts(6_507_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1406,79 +1406,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_607_000 picoseconds. - Weight::from_parts(8_051_000, 3912) + // Minimum execution time: 7_642_000 picoseconds. + Weight::from_parts(7_905_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 804_000 picoseconds. - Weight::from_parts(855_000, 0) + // Minimum execution time: 739_000 picoseconds. + Weight::from_parts(797_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 435_000 picoseconds. - Weight::from_parts(460_000, 0) + // Minimum execution time: 426_000 picoseconds. + Weight::from_parts(450_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 358_000 picoseconds. - Weight::from_parts(391_000, 0) + // Minimum execution time: 342_000 picoseconds. + Weight::from_parts(366_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 597_000 picoseconds. - Weight::from_parts(651_000, 0) + // Minimum execution time: 593_000 picoseconds. + Weight::from_parts(617_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 700_000 picoseconds. - Weight::from_parts(742_000, 0) + // Minimum execution time: 721_000 picoseconds. + Weight::from_parts(753_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_727_000 picoseconds. - Weight::from_parts(4_953_000, 0) + // Minimum execution time: 4_472_000 picoseconds. + Weight::from_parts(4_638_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 585_000 picoseconds. - Weight::from_parts(638_000, 0) + // Minimum execution time: 553_000 picoseconds. + Weight::from_parts(608_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 575_000 picoseconds. - Weight::from_parts(616_000, 0) + // Minimum execution time: 554_000 picoseconds. + Weight::from_parts(611_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 597_000 picoseconds. - Weight::from_parts(648_000, 0) + // Minimum execution time: 543_000 picoseconds. + Weight::from_parts(583_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 609_000 picoseconds. - Weight::from_parts(645_000, 0) + // Minimum execution time: 559_000 picoseconds. + Weight::from_parts(584_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1486,8 +1486,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_319_000 picoseconds. - Weight::from_parts(4_573_000, 1552) + // Minimum execution time: 4_309_000 picoseconds. + Weight::from_parts(4_498_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1495,20 +1495,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 473_000 picoseconds. - Weight::from_parts(492_000, 0) + // Minimum execution time: 490_000 picoseconds. + Weight::from_parts(505_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(304, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 315_000 picoseconds. + // Minimum execution time: 340_000 picoseconds. Weight::from_parts(357_000, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(402, 0).saturating_mul(n.into())) + // Standard Error: 9 + .saturating_add(Weight::from_parts(411, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1521,10 +1521,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 14_558_000 picoseconds. - Weight::from_parts(17_018_030, 3784) - // Standard Error: 7_252 - .saturating_add(Weight::from_parts(3_566_513, 0).saturating_mul(n.into())) + // Minimum execution time: 13_276_000 picoseconds. + Weight::from_parts(16_001_703, 3784) + // Standard Error: 9_794 + .saturating_add(Weight::from_parts(3_581_434, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1537,8 +1537,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_524_000 picoseconds. - Weight::from_parts(3_757_000, 1561) + // Minimum execution time: 3_438_000 picoseconds. + Weight::from_parts(3_561_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1549,12 +1549,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 4_088_000 picoseconds. - Weight::from_parts(4_189_241, 990) - // Standard Error: 6_615 - .saturating_add(Weight::from_parts(2_374_540, 0).saturating_mul(t.into())) + // Minimum execution time: 3_889_000 picoseconds. + Weight::from_parts(4_003_929, 990) + // Standard Error: 6_468 + .saturating_add(Weight::from_parts(2_253_222, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(33, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(25, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1564,10 +1564,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 428_000 picoseconds. - Weight::from_parts(473_000, 0) + // Minimum execution time: 461_000 picoseconds. + Weight::from_parts(485_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_203, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_224, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1577,12 +1577,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 10_150_000 picoseconds. - Weight::from_parts(9_973_537, 249) + // Minimum execution time: 9_001_000 picoseconds. + Weight::from_parts(8_574_180, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(237, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(265, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(54, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1594,10 +1594,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_960_000 picoseconds. - Weight::from_parts(9_152_525, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) + // Minimum execution time: 7_236_000 picoseconds. + Weight::from_parts(8_073_423, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1609,10 +1609,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_257_000 picoseconds. - Weight::from_parts(8_932_036, 248) - // Standard Error: 3 - .saturating_add(Weight::from_parts(609, 0).saturating_mul(n.into())) + // Minimum execution time: 6_644_000 picoseconds. + Weight::from_parts(7_593_940, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(637, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1623,10 +1623,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_899_000 picoseconds. - Weight::from_parts(7_962_329, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + // Minimum execution time: 6_301_000 picoseconds. + Weight::from_parts(7_055_710, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1637,10 +1637,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 8_481_000 picoseconds. - Weight::from_parts(10_193_293, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(597, 0).saturating_mul(n.into())) + // Minimum execution time: 7_720_000 picoseconds. + Weight::from_parts(8_731_156, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(615, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1649,8 +1649,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_891_000 picoseconds. - Weight::from_parts(9_410_000, 0) + // Minimum execution time: 8_805_000 picoseconds. + Weight::from_parts(9_120_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1666,12 +1666,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 123_115_000 picoseconds. - Weight::from_parts(118_681_160, 4085) - // Standard Error: 175_675 - .saturating_add(Weight::from_parts(44_573_845, 0).saturating_mul(t.into())) + // Minimum execution time: 120_956_000 picoseconds. + Weight::from_parts(118_896_195, 4085) + // Standard Error: 175_273 + .saturating_add(Weight::from_parts(42_861_855, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1686,8 +1686,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 111_808_000 picoseconds. - Weight::from_parts(116_032_000, 3895) + // Minimum execution time: 112_316_000 picoseconds. + Weight::from_parts(120_379_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1707,12 +1707,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_576_658_000 picoseconds. - Weight::from_parts(1_599_215_000, 4138) - // Standard Error: 13 - .saturating_add(Weight::from_parts(576, 0).saturating_mul(i.into())) - // Standard Error: 13 - .saturating_add(Weight::from_parts(935, 0).saturating_mul(s.into())) + // Minimum execution time: 2_031_580_000 picoseconds. + Weight::from_parts(2_101_691_000, 4138) + // Standard Error: 29 + .saturating_add(Weight::from_parts(1_102, 0).saturating_mul(i.into())) + // Standard Error: 29 + .saturating_add(Weight::from_parts(1_524, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1721,64 +1721,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 877_000 picoseconds. - Weight::from_parts(947_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_054, 0).saturating_mul(n.into())) + // Minimum execution time: 921_000 picoseconds. + Weight::from_parts(4_700_823, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_358, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_323_000 picoseconds. - Weight::from_parts(1_405_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_317, 0).saturating_mul(n.into())) + // Minimum execution time: 1_307_000 picoseconds. + Weight::from_parts(1_375_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_699, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 798_000 picoseconds. - Weight::from_parts(827_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_182, 0).saturating_mul(n.into())) + // Minimum execution time: 744_000 picoseconds. + Weight::from_parts(790_000, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_516, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 826_000 picoseconds. - Weight::from_parts(887_000, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(1_183, 0).saturating_mul(n.into())) + // Minimum execution time: 704_000 picoseconds. + Weight::from_parts(6_237_083, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(1_510, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_133_000 picoseconds. - Weight::from_parts(45_335_157, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(4_632, 0).saturating_mul(n.into())) + // Minimum execution time: 44_072_000 picoseconds. + Weight::from_parts(41_810_763, 0) + // Standard Error: 8 + .saturating_add(Weight::from_parts(5_369, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_959_000 picoseconds. - Weight::from_parts(48_950_000, 0) + // Minimum execution time: 48_867_000 picoseconds. + Weight::from_parts(51_474_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_111_000 picoseconds. - Weight::from_parts(13_240_000, 0) + // Minimum execution time: 12_842_000 picoseconds. + Weight::from_parts(13_037_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1788,8 +1788,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 19_367_000 picoseconds. - Weight::from_parts(19_746_000, 3895) + // Minimum execution time: 17_652_000 picoseconds. + Weight::from_parts(18_200_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1799,8 +1799,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 9_266_000 picoseconds. - Weight::from_parts(9_710_000, 3820) + // Minimum execution time: 8_518_000 picoseconds. + Weight::from_parts(8_993_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1810,8 +1810,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 8_033_000 picoseconds. - Weight::from_parts(8_427_000, 3558) + // Minimum execution time: 7_637_000 picoseconds. + Weight::from_parts(7_938_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1819,15 +1819,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 342_000 picoseconds. - Weight::from_parts(368_000, 0) + // Minimum execution time: 350_000 picoseconds. + Weight::from_parts(389_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 366_000 picoseconds. - Weight::from_parts(413_000, 0) + // Minimum execution time: 472_000 picoseconds. + Weight::from_parts(512_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1835,8 +1835,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_910_000 picoseconds. - Weight::from_parts(3_053_000, 1704) + // Minimum execution time: 2_829_000 picoseconds. + Weight::from_parts(2_977_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1844,9 +1844,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 741_000 picoseconds. - Weight::from_parts(929_650, 0) - // Standard Error: 13 - .saturating_add(Weight::from_parts(6_895, 0).saturating_mul(r.into())) + // Minimum execution time: 578_000 picoseconds. + Weight::from_parts(621_000, 0) + // Standard Error: 32 + .saturating_add(Weight::from_parts(8_143, 0).saturating_mul(r.into())) } } From 8fd187578702ad056de728518b6a69e4962ecd11 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 27 May 2024 10:47:06 +0000 Subject: [PATCH 63/75] ".git/.scripts/commands/bench-all/bench-all.sh" --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 752 +++++++++++------------ 1 file changed, 376 insertions(+), 376 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index a842b8492b6c..2c4ab1a50a31 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_018_000 picoseconds. - Weight::from_parts(2_109_000, 1627) + // Minimum execution time: 1_960_000 picoseconds. + Weight::from_parts(2_044_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 11_393_000 picoseconds. - Weight::from_parts(11_654_000, 442) - // Standard Error: 1_916 - .saturating_add(Weight::from_parts(1_242_194, 0).saturating_mul(k.into())) + // Minimum execution time: 11_057_000 picoseconds. + Weight::from_parts(11_289_000, 442) + // Standard Error: 1_275 + .saturating_add(Weight::from_parts(1_105_473, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 7_480_000 picoseconds. - Weight::from_parts(4_786_685, 6149) + // Minimum execution time: 7_708_000 picoseconds. + Weight::from_parts(5_291_348, 6149) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_644, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_617, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_523_000 picoseconds. - Weight::from_parts(17_094_000, 6450) + // Minimum execution time: 16_399_000 picoseconds. + Weight::from_parts(16_884_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_151_000 picoseconds. - Weight::from_parts(3_198_000, 3635) - // Standard Error: 887 - .saturating_add(Weight::from_parts(1_100_268, 0).saturating_mul(k.into())) + // Minimum execution time: 3_112_000 picoseconds. + Weight::from_parts(3_203_000, 3635) + // Standard Error: 610 + .saturating_add(Weight::from_parts(1_073_552, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 15_425_000 picoseconds. - Weight::from_parts(16_166_436, 6263) - // Standard Error: 2 - .saturating_add(Weight::from_parts(427, 0).saturating_mul(c.into())) + // Minimum execution time: 15_264_000 picoseconds. + Weight::from_parts(15_800_354, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(435, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_359_000 picoseconds. - Weight::from_parts(12_827_000, 6380) + // Minimum execution time: 12_427_000 picoseconds. + Weight::from_parts(12_756_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_585_000 picoseconds. - Weight::from_parts(49_776_000, 6292) + // Minimum execution time: 47_470_000 picoseconds. + Weight::from_parts(49_059_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 50_322_000 picoseconds. - Weight::from_parts(54_414_000, 6534) + // Minimum execution time: 52_770_000 picoseconds. + Weight::from_parts(54_797_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_750_000 picoseconds. - Weight::from_parts(12_129_000, 6349) + // Minimum execution time: 11_744_000 picoseconds. + Weight::from_parts(12_236_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_146_000 picoseconds. - Weight::from_parts(2_196_000, 1627) + // Minimum execution time: 2_189_000 picoseconds. + Weight::from_parts(2_272_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 10_922_000 picoseconds. - Weight::from_parts(11_222_000, 3631) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_465_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_560_000 picoseconds. - Weight::from_parts(4_729_000, 3607) + // Minimum execution time: 4_391_000 picoseconds. + Weight::from_parts(4_625_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_604_000 picoseconds. - Weight::from_parts(5_868_000, 3632) + // Minimum execution time: 5_558_000 picoseconds. + Weight::from_parts(5_783_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 5_546_000 picoseconds. - Weight::from_parts(5_827_000, 3607) + // Minimum execution time: 5_468_000 picoseconds. + Weight::from_parts(5_739_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 249_643_000 picoseconds. - Weight::from_parts(276_812_224, 4264) - // Standard Error: 31 - .saturating_add(Weight::from_parts(1_785, 0).saturating_mul(c.into())) + // Minimum execution time: 243_435_000 picoseconds. + Weight::from_parts(264_909_176, 4264) + // Standard Error: 4 + .saturating_add(Weight::from_parts(707, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 5_166_088_000 picoseconds. - Weight::from_parts(459_414_568, 6262) - // Standard Error: 347 - .saturating_add(Weight::from_parts(59_339, 0).saturating_mul(c.into())) - // Standard Error: 41 - .saturating_add(Weight::from_parts(2_464, 0).saturating_mul(i.into())) - // Standard Error: 41 - .saturating_add(Weight::from_parts(2_571, 0).saturating_mul(s.into())) + // Minimum execution time: 4_409_715_000 picoseconds. + Weight::from_parts(242_505_995, 6262) + // Standard Error: 136 + .saturating_add(Weight::from_parts(52_969, 0).saturating_mul(c.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(2_118, 0).saturating_mul(i.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(2_175, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_460_637_000 picoseconds. - Weight::from_parts(2_546_559_000, 4029) - // Standard Error: 36 - .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(i.into())) - // Standard Error: 36 - .saturating_add(Weight::from_parts(1_108, 0).saturating_mul(s.into())) + // Minimum execution time: 2_227_895_000 picoseconds. + Weight::from_parts(2_262_460_000, 4029) + // Standard Error: 32 + .saturating_add(Weight::from_parts(934, 0).saturating_mul(i.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(903, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 162_647_000 picoseconds. - Weight::from_parts(167_497_000, 4291) + // Minimum execution time: 162_158_000 picoseconds. + Weight::from_parts(166_981_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 225_283_000 picoseconds. - Weight::from_parts(219_443_916, 3607) - // Standard Error: 141 - .saturating_add(Weight::from_parts(55_574, 0).saturating_mul(c.into())) + // Minimum execution time: 224_105_000 picoseconds. + Weight::from_parts(257_018_479, 3607) + // Standard Error: 53 + .saturating_add(Weight::from_parts(51_358, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 248_645_000 picoseconds. - Weight::from_parts(229_652_474, 3607) - // Standard Error: 113 - .saturating_add(Weight::from_parts(55_396, 0).saturating_mul(c.into())) + // Minimum execution time: 234_369_000 picoseconds. + Weight::from_parts(268_659_160, 3607) + // Standard Error: 45 + .saturating_add(Weight::from_parts(51_267, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 39_360_000 picoseconds. - Weight::from_parts(40_616_000, 3780) + // Minimum execution time: 39_445_000 picoseconds. + Weight::from_parts(40_025_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 25_444_000 picoseconds. - Weight::from_parts(26_498_000, 6492) + // Minimum execution time: 25_062_000 picoseconds. + Weight::from_parts(26_030_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_564_000 picoseconds. - Weight::from_parts(9_702_432, 0) - // Standard Error: 94 - .saturating_add(Weight::from_parts(53_350, 0).saturating_mul(r.into())) + // Minimum execution time: 8_356_000 picoseconds. + Weight::from_parts(8_679_898, 0) + // Standard Error: 126 + .saturating_add(Weight::from_parts(52_861, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 638_000 picoseconds. - Weight::from_parts(668_000, 0) + // Minimum execution time: 605_000 picoseconds. + Weight::from_parts(638_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_198_000 picoseconds. - Weight::from_parts(6_507_000, 3819) + // Minimum execution time: 6_122_000 picoseconds. + Weight::from_parts(6_485_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_642_000 picoseconds. - Weight::from_parts(7_905_000, 3912) + // Minimum execution time: 7_334_000 picoseconds. + Weight::from_parts(7_691_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 739_000 picoseconds. - Weight::from_parts(797_000, 0) + // Minimum execution time: 767_000 picoseconds. + Weight::from_parts(833_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 426_000 picoseconds. - Weight::from_parts(450_000, 0) + // Minimum execution time: 397_000 picoseconds. + Weight::from_parts(414_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 342_000 picoseconds. - Weight::from_parts(366_000, 0) + // Minimum execution time: 346_000 picoseconds. + Weight::from_parts(371_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 593_000 picoseconds. - Weight::from_parts(617_000, 0) + // Minimum execution time: 568_000 picoseconds. + Weight::from_parts(600_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 721_000 picoseconds. - Weight::from_parts(753_000, 0) + // Minimum execution time: 669_000 picoseconds. + Weight::from_parts(719_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_472_000 picoseconds. - Weight::from_parts(4_638_000, 0) + // Minimum execution time: 4_438_000 picoseconds. + Weight::from_parts(4_659_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 553_000 picoseconds. - Weight::from_parts(608_000, 0) + // Minimum execution time: 516_000 picoseconds. + Weight::from_parts(538_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 554_000 picoseconds. - Weight::from_parts(611_000, 0) + // Minimum execution time: 522_000 picoseconds. + Weight::from_parts(564_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 543_000 picoseconds. - Weight::from_parts(583_000, 0) + // Minimum execution time: 542_000 picoseconds. + Weight::from_parts(581_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 559_000 picoseconds. - Weight::from_parts(584_000, 0) + // Minimum execution time: 516_000 picoseconds. + Weight::from_parts(577_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_309_000 picoseconds. - Weight::from_parts(4_498_000, 1552) + // Minimum execution time: 4_038_000 picoseconds. + Weight::from_parts(4_308_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,18 +629,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 490_000 picoseconds. - Weight::from_parts(505_000, 0) + // Minimum execution time: 527_000 picoseconds. + Weight::from_parts(530_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(304, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(298, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 340_000 picoseconds. - Weight::from_parts(357_000, 0) + // Minimum execution time: 342_000 picoseconds. + Weight::from_parts(356_000, 0) // Standard Error: 9 .saturating_add(Weight::from_parts(411, 0).saturating_mul(n.into())) } @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 13_276_000 picoseconds. - Weight::from_parts(16_001_703, 3784) - // Standard Error: 9_794 - .saturating_add(Weight::from_parts(3_581_434, 0).saturating_mul(n.into())) + // Minimum execution time: 12_843_000 picoseconds. + Weight::from_parts(15_253_462, 3784) + // Standard Error: 7_714 + .saturating_add(Weight::from_parts(3_479_124, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_438_000 picoseconds. - Weight::from_parts(3_561_000, 1561) + // Minimum execution time: 3_365_000 picoseconds. + Weight::from_parts(3_527_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 3_889_000 picoseconds. - Weight::from_parts(4_003_929, 990) - // Standard Error: 6_468 - .saturating_add(Weight::from_parts(2_253_222, 0).saturating_mul(t.into())) + // Minimum execution time: 3_722_000 picoseconds. + Weight::from_parts(4_001_539, 990) + // Standard Error: 6_259 + .saturating_add(Weight::from_parts(2_190_394, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(25, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(15, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 461_000 picoseconds. - Weight::from_parts(485_000, 0) + // Minimum execution time: 396_000 picoseconds. + Weight::from_parts(436_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_224, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_001_000 picoseconds. - Weight::from_parts(8_574_180, 249) + // Minimum execution time: 8_642_000 picoseconds. + Weight::from_parts(8_589_669, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(265, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(271, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(41, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_236_000 picoseconds. - Weight::from_parts(8_073_423, 248) + // Minimum execution time: 7_132_000 picoseconds. + Weight::from_parts(7_787_301, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_644_000 picoseconds. - Weight::from_parts(7_593_940, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(637, 0).saturating_mul(n.into())) + // Minimum execution time: 6_810_000 picoseconds. + Weight::from_parts(7_701_540, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(618, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,10 +757,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_301_000 picoseconds. - Weight::from_parts(7_055_710, 248) + // Minimum execution time: 6_109_000 picoseconds. + Weight::from_parts(6_907_161, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_720_000 picoseconds. - Weight::from_parts(8_731_156, 248) + // Minimum execution time: 7_481_000 picoseconds. + Weight::from_parts(8_493_272, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(615, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(611, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_805_000 picoseconds. - Weight::from_parts(9_120_000, 0) + // Minimum execution time: 8_574_000 picoseconds. + Weight::from_parts(8_891_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -800,12 +800,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 120_956_000 picoseconds. - Weight::from_parts(118_896_195, 4085) - // Standard Error: 175_273 - .saturating_add(Weight::from_parts(42_861_855, 0).saturating_mul(t.into())) + // Minimum execution time: 120_492_000 picoseconds. + Weight::from_parts(115_975_161, 4085) + // Standard Error: 223_149 + .saturating_add(Weight::from_parts(45_218_950, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -820,8 +820,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 112_316_000 picoseconds. - Weight::from_parts(120_379_000, 3895) + // Minimum execution time: 108_462_000 picoseconds. + Weight::from_parts(111_261_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -841,12 +841,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 2_031_580_000 picoseconds. - Weight::from_parts(2_101_691_000, 4138) - // Standard Error: 29 - .saturating_add(Weight::from_parts(1_102, 0).saturating_mul(i.into())) - // Standard Error: 29 - .saturating_add(Weight::from_parts(1_524, 0).saturating_mul(s.into())) + // Minimum execution time: 1_855_712_000 picoseconds. + Weight::from_parts(1_894_172_000, 4138) + // Standard Error: 15 + .saturating_add(Weight::from_parts(834, 0).saturating_mul(i.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_174, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -855,64 +855,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 921_000 picoseconds. - Weight::from_parts(4_700_823, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_358, 0).saturating_mul(n.into())) + // Minimum execution time: 905_000 picoseconds. + Weight::from_parts(10_609_408, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_327, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_307_000 picoseconds. - Weight::from_parts(1_375_000, 0) + // Minimum execution time: 1_344_000 picoseconds. + Weight::from_parts(12_630_829, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_699, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_604, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 744_000 picoseconds. - Weight::from_parts(790_000, 0) + // Minimum execution time: 785_000 picoseconds. + Weight::from_parts(10_224_661, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_516, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_470, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 704_000 picoseconds. - Weight::from_parts(6_237_083, 0) + // Minimum execution time: 714_000 picoseconds. + Weight::from_parts(8_309_528, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_510, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_482, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 44_072_000 picoseconds. - Weight::from_parts(41_810_763, 0) + // Minimum execution time: 43_132_000 picoseconds. + Weight::from_parts(41_782_295, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(5_369, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(5_310, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 48_867_000 picoseconds. - Weight::from_parts(51_474_000, 0) + // Minimum execution time: 47_327_000 picoseconds. + Weight::from_parts(48_817_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_842_000 picoseconds. - Weight::from_parts(13_037_000, 0) + // Minimum execution time: 13_175_000 picoseconds. + Weight::from_parts(13_300_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -922,8 +922,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 17_652_000 picoseconds. - Weight::from_parts(18_200_000, 3895) + // Minimum execution time: 17_663_000 picoseconds. + Weight::from_parts(18_081_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -933,8 +933,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 8_518_000 picoseconds. - Weight::from_parts(8_993_000, 3820) + // Minimum execution time: 8_219_000 picoseconds. + Weight::from_parts(8_420_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -944,8 +944,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 7_637_000 picoseconds. - Weight::from_parts(7_938_000, 3558) + // Minimum execution time: 7_207_000 picoseconds. + Weight::from_parts(7_579_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -953,15 +953,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 350_000 picoseconds. - Weight::from_parts(389_000, 0) + // Minimum execution time: 326_000 picoseconds. + Weight::from_parts(361_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 472_000 picoseconds. - Weight::from_parts(512_000, 0) + // Minimum execution time: 358_000 picoseconds. + Weight::from_parts(377_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -969,8 +969,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_829_000 picoseconds. - Weight::from_parts(2_977_000, 1704) + // Minimum execution time: 2_737_000 picoseconds. + Weight::from_parts(2_928_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -978,10 +978,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 578_000 picoseconds. - Weight::from_parts(621_000, 0) - // Standard Error: 32 - .saturating_add(Weight::from_parts(8_143, 0).saturating_mul(r.into())) + // Minimum execution time: 679_000 picoseconds. + Weight::from_parts(674_833, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(7_346, 0).saturating_mul(r.into())) } } @@ -993,8 +993,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_018_000 picoseconds. - Weight::from_parts(2_109_000, 1627) + // Minimum execution time: 1_960_000 picoseconds. + Weight::from_parts(2_044_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1004,10 +1004,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 11_393_000 picoseconds. - Weight::from_parts(11_654_000, 442) - // Standard Error: 1_916 - .saturating_add(Weight::from_parts(1_242_194, 0).saturating_mul(k.into())) + // Minimum execution time: 11_057_000 picoseconds. + Weight::from_parts(11_289_000, 442) + // Standard Error: 1_275 + .saturating_add(Weight::from_parts(1_105_473, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1021,10 +1021,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 7_480_000 picoseconds. - Weight::from_parts(4_786_685, 6149) + // Minimum execution time: 7_708_000 picoseconds. + Weight::from_parts(5_291_348, 6149) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_644, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_617, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1037,8 +1037,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_523_000 picoseconds. - Weight::from_parts(17_094_000, 6450) + // Minimum execution time: 16_399_000 picoseconds. + Weight::from_parts(16_884_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1051,10 +1051,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_151_000 picoseconds. - Weight::from_parts(3_198_000, 3635) - // Standard Error: 887 - .saturating_add(Weight::from_parts(1_100_268, 0).saturating_mul(k.into())) + // Minimum execution time: 3_112_000 picoseconds. + Weight::from_parts(3_203_000, 3635) + // Standard Error: 610 + .saturating_add(Weight::from_parts(1_073_552, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1073,10 +1073,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 15_425_000 picoseconds. - Weight::from_parts(16_166_436, 6263) - // Standard Error: 2 - .saturating_add(Weight::from_parts(427, 0).saturating_mul(c.into())) + // Minimum execution time: 15_264_000 picoseconds. + Weight::from_parts(15_800_354, 6263) + // Standard Error: 1 + .saturating_add(Weight::from_parts(435, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1087,8 +1087,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_359_000 picoseconds. - Weight::from_parts(12_827_000, 6380) + // Minimum execution time: 12_427_000 picoseconds. + Weight::from_parts(12_756_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1102,8 +1102,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_585_000 picoseconds. - Weight::from_parts(49_776_000, 6292) + // Minimum execution time: 47_470_000 picoseconds. + Weight::from_parts(49_059_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1115,8 +1115,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 50_322_000 picoseconds. - Weight::from_parts(54_414_000, 6534) + // Minimum execution time: 52_770_000 picoseconds. + Weight::from_parts(54_797_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1126,8 +1126,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_750_000 picoseconds. - Weight::from_parts(12_129_000, 6349) + // Minimum execution time: 11_744_000 picoseconds. + Weight::from_parts(12_236_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1137,8 +1137,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_146_000 picoseconds. - Weight::from_parts(2_196_000, 1627) + // Minimum execution time: 2_189_000 picoseconds. + Weight::from_parts(2_272_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1150,8 +1150,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 10_922_000 picoseconds. - Weight::from_parts(11_222_000, 3631) + // Minimum execution time: 11_000_000 picoseconds. + Weight::from_parts(11_465_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1161,8 +1161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_560_000 picoseconds. - Weight::from_parts(4_729_000, 3607) + // Minimum execution time: 4_391_000 picoseconds. + Weight::from_parts(4_625_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1173,8 +1173,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_604_000 picoseconds. - Weight::from_parts(5_868_000, 3632) + // Minimum execution time: 5_558_000 picoseconds. + Weight::from_parts(5_783_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1185,8 +1185,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 5_546_000 picoseconds. - Weight::from_parts(5_827_000, 3607) + // Minimum execution time: 5_468_000 picoseconds. + Weight::from_parts(5_739_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1207,10 +1207,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 249_643_000 picoseconds. - Weight::from_parts(276_812_224, 4264) - // Standard Error: 31 - .saturating_add(Weight::from_parts(1_785, 0).saturating_mul(c.into())) + // Minimum execution time: 243_435_000 picoseconds. + Weight::from_parts(264_909_176, 4264) + // Standard Error: 4 + .saturating_add(Weight::from_parts(707, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1238,14 +1238,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 5_166_088_000 picoseconds. - Weight::from_parts(459_414_568, 6262) - // Standard Error: 347 - .saturating_add(Weight::from_parts(59_339, 0).saturating_mul(c.into())) - // Standard Error: 41 - .saturating_add(Weight::from_parts(2_464, 0).saturating_mul(i.into())) - // Standard Error: 41 - .saturating_add(Weight::from_parts(2_571, 0).saturating_mul(s.into())) + // Minimum execution time: 4_409_715_000 picoseconds. + Weight::from_parts(242_505_995, 6262) + // Standard Error: 136 + .saturating_add(Weight::from_parts(52_969, 0).saturating_mul(c.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(2_118, 0).saturating_mul(i.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(2_175, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1271,12 +1271,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_460_637_000 picoseconds. - Weight::from_parts(2_546_559_000, 4029) - // Standard Error: 36 - .saturating_add(Weight::from_parts(1_382, 0).saturating_mul(i.into())) - // Standard Error: 36 - .saturating_add(Weight::from_parts(1_108, 0).saturating_mul(s.into())) + // Minimum execution time: 2_227_895_000 picoseconds. + Weight::from_parts(2_262_460_000, 4029) + // Standard Error: 32 + .saturating_add(Weight::from_parts(934, 0).saturating_mul(i.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(903, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1296,8 +1296,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 162_647_000 picoseconds. - Weight::from_parts(167_497_000, 4291) + // Minimum execution time: 162_158_000 picoseconds. + Weight::from_parts(166_981_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1314,10 +1314,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 225_283_000 picoseconds. - Weight::from_parts(219_443_916, 3607) - // Standard Error: 141 - .saturating_add(Weight::from_parts(55_574, 0).saturating_mul(c.into())) + // Minimum execution time: 224_105_000 picoseconds. + Weight::from_parts(257_018_479, 3607) + // Standard Error: 53 + .saturating_add(Weight::from_parts(51_358, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1334,10 +1334,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 248_645_000 picoseconds. - Weight::from_parts(229_652_474, 3607) - // Standard Error: 113 - .saturating_add(Weight::from_parts(55_396, 0).saturating_mul(c.into())) + // Minimum execution time: 234_369_000 picoseconds. + Weight::from_parts(268_659_160, 3607) + // Standard Error: 45 + .saturating_add(Weight::from_parts(51_267, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1353,8 +1353,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 39_360_000 picoseconds. - Weight::from_parts(40_616_000, 3780) + // Minimum execution time: 39_445_000 picoseconds. + Weight::from_parts(40_025_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1368,8 +1368,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 25_444_000 picoseconds. - Weight::from_parts(26_498_000, 6492) + // Minimum execution time: 25_062_000 picoseconds. + Weight::from_parts(26_030_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1378,17 +1378,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_564_000 picoseconds. - Weight::from_parts(9_702_432, 0) - // Standard Error: 94 - .saturating_add(Weight::from_parts(53_350, 0).saturating_mul(r.into())) + // Minimum execution time: 8_356_000 picoseconds. + Weight::from_parts(8_679_898, 0) + // Standard Error: 126 + .saturating_add(Weight::from_parts(52_861, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 638_000 picoseconds. - Weight::from_parts(668_000, 0) + // Minimum execution time: 605_000 picoseconds. + Weight::from_parts(638_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1396,8 +1396,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_198_000 picoseconds. - Weight::from_parts(6_507_000, 3819) + // Minimum execution time: 6_122_000 picoseconds. + Weight::from_parts(6_485_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1406,79 +1406,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_642_000 picoseconds. - Weight::from_parts(7_905_000, 3912) + // Minimum execution time: 7_334_000 picoseconds. + Weight::from_parts(7_691_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 739_000 picoseconds. - Weight::from_parts(797_000, 0) + // Minimum execution time: 767_000 picoseconds. + Weight::from_parts(833_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 426_000 picoseconds. - Weight::from_parts(450_000, 0) + // Minimum execution time: 397_000 picoseconds. + Weight::from_parts(414_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 342_000 picoseconds. - Weight::from_parts(366_000, 0) + // Minimum execution time: 346_000 picoseconds. + Weight::from_parts(371_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 593_000 picoseconds. - Weight::from_parts(617_000, 0) + // Minimum execution time: 568_000 picoseconds. + Weight::from_parts(600_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 721_000 picoseconds. - Weight::from_parts(753_000, 0) + // Minimum execution time: 669_000 picoseconds. + Weight::from_parts(719_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_472_000 picoseconds. - Weight::from_parts(4_638_000, 0) + // Minimum execution time: 4_438_000 picoseconds. + Weight::from_parts(4_659_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 553_000 picoseconds. - Weight::from_parts(608_000, 0) + // Minimum execution time: 516_000 picoseconds. + Weight::from_parts(538_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 554_000 picoseconds. - Weight::from_parts(611_000, 0) + // Minimum execution time: 522_000 picoseconds. + Weight::from_parts(564_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 543_000 picoseconds. - Weight::from_parts(583_000, 0) + // Minimum execution time: 542_000 picoseconds. + Weight::from_parts(581_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 559_000 picoseconds. - Weight::from_parts(584_000, 0) + // Minimum execution time: 516_000 picoseconds. + Weight::from_parts(577_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1486,8 +1486,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_309_000 picoseconds. - Weight::from_parts(4_498_000, 1552) + // Minimum execution time: 4_038_000 picoseconds. + Weight::from_parts(4_308_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1495,18 +1495,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 490_000 picoseconds. - Weight::from_parts(505_000, 0) + // Minimum execution time: 527_000 picoseconds. + Weight::from_parts(530_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(304, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(298, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 340_000 picoseconds. - Weight::from_parts(357_000, 0) + // Minimum execution time: 342_000 picoseconds. + Weight::from_parts(356_000, 0) // Standard Error: 9 .saturating_add(Weight::from_parts(411, 0).saturating_mul(n.into())) } @@ -1521,10 +1521,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 13_276_000 picoseconds. - Weight::from_parts(16_001_703, 3784) - // Standard Error: 9_794 - .saturating_add(Weight::from_parts(3_581_434, 0).saturating_mul(n.into())) + // Minimum execution time: 12_843_000 picoseconds. + Weight::from_parts(15_253_462, 3784) + // Standard Error: 7_714 + .saturating_add(Weight::from_parts(3_479_124, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1537,8 +1537,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_438_000 picoseconds. - Weight::from_parts(3_561_000, 1561) + // Minimum execution time: 3_365_000 picoseconds. + Weight::from_parts(3_527_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1549,12 +1549,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 3_889_000 picoseconds. - Weight::from_parts(4_003_929, 990) - // Standard Error: 6_468 - .saturating_add(Weight::from_parts(2_253_222, 0).saturating_mul(t.into())) + // Minimum execution time: 3_722_000 picoseconds. + Weight::from_parts(4_001_539, 990) + // Standard Error: 6_259 + .saturating_add(Weight::from_parts(2_190_394, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(25, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(15, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1564,10 +1564,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 461_000 picoseconds. - Weight::from_parts(485_000, 0) + // Minimum execution time: 396_000 picoseconds. + Weight::from_parts(436_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_224, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1577,12 +1577,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 9_001_000 picoseconds. - Weight::from_parts(8_574_180, 249) + // Minimum execution time: 8_642_000 picoseconds. + Weight::from_parts(8_589_669, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(265, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(271, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(56, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(41, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1594,10 +1594,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_236_000 picoseconds. - Weight::from_parts(8_073_423, 248) + // Minimum execution time: 7_132_000 picoseconds. + Weight::from_parts(7_787_301, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1609,10 +1609,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_644_000 picoseconds. - Weight::from_parts(7_593_940, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(637, 0).saturating_mul(n.into())) + // Minimum execution time: 6_810_000 picoseconds. + Weight::from_parts(7_701_540, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(618, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1623,10 +1623,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_301_000 picoseconds. - Weight::from_parts(7_055_710, 248) + // Minimum execution time: 6_109_000 picoseconds. + Weight::from_parts(6_907_161, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(86, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1637,10 +1637,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_720_000 picoseconds. - Weight::from_parts(8_731_156, 248) + // Minimum execution time: 7_481_000 picoseconds. + Weight::from_parts(8_493_272, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(615, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(611, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1649,8 +1649,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_805_000 picoseconds. - Weight::from_parts(9_120_000, 0) + // Minimum execution time: 8_574_000 picoseconds. + Weight::from_parts(8_891_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1666,12 +1666,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 120_956_000 picoseconds. - Weight::from_parts(118_896_195, 4085) - // Standard Error: 175_273 - .saturating_add(Weight::from_parts(42_861_855, 0).saturating_mul(t.into())) + // Minimum execution time: 120_492_000 picoseconds. + Weight::from_parts(115_975_161, 4085) + // Standard Error: 223_149 + .saturating_add(Weight::from_parts(45_218_950, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1686,8 +1686,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 112_316_000 picoseconds. - Weight::from_parts(120_379_000, 3895) + // Minimum execution time: 108_462_000 picoseconds. + Weight::from_parts(111_261_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1707,12 +1707,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 2_031_580_000 picoseconds. - Weight::from_parts(2_101_691_000, 4138) - // Standard Error: 29 - .saturating_add(Weight::from_parts(1_102, 0).saturating_mul(i.into())) - // Standard Error: 29 - .saturating_add(Weight::from_parts(1_524, 0).saturating_mul(s.into())) + // Minimum execution time: 1_855_712_000 picoseconds. + Weight::from_parts(1_894_172_000, 4138) + // Standard Error: 15 + .saturating_add(Weight::from_parts(834, 0).saturating_mul(i.into())) + // Standard Error: 15 + .saturating_add(Weight::from_parts(1_174, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1721,64 +1721,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 921_000 picoseconds. - Weight::from_parts(4_700_823, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_358, 0).saturating_mul(n.into())) + // Minimum execution time: 905_000 picoseconds. + Weight::from_parts(10_609_408, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_327, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_307_000 picoseconds. - Weight::from_parts(1_375_000, 0) + // Minimum execution time: 1_344_000 picoseconds. + Weight::from_parts(12_630_829, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_699, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_604, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 744_000 picoseconds. - Weight::from_parts(790_000, 0) + // Minimum execution time: 785_000 picoseconds. + Weight::from_parts(10_224_661, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_516, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_470, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 704_000 picoseconds. - Weight::from_parts(6_237_083, 0) + // Minimum execution time: 714_000 picoseconds. + Weight::from_parts(8_309_528, 0) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_510, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_482, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 44_072_000 picoseconds. - Weight::from_parts(41_810_763, 0) + // Minimum execution time: 43_132_000 picoseconds. + Weight::from_parts(41_782_295, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(5_369, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(5_310, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 48_867_000 picoseconds. - Weight::from_parts(51_474_000, 0) + // Minimum execution time: 47_327_000 picoseconds. + Weight::from_parts(48_817_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_842_000 picoseconds. - Weight::from_parts(13_037_000, 0) + // Minimum execution time: 13_175_000 picoseconds. + Weight::from_parts(13_300_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1788,8 +1788,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 17_652_000 picoseconds. - Weight::from_parts(18_200_000, 3895) + // Minimum execution time: 17_663_000 picoseconds. + Weight::from_parts(18_081_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1799,8 +1799,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 8_518_000 picoseconds. - Weight::from_parts(8_993_000, 3820) + // Minimum execution time: 8_219_000 picoseconds. + Weight::from_parts(8_420_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1810,8 +1810,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 7_637_000 picoseconds. - Weight::from_parts(7_938_000, 3558) + // Minimum execution time: 7_207_000 picoseconds. + Weight::from_parts(7_579_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1819,15 +1819,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 350_000 picoseconds. - Weight::from_parts(389_000, 0) + // Minimum execution time: 326_000 picoseconds. + Weight::from_parts(361_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 472_000 picoseconds. - Weight::from_parts(512_000, 0) + // Minimum execution time: 358_000 picoseconds. + Weight::from_parts(377_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1835,8 +1835,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_829_000 picoseconds. - Weight::from_parts(2_977_000, 1704) + // Minimum execution time: 2_737_000 picoseconds. + Weight::from_parts(2_928_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1844,9 +1844,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 578_000 picoseconds. - Weight::from_parts(621_000, 0) - // Standard Error: 32 - .saturating_add(Weight::from_parts(8_143, 0).saturating_mul(r.into())) + // Minimum execution time: 679_000 picoseconds. + Weight::from_parts(674_833, 0) + // Standard Error: 7 + .saturating_add(Weight::from_parts(7_346, 0).saturating_mul(r.into())) } } From 2d40ddd98684b44a33cd9ef3fd6f28341baced44 Mon Sep 17 00:00:00 2001 From: PG Herveou Date: Wed, 29 May 2024 15:18:13 +0200 Subject: [PATCH 64/75] Update wasmi version --- Cargo.lock | 16 ++++++++-------- substrate/frame/contracts/Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0d1fec5cae6e..eb4c57b1e3d7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9936,7 +9936,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi 0.32.0-beta.18", + "wasmi 0.32.0", "wat", ] @@ -22773,9 +22773,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.32.0-beta.18" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f6bf8aed8277f4231c75963529abc962b3efcebaf79954a81c609dabf470c60" +checksum = "8b999b72f65d17f23f83d2053bcc5e856f8da27217fc0a8cef582aa3046e2476" dependencies = [ "arrayvec 0.7.4", "multi-stash", @@ -22784,7 +22784,7 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_collections", - "wasmi_core 0.32.0-beta.18", + "wasmi_core 0.32.0", "wasmparser-nostd", ] @@ -22796,9 +22796,9 @@ checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_collections" -version = "0.32.0-beta.18" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3769b8a1146eea42b5fb9b7f75714310f1e91fd5735580f1018afd3b11363a3e" +checksum = "a06649ca4a0d3f72248eace0d13bf89c0c728a91930bbcd12703fed93568fcae" dependencies = [ "ahash 0.8.11", "hashbrown 0.14.3", @@ -22819,9 +22819,9 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.32.0-beta.18" +version = "0.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0488c9d81aa221d20a3b3fdc460e1b2e02417a8bea2bbe9da5760c5a3c70ca00" +checksum = "21cca4ef23937f162309d48bbbe94c8de110edd170dd3b09928587181a24b0a5" dependencies = [ "downcast-rs", "libm", diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index 09a2932a92c2..fe386cc97cb5 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32.0-beta.18", default-features = false } +wasmi = { version = "0.32", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From 99fb78ccadcc4cb6c82d951c093f5d35f0d424f7 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 30 May 2024 12:18:56 +0200 Subject: [PATCH 65/75] Update PR doc --- prdoc/pr_3679.prdoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prdoc/pr_3679.prdoc b/prdoc/pr_3679.prdoc index 0321776238f4..d0a468476922 100644 --- a/prdoc/pr_3679.prdoc +++ b/prdoc/pr_3679.prdoc @@ -5,8 +5,9 @@ doc: description: | - Bump wasmi to 0.32 - Turn on lazy and unchecked compilation when calling a contract. - See https://docs.rs/wasmi/0.32.0-beta.17/wasmi/enum.CompilationMode.html#variant.Lazy - See https://docs.rs/wasmi/0.32.0-beta.17/wasmi/struct.Module.html#method.new_unchecked + See https://docs.rs/wasmi/0.32.0/wasmi/enum.CompilationMode.html#variant.Lazy + See https://docs.rs/wasmi/0.32.0/wasmi/struct.Module.html#method.new_unchecked + See https://wasmi-labs.github.io/blog/posts/wasmi-v0.32 for more details, on the wasmi update. crates: - name: pallet-contracts From 78abbea4f5047549c4578405b0698c57fcdc34cb Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 30 May 2024 15:09:54 +0200 Subject: [PATCH 66/75] test roll-back beta --- substrate/frame/contracts/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index fe386cc97cb5..4b9373326513 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32", default-features = false } +wasmi = { version = "0.32.0-beta.17", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From 72de0b56f57e1551013683408584e6dbaedd7e63 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 30 May 2024 15:11:50 +0200 Subject: [PATCH 67/75] fix lock --- Cargo.lock | 189 +++++++++++++++++++++++------------------------------ 1 file changed, 81 insertions(+), 108 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eb4c57b1e3d7..781dba880cbe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -90,9 +90,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.11" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" dependencies = [ "cfg-if", "getrandom 0.2.10", @@ -2366,9 +2366,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.4.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "bzip2-sys" @@ -5339,9 +5339,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "fastrlp" @@ -6175,9 +6175,9 @@ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" [[package]] name = "futures-util" @@ -6474,7 +6474,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", ] [[package]] @@ -6483,7 +6483,7 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "allocator-api2", "serde", ] @@ -7391,9 +7391,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.8" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" [[package]] name = "libnghttp2-sys" @@ -7956,9 +7956,9 @@ dependencies = [ [[package]] name = "litep2p" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adf107268459b653df189050c9ae2301253b9c62ceafa993dc69dad29870155c" +checksum = "7f02542ae3a94b4c4ffa37dc56388c923e286afa3bf65452e3984b50b2a2f316" dependencies = [ "async-trait", "bs58 0.4.0", @@ -7970,7 +7970,7 @@ dependencies = [ "hex-literal", "indexmap 2.2.3", "libc", - "mockall", + "mockall 0.12.1", "multiaddr", "multihash 0.17.0", "network-interface", @@ -8480,11 +8480,26 @@ dependencies = [ "downcast", "fragile", "lazy_static", - "mockall_derive", + "mockall_derive 0.11.4", "predicates 2.1.5", "predicates-tree", ] +[[package]] +name = "mockall" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48" +dependencies = [ + "cfg-if", + "downcast", + "fragile", + "lazy_static", + "mockall_derive 0.12.1", + "predicates 3.0.3", + "predicates-tree", +] + [[package]] name = "mockall_derive" version = "0.11.4" @@ -8498,10 +8513,16 @@ dependencies = [ ] [[package]] -name = "multi-stash" -version = "0.2.0" +name = "mockall_derive" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "685a9ac4b61f4e728e1d2c6a7844609c16527aeb5e6c865915c08e619c16410f" +checksum = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2" +dependencies = [ + "cfg-if", + "proc-macro2 1.0.82", + "quote 1.0.35", + "syn 2.0.61", +] [[package]] name = "multiaddr" @@ -8891,10 +8912,12 @@ dependencies = [ "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-consensus-beefy", "sp-keystore", "sp-runtime", "sp-statement-store", @@ -9057,17 +9080,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "num-derive" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" -dependencies = [ - "proc-macro2 1.0.82", - "quote 1.0.35", - "syn 2.0.61", -] - [[package]] name = "num-format" version = "0.4.4" @@ -9817,6 +9829,7 @@ dependencies = [ "sp-io", "sp-runtime", "sp-std 14.0.0", + "sp-tracing 16.0.0", ] [[package]] @@ -9936,7 +9949,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi 0.32.0", + "wasmi", "wat", ] @@ -12615,6 +12628,7 @@ dependencies = [ "polkadot-primitives-test-helpers", "polkadot-subsystem-bench", "rand 0.8.5", + "rstest", "sc-network", "schnellru", "sp-core", @@ -12631,7 +12645,6 @@ version = "7.0.0" dependencies = [ "assert_matches", "async-trait", - "env_logger 0.11.3", "fatality", "futures", "futures-timer", @@ -12647,11 +12660,13 @@ dependencies = [ "polkadot-primitives-test-helpers", "polkadot-subsystem-bench", "rand 0.8.5", + "rstest", "sc-network", "schnellru", "sp-application-crypto", "sp-core", "sp-keyring", + "sp-tracing 16.0.0", "thiserror", "tokio", "tracing-gum", @@ -12779,6 +12794,7 @@ dependencies = [ "parity-scale-codec", "polkadot-node-primitives", "polkadot-primitives", + "quickcheck", "reed-solomon-novelpoly", "sp-core", "sp-trie", @@ -13425,6 +13441,7 @@ dependencies = [ "async-trait", "bitvec", "derive_more", + "fatality", "futures", "orchestra", "polkadot-node-jaeger", @@ -13467,6 +13484,7 @@ dependencies = [ "parity-scale-codec", "parking_lot 0.12.1", "pin-project", + "polkadot-erasure-coding", "polkadot-node-jaeger", "polkadot-node-metrics", "polkadot-node-network-protocol", @@ -13688,10 +13706,12 @@ dependencies = [ "sc-sync-state-rpc", "sc-transaction-pool-api", "sp-api", + "sp-application-crypto", "sp-block-builder", "sp-blockchain", "sp-consensus", "sp-consensus-babe", + "sp-consensus-beefy", "sp-keystore", "sp-runtime", "substrate-frame-rpc-system", @@ -14464,6 +14484,7 @@ dependencies = [ "polkadot-node-subsystem-util", "polkadot-primitives", "polkadot-primitives-test-helpers", + "polkadot-subsystem-bench", "rand_chacha 0.3.1", "sc-keystore", "sc-network", @@ -14528,6 +14549,7 @@ dependencies = [ "polkadot-overseer", "polkadot-primitives", "polkadot-primitives-test-helpers", + "polkadot-statement-distribution", "prometheus", "pyroscope", "pyroscope_pprofrs", @@ -14552,6 +14574,7 @@ dependencies = [ "sp-keystore", "sp-runtime", "sp-timestamp", + "strum 0.24.1", "substrate-prometheus-endpoint", "tokio", "tracing-gum", @@ -16690,6 +16713,7 @@ dependencies = [ "log", "memmap2 0.9.3", "parity-scale-codec", + "regex", "sc-chain-spec-derive", "sc-client-api", "sc-executor", @@ -16834,7 +16858,7 @@ dependencies = [ "futures", "futures-timer", "log", - "mockall", + "mockall 0.11.4", "parking_lot 0.12.1", "sc-client-api", "sc-network-types", @@ -17016,6 +17040,7 @@ dependencies = [ "sc-rpc", "serde", "serde_json", + "sp-application-crypto", "sp-consensus-beefy", "sp-core", "sp-runtime", @@ -17040,7 +17065,7 @@ dependencies = [ name = "sc-consensus-grandpa" version = "0.19.0" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "array-bytes", "assert_matches", "async-trait", @@ -17359,7 +17384,7 @@ dependencies = [ "linked_hash_set", "litep2p", "log", - "mockall", + "mockall 0.11.4", "multistream-select", "once_cell", "parity-scale-codec", @@ -17425,7 +17450,7 @@ dependencies = [ name = "sc-network-gossip" version = "0.34.0" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "async-trait", "futures", "futures-timer", @@ -17497,7 +17522,7 @@ dependencies = [ "futures-timer", "libp2p", "log", - "mockall", + "mockall 0.11.4", "parity-scale-codec", "prost 0.12.4", "prost-build 0.12.4", @@ -18178,7 +18203,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "cfg-if", "hashbrown 0.13.2", ] @@ -18248,9 +18273,9 @@ dependencies = [ [[package]] name = "sctp-proto" -version = "0.1.7" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f64cef148d3295c730c3cb340b0b252a4d570b1c7d4bf0808f88540b0a888bc" +checksum = "b6220f78bb44c15f326b0596113305f6101097a18755d53727a575c97e09fb24" dependencies = [ "bytes", "crc", @@ -18898,7 +18923,7 @@ dependencies = [ "smallvec", "soketto", "twox-hash", - "wasmi 0.31.2", + "wasmi", "x25519-dalek 2.0.0", "zeroize", ] @@ -20343,7 +20368,7 @@ dependencies = [ name = "sp-trie" version = "29.0.0" dependencies = [ - "ahash 0.8.11", + "ahash 0.8.8", "array-bytes", "criterion", "hash-db", @@ -20510,7 +20535,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "staging-chain-spec-builder" -version = "3.0.0" +version = "1.6.0" dependencies = [ "clap 4.5.3", "log", @@ -20696,17 +20721,17 @@ dependencies = [ [[package]] name = "str0m" -version = "0.4.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3f10d3f68e60168d81110410428a435dbde28cc5525f5f7c6fdec92dbdc2800" +checksum = "6706347e49b13373f7ddfafad47df7583ed52083d6fc8a594eb2c80497ef959d" dependencies = [ "combine", "crc", + "fastrand 2.1.0", "hmac 0.12.1", "once_cell", "openssl", "openssl-sys", - "rand 0.8.5", "sctp-proto", "serde", "sha-1 0.10.1", @@ -20714,17 +20739,6 @@ dependencies = [ "tracing", ] -[[package]] -name = "string-interner" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" -dependencies = [ - "cfg-if", - "hashbrown 0.14.3", - "serde", -] - [[package]] name = "strobe-rs" version = "0.8.1" @@ -21389,7 +21403,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" dependencies = [ "cfg-if", - "fastrand 2.0.0", + "fastrand 2.1.0", "redox_syscall 0.4.1", "rustix 0.38.21", "windows-sys 0.48.0", @@ -21581,9 +21595,9 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.50" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" dependencies = [ "thiserror-impl", ] @@ -21610,9 +21624,9 @@ dependencies = [ [[package]] name = "thiserror-impl" -version = "1.0.50" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2 1.0.82", "quote 1.0.35", @@ -21856,9 +21870,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.8" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "806fe8c2c87eccc8b3267cbae29ed3ab2d0bd37fca70ab622e46aaa9375ddb7d" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ "bytes", "futures-core", @@ -21866,7 +21880,6 @@ dependencies = [ "futures-sink", "pin-project-lite 0.2.12", "tokio", - "tracing", ] [[package]] @@ -22767,24 +22780,7 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_arena", - "wasmi_core 0.13.0", - "wasmparser-nostd", -] - -[[package]] -name = "wasmi" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b999b72f65d17f23f83d2053bcc5e856f8da27217fc0a8cef582aa3046e2476" -dependencies = [ - "arrayvec 0.7.4", - "multi-stash", - "num-derive", - "num-traits", - "smallvec", - "spin 0.9.8", - "wasmi_collections", - "wasmi_core 0.32.0", + "wasmi_core", "wasmparser-nostd", ] @@ -22794,17 +22790,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" -[[package]] -name = "wasmi_collections" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06649ca4a0d3f72248eace0d13bf89c0c728a91930bbcd12703fed93568fcae" -dependencies = [ - "ahash 0.8.11", - "hashbrown 0.14.3", - "string-interner", -] - [[package]] name = "wasmi_core" version = "0.13.0" @@ -22817,18 +22802,6 @@ dependencies = [ "paste", ] -[[package]] -name = "wasmi_core" -version = "0.32.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21cca4ef23937f162309d48bbbe94c8de110edd170dd3b09928587181a24b0a5" -dependencies = [ - "downcast-rs", - "libm", - "num-traits", - "paste", -] - [[package]] name = "wasmparser" version = "0.102.0" @@ -22841,9 +22814,9 @@ dependencies = [ [[package]] name = "wasmparser-nostd" -version = "0.100.2" +version = "0.100.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5a015fe95f3504a94bb1462c717aae75253e39b9dd6c3fb1062c934535c64aa" +checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" dependencies = [ "indexmap-nostd", ] From 6eae263494d33593e83cfc582f8d7d4a51a561b9 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 30 May 2024 15:12:39 +0200 Subject: [PATCH 68/75] fix lock --- Cargo.lock | 98 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 83 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 781dba880cbe..335daf28cab9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -90,9 +90,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.8" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" dependencies = [ "cfg-if", "getrandom 0.2.10", @@ -6474,7 +6474,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", ] [[package]] @@ -6483,7 +6483,7 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "allocator-api2", "serde", ] @@ -7391,9 +7391,9 @@ dependencies = [ [[package]] name = "libm" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" [[package]] name = "libnghttp2-sys" @@ -8524,6 +8524,12 @@ dependencies = [ "syn 2.0.61", ] +[[package]] +name = "multi-stash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "685a9ac4b61f4e728e1d2c6a7844609c16527aeb5e6c865915c08e619c16410f" + [[package]] name = "multiaddr" version = "0.17.1" @@ -9080,6 +9086,17 @@ dependencies = [ "num-traits", ] +[[package]] +name = "num-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" +dependencies = [ + "proc-macro2 1.0.82", + "quote 1.0.35", + "syn 2.0.61", +] + [[package]] name = "num-format" version = "0.4.4" @@ -9949,7 +9966,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi", + "wasmi 0.32.0", "wat", ] @@ -17065,7 +17082,7 @@ dependencies = [ name = "sc-consensus-grandpa" version = "0.19.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "array-bytes", "assert_matches", "async-trait", @@ -17450,7 +17467,7 @@ dependencies = [ name = "sc-network-gossip" version = "0.34.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "async-trait", "futures", "futures-timer", @@ -18203,7 +18220,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "cfg-if", "hashbrown 0.13.2", ] @@ -18923,7 +18940,7 @@ dependencies = [ "smallvec", "soketto", "twox-hash", - "wasmi", + "wasmi 0.31.2", "x25519-dalek 2.0.0", "zeroize", ] @@ -20368,7 +20385,7 @@ dependencies = [ name = "sp-trie" version = "29.0.0" dependencies = [ - "ahash 0.8.8", + "ahash 0.8.11", "array-bytes", "criterion", "hash-db", @@ -20739,6 +20756,17 @@ dependencies = [ "tracing", ] +[[package]] +name = "string-interner" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c6a0d765f5807e98a091107bae0a56ea3799f66a5de47b2c84c94a39c09974e" +dependencies = [ + "cfg-if", + "hashbrown 0.14.3", + "serde", +] + [[package]] name = "strobe-rs" version = "0.8.1" @@ -22780,7 +22808,24 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_arena", - "wasmi_core", + "wasmi_core 0.13.0", + "wasmparser-nostd", +] + +[[package]] +name = "wasmi" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b999b72f65d17f23f83d2053bcc5e856f8da27217fc0a8cef582aa3046e2476" +dependencies = [ + "arrayvec 0.7.4", + "multi-stash", + "num-derive", + "num-traits", + "smallvec", + "spin 0.9.8", + "wasmi_collections", + "wasmi_core 0.32.0", "wasmparser-nostd", ] @@ -22790,6 +22835,17 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" +[[package]] +name = "wasmi_collections" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a06649ca4a0d3f72248eace0d13bf89c0c728a91930bbcd12703fed93568fcae" +dependencies = [ + "ahash 0.8.11", + "hashbrown 0.14.3", + "string-interner", +] + [[package]] name = "wasmi_core" version = "0.13.0" @@ -22802,6 +22858,18 @@ dependencies = [ "paste", ] +[[package]] +name = "wasmi_core" +version = "0.32.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21cca4ef23937f162309d48bbbe94c8de110edd170dd3b09928587181a24b0a5" +dependencies = [ + "downcast-rs", + "libm", + "num-traits", + "paste", +] + [[package]] name = "wasmparser" version = "0.102.0" @@ -22814,9 +22882,9 @@ dependencies = [ [[package]] name = "wasmparser-nostd" -version = "0.100.1" +version = "0.100.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9157cab83003221bfd385833ab587a039f5d6fa7304854042ba358a3b09e0724" +checksum = "d5a015fe95f3504a94bb1462c717aae75253e39b9dd6c3fb1062c934535c64aa" dependencies = [ "indexmap-nostd", ] From cf02fd7e96a7e778d140d7673753eec186352a41 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Thu, 30 May 2024 15:36:01 +0200 Subject: [PATCH 69/75] roll back 0.32 --- substrate/frame/contracts/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index 4b9373326513..fe386cc97cb5 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32.0-beta.17", default-features = false } +wasmi = { version = "0.32", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From acd6dfb73787229daa5e3fe0d2c29a303265c47b Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 30 May 2024 14:06:43 +0000 Subject: [PATCH 70/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 758 +++++++++++------------ 1 file changed, 379 insertions(+), 379 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 2c4ab1a50a31..a81ed21724df 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-27, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-vicqj8em-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 1_960_000 picoseconds. - Weight::from_parts(2_044_000, 1627) + // Minimum execution time: 1_857_000 picoseconds. + Weight::from_parts(1_930_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 11_057_000 picoseconds. - Weight::from_parts(11_289_000, 442) - // Standard Error: 1_275 - .saturating_add(Weight::from_parts(1_105_473, 0).saturating_mul(k.into())) + // Minimum execution time: 10_877_000 picoseconds. + Weight::from_parts(11_142_000, 442) + // Standard Error: 1_104 + .saturating_add(Weight::from_parts(1_089_581, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 7_708_000 picoseconds. - Weight::from_parts(5_291_348, 6149) + // Minimum execution time: 7_488_000 picoseconds. + Weight::from_parts(4_664_046, 6149) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_617, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_681, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_399_000 picoseconds. - Weight::from_parts(16_884_000, 6450) + // Minimum execution time: 16_032_000 picoseconds. + Weight::from_parts(16_470_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_112_000 picoseconds. - Weight::from_parts(3_203_000, 3635) - // Standard Error: 610 - .saturating_add(Weight::from_parts(1_073_552, 0).saturating_mul(k.into())) + // Minimum execution time: 3_131_000 picoseconds. + Weight::from_parts(3_176_000, 3635) + // Standard Error: 473 + .saturating_add(Weight::from_parts(1_067_010, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 15_264_000 picoseconds. - Weight::from_parts(15_800_354, 6263) + // Minimum execution time: 14_774_000 picoseconds. + Weight::from_parts(15_577_586, 6263) // Standard Error: 1 - .saturating_add(Weight::from_parts(435, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(498, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_427_000 picoseconds. - Weight::from_parts(12_756_000, 6380) + // Minimum execution time: 11_952_000 picoseconds. + Weight::from_parts(12_266_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_470_000 picoseconds. - Weight::from_parts(49_059_000, 6292) + // Minimum execution time: 47_720_000 picoseconds. + Weight::from_parts(49_334_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 52_770_000 picoseconds. - Weight::from_parts(54_797_000, 6534) + // Minimum execution time: 52_714_000 picoseconds. + Weight::from_parts(54_152_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_744_000 picoseconds. - Weight::from_parts(12_236_000, 6349) + // Minimum execution time: 11_170_000 picoseconds. + Weight::from_parts(11_688_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_189_000 picoseconds. - Weight::from_parts(2_272_000, 1627) + // Minimum execution time: 2_079_000 picoseconds. + Weight::from_parts(2_170_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(11_465_000, 3631) + // Minimum execution time: 10_955_000 picoseconds. + Weight::from_parts(11_377_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_391_000 picoseconds. - Weight::from_parts(4_625_000, 3607) + // Minimum execution time: 4_357_000 picoseconds. + Weight::from_parts(4_613_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_558_000 picoseconds. - Weight::from_parts(5_783_000, 3632) + // Minimum execution time: 5_441_000 picoseconds. + Weight::from_parts(5_748_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 5_468_000 picoseconds. - Weight::from_parts(5_739_000, 3607) + // Minimum execution time: 5_247_000 picoseconds. + Weight::from_parts(5_602_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 243_435_000 picoseconds. - Weight::from_parts(264_909_176, 4264) + // Minimum execution time: 318_327_000 picoseconds. + Weight::from_parts(326_061_037, 4264) // Standard Error: 4 - .saturating_add(Weight::from_parts(707, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(789, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_409_715_000 picoseconds. - Weight::from_parts(242_505_995, 6262) - // Standard Error: 136 - .saturating_add(Weight::from_parts(52_969, 0).saturating_mul(c.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(2_118, 0).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(2_175, 0).saturating_mul(s.into())) + // Minimum execution time: 4_832_699_000 picoseconds. + Weight::from_parts(298_309_201, 6262) + // Standard Error: 124 + .saturating_add(Weight::from_parts(52_239, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(2_318, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(2_325, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_227_895_000 picoseconds. - Weight::from_parts(2_262_460_000, 4029) - // Standard Error: 32 - .saturating_add(Weight::from_parts(934, 0).saturating_mul(i.into())) - // Standard Error: 32 - .saturating_add(Weight::from_parts(903, 0).saturating_mul(s.into())) + // Minimum execution time: 2_346_809_000 picoseconds. + Weight::from_parts(2_355_357_000, 4029) + // Standard Error: 33 + .saturating_add(Weight::from_parts(1_030, 0).saturating_mul(i.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(953, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 162_158_000 picoseconds. - Weight::from_parts(166_981_000, 4291) + // Minimum execution time: 167_136_000 picoseconds. + Weight::from_parts(170_159_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 224_105_000 picoseconds. - Weight::from_parts(257_018_479, 3607) - // Standard Error: 53 - .saturating_add(Weight::from_parts(51_358, 0).saturating_mul(c.into())) + // Minimum execution time: 298_371_000 picoseconds. + Weight::from_parts(295_988_059, 3607) + // Standard Error: 78 + .saturating_add(Weight::from_parts(51_883, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 234_369_000 picoseconds. - Weight::from_parts(268_659_160, 3607) - // Standard Error: 45 - .saturating_add(Weight::from_parts(51_267, 0).saturating_mul(c.into())) + // Minimum execution time: 309_773_000 picoseconds. + Weight::from_parts(317_390_388, 3607) + // Standard Error: 77 + .saturating_add(Weight::from_parts(51_725, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 39_445_000 picoseconds. - Weight::from_parts(40_025_000, 3780) + // Minimum execution time: 39_742_000 picoseconds. + Weight::from_parts(40_752_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 25_062_000 picoseconds. - Weight::from_parts(26_030_000, 6492) + // Minimum execution time: 24_946_000 picoseconds. + Weight::from_parts(25_723_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_356_000 picoseconds. - Weight::from_parts(8_679_898, 0) - // Standard Error: 126 - .saturating_add(Weight::from_parts(52_861, 0).saturating_mul(r.into())) + // Minimum execution time: 8_057_000 picoseconds. + Weight::from_parts(9_194_402, 0) + // Standard Error: 120 + .saturating_add(Weight::from_parts(52_929, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 605_000 picoseconds. - Weight::from_parts(638_000, 0) + // Minimum execution time: 606_000 picoseconds. + Weight::from_parts(644_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_122_000 picoseconds. - Weight::from_parts(6_485_000, 3819) + // Minimum execution time: 5_827_000 picoseconds. + Weight::from_parts(6_118_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,78 +540,78 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_334_000 picoseconds. - Weight::from_parts(7_691_000, 3912) + // Minimum execution time: 7_251_000 picoseconds. + Weight::from_parts(7_441_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 767_000 picoseconds. - Weight::from_parts(833_000, 0) + // Minimum execution time: 766_000 picoseconds. + Weight::from_parts(806_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 397_000 picoseconds. - Weight::from_parts(414_000, 0) + // Minimum execution time: 398_000 picoseconds. + Weight::from_parts(423_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 346_000 picoseconds. - Weight::from_parts(371_000, 0) + // Minimum execution time: 306_000 picoseconds. + Weight::from_parts(351_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 568_000 picoseconds. - Weight::from_parts(600_000, 0) + // Minimum execution time: 559_000 picoseconds. + Weight::from_parts(597_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 669_000 picoseconds. - Weight::from_parts(719_000, 0) + // Minimum execution time: 660_000 picoseconds. + Weight::from_parts(710_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_438_000 picoseconds. - Weight::from_parts(4_659_000, 0) + // Minimum execution time: 4_235_000 picoseconds. + Weight::from_parts(4_445_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 516_000 picoseconds. - Weight::from_parts(538_000, 0) + // Minimum execution time: 560_000 picoseconds. + Weight::from_parts(590_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 522_000 picoseconds. - Weight::from_parts(564_000, 0) + // Minimum execution time: 542_000 picoseconds. + Weight::from_parts(581_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 542_000 picoseconds. - Weight::from_parts(581_000, 0) + // Minimum execution time: 530_000 picoseconds. + Weight::from_parts(573_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 516_000 picoseconds. + // Minimum execution time: 506_000 picoseconds. Weight::from_parts(577_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_038_000 picoseconds. - Weight::from_parts(4_308_000, 1552) + // Minimum execution time: 4_065_000 picoseconds. + Weight::from_parts(4_185_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,20 +629,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 527_000 picoseconds. - Weight::from_parts(530_000, 0) + // Minimum execution time: 493_000 picoseconds. + Weight::from_parts(546_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(298, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(308, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 342_000 picoseconds. - Weight::from_parts(356_000, 0) + // Minimum execution time: 310_000 picoseconds. + Weight::from_parts(352_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(411, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(486, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 12_843_000 picoseconds. - Weight::from_parts(15_253_462, 3784) - // Standard Error: 7_714 - .saturating_add(Weight::from_parts(3_479_124, 0).saturating_mul(n.into())) + // Minimum execution time: 12_801_000 picoseconds. + Weight::from_parts(15_046_179, 3784) + // Standard Error: 6_787 + .saturating_add(Weight::from_parts(3_499_439, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_365_000 picoseconds. - Weight::from_parts(3_527_000, 1561) + // Minimum execution time: 3_359_000 picoseconds. + Weight::from_parts(3_489_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 3_722_000 picoseconds. - Weight::from_parts(4_001_539, 990) - // Standard Error: 6_259 - .saturating_add(Weight::from_parts(2_190_394, 0).saturating_mul(t.into())) + // Minimum execution time: 3_688_000 picoseconds. + Weight::from_parts(3_929_816, 990) + // Standard Error: 5_747 + .saturating_add(Weight::from_parts(2_165_797, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(15, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 396_000 picoseconds. - Weight::from_parts(436_000, 0) + // Minimum execution time: 415_000 picoseconds. + Weight::from_parts(456_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_274, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 8_642_000 picoseconds. - Weight::from_parts(8_589_669, 249) + // Minimum execution time: 8_804_000 picoseconds. + Weight::from_parts(8_720_691, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(271, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(350, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(41, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(39, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_132_000 picoseconds. - Weight::from_parts(7_787_301, 248) + // Minimum execution time: 7_037_000 picoseconds. + Weight::from_parts(7_805_498, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_810_000 picoseconds. - Weight::from_parts(7_701_540, 248) - // Standard Error: 1 - .saturating_add(Weight::from_parts(618, 0).saturating_mul(n.into())) + // Minimum execution time: 6_562_000 picoseconds. + Weight::from_parts(7_560_556, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(705, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,8 +757,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_109_000 picoseconds. - Weight::from_parts(6_907_161, 248) + // Minimum execution time: 5_972_000 picoseconds. + Weight::from_parts(6_871_870, 248) // Standard Error: 1 .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_481_000 picoseconds. - Weight::from_parts(8_493_272, 248) - // Standard Error: 1 - .saturating_add(Weight::from_parts(611, 0).saturating_mul(n.into())) + // Minimum execution time: 7_494_000 picoseconds. + Weight::from_parts(8_292_445, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_574_000 picoseconds. - Weight::from_parts(8_891_000, 0) + // Minimum execution time: 8_382_000 picoseconds. + Weight::from_parts(8_846_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -800,12 +800,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 120_492_000 picoseconds. - Weight::from_parts(115_975_161, 4085) - // Standard Error: 223_149 - .saturating_add(Weight::from_parts(45_218_950, 0).saturating_mul(t.into())) + // Minimum execution time: 125_636_000 picoseconds. + Weight::from_parts(122_328_022, 4085) + // Standard Error: 169_081 + .saturating_add(Weight::from_parts(44_116_928, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -820,8 +820,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 108_462_000 picoseconds. - Weight::from_parts(111_261_000, 3895) + // Minimum execution time: 114_051_000 picoseconds. + Weight::from_parts(117_066_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -841,12 +841,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_855_712_000 picoseconds. - Weight::from_parts(1_894_172_000, 4138) - // Standard Error: 15 - .saturating_add(Weight::from_parts(834, 0).saturating_mul(i.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_174, 0).saturating_mul(s.into())) + // Minimum execution time: 2_029_737_000 picoseconds. + Weight::from_parts(2_048_468_000, 4138) + // Standard Error: 16 + .saturating_add(Weight::from_parts(959, 0).saturating_mul(i.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -855,64 +855,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 905_000 picoseconds. - Weight::from_parts(10_609_408, 0) + // Minimum execution time: 867_000 picoseconds. + Weight::from_parts(9_683_105, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_327, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_422, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_344_000 picoseconds. - Weight::from_parts(12_630_829, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(3_604, 0).saturating_mul(n.into())) + // Minimum execution time: 1_260_000 picoseconds. + Weight::from_parts(10_368_257, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_682, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 785_000 picoseconds. - Weight::from_parts(10_224_661, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_470, 0).saturating_mul(n.into())) + // Minimum execution time: 735_000 picoseconds. + Weight::from_parts(9_100_496, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_553, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 714_000 picoseconds. - Weight::from_parts(8_309_528, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_482, 0).saturating_mul(n.into())) + // Minimum execution time: 727_000 picoseconds. + Weight::from_parts(11_421_538, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_552, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_132_000 picoseconds. - Weight::from_parts(41_782_295, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(5_310, 0).saturating_mul(n.into())) + // Minimum execution time: 46_492_000 picoseconds. + Weight::from_parts(44_671_846, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(5_122, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_327_000 picoseconds. - Weight::from_parts(48_817_000, 0) + // Minimum execution time: 47_260_000 picoseconds. + Weight::from_parts(48_382_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_175_000 picoseconds. - Weight::from_parts(13_300_000, 0) + // Minimum execution time: 13_096_000 picoseconds. + Weight::from_parts(13_277_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -922,8 +922,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 17_663_000 picoseconds. - Weight::from_parts(18_081_000, 3895) + // Minimum execution time: 17_542_000 picoseconds. + Weight::from_parts(18_296_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -933,8 +933,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 8_219_000 picoseconds. - Weight::from_parts(8_420_000, 3820) + // Minimum execution time: 8_318_000 picoseconds. + Weight::from_parts(8_625_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -944,8 +944,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 7_207_000 picoseconds. - Weight::from_parts(7_579_000, 3558) + // Minimum execution time: 7_241_000 picoseconds. + Weight::from_parts(7_529_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -953,15 +953,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 326_000 picoseconds. - Weight::from_parts(361_000, 0) + // Minimum execution time: 323_000 picoseconds. + Weight::from_parts(341_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 358_000 picoseconds. - Weight::from_parts(377_000, 0) + // Minimum execution time: 316_000 picoseconds. + Weight::from_parts(373_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -969,8 +969,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_737_000 picoseconds. - Weight::from_parts(2_928_000, 1704) + // Minimum execution time: 2_757_000 picoseconds. + Weight::from_parts(2_865_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -978,10 +978,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 679_000 picoseconds. - Weight::from_parts(674_833, 0) - // Standard Error: 7 - .saturating_add(Weight::from_parts(7_346, 0).saturating_mul(r.into())) + // Minimum execution time: 648_000 picoseconds. + Weight::from_parts(970_565, 0) + // Standard Error: 16 + .saturating_add(Weight::from_parts(6_955, 0).saturating_mul(r.into())) } } @@ -993,8 +993,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 1_960_000 picoseconds. - Weight::from_parts(2_044_000, 1627) + // Minimum execution time: 1_857_000 picoseconds. + Weight::from_parts(1_930_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1004,10 +1004,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 11_057_000 picoseconds. - Weight::from_parts(11_289_000, 442) - // Standard Error: 1_275 - .saturating_add(Weight::from_parts(1_105_473, 0).saturating_mul(k.into())) + // Minimum execution time: 10_877_000 picoseconds. + Weight::from_parts(11_142_000, 442) + // Standard Error: 1_104 + .saturating_add(Weight::from_parts(1_089_581, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1021,10 +1021,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 7_708_000 picoseconds. - Weight::from_parts(5_291_348, 6149) + // Minimum execution time: 7_488_000 picoseconds. + Weight::from_parts(4_664_046, 6149) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_617, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_681, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1037,8 +1037,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_399_000 picoseconds. - Weight::from_parts(16_884_000, 6450) + // Minimum execution time: 16_032_000 picoseconds. + Weight::from_parts(16_470_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1051,10 +1051,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_112_000 picoseconds. - Weight::from_parts(3_203_000, 3635) - // Standard Error: 610 - .saturating_add(Weight::from_parts(1_073_552, 0).saturating_mul(k.into())) + // Minimum execution time: 3_131_000 picoseconds. + Weight::from_parts(3_176_000, 3635) + // Standard Error: 473 + .saturating_add(Weight::from_parts(1_067_010, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1073,10 +1073,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 15_264_000 picoseconds. - Weight::from_parts(15_800_354, 6263) + // Minimum execution time: 14_774_000 picoseconds. + Weight::from_parts(15_577_586, 6263) // Standard Error: 1 - .saturating_add(Weight::from_parts(435, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(498, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1087,8 +1087,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_427_000 picoseconds. - Weight::from_parts(12_756_000, 6380) + // Minimum execution time: 11_952_000 picoseconds. + Weight::from_parts(12_266_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1102,8 +1102,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_470_000 picoseconds. - Weight::from_parts(49_059_000, 6292) + // Minimum execution time: 47_720_000 picoseconds. + Weight::from_parts(49_334_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1115,8 +1115,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 52_770_000 picoseconds. - Weight::from_parts(54_797_000, 6534) + // Minimum execution time: 52_714_000 picoseconds. + Weight::from_parts(54_152_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1126,8 +1126,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_744_000 picoseconds. - Weight::from_parts(12_236_000, 6349) + // Minimum execution time: 11_170_000 picoseconds. + Weight::from_parts(11_688_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1137,8 +1137,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_189_000 picoseconds. - Weight::from_parts(2_272_000, 1627) + // Minimum execution time: 2_079_000 picoseconds. + Weight::from_parts(2_170_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1150,8 +1150,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_000_000 picoseconds. - Weight::from_parts(11_465_000, 3631) + // Minimum execution time: 10_955_000 picoseconds. + Weight::from_parts(11_377_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1161,8 +1161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_391_000 picoseconds. - Weight::from_parts(4_625_000, 3607) + // Minimum execution time: 4_357_000 picoseconds. + Weight::from_parts(4_613_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1173,8 +1173,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_558_000 picoseconds. - Weight::from_parts(5_783_000, 3632) + // Minimum execution time: 5_441_000 picoseconds. + Weight::from_parts(5_748_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1185,8 +1185,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 5_468_000 picoseconds. - Weight::from_parts(5_739_000, 3607) + // Minimum execution time: 5_247_000 picoseconds. + Weight::from_parts(5_602_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1207,10 +1207,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 243_435_000 picoseconds. - Weight::from_parts(264_909_176, 4264) + // Minimum execution time: 318_327_000 picoseconds. + Weight::from_parts(326_061_037, 4264) // Standard Error: 4 - .saturating_add(Weight::from_parts(707, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(789, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1238,14 +1238,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_409_715_000 picoseconds. - Weight::from_parts(242_505_995, 6262) - // Standard Error: 136 - .saturating_add(Weight::from_parts(52_969, 0).saturating_mul(c.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(2_118, 0).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(2_175, 0).saturating_mul(s.into())) + // Minimum execution time: 4_832_699_000 picoseconds. + Weight::from_parts(298_309_201, 6262) + // Standard Error: 124 + .saturating_add(Weight::from_parts(52_239, 0).saturating_mul(c.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(2_318, 0).saturating_mul(i.into())) + // Standard Error: 14 + .saturating_add(Weight::from_parts(2_325, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1271,12 +1271,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_227_895_000 picoseconds. - Weight::from_parts(2_262_460_000, 4029) - // Standard Error: 32 - .saturating_add(Weight::from_parts(934, 0).saturating_mul(i.into())) - // Standard Error: 32 - .saturating_add(Weight::from_parts(903, 0).saturating_mul(s.into())) + // Minimum execution time: 2_346_809_000 picoseconds. + Weight::from_parts(2_355_357_000, 4029) + // Standard Error: 33 + .saturating_add(Weight::from_parts(1_030, 0).saturating_mul(i.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(953, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1296,8 +1296,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 162_158_000 picoseconds. - Weight::from_parts(166_981_000, 4291) + // Minimum execution time: 167_136_000 picoseconds. + Weight::from_parts(170_159_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1314,10 +1314,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 224_105_000 picoseconds. - Weight::from_parts(257_018_479, 3607) - // Standard Error: 53 - .saturating_add(Weight::from_parts(51_358, 0).saturating_mul(c.into())) + // Minimum execution time: 298_371_000 picoseconds. + Weight::from_parts(295_988_059, 3607) + // Standard Error: 78 + .saturating_add(Weight::from_parts(51_883, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1334,10 +1334,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 234_369_000 picoseconds. - Weight::from_parts(268_659_160, 3607) - // Standard Error: 45 - .saturating_add(Weight::from_parts(51_267, 0).saturating_mul(c.into())) + // Minimum execution time: 309_773_000 picoseconds. + Weight::from_parts(317_390_388, 3607) + // Standard Error: 77 + .saturating_add(Weight::from_parts(51_725, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1353,8 +1353,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 39_445_000 picoseconds. - Weight::from_parts(40_025_000, 3780) + // Minimum execution time: 39_742_000 picoseconds. + Weight::from_parts(40_752_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1368,8 +1368,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 25_062_000 picoseconds. - Weight::from_parts(26_030_000, 6492) + // Minimum execution time: 24_946_000 picoseconds. + Weight::from_parts(25_723_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1378,17 +1378,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_356_000 picoseconds. - Weight::from_parts(8_679_898, 0) - // Standard Error: 126 - .saturating_add(Weight::from_parts(52_861, 0).saturating_mul(r.into())) + // Minimum execution time: 8_057_000 picoseconds. + Weight::from_parts(9_194_402, 0) + // Standard Error: 120 + .saturating_add(Weight::from_parts(52_929, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 605_000 picoseconds. - Weight::from_parts(638_000, 0) + // Minimum execution time: 606_000 picoseconds. + Weight::from_parts(644_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1396,8 +1396,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_122_000 picoseconds. - Weight::from_parts(6_485_000, 3819) + // Minimum execution time: 5_827_000 picoseconds. + Weight::from_parts(6_118_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1406,78 +1406,78 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_334_000 picoseconds. - Weight::from_parts(7_691_000, 3912) + // Minimum execution time: 7_251_000 picoseconds. + Weight::from_parts(7_441_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 767_000 picoseconds. - Weight::from_parts(833_000, 0) + // Minimum execution time: 766_000 picoseconds. + Weight::from_parts(806_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 397_000 picoseconds. - Weight::from_parts(414_000, 0) + // Minimum execution time: 398_000 picoseconds. + Weight::from_parts(423_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 346_000 picoseconds. - Weight::from_parts(371_000, 0) + // Minimum execution time: 306_000 picoseconds. + Weight::from_parts(351_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 568_000 picoseconds. - Weight::from_parts(600_000, 0) + // Minimum execution time: 559_000 picoseconds. + Weight::from_parts(597_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 669_000 picoseconds. - Weight::from_parts(719_000, 0) + // Minimum execution time: 660_000 picoseconds. + Weight::from_parts(710_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_438_000 picoseconds. - Weight::from_parts(4_659_000, 0) + // Minimum execution time: 4_235_000 picoseconds. + Weight::from_parts(4_445_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 516_000 picoseconds. - Weight::from_parts(538_000, 0) + // Minimum execution time: 560_000 picoseconds. + Weight::from_parts(590_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 522_000 picoseconds. - Weight::from_parts(564_000, 0) + // Minimum execution time: 542_000 picoseconds. + Weight::from_parts(581_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 542_000 picoseconds. - Weight::from_parts(581_000, 0) + // Minimum execution time: 530_000 picoseconds. + Weight::from_parts(573_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 516_000 picoseconds. + // Minimum execution time: 506_000 picoseconds. Weight::from_parts(577_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) @@ -1486,8 +1486,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_038_000 picoseconds. - Weight::from_parts(4_308_000, 1552) + // Minimum execution time: 4_065_000 picoseconds. + Weight::from_parts(4_185_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1495,20 +1495,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 527_000 picoseconds. - Weight::from_parts(530_000, 0) + // Minimum execution time: 493_000 picoseconds. + Weight::from_parts(546_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(298, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(308, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 342_000 picoseconds. - Weight::from_parts(356_000, 0) + // Minimum execution time: 310_000 picoseconds. + Weight::from_parts(352_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(411, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(486, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1521,10 +1521,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 12_843_000 picoseconds. - Weight::from_parts(15_253_462, 3784) - // Standard Error: 7_714 - .saturating_add(Weight::from_parts(3_479_124, 0).saturating_mul(n.into())) + // Minimum execution time: 12_801_000 picoseconds. + Weight::from_parts(15_046_179, 3784) + // Standard Error: 6_787 + .saturating_add(Weight::from_parts(3_499_439, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1537,8 +1537,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_365_000 picoseconds. - Weight::from_parts(3_527_000, 1561) + // Minimum execution time: 3_359_000 picoseconds. + Weight::from_parts(3_489_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1549,12 +1549,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 3_722_000 picoseconds. - Weight::from_parts(4_001_539, 990) - // Standard Error: 6_259 - .saturating_add(Weight::from_parts(2_190_394, 0).saturating_mul(t.into())) + // Minimum execution time: 3_688_000 picoseconds. + Weight::from_parts(3_929_816, 990) + // Standard Error: 5_747 + .saturating_add(Weight::from_parts(2_165_797, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(15, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1564,10 +1564,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 396_000 picoseconds. - Weight::from_parts(436_000, 0) + // Minimum execution time: 415_000 picoseconds. + Weight::from_parts(456_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_218, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_274, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1577,12 +1577,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 8_642_000 picoseconds. - Weight::from_parts(8_589_669, 249) + // Minimum execution time: 8_804_000 picoseconds. + Weight::from_parts(8_720_691, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(271, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(350, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(41, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(39, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1594,10 +1594,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_132_000 picoseconds. - Weight::from_parts(7_787_301, 248) + // Minimum execution time: 7_037_000 picoseconds. + Weight::from_parts(7_805_498, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(83, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1609,10 +1609,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_810_000 picoseconds. - Weight::from_parts(7_701_540, 248) - // Standard Error: 1 - .saturating_add(Weight::from_parts(618, 0).saturating_mul(n.into())) + // Minimum execution time: 6_562_000 picoseconds. + Weight::from_parts(7_560_556, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(705, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1623,8 +1623,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_109_000 picoseconds. - Weight::from_parts(6_907_161, 248) + // Minimum execution time: 5_972_000 picoseconds. + Weight::from_parts(6_871_870, 248) // Standard Error: 1 .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) @@ -1637,10 +1637,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_481_000 picoseconds. - Weight::from_parts(8_493_272, 248) - // Standard Error: 1 - .saturating_add(Weight::from_parts(611, 0).saturating_mul(n.into())) + // Minimum execution time: 7_494_000 picoseconds. + Weight::from_parts(8_292_445, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1649,8 +1649,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_574_000 picoseconds. - Weight::from_parts(8_891_000, 0) + // Minimum execution time: 8_382_000 picoseconds. + Weight::from_parts(8_846_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1666,12 +1666,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 120_492_000 picoseconds. - Weight::from_parts(115_975_161, 4085) - // Standard Error: 223_149 - .saturating_add(Weight::from_parts(45_218_950, 0).saturating_mul(t.into())) + // Minimum execution time: 125_636_000 picoseconds. + Weight::from_parts(122_328_022, 4085) + // Standard Error: 169_081 + .saturating_add(Weight::from_parts(44_116_928, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(9, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1686,8 +1686,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 108_462_000 picoseconds. - Weight::from_parts(111_261_000, 3895) + // Minimum execution time: 114_051_000 picoseconds. + Weight::from_parts(117_066_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1707,12 +1707,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` - // Minimum execution time: 1_855_712_000 picoseconds. - Weight::from_parts(1_894_172_000, 4138) - // Standard Error: 15 - .saturating_add(Weight::from_parts(834, 0).saturating_mul(i.into())) - // Standard Error: 15 - .saturating_add(Weight::from_parts(1_174, 0).saturating_mul(s.into())) + // Minimum execution time: 2_029_737_000 picoseconds. + Weight::from_parts(2_048_468_000, 4138) + // Standard Error: 16 + .saturating_add(Weight::from_parts(959, 0).saturating_mul(i.into())) + // Standard Error: 16 + .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1721,64 +1721,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 905_000 picoseconds. - Weight::from_parts(10_609_408, 0) + // Minimum execution time: 867_000 picoseconds. + Weight::from_parts(9_683_105, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_327, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_422, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_344_000 picoseconds. - Weight::from_parts(12_630_829, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(3_604, 0).saturating_mul(n.into())) + // Minimum execution time: 1_260_000 picoseconds. + Weight::from_parts(10_368_257, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_682, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 785_000 picoseconds. - Weight::from_parts(10_224_661, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_470, 0).saturating_mul(n.into())) + // Minimum execution time: 735_000 picoseconds. + Weight::from_parts(9_100_496, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_553, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 714_000 picoseconds. - Weight::from_parts(8_309_528, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(1_482, 0).saturating_mul(n.into())) + // Minimum execution time: 727_000 picoseconds. + Weight::from_parts(11_421_538, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(1_552, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_132_000 picoseconds. - Weight::from_parts(41_782_295, 0) - // Standard Error: 8 - .saturating_add(Weight::from_parts(5_310, 0).saturating_mul(n.into())) + // Minimum execution time: 46_492_000 picoseconds. + Weight::from_parts(44_671_846, 0) + // Standard Error: 9 + .saturating_add(Weight::from_parts(5_122, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_327_000 picoseconds. - Weight::from_parts(48_817_000, 0) + // Minimum execution time: 47_260_000 picoseconds. + Weight::from_parts(48_382_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_175_000 picoseconds. - Weight::from_parts(13_300_000, 0) + // Minimum execution time: 13_096_000 picoseconds. + Weight::from_parts(13_277_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1788,8 +1788,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 17_663_000 picoseconds. - Weight::from_parts(18_081_000, 3895) + // Minimum execution time: 17_542_000 picoseconds. + Weight::from_parts(18_296_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1799,8 +1799,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 8_219_000 picoseconds. - Weight::from_parts(8_420_000, 3820) + // Minimum execution time: 8_318_000 picoseconds. + Weight::from_parts(8_625_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1810,8 +1810,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 7_207_000 picoseconds. - Weight::from_parts(7_579_000, 3558) + // Minimum execution time: 7_241_000 picoseconds. + Weight::from_parts(7_529_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1819,15 +1819,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 326_000 picoseconds. - Weight::from_parts(361_000, 0) + // Minimum execution time: 323_000 picoseconds. + Weight::from_parts(341_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 358_000 picoseconds. - Weight::from_parts(377_000, 0) + // Minimum execution time: 316_000 picoseconds. + Weight::from_parts(373_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1835,8 +1835,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_737_000 picoseconds. - Weight::from_parts(2_928_000, 1704) + // Minimum execution time: 2_757_000 picoseconds. + Weight::from_parts(2_865_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1844,9 +1844,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 679_000 picoseconds. - Weight::from_parts(674_833, 0) - // Standard Error: 7 - .saturating_add(Weight::from_parts(7_346, 0).saturating_mul(r.into())) + // Minimum execution time: 648_000 picoseconds. + Weight::from_parts(970_565, 0) + // Standard Error: 16 + .saturating_add(Weight::from_parts(6_955, 0).saturating_mul(r.into())) } } From 08ea90bca5393b1170c8ddd70a3ddda9d73dcc0b Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 3 Jun 2024 13:02:10 +0200 Subject: [PATCH 71/75] Bump wasmi --- Cargo.lock | 16 ++++++++-------- substrate/frame/contracts/Cargo.toml | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 335daf28cab9..9337656a3a8f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9966,7 +9966,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi 0.32.0", + "wasmi 0.32.1", "wat", ] @@ -22814,9 +22814,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.32.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b999b72f65d17f23f83d2053bcc5e856f8da27217fc0a8cef582aa3046e2476" +checksum = "783f7c86b5a65d9cf77219b3a5d21362f407b32185ef003d1ece81a705955e7a" dependencies = [ "arrayvec 0.7.4", "multi-stash", @@ -22825,7 +22825,7 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_collections", - "wasmi_core 0.32.0", + "wasmi_core 0.32.1", "wasmparser-nostd", ] @@ -22837,9 +22837,9 @@ checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_collections" -version = "0.32.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a06649ca4a0d3f72248eace0d13bf89c0c728a91930bbcd12703fed93568fcae" +checksum = "6611b7c98190ed1f221497695062e92ca9a139f603bd4bff012b8d99c6eff8a5" dependencies = [ "ahash 0.8.11", "hashbrown 0.14.3", @@ -22860,9 +22860,9 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.32.0" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21cca4ef23937f162309d48bbbe94c8de110edd170dd3b09928587181a24b0a5" +checksum = "d55b2061ab1d9928a93da896ce501074056685fad7b0030c96ff8adafc85d7bb" dependencies = [ "downcast-rs", "libm", diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index fe386cc97cb5..74805b02d5ab 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32", default-features = false } +wasmi = { version = "0.32.1", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From ac9f81c9e2f6b6cfd6e6d62de33953911c4f1f87 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 3 Jun 2024 15:57:46 +0200 Subject: [PATCH 72/75] Remove transfer_surcharge from instantiate --- Cargo.lock | 16 ++++++++-------- substrate/frame/contracts/Cargo.toml | 2 +- .../frame/contracts/src/benchmarking/mod.rs | 3 +-- substrate/frame/contracts/src/wasm/runtime.rs | 14 ++++---------- substrate/frame/contracts/src/weights.rs | 6 +++--- 5 files changed, 17 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9337656a3a8f..b316c88ec978 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9966,7 +9966,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi 0.32.1", + "wasmi 0.32.2", "wat", ] @@ -22814,9 +22814,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "783f7c86b5a65d9cf77219b3a5d21362f407b32185ef003d1ece81a705955e7a" +checksum = "9bf118f216cb91272f4d120cde2b8b1ecc90642ee38d4e02d1c81750ec29a68e" dependencies = [ "arrayvec 0.7.4", "multi-stash", @@ -22825,7 +22825,7 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_collections", - "wasmi_core 0.32.1", + "wasmi_core 0.32.2", "wasmparser-nostd", ] @@ -22837,9 +22837,9 @@ checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_collections" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6611b7c98190ed1f221497695062e92ca9a139f603bd4bff012b8d99c6eff8a5" +checksum = "117410f5b1f3972ea6e8a4ad10e1cfc81916d00201771f420bac4f6fa075be9d" dependencies = [ "ahash 0.8.11", "hashbrown 0.14.3", @@ -22860,9 +22860,9 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d55b2061ab1d9928a93da896ce501074056685fad7b0030c96ff8adafc85d7bb" +checksum = "ea536c4aae2e14f095b3d14bf4df86f90bd5a684fc331cde275bfc0f87b5c852" dependencies = [ "downcast-rs", "libm", diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index 74805b02d5ab..547a8563a09a 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32.1", default-features = false } +wasmi = { version = "0.32.2", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code diff --git a/substrate/frame/contracts/src/benchmarking/mod.rs b/substrate/frame/contracts/src/benchmarking/mod.rs index 9ee1f0aa9a37..80c7e863d299 100644 --- a/substrate/frame/contracts/src/benchmarking/mod.rs +++ b/substrate/frame/contracts/src/benchmarking/mod.rs @@ -1278,7 +1278,6 @@ mod benchmarks { // s: size of salt in bytes #[benchmark(pov_mode = Measured)] fn seal_instantiate( - t: Linear<0, 1>, i: Linear<0, { (code::max_pages::() - 1) * 64 * 1024 }>, s: Linear<0, { (code::max_pages::() - 1) * 64 * 1024 }>, ) -> Result<(), BenchmarkError> { @@ -1286,7 +1285,7 @@ mod benchmarks { let hash_bytes = hash.encode(); let hash_len = hash_bytes.len() as u32; - let value: BalanceOf = t.into(); + let value: BalanceOf = 1u32.into(); let value_bytes = value.encode(); let value_len = value_bytes.len() as u32; diff --git a/substrate/frame/contracts/src/wasm/runtime.rs b/substrate/frame/contracts/src/wasm/runtime.rs index f238910e99c0..d35118003899 100644 --- a/substrate/frame/contracts/src/wasm/runtime.rs +++ b/substrate/frame/contracts/src/wasm/runtime.rs @@ -209,9 +209,7 @@ pub enum RuntimeCosts { /// Weight per byte that is cloned by supplying the `CLONE_INPUT` flag. CallInputCloned(u32), /// Weight of calling `seal_instantiate` for the given input length and salt. - InstantiateBase { input_data_len: u32, salt_len: u32 }, - /// Weight of the transfer performed during an instantiate. - InstantiateTransferSurcharge, + Instantiate { input_data_len: u32, salt_len: u32 }, /// Weight of calling `seal_hash_sha_256` for the given input size. HashSha256(u32), /// Weight of calling `seal_hash_keccak_256` for the given input size. @@ -302,9 +300,8 @@ impl Token for RuntimeCosts { DelegateCallBase => T::WeightInfo::seal_delegate_call(), CallTransferSurcharge => cost_args!(seal_call, 1, 0), CallInputCloned(len) => cost_args!(seal_call, 0, len), - InstantiateBase { input_data_len, salt_len } => - T::WeightInfo::seal_instantiate(0, input_data_len, salt_len), - InstantiateTransferSurcharge => cost_args!(seal_instantiate, 1, 0, 0), + Instantiate { input_data_len, salt_len } => + T::WeightInfo::seal_instantiate(input_data_len, salt_len), HashSha256(len) => T::WeightInfo::seal_hash_sha2_256(len), HashKeccak256(len) => T::WeightInfo::seal_hash_keccak_256(len), HashBlake256(len) => T::WeightInfo::seal_hash_blake2_256(len), @@ -893,16 +890,13 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> { salt_ptr: u32, salt_len: u32, ) -> Result { - self.charge_gas(RuntimeCosts::InstantiateBase { input_data_len, salt_len })?; + self.charge_gas(RuntimeCosts::Instantiate { input_data_len, salt_len })?; let deposit_limit: BalanceOf<::T> = if deposit_ptr == SENTINEL { BalanceOf::<::T>::zero() } else { self.read_sandbox_memory_as(memory, deposit_ptr)? }; let value: BalanceOf<::T> = self.read_sandbox_memory_as(memory, value_ptr)?; - if value > 0u32.into() { - self.charge_gas(RuntimeCosts::InstantiateTransferSurcharge)?; - } let code_hash: CodeHash<::T> = self.read_sandbox_memory_as(memory, code_hash_ptr)?; let input_data = self.read_sandbox_memory(memory, input_data_ptr, input_data_len)?; diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index a81ed21724df..b22173eb3eb3 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -101,7 +101,7 @@ pub trait WeightInfo { fn seal_transfer() -> Weight; fn seal_call(t: u32, i: u32, ) -> Weight; fn seal_delegate_call() -> Weight; - fn seal_instantiate(t: u32, i: u32, s: u32, ) -> Weight; + fn seal_instantiate(i: u32, s: u32, ) -> Weight; fn seal_hash_sha2_256(n: u32, ) -> Weight; fn seal_hash_keccak_256(n: u32, ) -> Weight; fn seal_hash_blake2_256(n: u32, ) -> Weight; @@ -837,7 +837,7 @@ impl WeightInfo for SubstrateWeight { /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. - fn seal_instantiate(_t: u32, i: u32, s: u32, ) -> Weight { + fn seal_instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` @@ -1703,7 +1703,7 @@ impl WeightInfo for () { /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. - fn seal_instantiate(_t: u32, i: u32, s: u32, ) -> Weight { + fn seal_instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4138` From c2b74413b0ee849b91d445fb821d583f6bb9b89b Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Mon, 3 Jun 2024 14:53:23 +0000 Subject: [PATCH 73/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 766 +++++++++++------------ 1 file changed, 382 insertions(+), 384 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index b22173eb3eb3..377a424790da 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,9 +18,9 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-05-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runner-vicqj8em-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` +//! HOSTNAME: `runner-1pho9goo-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` // Executed Command: @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 1_857_000 picoseconds. - Weight::from_parts(1_930_000, 1627) + // Minimum execution time: 1_895_000 picoseconds. + Weight::from_parts(2_038_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 10_877_000 picoseconds. - Weight::from_parts(11_142_000, 442) - // Standard Error: 1_104 - .saturating_add(Weight::from_parts(1_089_581, 0).saturating_mul(k.into())) + // Minimum execution time: 11_148_000 picoseconds. + Weight::from_parts(11_276_000, 442) + // Standard Error: 1_483 + .saturating_add(Weight::from_parts(1_162_066, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 7_488_000 picoseconds. - Weight::from_parts(4_664_046, 6149) + // Minimum execution time: 7_647_000 picoseconds. + Weight::from_parts(4_958_601, 6149) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_681, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_639, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_032_000 picoseconds. - Weight::from_parts(16_470_000, 6450) + // Minimum execution time: 16_327_000 picoseconds. + Weight::from_parts(16_907_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_131_000 picoseconds. - Weight::from_parts(3_176_000, 3635) - // Standard Error: 473 - .saturating_add(Weight::from_parts(1_067_010, 0).saturating_mul(k.into())) + // Minimum execution time: 3_227_000 picoseconds. + Weight::from_parts(3_286_000, 3635) + // Standard Error: 622 + .saturating_add(Weight::from_parts(1_088_649, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 14_774_000 picoseconds. - Weight::from_parts(15_577_586, 6263) + // Minimum execution time: 14_883_000 picoseconds. + Weight::from_parts(15_682_653, 6263) // Standard Error: 1 - .saturating_add(Weight::from_parts(498, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(452, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 11_952_000 picoseconds. - Weight::from_parts(12_266_000, 6380) + // Minimum execution time: 12_154_000 picoseconds. + Weight::from_parts(12_633_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_720_000 picoseconds. - Weight::from_parts(49_334_000, 6292) + // Minimum execution time: 47_456_000 picoseconds. + Weight::from_parts(48_544_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 52_714_000 picoseconds. - Weight::from_parts(54_152_000, 6534) + // Minimum execution time: 51_257_000 picoseconds. + Weight::from_parts(52_744_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_170_000 picoseconds. - Weight::from_parts(11_688_000, 6349) + // Minimum execution time: 11_632_000 picoseconds. + Weight::from_parts(12_161_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_079_000 picoseconds. - Weight::from_parts(2_170_000, 1627) + // Minimum execution time: 2_088_000 picoseconds. + Weight::from_parts(2_217_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 10_955_000 picoseconds. - Weight::from_parts(11_377_000, 3631) + // Minimum execution time: 11_052_000 picoseconds. + Weight::from_parts(11_548_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_357_000 picoseconds. - Weight::from_parts(4_613_000, 3607) + // Minimum execution time: 4_408_000 picoseconds. + Weight::from_parts(4_643_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_441_000 picoseconds. - Weight::from_parts(5_748_000, 3632) + // Minimum execution time: 5_567_000 picoseconds. + Weight::from_parts(5_779_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 5_247_000 picoseconds. - Weight::from_parts(5_602_000, 3607) + // Minimum execution time: 5_400_000 picoseconds. + Weight::from_parts(5_586_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 318_327_000 picoseconds. - Weight::from_parts(326_061_037, 4264) - // Standard Error: 4 - .saturating_add(Weight::from_parts(789, 0).saturating_mul(c.into())) + // Minimum execution time: 245_658_000 picoseconds. + Weight::from_parts(253_508_458, 4264) + // Standard Error: 24 + .saturating_add(Weight::from_parts(1_128, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_832_699_000 picoseconds. - Weight::from_parts(298_309_201, 6262) - // Standard Error: 124 - .saturating_add(Weight::from_parts(52_239, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(2_318, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(2_325, 0).saturating_mul(s.into())) + // Minimum execution time: 5_057_824_000 picoseconds. + Weight::from_parts(5_127_533_000, 6262) + // Standard Error: 330 + .saturating_add(Weight::from_parts(38_763, 0).saturating_mul(c.into())) + // Standard Error: 39 + .saturating_add(Weight::from_parts(573, 0).saturating_mul(i.into())) + // Standard Error: 39 + .saturating_add(Weight::from_parts(564, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_346_809_000 picoseconds. - Weight::from_parts(2_355_357_000, 4029) - // Standard Error: 33 - .saturating_add(Weight::from_parts(1_030, 0).saturating_mul(i.into())) - // Standard Error: 33 - .saturating_add(Weight::from_parts(953, 0).saturating_mul(s.into())) + // Minimum execution time: 2_293_214_000 picoseconds. + Weight::from_parts(2_302_235_000, 4029) + // Standard Error: 35 + .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(i.into())) + // Standard Error: 35 + .saturating_add(Weight::from_parts(1_024, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 167_136_000 picoseconds. - Weight::from_parts(170_159_000, 4291) + // Minimum execution time: 161_815_000 picoseconds. + Weight::from_parts(166_842_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 298_371_000 picoseconds. - Weight::from_parts(295_988_059, 3607) - // Standard Error: 78 - .saturating_add(Weight::from_parts(51_883, 0).saturating_mul(c.into())) + // Minimum execution time: 223_698_000 picoseconds. + Weight::from_parts(253_294_741, 3607) + // Standard Error: 65 + .saturating_add(Weight::from_parts(51_705, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 309_773_000 picoseconds. - Weight::from_parts(317_390_388, 3607) - // Standard Error: 77 - .saturating_add(Weight::from_parts(51_725, 0).saturating_mul(c.into())) + // Minimum execution time: 240_581_000 picoseconds. + Weight::from_parts(253_558_778, 3607) + // Standard Error: 62 + .saturating_add(Weight::from_parts(51_578, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 39_742_000 picoseconds. - Weight::from_parts(40_752_000, 3780) + // Minimum execution time: 39_086_000 picoseconds. + Weight::from_parts(40_212_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 24_946_000 picoseconds. - Weight::from_parts(25_723_000, 6492) + // Minimum execution time: 24_921_000 picoseconds. + Weight::from_parts(25_640_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_057_000 picoseconds. - Weight::from_parts(9_194_402, 0) - // Standard Error: 120 - .saturating_add(Weight::from_parts(52_929, 0).saturating_mul(r.into())) + // Minimum execution time: 8_431_000 picoseconds. + Weight::from_parts(9_390_384, 0) + // Standard Error: 98 + .saturating_add(Weight::from_parts(50_807, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 606_000 picoseconds. - Weight::from_parts(644_000, 0) + // Minimum execution time: 575_000 picoseconds. + Weight::from_parts(629_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 5_827_000 picoseconds. - Weight::from_parts(6_118_000, 3819) + // Minimum execution time: 6_381_000 picoseconds. + Weight::from_parts(6_636_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_251_000 picoseconds. - Weight::from_parts(7_441_000, 3912) + // Minimum execution time: 7_425_000 picoseconds. + Weight::from_parts(7_722_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766_000 picoseconds. - Weight::from_parts(806_000, 0) + // Minimum execution time: 754_000 picoseconds. + Weight::from_parts(874_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 398_000 picoseconds. - Weight::from_parts(423_000, 0) + // Minimum execution time: 402_000 picoseconds. + Weight::from_parts(436_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 306_000 picoseconds. - Weight::from_parts(351_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(366_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 559_000 picoseconds. - Weight::from_parts(597_000, 0) + // Minimum execution time: 562_000 picoseconds. + Weight::from_parts(645_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 660_000 picoseconds. - Weight::from_parts(710_000, 0) + // Minimum execution time: 666_000 picoseconds. + Weight::from_parts(706_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_235_000 picoseconds. - Weight::from_parts(4_445_000, 0) + // Minimum execution time: 4_346_000 picoseconds. + Weight::from_parts(4_710_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 560_000 picoseconds. - Weight::from_parts(590_000, 0) + // Minimum execution time: 565_000 picoseconds. + Weight::from_parts(603_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 542_000 picoseconds. - Weight::from_parts(581_000, 0) + // Minimum execution time: 539_000 picoseconds. + Weight::from_parts(598_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 530_000 picoseconds. - Weight::from_parts(573_000, 0) + // Minimum execution time: 568_000 picoseconds. + Weight::from_parts(603_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 506_000 picoseconds. - Weight::from_parts(577_000, 0) + // Minimum execution time: 582_000 picoseconds. + Weight::from_parts(624_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_065_000 picoseconds. - Weight::from_parts(4_185_000, 1552) + // Minimum execution time: 4_252_000 picoseconds. + Weight::from_parts(4_398_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,20 +629,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 493_000 picoseconds. - Weight::from_parts(546_000, 0) + // Minimum execution time: 478_000 picoseconds. + Weight::from_parts(544_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(308, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 310_000 picoseconds. + // Minimum execution time: 328_000 picoseconds. Weight::from_parts(352_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(486, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(428, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 12_801_000 picoseconds. - Weight::from_parts(15_046_179, 3784) - // Standard Error: 6_787 - .saturating_add(Weight::from_parts(3_499_439, 0).saturating_mul(n.into())) + // Minimum execution time: 12_871_000 picoseconds. + Weight::from_parts(14_999_770, 3784) + // Standard Error: 6_171 + .saturating_add(Weight::from_parts(3_463_815, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_359_000 picoseconds. - Weight::from_parts(3_489_000, 1561) + // Minimum execution time: 3_330_000 picoseconds. + Weight::from_parts(3_600_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 3_688_000 picoseconds. - Weight::from_parts(3_929_816, 990) - // Standard Error: 5_747 - .saturating_add(Weight::from_parts(2_165_797, 0).saturating_mul(t.into())) + // Minimum execution time: 3_671_000 picoseconds. + Weight::from_parts(4_111_775, 990) + // Standard Error: 7_003 + .saturating_add(Weight::from_parts(2_187_715, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 415_000 picoseconds. - Weight::from_parts(456_000, 0) + // Minimum execution time: 405_000 picoseconds. + Weight::from_parts(424_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_274, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 8_804_000 picoseconds. - Weight::from_parts(8_720_691, 249) + // Minimum execution time: 8_686_000 picoseconds. + Weight::from_parts(8_880_567, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(350, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(288, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(39, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(35, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_037_000 picoseconds. - Weight::from_parts(7_805_498, 248) + // Minimum execution time: 6_801_000 picoseconds. + Weight::from_parts(7_921_801, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(84, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_562_000 picoseconds. - Weight::from_parts(7_560_556, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(705, 0).saturating_mul(n.into())) + // Minimum execution time: 6_798_000 picoseconds. + Weight::from_parts(7_601_208, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(656, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,10 +757,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 5_972_000 picoseconds. - Weight::from_parts(6_871_870, 248) + // Minimum execution time: 6_106_000 picoseconds. + Weight::from_parts(6_941_563, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(79, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_494_000 picoseconds. - Weight::from_parts(8_292_445, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) + // Minimum execution time: 7_390_000 picoseconds. + Weight::from_parts(8_453_242, 248) + // Standard Error: 5 + .saturating_add(Weight::from_parts(670, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_382_000 picoseconds. - Weight::from_parts(8_846_000, 0) + // Minimum execution time: 8_638_000 picoseconds. + Weight::from_parts(8_944_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -800,12 +800,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 125_636_000 picoseconds. - Weight::from_parts(122_328_022, 4085) - // Standard Error: 169_081 - .saturating_add(Weight::from_parts(44_116_928, 0).saturating_mul(t.into())) + // Minimum execution time: 121_635_000 picoseconds. + Weight::from_parts(120_431_611, 4085) + // Standard Error: 183_896 + .saturating_add(Weight::from_parts(42_984_814, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -820,8 +820,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 114_051_000 picoseconds. - Weight::from_parts(117_066_000, 3895) + // Minimum execution time: 110_023_000 picoseconds. + Weight::from_parts(113_138_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -834,19 +834,18 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676` - // Estimated: `4138` - // Minimum execution time: 2_029_737_000 picoseconds. - Weight::from_parts(2_048_468_000, 4138) - // Standard Error: 16 - .saturating_add(Weight::from_parts(959, 0).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(s.into())) + // Estimated: `4127` + // Minimum execution time: 1_975_528_000 picoseconds. + Weight::from_parts(1_993_898_000, 4127) + // Standard Error: 26 + .saturating_add(Weight::from_parts(696, 0).saturating_mul(i.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(928, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -855,64 +854,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 867_000 picoseconds. - Weight::from_parts(9_683_105, 0) + // Minimum execution time: 897_000 picoseconds. + Weight::from_parts(10_674_295, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_422, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_352, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_260_000 picoseconds. - Weight::from_parts(10_368_257, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_682, 0).saturating_mul(n.into())) + // Minimum execution time: 1_297_000 picoseconds. + Weight::from_parts(8_290_246, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_643, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 735_000 picoseconds. - Weight::from_parts(9_100_496, 0) + // Minimum execution time: 771_000 picoseconds. + Weight::from_parts(8_742_076, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_553, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_501, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 727_000 picoseconds. - Weight::from_parts(11_421_538, 0) + // Minimum execution time: 688_000 picoseconds. + Weight::from_parts(8_961_936, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_552, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_498, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_492_000 picoseconds. - Weight::from_parts(44_671_846, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(5_122, 0).saturating_mul(n.into())) + // Minimum execution time: 43_525_000 picoseconds. + Weight::from_parts(41_597_490, 0) + // Standard Error: 8 + .saturating_add(Weight::from_parts(5_233, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_260_000 picoseconds. - Weight::from_parts(48_382_000, 0) + // Minimum execution time: 47_338_000 picoseconds. + Weight::from_parts(48_638_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_096_000 picoseconds. - Weight::from_parts(13_277_000, 0) + // Minimum execution time: 12_885_000 picoseconds. + Weight::from_parts(12_973_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -922,8 +921,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 17_542_000 picoseconds. - Weight::from_parts(18_296_000, 3895) + // Minimum execution time: 17_575_000 picoseconds. + Weight::from_parts(18_374_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -933,8 +932,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 8_318_000 picoseconds. - Weight::from_parts(8_625_000, 3820) + // Minimum execution time: 7_991_000 picoseconds. + Weight::from_parts(8_518_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -944,8 +943,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 7_241_000 picoseconds. - Weight::from_parts(7_529_000, 3558) + // Minimum execution time: 7_198_000 picoseconds. + Weight::from_parts(7_592_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -953,15 +952,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 323_000 picoseconds. - Weight::from_parts(341_000, 0) + // Minimum execution time: 326_000 picoseconds. + Weight::from_parts(340_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 316_000 picoseconds. - Weight::from_parts(373_000, 0) + // Minimum execution time: 323_000 picoseconds. + Weight::from_parts(349_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -969,8 +968,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_757_000 picoseconds. - Weight::from_parts(2_865_000, 1704) + // Minimum execution time: 2_823_000 picoseconds. + Weight::from_parts(2_995_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -978,10 +977,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 648_000 picoseconds. - Weight::from_parts(970_565, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(6_955, 0).saturating_mul(r.into())) + // Minimum execution time: 683_000 picoseconds. + Weight::from_parts(280_480, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(7_266, 0).saturating_mul(r.into())) } } @@ -993,8 +992,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 1_857_000 picoseconds. - Weight::from_parts(1_930_000, 1627) + // Minimum execution time: 1_895_000 picoseconds. + Weight::from_parts(2_038_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1004,10 +1003,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 10_877_000 picoseconds. - Weight::from_parts(11_142_000, 442) - // Standard Error: 1_104 - .saturating_add(Weight::from_parts(1_089_581, 0).saturating_mul(k.into())) + // Minimum execution time: 11_148_000 picoseconds. + Weight::from_parts(11_276_000, 442) + // Standard Error: 1_483 + .saturating_add(Weight::from_parts(1_162_066, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1021,10 +1020,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 7_488_000 picoseconds. - Weight::from_parts(4_664_046, 6149) + // Minimum execution time: 7_647_000 picoseconds. + Weight::from_parts(4_958_601, 6149) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_681, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_639, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1037,8 +1036,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_032_000 picoseconds. - Weight::from_parts(16_470_000, 6450) + // Minimum execution time: 16_327_000 picoseconds. + Weight::from_parts(16_907_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1051,10 +1050,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_131_000 picoseconds. - Weight::from_parts(3_176_000, 3635) - // Standard Error: 473 - .saturating_add(Weight::from_parts(1_067_010, 0).saturating_mul(k.into())) + // Minimum execution time: 3_227_000 picoseconds. + Weight::from_parts(3_286_000, 3635) + // Standard Error: 622 + .saturating_add(Weight::from_parts(1_088_649, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1073,10 +1072,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 14_774_000 picoseconds. - Weight::from_parts(15_577_586, 6263) + // Minimum execution time: 14_883_000 picoseconds. + Weight::from_parts(15_682_653, 6263) // Standard Error: 1 - .saturating_add(Weight::from_parts(498, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(452, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1087,8 +1086,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 11_952_000 picoseconds. - Weight::from_parts(12_266_000, 6380) + // Minimum execution time: 12_154_000 picoseconds. + Weight::from_parts(12_633_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1102,8 +1101,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_720_000 picoseconds. - Weight::from_parts(49_334_000, 6292) + // Minimum execution time: 47_456_000 picoseconds. + Weight::from_parts(48_544_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1115,8 +1114,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 52_714_000 picoseconds. - Weight::from_parts(54_152_000, 6534) + // Minimum execution time: 51_257_000 picoseconds. + Weight::from_parts(52_744_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1126,8 +1125,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_170_000 picoseconds. - Weight::from_parts(11_688_000, 6349) + // Minimum execution time: 11_632_000 picoseconds. + Weight::from_parts(12_161_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1137,8 +1136,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_079_000 picoseconds. - Weight::from_parts(2_170_000, 1627) + // Minimum execution time: 2_088_000 picoseconds. + Weight::from_parts(2_217_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1150,8 +1149,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 10_955_000 picoseconds. - Weight::from_parts(11_377_000, 3631) + // Minimum execution time: 11_052_000 picoseconds. + Weight::from_parts(11_548_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1161,8 +1160,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_357_000 picoseconds. - Weight::from_parts(4_613_000, 3607) + // Minimum execution time: 4_408_000 picoseconds. + Weight::from_parts(4_643_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1173,8 +1172,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_441_000 picoseconds. - Weight::from_parts(5_748_000, 3632) + // Minimum execution time: 5_567_000 picoseconds. + Weight::from_parts(5_779_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1185,8 +1184,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 5_247_000 picoseconds. - Weight::from_parts(5_602_000, 3607) + // Minimum execution time: 5_400_000 picoseconds. + Weight::from_parts(5_586_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1207,10 +1206,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 318_327_000 picoseconds. - Weight::from_parts(326_061_037, 4264) - // Standard Error: 4 - .saturating_add(Weight::from_parts(789, 0).saturating_mul(c.into())) + // Minimum execution time: 245_658_000 picoseconds. + Weight::from_parts(253_508_458, 4264) + // Standard Error: 24 + .saturating_add(Weight::from_parts(1_128, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1238,14 +1237,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 4_832_699_000 picoseconds. - Weight::from_parts(298_309_201, 6262) - // Standard Error: 124 - .saturating_add(Weight::from_parts(52_239, 0).saturating_mul(c.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(2_318, 0).saturating_mul(i.into())) - // Standard Error: 14 - .saturating_add(Weight::from_parts(2_325, 0).saturating_mul(s.into())) + // Minimum execution time: 5_057_824_000 picoseconds. + Weight::from_parts(5_127_533_000, 6262) + // Standard Error: 330 + .saturating_add(Weight::from_parts(38_763, 0).saturating_mul(c.into())) + // Standard Error: 39 + .saturating_add(Weight::from_parts(573, 0).saturating_mul(i.into())) + // Standard Error: 39 + .saturating_add(Weight::from_parts(564, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1271,12 +1270,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_346_809_000 picoseconds. - Weight::from_parts(2_355_357_000, 4029) - // Standard Error: 33 - .saturating_add(Weight::from_parts(1_030, 0).saturating_mul(i.into())) - // Standard Error: 33 - .saturating_add(Weight::from_parts(953, 0).saturating_mul(s.into())) + // Minimum execution time: 2_293_214_000 picoseconds. + Weight::from_parts(2_302_235_000, 4029) + // Standard Error: 35 + .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(i.into())) + // Standard Error: 35 + .saturating_add(Weight::from_parts(1_024, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1296,8 +1295,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 167_136_000 picoseconds. - Weight::from_parts(170_159_000, 4291) + // Minimum execution time: 161_815_000 picoseconds. + Weight::from_parts(166_842_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1314,10 +1313,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 298_371_000 picoseconds. - Weight::from_parts(295_988_059, 3607) - // Standard Error: 78 - .saturating_add(Weight::from_parts(51_883, 0).saturating_mul(c.into())) + // Minimum execution time: 223_698_000 picoseconds. + Weight::from_parts(253_294_741, 3607) + // Standard Error: 65 + .saturating_add(Weight::from_parts(51_705, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1334,10 +1333,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 309_773_000 picoseconds. - Weight::from_parts(317_390_388, 3607) - // Standard Error: 77 - .saturating_add(Weight::from_parts(51_725, 0).saturating_mul(c.into())) + // Minimum execution time: 240_581_000 picoseconds. + Weight::from_parts(253_558_778, 3607) + // Standard Error: 62 + .saturating_add(Weight::from_parts(51_578, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1353,8 +1352,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 39_742_000 picoseconds. - Weight::from_parts(40_752_000, 3780) + // Minimum execution time: 39_086_000 picoseconds. + Weight::from_parts(40_212_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1368,8 +1367,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 24_946_000 picoseconds. - Weight::from_parts(25_723_000, 6492) + // Minimum execution time: 24_921_000 picoseconds. + Weight::from_parts(25_640_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1378,17 +1377,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_057_000 picoseconds. - Weight::from_parts(9_194_402, 0) - // Standard Error: 120 - .saturating_add(Weight::from_parts(52_929, 0).saturating_mul(r.into())) + // Minimum execution time: 8_431_000 picoseconds. + Weight::from_parts(9_390_384, 0) + // Standard Error: 98 + .saturating_add(Weight::from_parts(50_807, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 606_000 picoseconds. - Weight::from_parts(644_000, 0) + // Minimum execution time: 575_000 picoseconds. + Weight::from_parts(629_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1396,8 +1395,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 5_827_000 picoseconds. - Weight::from_parts(6_118_000, 3819) + // Minimum execution time: 6_381_000 picoseconds. + Weight::from_parts(6_636_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1406,79 +1405,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_251_000 picoseconds. - Weight::from_parts(7_441_000, 3912) + // Minimum execution time: 7_425_000 picoseconds. + Weight::from_parts(7_722_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 766_000 picoseconds. - Weight::from_parts(806_000, 0) + // Minimum execution time: 754_000 picoseconds. + Weight::from_parts(874_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 398_000 picoseconds. - Weight::from_parts(423_000, 0) + // Minimum execution time: 402_000 picoseconds. + Weight::from_parts(436_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 306_000 picoseconds. - Weight::from_parts(351_000, 0) + // Minimum execution time: 327_000 picoseconds. + Weight::from_parts(366_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 559_000 picoseconds. - Weight::from_parts(597_000, 0) + // Minimum execution time: 562_000 picoseconds. + Weight::from_parts(645_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 660_000 picoseconds. - Weight::from_parts(710_000, 0) + // Minimum execution time: 666_000 picoseconds. + Weight::from_parts(706_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_235_000 picoseconds. - Weight::from_parts(4_445_000, 0) + // Minimum execution time: 4_346_000 picoseconds. + Weight::from_parts(4_710_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 560_000 picoseconds. - Weight::from_parts(590_000, 0) + // Minimum execution time: 565_000 picoseconds. + Weight::from_parts(603_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 542_000 picoseconds. - Weight::from_parts(581_000, 0) + // Minimum execution time: 539_000 picoseconds. + Weight::from_parts(598_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 530_000 picoseconds. - Weight::from_parts(573_000, 0) + // Minimum execution time: 568_000 picoseconds. + Weight::from_parts(603_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 506_000 picoseconds. - Weight::from_parts(577_000, 0) + // Minimum execution time: 582_000 picoseconds. + Weight::from_parts(624_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1486,8 +1485,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_065_000 picoseconds. - Weight::from_parts(4_185_000, 1552) + // Minimum execution time: 4_252_000 picoseconds. + Weight::from_parts(4_398_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1495,20 +1494,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 493_000 picoseconds. - Weight::from_parts(546_000, 0) + // Minimum execution time: 478_000 picoseconds. + Weight::from_parts(544_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(308, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 310_000 picoseconds. + // Minimum execution time: 328_000 picoseconds. Weight::from_parts(352_000, 0) // Standard Error: 9 - .saturating_add(Weight::from_parts(486, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(428, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1521,10 +1520,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 12_801_000 picoseconds. - Weight::from_parts(15_046_179, 3784) - // Standard Error: 6_787 - .saturating_add(Weight::from_parts(3_499_439, 0).saturating_mul(n.into())) + // Minimum execution time: 12_871_000 picoseconds. + Weight::from_parts(14_999_770, 3784) + // Standard Error: 6_171 + .saturating_add(Weight::from_parts(3_463_815, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1537,8 +1536,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_359_000 picoseconds. - Weight::from_parts(3_489_000, 1561) + // Minimum execution time: 3_330_000 picoseconds. + Weight::from_parts(3_600_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1549,12 +1548,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 3_688_000 picoseconds. - Weight::from_parts(3_929_816, 990) - // Standard Error: 5_747 - .saturating_add(Weight::from_parts(2_165_797, 0).saturating_mul(t.into())) + // Minimum execution time: 3_671_000 picoseconds. + Weight::from_parts(4_111_775, 990) + // Standard Error: 7_003 + .saturating_add(Weight::from_parts(2_187_715, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1564,10 +1563,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 415_000 picoseconds. - Weight::from_parts(456_000, 0) + // Minimum execution time: 405_000 picoseconds. + Weight::from_parts(424_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_274, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1577,12 +1576,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 8_804_000 picoseconds. - Weight::from_parts(8_720_691, 249) + // Minimum execution time: 8_686_000 picoseconds. + Weight::from_parts(8_880_567, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(350, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(288, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(39, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(35, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1594,10 +1593,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_037_000 picoseconds. - Weight::from_parts(7_805_498, 248) + // Minimum execution time: 6_801_000 picoseconds. + Weight::from_parts(7_921_801, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(82, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(84, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1609,10 +1608,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_562_000 picoseconds. - Weight::from_parts(7_560_556, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(705, 0).saturating_mul(n.into())) + // Minimum execution time: 6_798_000 picoseconds. + Weight::from_parts(7_601_208, 248) + // Standard Error: 1 + .saturating_add(Weight::from_parts(656, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1623,10 +1622,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 5_972_000 picoseconds. - Weight::from_parts(6_871_870, 248) + // Minimum execution time: 6_106_000 picoseconds. + Weight::from_parts(6_941_563, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(81, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(79, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1637,10 +1636,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_494_000 picoseconds. - Weight::from_parts(8_292_445, 248) - // Standard Error: 2 - .saturating_add(Weight::from_parts(712, 0).saturating_mul(n.into())) + // Minimum execution time: 7_390_000 picoseconds. + Weight::from_parts(8_453_242, 248) + // Standard Error: 5 + .saturating_add(Weight::from_parts(670, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1649,8 +1648,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_382_000 picoseconds. - Weight::from_parts(8_846_000, 0) + // Minimum execution time: 8_638_000 picoseconds. + Weight::from_parts(8_944_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1666,12 +1665,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 125_636_000 picoseconds. - Weight::from_parts(122_328_022, 4085) - // Standard Error: 169_081 - .saturating_add(Weight::from_parts(44_116_928, 0).saturating_mul(t.into())) + // Minimum execution time: 121_635_000 picoseconds. + Weight::from_parts(120_431_611, 4085) + // Standard Error: 183_896 + .saturating_add(Weight::from_parts(42_984_814, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(6, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1686,8 +1685,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 114_051_000 picoseconds. - Weight::from_parts(117_066_000, 3895) + // Minimum execution time: 110_023_000 picoseconds. + Weight::from_parts(113_138_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1700,19 +1699,18 @@ impl WeightInfo for () { /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) /// Storage: `System::Account` (r:1 w:1) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `Measured`) - /// The range of component `t` is `[0, 1]`. /// The range of component `i` is `[0, 983040]`. /// The range of component `s` is `[0, 983040]`. fn seal_instantiate(i: u32, s: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `676` - // Estimated: `4138` - // Minimum execution time: 2_029_737_000 picoseconds. - Weight::from_parts(2_048_468_000, 4138) - // Standard Error: 16 - .saturating_add(Weight::from_parts(959, 0).saturating_mul(i.into())) - // Standard Error: 16 - .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(s.into())) + // Estimated: `4127` + // Minimum execution time: 1_975_528_000 picoseconds. + Weight::from_parts(1_993_898_000, 4127) + // Standard Error: 26 + .saturating_add(Weight::from_parts(696, 0).saturating_mul(i.into())) + // Standard Error: 26 + .saturating_add(Weight::from_parts(928, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1721,64 +1719,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 867_000 picoseconds. - Weight::from_parts(9_683_105, 0) + // Minimum execution time: 897_000 picoseconds. + Weight::from_parts(10_674_295, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_422, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_352, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_260_000 picoseconds. - Weight::from_parts(10_368_257, 0) - // Standard Error: 0 - .saturating_add(Weight::from_parts(3_682, 0).saturating_mul(n.into())) + // Minimum execution time: 1_297_000 picoseconds. + Weight::from_parts(8_290_246, 0) + // Standard Error: 1 + .saturating_add(Weight::from_parts(3_643, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 735_000 picoseconds. - Weight::from_parts(9_100_496, 0) + // Minimum execution time: 771_000 picoseconds. + Weight::from_parts(8_742_076, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_553, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_501, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 727_000 picoseconds. - Weight::from_parts(11_421_538, 0) + // Minimum execution time: 688_000 picoseconds. + Weight::from_parts(8_961_936, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_552, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_498, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 46_492_000 picoseconds. - Weight::from_parts(44_671_846, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(5_122, 0).saturating_mul(n.into())) + // Minimum execution time: 43_525_000 picoseconds. + Weight::from_parts(41_597_490, 0) + // Standard Error: 8 + .saturating_add(Weight::from_parts(5_233, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_260_000 picoseconds. - Weight::from_parts(48_382_000, 0) + // Minimum execution time: 47_338_000 picoseconds. + Weight::from_parts(48_638_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 13_096_000 picoseconds. - Weight::from_parts(13_277_000, 0) + // Minimum execution time: 12_885_000 picoseconds. + Weight::from_parts(12_973_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1788,8 +1786,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 17_542_000 picoseconds. - Weight::from_parts(18_296_000, 3895) + // Minimum execution time: 17_575_000 picoseconds. + Weight::from_parts(18_374_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1799,8 +1797,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 8_318_000 picoseconds. - Weight::from_parts(8_625_000, 3820) + // Minimum execution time: 7_991_000 picoseconds. + Weight::from_parts(8_518_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1810,8 +1808,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 7_241_000 picoseconds. - Weight::from_parts(7_529_000, 3558) + // Minimum execution time: 7_198_000 picoseconds. + Weight::from_parts(7_592_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1819,15 +1817,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 323_000 picoseconds. - Weight::from_parts(341_000, 0) + // Minimum execution time: 326_000 picoseconds. + Weight::from_parts(340_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 316_000 picoseconds. - Weight::from_parts(373_000, 0) + // Minimum execution time: 323_000 picoseconds. + Weight::from_parts(349_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1835,8 +1833,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_757_000 picoseconds. - Weight::from_parts(2_865_000, 1704) + // Minimum execution time: 2_823_000 picoseconds. + Weight::from_parts(2_995_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1844,9 +1842,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 648_000 picoseconds. - Weight::from_parts(970_565, 0) - // Standard Error: 16 - .saturating_add(Weight::from_parts(6_955, 0).saturating_mul(r.into())) + // Minimum execution time: 683_000 picoseconds. + Weight::from_parts(280_480, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(7_266, 0).saturating_mul(r.into())) } } From 7efe1e7ddffaee2019794ff36f7af75dda4dd82e Mon Sep 17 00:00:00 2001 From: PG Herveou Date: Fri, 7 Jun 2024 14:26:43 +0200 Subject: [PATCH 74/75] Fix PR doc and bump wasmi one last time --- Cargo.lock | 16 ++++++++-------- prdoc/pr_3679.prdoc | 1 + substrate/frame/contracts/Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 791039ff8f1e..6ee4e317a76b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9972,7 +9972,7 @@ dependencies = [ "staging-xcm", "staging-xcm-builder", "wasm-instrument", - "wasmi 0.32.2", + "wasmi 0.32.3", "wat", ] @@ -22824,9 +22824,9 @@ dependencies = [ [[package]] name = "wasmi" -version = "0.32.2" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9bf118f216cb91272f4d120cde2b8b1ecc90642ee38d4e02d1c81750ec29a68e" +checksum = "50386c99b9c32bd2ed71a55b6dd4040af2580530fae8bdb9a6576571a80d0cca" dependencies = [ "arrayvec 0.7.4", "multi-stash", @@ -22835,7 +22835,7 @@ dependencies = [ "smallvec", "spin 0.9.8", "wasmi_collections", - "wasmi_core 0.32.2", + "wasmi_core 0.32.3", "wasmparser-nostd", ] @@ -22847,9 +22847,9 @@ checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_collections" -version = "0.32.2" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "117410f5b1f3972ea6e8a4ad10e1cfc81916d00201771f420bac4f6fa075be9d" +checksum = "9c128c039340ffd50d4195c3f8ce31aac357f06804cfc494c8b9508d4b30dca4" dependencies = [ "ahash 0.8.11", "hashbrown 0.14.3", @@ -22870,9 +22870,9 @@ dependencies = [ [[package]] name = "wasmi_core" -version = "0.32.2" +version = "0.32.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea536c4aae2e14f095b3d14bf4df86f90bd5a684fc331cde275bfc0f87b5c852" +checksum = "a23b3a7f6c8c3ceeec6b83531ee61f0013c56e51cbf2b14b0f213548b23a4b41" dependencies = [ "downcast-rs", "libm", diff --git a/prdoc/pr_3679.prdoc b/prdoc/pr_3679.prdoc index d0a468476922..86c1e9beafe9 100644 --- a/prdoc/pr_3679.prdoc +++ b/prdoc/pr_3679.prdoc @@ -11,3 +11,4 @@ doc: crates: - name: pallet-contracts + - name: pallet-contracts-proc-macro diff --git a/substrate/frame/contracts/Cargo.toml b/substrate/frame/contracts/Cargo.toml index 547a8563a09a..70363562f6af 100644 --- a/substrate/frame/contracts/Cargo.toml +++ b/substrate/frame/contracts/Cargo.toml @@ -30,7 +30,7 @@ serde = { optional = true, features = ["derive"], workspace = true, default-feat smallvec = { version = "1", default-features = false, features = [ "const_generics", ] } -wasmi = { version = "0.32.2", default-features = false } +wasmi = { version = "0.32.3", default-features = false } impl-trait-for-tuples = "0.2" # Only used in benchmarking to generate contract code From ee1a7cac83a98f3423ba1be582bcfff482cc6ca3 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Fri, 7 Jun 2024 13:23:06 +0000 Subject: [PATCH 75/75] ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=dev --target_dir=substrate --pallet=pallet_contracts --- substrate/frame/contracts/src/weights.rs | 750 +++++++++++------------ 1 file changed, 375 insertions(+), 375 deletions(-) diff --git a/substrate/frame/contracts/src/weights.rs b/substrate/frame/contracts/src/weights.rs index 377a424790da..0404a9d3d8e5 100644 --- a/substrate/frame/contracts/src/weights.rs +++ b/substrate/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for `pallet_contracts` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 -//! DATE: 2024-06-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2024-06-07, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-1pho9goo-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024` @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 1_895_000 picoseconds. - Weight::from_parts(2_038_000, 1627) + // Minimum execution time: 1_896_000 picoseconds. + Weight::from_parts(1_990_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -138,10 +138,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 11_148_000 picoseconds. - Weight::from_parts(11_276_000, 442) - // Standard Error: 1_483 - .saturating_add(Weight::from_parts(1_162_066, 0).saturating_mul(k.into())) + // Minimum execution time: 11_142_000 picoseconds. + Weight::from_parts(11_578_000, 442) + // Standard Error: 1_557 + .saturating_add(Weight::from_parts(1_165_198, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(2_u64)) @@ -155,10 +155,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 7_647_000 picoseconds. - Weight::from_parts(4_958_601, 6149) + // Minimum execution time: 7_649_000 picoseconds. + Weight::from_parts(4_827_445, 6149) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_639, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_630, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -171,8 +171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_327_000 picoseconds. - Weight::from_parts(16_907_000, 6450) + // Minimum execution time: 16_096_000 picoseconds. + Weight::from_parts(16_937_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_227_000 picoseconds. - Weight::from_parts(3_286_000, 3635) - // Standard Error: 622 - .saturating_add(Weight::from_parts(1_088_649, 0).saturating_mul(k.into())) + // Minimum execution time: 3_131_000 picoseconds. + Weight::from_parts(3_209_000, 3635) + // Standard Error: 481 + .saturating_add(Weight::from_parts(1_087_506, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -207,10 +207,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 14_883_000 picoseconds. - Weight::from_parts(15_682_653, 6263) + // Minimum execution time: 15_289_000 picoseconds. + Weight::from_parts(16_157_168, 6263) // Standard Error: 1 - .saturating_add(Weight::from_parts(452, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(395, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -221,8 +221,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_154_000 picoseconds. - Weight::from_parts(12_633_000, 6380) + // Minimum execution time: 12_312_000 picoseconds. + Weight::from_parts(12_650_000, 6380) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -236,8 +236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_456_000 picoseconds. - Weight::from_parts(48_544_000, 6292) + // Minimum execution time: 47_239_000 picoseconds. + Weight::from_parts(48_617_000, 6292) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -249,8 +249,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 51_257_000 picoseconds. - Weight::from_parts(52_744_000, 6534) + // Minimum execution time: 52_084_000 picoseconds. + Weight::from_parts(53_838_000, 6534) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_632_000 picoseconds. - Weight::from_parts(12_161_000, 6349) + // Minimum execution time: 11_785_000 picoseconds. + Weight::from_parts(12_284_000, 6349) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -271,8 +271,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_088_000 picoseconds. - Weight::from_parts(2_217_000, 1627) + // Minimum execution time: 2_136_000 picoseconds. + Weight::from_parts(2_233_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -284,8 +284,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_052_000 picoseconds. - Weight::from_parts(11_548_000, 3631) + // Minimum execution time: 10_957_000 picoseconds. + Weight::from_parts(11_314_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -295,8 +295,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_408_000 picoseconds. - Weight::from_parts(4_643_000, 3607) + // Minimum execution time: 4_354_000 picoseconds. + Weight::from_parts(4_613_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_567_000 picoseconds. - Weight::from_parts(5_779_000, 3632) + // Minimum execution time: 5_541_000 picoseconds. + Weight::from_parts(5_790_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -319,8 +319,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 5_400_000 picoseconds. - Weight::from_parts(5_586_000, 3607) + // Minimum execution time: 5_502_000 picoseconds. + Weight::from_parts(5_701_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -341,10 +341,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 245_658_000 picoseconds. - Weight::from_parts(253_508_458, 4264) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_128, 0).saturating_mul(c.into())) + // Minimum execution time: 247_884_000 picoseconds. + Weight::from_parts(265_795_781, 4264) + // Standard Error: 4 + .saturating_add(Weight::from_parts(724, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -372,14 +372,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 5_057_824_000 picoseconds. - Weight::from_parts(5_127_533_000, 6262) - // Standard Error: 330 - .saturating_add(Weight::from_parts(38_763, 0).saturating_mul(c.into())) - // Standard Error: 39 - .saturating_add(Weight::from_parts(573, 0).saturating_mul(i.into())) - // Standard Error: 39 - .saturating_add(Weight::from_parts(564, 0).saturating_mul(s.into())) + // Minimum execution time: 4_500_184_000 picoseconds. + Weight::from_parts(160_729_258, 6262) + // Standard Error: 143 + .saturating_add(Weight::from_parts(52_809, 0).saturating_mul(c.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(2_173, 0).saturating_mul(i.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(2_165, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -405,12 +405,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_293_214_000 picoseconds. - Weight::from_parts(2_302_235_000, 4029) - // Standard Error: 35 - .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(i.into())) - // Standard Error: 35 - .saturating_add(Weight::from_parts(1_024, 0).saturating_mul(s.into())) + // Minimum execution time: 2_219_163_000 picoseconds. + Weight::from_parts(2_236_918_000, 4029) + // Standard Error: 32 + .saturating_add(Weight::from_parts(937, 0).saturating_mul(i.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(938, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -430,8 +430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 161_815_000 picoseconds. - Weight::from_parts(166_842_000, 4291) + // Minimum execution time: 164_801_000 picoseconds. + Weight::from_parts(167_250_000, 4291) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -448,10 +448,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 223_698_000 picoseconds. - Weight::from_parts(253_294_741, 3607) - // Standard Error: 65 - .saturating_add(Weight::from_parts(51_705, 0).saturating_mul(c.into())) + // Minimum execution time: 225_207_000 picoseconds. + Weight::from_parts(263_665_658, 3607) + // Standard Error: 47 + .saturating_add(Weight::from_parts(50_732, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -468,10 +468,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 240_581_000 picoseconds. - Weight::from_parts(253_558_778, 3607) - // Standard Error: 62 - .saturating_add(Weight::from_parts(51_578, 0).saturating_mul(c.into())) + // Minimum execution time: 230_718_000 picoseconds. + Weight::from_parts(258_359_271, 3607) + // Standard Error: 47 + .saturating_add(Weight::from_parts(51_014, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -487,8 +487,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 39_086_000 picoseconds. - Weight::from_parts(40_212_000, 3780) + // Minimum execution time: 39_668_000 picoseconds. + Weight::from_parts(41_031_000, 3780) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -502,8 +502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 24_921_000 picoseconds. - Weight::from_parts(25_640_000, 6492) + // Minimum execution time: 25_890_000 picoseconds. + Weight::from_parts(26_603_000, 6492) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -512,17 +512,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_431_000 picoseconds. - Weight::from_parts(9_390_384, 0) - // Standard Error: 98 - .saturating_add(Weight::from_parts(50_807, 0).saturating_mul(r.into())) + // Minimum execution time: 8_269_000 picoseconds. + Weight::from_parts(9_227_069, 0) + // Standard Error: 74 + .saturating_add(Weight::from_parts(51_396, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 575_000 picoseconds. - Weight::from_parts(629_000, 0) + // Minimum execution time: 602_000 picoseconds. + Weight::from_parts(664_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -530,8 +530,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_381_000 picoseconds. - Weight::from_parts(6_636_000, 3819) + // Minimum execution time: 6_131_000 picoseconds. + Weight::from_parts(6_468_000, 3819) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -540,79 +540,79 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_425_000 picoseconds. - Weight::from_parts(7_722_000, 3912) + // Minimum execution time: 7_557_000 picoseconds. + Weight::from_parts(7_704_000, 3912) .saturating_add(T::DbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 754_000 picoseconds. - Weight::from_parts(874_000, 0) + // Minimum execution time: 783_000 picoseconds. + Weight::from_parts(848_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 402_000 picoseconds. - Weight::from_parts(436_000, 0) + // Minimum execution time: 397_000 picoseconds. + Weight::from_parts(435_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 327_000 picoseconds. - Weight::from_parts(366_000, 0) + // Minimum execution time: 351_000 picoseconds. + Weight::from_parts(372_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 562_000 picoseconds. + // Minimum execution time: 608_000 picoseconds. Weight::from_parts(645_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 666_000 picoseconds. - Weight::from_parts(706_000, 0) + // Minimum execution time: 661_000 picoseconds. + Weight::from_parts(729_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_346_000 picoseconds. - Weight::from_parts(4_710_000, 0) + // Minimum execution time: 4_545_000 picoseconds. + Weight::from_parts(4_663_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 565_000 picoseconds. - Weight::from_parts(603_000, 0) + // Minimum execution time: 614_000 picoseconds. + Weight::from_parts(641_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 539_000 picoseconds. - Weight::from_parts(598_000, 0) + // Minimum execution time: 583_000 picoseconds. + Weight::from_parts(618_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 568_000 picoseconds. - Weight::from_parts(603_000, 0) + // Minimum execution time: 583_000 picoseconds. + Weight::from_parts(617_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 582_000 picoseconds. - Weight::from_parts(624_000, 0) + // Minimum execution time: 607_000 picoseconds. + Weight::from_parts(638_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -620,8 +620,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_252_000 picoseconds. - Weight::from_parts(4_398_000, 1552) + // Minimum execution time: 4_172_000 picoseconds. + Weight::from_parts(4_408_000, 1552) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -629,20 +629,20 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 478_000 picoseconds. - Weight::from_parts(544_000, 0) + // Minimum execution time: 475_000 picoseconds. + Weight::from_parts(515_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(298, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 328_000 picoseconds. - Weight::from_parts(352_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(428, 0).saturating_mul(n.into())) + // Minimum execution time: 289_000 picoseconds. + Weight::from_parts(357_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(405, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -655,10 +655,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 12_871_000 picoseconds. - Weight::from_parts(14_999_770, 3784) - // Standard Error: 6_171 - .saturating_add(Weight::from_parts(3_463_815, 0).saturating_mul(n.into())) + // Minimum execution time: 13_316_000 picoseconds. + Weight::from_parts(15_855_821, 3784) + // Standard Error: 7_274 + .saturating_add(Weight::from_parts(3_447_246, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -671,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_330_000 picoseconds. - Weight::from_parts(3_600_000, 1561) + // Minimum execution time: 3_468_000 picoseconds. + Weight::from_parts(3_608_000, 1561) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -683,12 +683,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 3_671_000 picoseconds. - Weight::from_parts(4_111_775, 990) - // Standard Error: 7_003 - .saturating_add(Weight::from_parts(2_187_715, 0).saturating_mul(t.into())) + // Minimum execution time: 3_777_000 picoseconds. + Weight::from_parts(4_028_191, 990) + // Standard Error: 5_907 + .saturating_add(Weight::from_parts(2_183_733, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -698,10 +698,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 405_000 picoseconds. - Weight::from_parts(424_000, 0) + // Minimum execution time: 400_000 picoseconds. + Weight::from_parts(423_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -711,12 +711,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 8_686_000 picoseconds. - Weight::from_parts(8_880_567, 249) + // Minimum execution time: 9_033_000 picoseconds. + Weight::from_parts(8_797_934, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(288, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(257, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(35, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(51, 0).saturating_mul(o.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -728,10 +728,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_801_000 picoseconds. - Weight::from_parts(7_921_801, 248) + // Minimum execution time: 7_167_000 picoseconds. + Weight::from_parts(8_012_194, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(84, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(90, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -743,10 +743,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_798_000 picoseconds. - Weight::from_parts(7_601_208, 248) + // Minimum execution time: 6_868_000 picoseconds. + Weight::from_parts(7_801_811, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(656, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(605, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -757,8 +757,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_106_000 picoseconds. - Weight::from_parts(6_941_563, 248) + // Minimum execution time: 6_322_000 picoseconds. + Weight::from_parts(7_103_552, 248) // Standard Error: 1 .saturating_add(Weight::from_parts(79, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) @@ -771,10 +771,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_390_000 picoseconds. - Weight::from_parts(8_453_242, 248) - // Standard Error: 5 - .saturating_add(Weight::from_parts(670, 0).saturating_mul(n.into())) + // Minimum execution time: 7_702_000 picoseconds. + Weight::from_parts(8_746_305, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(604, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -783,8 +783,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_638_000 picoseconds. - Weight::from_parts(8_944_000, 0) + // Minimum execution time: 8_851_000 picoseconds. + Weight::from_parts(9_083_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -800,12 +800,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 121_635_000 picoseconds. - Weight::from_parts(120_431_611, 4085) - // Standard Error: 183_896 - .saturating_add(Weight::from_parts(42_984_814, 0).saturating_mul(t.into())) + // Minimum execution time: 121_148_000 picoseconds. + Weight::from_parts(119_605_377, 4085) + // Standard Error: 208_337 + .saturating_add(Weight::from_parts(43_153_338, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(5, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(1_u64)) @@ -820,8 +820,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 110_023_000 picoseconds. - Weight::from_parts(113_138_000, 3895) + // Minimum execution time: 108_159_000 picoseconds. + Weight::from_parts(110_027_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -840,12 +840,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4127` - // Minimum execution time: 1_975_528_000 picoseconds. - Weight::from_parts(1_993_898_000, 4127) - // Standard Error: 26 - .saturating_add(Weight::from_parts(696, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(928, 0).saturating_mul(s.into())) + // Minimum execution time: 1_861_874_000 picoseconds. + Weight::from_parts(1_872_926_000, 4127) + // Standard Error: 23 + .saturating_add(Weight::from_parts(557, 0).saturating_mul(i.into())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(920, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -854,64 +854,64 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 897_000 picoseconds. - Weight::from_parts(10_674_295, 0) + // Minimum execution time: 878_000 picoseconds. + Weight::from_parts(10_993_950, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_352, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_325, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_297_000 picoseconds. - Weight::from_parts(8_290_246, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(3_643, 0).saturating_mul(n.into())) + // Minimum execution time: 1_261_000 picoseconds. + Weight::from_parts(9_759_497, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_594, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 771_000 picoseconds. - Weight::from_parts(8_742_076, 0) + // Minimum execution time: 726_000 picoseconds. + Weight::from_parts(9_795_728, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_501, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_455, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 688_000 picoseconds. - Weight::from_parts(8_961_936, 0) + // Minimum execution time: 739_000 picoseconds. + Weight::from_parts(9_701_202, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_498, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_459, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_525_000 picoseconds. - Weight::from_parts(41_597_490, 0) + // Minimum execution time: 43_309_000 picoseconds. + Weight::from_parts(41_405_949, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(5_233, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(5_336, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_338_000 picoseconds. - Weight::from_parts(48_638_000, 0) + // Minimum execution time: 47_880_000 picoseconds. + Weight::from_parts(49_025_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_885_000 picoseconds. - Weight::from_parts(12_973_000, 0) + // Minimum execution time: 13_462_000 picoseconds. + Weight::from_parts(13_631_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -921,8 +921,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 17_575_000 picoseconds. - Weight::from_parts(18_374_000, 3895) + // Minimum execution time: 17_978_000 picoseconds. + Weight::from_parts(18_578_000, 3895) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -932,8 +932,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 7_991_000 picoseconds. - Weight::from_parts(8_518_000, 3820) + // Minimum execution time: 8_384_000 picoseconds. + Weight::from_parts(8_687_000, 3820) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -943,8 +943,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 7_198_000 picoseconds. - Weight::from_parts(7_592_000, 3558) + // Minimum execution time: 7_547_000 picoseconds. + Weight::from_parts(7_935_000, 3558) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -952,15 +952,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 326_000 picoseconds. - Weight::from_parts(340_000, 0) + // Minimum execution time: 331_000 picoseconds. + Weight::from_parts(363_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 323_000 picoseconds. - Weight::from_parts(349_000, 0) + // Minimum execution time: 349_000 picoseconds. + Weight::from_parts(365_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -968,8 +968,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_823_000 picoseconds. - Weight::from_parts(2_995_000, 1704) + // Minimum execution time: 2_814_000 picoseconds. + Weight::from_parts(3_038_000, 1704) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -977,10 +977,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 683_000 picoseconds. - Weight::from_parts(280_480, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(7_266, 0).saturating_mul(r.into())) + // Minimum execution time: 693_000 picoseconds. + Weight::from_parts(665_431, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(7_030, 0).saturating_mul(r.into())) } } @@ -992,8 +992,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 1_895_000 picoseconds. - Weight::from_parts(2_038_000, 1627) + // Minimum execution time: 1_896_000 picoseconds. + Weight::from_parts(1_990_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Skipped::Metadata` (r:0 w:0) @@ -1003,10 +1003,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `452 + k * (69 ±0)` // Estimated: `442 + k * (70 ±0)` - // Minimum execution time: 11_148_000 picoseconds. - Weight::from_parts(11_276_000, 442) - // Standard Error: 1_483 - .saturating_add(Weight::from_parts(1_162_066, 0).saturating_mul(k.into())) + // Minimum execution time: 11_142_000 picoseconds. + Weight::from_parts(11_578_000, 442) + // Standard Error: 1_557 + .saturating_add(Weight::from_parts(1_165_198, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(2_u64)) @@ -1020,10 +1020,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 7_647_000 picoseconds. - Weight::from_parts(4_958_601, 6149) + // Minimum execution time: 7_649_000 picoseconds. + Weight::from_parts(4_827_445, 6149) // Standard Error: 5 - .saturating_add(Weight::from_parts(1_639, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_630, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1036,8 +1036,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 16_327_000 picoseconds. - Weight::from_parts(16_907_000, 6450) + // Minimum execution time: 16_096_000 picoseconds. + Weight::from_parts(16_937_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1050,10 +1050,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 3_227_000 picoseconds. - Weight::from_parts(3_286_000, 3635) - // Standard Error: 622 - .saturating_add(Weight::from_parts(1_088_649, 0).saturating_mul(k.into())) + // Minimum execution time: 3_131_000 picoseconds. + Weight::from_parts(3_209_000, 3635) + // Standard Error: 481 + .saturating_add(Weight::from_parts(1_087_506, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into()))) @@ -1072,10 +1072,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 14_883_000 picoseconds. - Weight::from_parts(15_682_653, 6263) + // Minimum execution time: 15_289_000 picoseconds. + Weight::from_parts(16_157_168, 6263) // Standard Error: 1 - .saturating_add(Weight::from_parts(452, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(395, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1086,8 +1086,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6380` - // Minimum execution time: 12_154_000 picoseconds. - Weight::from_parts(12_633_000, 6380) + // Minimum execution time: 12_312_000 picoseconds. + Weight::from_parts(12_650_000, 6380) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1101,8 +1101,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `352` // Estimated: `6292` - // Minimum execution time: 47_456_000 picoseconds. - Weight::from_parts(48_544_000, 6292) + // Minimum execution time: 47_239_000 picoseconds. + Weight::from_parts(48_617_000, 6292) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1114,8 +1114,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `594` // Estimated: `6534` - // Minimum execution time: 51_257_000 picoseconds. - Weight::from_parts(52_744_000, 6534) + // Minimum execution time: 52_084_000 picoseconds. + Weight::from_parts(53_838_000, 6534) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1125,8 +1125,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `409` // Estimated: `6349` - // Minimum execution time: 11_632_000 picoseconds. - Weight::from_parts(12_161_000, 6349) + // Minimum execution time: 11_785_000 picoseconds. + Weight::from_parts(12_284_000, 6349) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1136,8 +1136,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_088_000 picoseconds. - Weight::from_parts(2_217_000, 1627) + // Minimum execution time: 2_136_000 picoseconds. + Weight::from_parts(2_233_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1149,8 +1149,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 11_052_000 picoseconds. - Weight::from_parts(11_548_000, 3631) + // Minimum execution time: 10_957_000 picoseconds. + Weight::from_parts(11_314_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1160,8 +1160,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_408_000 picoseconds. - Weight::from_parts(4_643_000, 3607) + // Minimum execution time: 4_354_000 picoseconds. + Weight::from_parts(4_613_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1172,8 +1172,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 5_567_000 picoseconds. - Weight::from_parts(5_779_000, 3632) + // Minimum execution time: 5_541_000 picoseconds. + Weight::from_parts(5_790_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: UNKNOWN KEY `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -1184,8 +1184,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 5_400_000 picoseconds. - Weight::from_parts(5_586_000, 3607) + // Minimum execution time: 5_502_000 picoseconds. + Weight::from_parts(5_701_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1206,10 +1206,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801 + c * (1 ±0)` // Estimated: `4264 + c * (1 ±0)` - // Minimum execution time: 245_658_000 picoseconds. - Weight::from_parts(253_508_458, 4264) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_128, 0).saturating_mul(c.into())) + // Minimum execution time: 247_884_000 picoseconds. + Weight::from_parts(265_795_781, 4264) + // Standard Error: 4 + .saturating_add(Weight::from_parts(724, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(c.into())) @@ -1237,14 +1237,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `323` // Estimated: `6262` - // Minimum execution time: 5_057_824_000 picoseconds. - Weight::from_parts(5_127_533_000, 6262) - // Standard Error: 330 - .saturating_add(Weight::from_parts(38_763, 0).saturating_mul(c.into())) - // Standard Error: 39 - .saturating_add(Weight::from_parts(573, 0).saturating_mul(i.into())) - // Standard Error: 39 - .saturating_add(Weight::from_parts(564, 0).saturating_mul(s.into())) + // Minimum execution time: 4_500_184_000 picoseconds. + Weight::from_parts(160_729_258, 6262) + // Standard Error: 143 + .saturating_add(Weight::from_parts(52_809, 0).saturating_mul(c.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(2_173, 0).saturating_mul(i.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(2_165, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -1270,12 +1270,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `560` // Estimated: `4029` - // Minimum execution time: 2_293_214_000 picoseconds. - Weight::from_parts(2_302_235_000, 4029) - // Standard Error: 35 - .saturating_add(Weight::from_parts(1_173, 0).saturating_mul(i.into())) - // Standard Error: 35 - .saturating_add(Weight::from_parts(1_024, 0).saturating_mul(s.into())) + // Minimum execution time: 2_219_163_000 picoseconds. + Weight::from_parts(2_236_918_000, 4029) + // Standard Error: 32 + .saturating_add(Weight::from_parts(937, 0).saturating_mul(i.into())) + // Standard Error: 32 + .saturating_add(Weight::from_parts(938, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -1295,8 +1295,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `826` // Estimated: `4291` - // Minimum execution time: 161_815_000 picoseconds. - Weight::from_parts(166_842_000, 4291) + // Minimum execution time: 164_801_000 picoseconds. + Weight::from_parts(167_250_000, 4291) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1313,10 +1313,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 223_698_000 picoseconds. - Weight::from_parts(253_294_741, 3607) - // Standard Error: 65 - .saturating_add(Weight::from_parts(51_705, 0).saturating_mul(c.into())) + // Minimum execution time: 225_207_000 picoseconds. + Weight::from_parts(263_665_658, 3607) + // Standard Error: 47 + .saturating_add(Weight::from_parts(50_732, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1333,10 +1333,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 240_581_000 picoseconds. - Weight::from_parts(253_558_778, 3607) - // Standard Error: 62 - .saturating_add(Weight::from_parts(51_578, 0).saturating_mul(c.into())) + // Minimum execution time: 230_718_000 picoseconds. + Weight::from_parts(258_359_271, 3607) + // Standard Error: 47 + .saturating_add(Weight::from_parts(51_014, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1352,8 +1352,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `315` // Estimated: `3780` - // Minimum execution time: 39_086_000 picoseconds. - Weight::from_parts(40_212_000, 3780) + // Minimum execution time: 39_668_000 picoseconds. + Weight::from_parts(41_031_000, 3780) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1367,8 +1367,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `552` // Estimated: `6492` - // Minimum execution time: 24_921_000 picoseconds. - Weight::from_parts(25_640_000, 6492) + // Minimum execution time: 25_890_000 picoseconds. + Weight::from_parts(26_603_000, 6492) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1377,17 +1377,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_431_000 picoseconds. - Weight::from_parts(9_390_384, 0) - // Standard Error: 98 - .saturating_add(Weight::from_parts(50_807, 0).saturating_mul(r.into())) + // Minimum execution time: 8_269_000 picoseconds. + Weight::from_parts(9_227_069, 0) + // Standard Error: 74 + .saturating_add(Weight::from_parts(51_396, 0).saturating_mul(r.into())) } fn seal_caller() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 575_000 picoseconds. - Weight::from_parts(629_000, 0) + // Minimum execution time: 602_000 picoseconds. + Weight::from_parts(664_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1395,8 +1395,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `354` // Estimated: `3819` - // Minimum execution time: 6_381_000 picoseconds. - Weight::from_parts(6_636_000, 3819) + // Minimum execution time: 6_131_000 picoseconds. + Weight::from_parts(6_468_000, 3819) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:0) @@ -1405,79 +1405,79 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `447` // Estimated: `3912` - // Minimum execution time: 7_425_000 picoseconds. - Weight::from_parts(7_722_000, 3912) + // Minimum execution time: 7_557_000 picoseconds. + Weight::from_parts(7_704_000, 3912) .saturating_add(RocksDbWeight::get().reads(1_u64)) } fn seal_own_code_hash() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 754_000 picoseconds. - Weight::from_parts(874_000, 0) + // Minimum execution time: 783_000 picoseconds. + Weight::from_parts(848_000, 0) } fn seal_caller_is_origin() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 402_000 picoseconds. - Weight::from_parts(436_000, 0) + // Minimum execution time: 397_000 picoseconds. + Weight::from_parts(435_000, 0) } fn seal_caller_is_root() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 327_000 picoseconds. - Weight::from_parts(366_000, 0) + // Minimum execution time: 351_000 picoseconds. + Weight::from_parts(372_000, 0) } fn seal_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 562_000 picoseconds. + // Minimum execution time: 608_000 picoseconds. Weight::from_parts(645_000, 0) } fn seal_gas_left() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 666_000 picoseconds. - Weight::from_parts(706_000, 0) + // Minimum execution time: 661_000 picoseconds. + Weight::from_parts(729_000, 0) } fn seal_balance() -> Weight { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 4_346_000 picoseconds. - Weight::from_parts(4_710_000, 0) + // Minimum execution time: 4_545_000 picoseconds. + Weight::from_parts(4_663_000, 0) } fn seal_value_transferred() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 565_000 picoseconds. - Weight::from_parts(603_000, 0) + // Minimum execution time: 614_000 picoseconds. + Weight::from_parts(641_000, 0) } fn seal_minimum_balance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 539_000 picoseconds. - Weight::from_parts(598_000, 0) + // Minimum execution time: 583_000 picoseconds. + Weight::from_parts(618_000, 0) } fn seal_block_number() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 568_000 picoseconds. - Weight::from_parts(603_000, 0) + // Minimum execution time: 583_000 picoseconds. + Weight::from_parts(617_000, 0) } fn seal_now() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 582_000 picoseconds. - Weight::from_parts(624_000, 0) + // Minimum execution time: 607_000 picoseconds. + Weight::from_parts(638_000, 0) } /// Storage: `TransactionPayment::NextFeeMultiplier` (r:1 w:0) /// Proof: `TransactionPayment::NextFeeMultiplier` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `Measured`) @@ -1485,8 +1485,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `67` // Estimated: `1552` - // Minimum execution time: 4_252_000 picoseconds. - Weight::from_parts(4_398_000, 1552) + // Minimum execution time: 4_172_000 picoseconds. + Weight::from_parts(4_408_000, 1552) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `n` is `[0, 1048572]`. @@ -1494,20 +1494,20 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 478_000 picoseconds. - Weight::from_parts(544_000, 0) + // Minimum execution time: 475_000 picoseconds. + Weight::from_parts(515_000, 0) // Standard Error: 3 - .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(298, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048572]`. fn seal_return(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 328_000 picoseconds. - Weight::from_parts(352_000, 0) - // Standard Error: 9 - .saturating_add(Weight::from_parts(428, 0).saturating_mul(n.into())) + // Minimum execution time: 289_000 picoseconds. + Weight::from_parts(357_000, 0) + // Standard Error: 10 + .saturating_add(Weight::from_parts(405, 0).saturating_mul(n.into())) } /// Storage: `Contracts::DeletionQueueCounter` (r:1 w:1) /// Proof: `Contracts::DeletionQueueCounter` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1520,10 +1520,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `319 + n * (78 ±0)` // Estimated: `3784 + n * (2553 ±0)` - // Minimum execution time: 12_871_000 picoseconds. - Weight::from_parts(14_999_770, 3784) - // Standard Error: 6_171 - .saturating_add(Weight::from_parts(3_463_815, 0).saturating_mul(n.into())) + // Minimum execution time: 13_316_000 picoseconds. + Weight::from_parts(15_855_821, 3784) + // Standard Error: 7_274 + .saturating_add(Weight::from_parts(3_447_246, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -1536,8 +1536,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `76` // Estimated: `1561` - // Minimum execution time: 3_330_000 picoseconds. - Weight::from_parts(3_600_000, 1561) + // Minimum execution time: 3_468_000 picoseconds. + Weight::from_parts(3_608_000, 1561) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `System::EventTopics` (r:4 w:4) @@ -1548,12 +1548,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `990 + t * (2475 ±0)` - // Minimum execution time: 3_671_000 picoseconds. - Weight::from_parts(4_111_775, 990) - // Standard Error: 7_003 - .saturating_add(Weight::from_parts(2_187_715, 0).saturating_mul(t.into())) + // Minimum execution time: 3_777_000 picoseconds. + Weight::from_parts(4_028_191, 990) + // Standard Error: 5_907 + .saturating_add(Weight::from_parts(2_183_733, 0).saturating_mul(t.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(19, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(18, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(t.into()))) .saturating_add(Weight::from_parts(0, 2475).saturating_mul(t.into())) @@ -1563,10 +1563,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 405_000 picoseconds. - Weight::from_parts(424_000, 0) + // Minimum execution time: 400_000 picoseconds. + Weight::from_parts(423_000, 0) // Standard Error: 10 - .saturating_add(Weight::from_parts(1_217, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_209, 0).saturating_mul(i.into())) } /// Storage: `Skipped::Metadata` (r:0 w:0) /// Proof: `Skipped::Metadata` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1576,12 +1576,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `250 + o * (1 ±0)` // Estimated: `249 + o * (1 ±0)` - // Minimum execution time: 8_686_000 picoseconds. - Weight::from_parts(8_880_567, 249) + // Minimum execution time: 9_033_000 picoseconds. + Weight::from_parts(8_797_934, 249) // Standard Error: 1 - .saturating_add(Weight::from_parts(288, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(257, 0).saturating_mul(n.into())) // Standard Error: 1 - .saturating_add(Weight::from_parts(35, 0).saturating_mul(o.into())) + .saturating_add(Weight::from_parts(51, 0).saturating_mul(o.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(o.into())) @@ -1593,10 +1593,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_801_000 picoseconds. - Weight::from_parts(7_921_801, 248) + // Minimum execution time: 7_167_000 picoseconds. + Weight::from_parts(8_012_194, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(84, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(90, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1608,10 +1608,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_798_000 picoseconds. - Weight::from_parts(7_601_208, 248) + // Minimum execution time: 6_868_000 picoseconds. + Weight::from_parts(7_801_811, 248) // Standard Error: 1 - .saturating_add(Weight::from_parts(656, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(605, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) } @@ -1622,8 +1622,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 6_106_000 picoseconds. - Weight::from_parts(6_941_563, 248) + // Minimum execution time: 6_322_000 picoseconds. + Weight::from_parts(7_103_552, 248) // Standard Error: 1 .saturating_add(Weight::from_parts(79, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) @@ -1636,10 +1636,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `248 + n * (1 ±0)` // Estimated: `248 + n * (1 ±0)` - // Minimum execution time: 7_390_000 picoseconds. - Weight::from_parts(8_453_242, 248) - // Standard Error: 5 - .saturating_add(Weight::from_parts(670, 0).saturating_mul(n.into())) + // Minimum execution time: 7_702_000 picoseconds. + Weight::from_parts(8_746_305, 248) + // Standard Error: 2 + .saturating_add(Weight::from_parts(604, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1648,8 +1648,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `140` // Estimated: `0` - // Minimum execution time: 8_638_000 picoseconds. - Weight::from_parts(8_944_000, 0) + // Minimum execution time: 8_851_000 picoseconds. + Weight::from_parts(9_083_000, 0) } /// Storage: `Contracts::ContractInfoOf` (r:1 w:1) /// Proof: `Contracts::ContractInfoOf` (`max_values`: None, `max_size`: Some(1795), added: 4270, mode: `Measured`) @@ -1665,12 +1665,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `620 + t * (280 ±0)` // Estimated: `4085 + t * (2182 ±0)` - // Minimum execution time: 121_635_000 picoseconds. - Weight::from_parts(120_431_611, 4085) - // Standard Error: 183_896 - .saturating_add(Weight::from_parts(42_984_814, 0).saturating_mul(t.into())) + // Minimum execution time: 121_148_000 picoseconds. + Weight::from_parts(119_605_377, 4085) + // Standard Error: 208_337 + .saturating_add(Weight::from_parts(43_153_338, 0).saturating_mul(t.into())) // Standard Error: 0 - .saturating_add(Weight::from_parts(4, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(5, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(1_u64)) @@ -1685,8 +1685,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 110_023_000 picoseconds. - Weight::from_parts(113_138_000, 3895) + // Minimum execution time: 108_159_000 picoseconds. + Weight::from_parts(110_027_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) @@ -1705,12 +1705,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `676` // Estimated: `4127` - // Minimum execution time: 1_975_528_000 picoseconds. - Weight::from_parts(1_993_898_000, 4127) - // Standard Error: 26 - .saturating_add(Weight::from_parts(696, 0).saturating_mul(i.into())) - // Standard Error: 26 - .saturating_add(Weight::from_parts(928, 0).saturating_mul(s.into())) + // Minimum execution time: 1_861_874_000 picoseconds. + Weight::from_parts(1_872_926_000, 4127) + // Standard Error: 23 + .saturating_add(Weight::from_parts(557, 0).saturating_mul(i.into())) + // Standard Error: 23 + .saturating_add(Weight::from_parts(920, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -1719,64 +1719,64 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 897_000 picoseconds. - Weight::from_parts(10_674_295, 0) + // Minimum execution time: 878_000 picoseconds. + Weight::from_parts(10_993_950, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_352, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_325, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_keccak_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_297_000 picoseconds. - Weight::from_parts(8_290_246, 0) - // Standard Error: 1 - .saturating_add(Weight::from_parts(3_643, 0).saturating_mul(n.into())) + // Minimum execution time: 1_261_000 picoseconds. + Weight::from_parts(9_759_497, 0) + // Standard Error: 0 + .saturating_add(Weight::from_parts(3_594, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_256(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 771_000 picoseconds. - Weight::from_parts(8_742_076, 0) + // Minimum execution time: 726_000 picoseconds. + Weight::from_parts(9_795_728, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_501, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_455, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 1048576]`. fn seal_hash_blake2_128(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 688_000 picoseconds. - Weight::from_parts(8_961_936, 0) + // Minimum execution time: 739_000 picoseconds. + Weight::from_parts(9_701_202, 0) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_498, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_459, 0).saturating_mul(n.into())) } /// The range of component `n` is `[0, 125697]`. fn seal_sr25519_verify(n: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 43_525_000 picoseconds. - Weight::from_parts(41_597_490, 0) + // Minimum execution time: 43_309_000 picoseconds. + Weight::from_parts(41_405_949, 0) // Standard Error: 8 - .saturating_add(Weight::from_parts(5_233, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(5_336, 0).saturating_mul(n.into())) } fn seal_ecdsa_recover() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 47_338_000 picoseconds. - Weight::from_parts(48_638_000, 0) + // Minimum execution time: 47_880_000 picoseconds. + Weight::from_parts(49_025_000, 0) } fn seal_ecdsa_to_eth_address() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 12_885_000 picoseconds. - Weight::from_parts(12_973_000, 0) + // Minimum execution time: 13_462_000 picoseconds. + Weight::from_parts(13_631_000, 0) } /// Storage: `Contracts::CodeInfoOf` (r:1 w:1) /// Proof: `Contracts::CodeInfoOf` (`max_values`: None, `max_size`: Some(93), added: 2568, mode: `Measured`) @@ -1786,8 +1786,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `430` // Estimated: `3895` - // Minimum execution time: 17_575_000 picoseconds. - Weight::from_parts(18_374_000, 3895) + // Minimum execution time: 17_978_000 picoseconds. + Weight::from_parts(18_578_000, 3895) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1797,8 +1797,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3820` - // Minimum execution time: 7_991_000 picoseconds. - Weight::from_parts(8_518_000, 3820) + // Minimum execution time: 8_384_000 picoseconds. + Weight::from_parts(8_687_000, 3820) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1808,8 +1808,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `355` // Estimated: `3558` - // Minimum execution time: 7_198_000 picoseconds. - Weight::from_parts(7_592_000, 3558) + // Minimum execution time: 7_547_000 picoseconds. + Weight::from_parts(7_935_000, 3558) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1817,15 +1817,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 326_000 picoseconds. - Weight::from_parts(340_000, 0) + // Minimum execution time: 331_000 picoseconds. + Weight::from_parts(363_000, 0) } fn seal_account_reentrance_count() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 323_000 picoseconds. - Weight::from_parts(349_000, 0) + // Minimum execution time: 349_000 picoseconds. + Weight::from_parts(365_000, 0) } /// Storage: `Contracts::Nonce` (r:1 w:0) /// Proof: `Contracts::Nonce` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `Measured`) @@ -1833,8 +1833,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `219` // Estimated: `1704` - // Minimum execution time: 2_823_000 picoseconds. - Weight::from_parts(2_995_000, 1704) + // Minimum execution time: 2_814_000 picoseconds. + Weight::from_parts(3_038_000, 1704) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// The range of component `r` is `[0, 5000]`. @@ -1842,9 +1842,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 683_000 picoseconds. - Weight::from_parts(280_480, 0) - // Standard Error: 10 - .saturating_add(Weight::from_parts(7_266, 0).saturating_mul(r.into())) + // Minimum execution time: 693_000 picoseconds. + Weight::from_parts(665_431, 0) + // Standard Error: 12 + .saturating_add(Weight::from_parts(7_030, 0).saturating_mul(r.into())) } }