diff --git a/frame/contracts/primitives/src/lib.rs b/frame/contracts/primitives/src/lib.rs index 3f830ca92486d..ddd97d99b2f59 100644 --- a/frame/contracts/primitives/src/lib.rs +++ b/frame/contracts/primitives/src/lib.rs @@ -161,12 +161,6 @@ pub enum Code { Existing(Hash), } -impl>, Hash> From for Code { - fn from(from: T) -> Self { - Code::Upload(from.into()) - } -} - /// The amount of balance that was either charged or refunded in order to pay for storage. #[derive(Eq, PartialEq, Ord, PartialOrd, Encode, Decode, RuntimeDebug, Clone, TypeInfo)] pub enum StorageDeposit { diff --git a/frame/contracts/src/lib.rs b/frame/contracts/src/lib.rs index bf6fd6309c822..d36a0f93f339b 100644 --- a/frame/contracts/src/lib.rs +++ b/frame/contracts/src/lib.rs @@ -75,8 +75,8 @@ //! allowed to code owner. //! * [`Pallet::set_code`] - Changes the code of an existing contract. Only allowed to `Root` //! origin. -//! * [`Pallet::migrate`] - Runs migration steps of curent multi-block migration in priority, before -//! [`Hooks::on_idle`][frame_support::traits::Hooks::on_idle] activates. +//! * [`Pallet::migrate`] - Runs migration steps of current multi-block migration in priority, +//! before [`Hooks::on_idle`][frame_support::traits::Hooks::on_idle] activates. //! //! ## Usage //! @@ -105,7 +105,7 @@ use crate::{ exec::{AccountIdOf, ErrorOrigin, ExecError, Executable, Key, Stack as ExecStack}, gas::GasMeter, storage::{meter::Meter as StorageMeter, ContractInfo, DeletionQueueManager}, - wasm::{CodeInfo, TryInstantiate, WasmBlob}, + wasm::{CodeInfo, WasmBlob}, }; use codec::{Codec, Decode, Encode, HasCompact}; use environmental::*; @@ -695,24 +695,40 @@ pub mod pallet { salt: Vec, ) -> DispatchResultWithPostInfo { Migration::::ensure_migrated()?; + let origin = ensure_signed(origin)?; let code_len = code.len() as u32; + + let (module, upload_deposit) = Self::try_upload_code( + origin.clone(), + code, + storage_deposit_limit.clone().map(Into::into), + Determinism::Enforced, + None, + )?; + + // Reduces the storage deposit limit by the amount that was reserved for the upload. + let storage_deposit_limit = + storage_deposit_limit.map(|limit| limit.into().saturating_sub(upload_deposit)); + let data_len = data.len() as u32; let salt_len = salt.len() as u32; let common = CommonInput { - origin: Origin::from_runtime_origin(origin)?, + origin: Origin::from_account_id(origin), value, data, gas_limit, - storage_deposit_limit: storage_deposit_limit.map(Into::into), + storage_deposit_limit, debug_message: None, }; + let mut output = - InstantiateInput:: { code: Code::Upload(code), salt }.run_guarded(common); + InstantiateInput:: { code: WasmCode::Wasm(module), salt }.run_guarded(common); if let Ok(retval) = &output.result { if retval.1.did_revert() { output.result = Err(>::ContractReverted.into()); } } + output.gas_meter.into_dispatch_result( output.result.map(|(_address, result)| result), T::WeightInfo::instantiate_with_code(code_len, data_len, salt_len), @@ -748,8 +764,8 @@ pub mod pallet { storage_deposit_limit: storage_deposit_limit.map(Into::into), debug_message: None, }; - let mut output = - InstantiateInput:: { code: Code::Existing(code_hash), salt }.run_guarded(common); + let mut output = InstantiateInput:: { code: WasmCode::CodeHash(code_hash), salt } + .run_guarded(common); if let Ok(retval) = &output.result { if retval.1.did_revert() { output.result = Err(>::ContractReverted.into()); @@ -1052,9 +1068,15 @@ struct CallInput { determinism: Determinism, } +/// Reference to an existing code hash or a new wasm module. +enum WasmCode { + Wasm(WasmBlob), + CodeHash(CodeHash), +} + /// Input specific to a contract instantiation invocation. struct InstantiateInput { - code: Code>, + code: WasmCode, salt: Vec, } @@ -1099,7 +1121,7 @@ struct InternalOutput { /// Helper trait to wrap contract execution entry points into a single function /// [`Invokable::run_guarded`]. -trait Invokable { +trait Invokable: Sized { /// What is returned as a result of a successful invocation. type Output; @@ -1111,7 +1133,7 @@ trait Invokable { /// /// We enforce a re-entrancy guard here by initializing and checking a boolean flag through a /// global reference. - fn run_guarded(&self, common: CommonInput) -> InternalOutput { + fn run_guarded(self, common: CommonInput) -> InternalOutput { // Set up a global reference to the boolean flag used for the re-entrancy guard. environmental!(executing_contract: bool); @@ -1159,11 +1181,8 @@ trait Invokable { /// contract or a instantiation of a new one. /// /// Called by dispatchables and public functions through the [`Invokable::run_guarded`]. - fn run( - &self, - common: CommonInput, - gas_meter: GasMeter, - ) -> InternalOutput; + fn run(self, common: CommonInput, gas_meter: GasMeter) + -> InternalOutput; /// This method ensures that the given `origin` is allowed to invoke the current `Invokable`. /// @@ -1175,7 +1194,7 @@ impl Invokable for CallInput { type Output = ExecReturnValue; fn run( - &self, + self, common: CommonInput, mut gas_meter: GasMeter, ) -> InternalOutput { @@ -1201,7 +1220,7 @@ impl Invokable for CallInput { value, data.clone(), debug_message, - *determinism, + determinism, ); match storage_meter.try_into_deposit(&origin) { @@ -1223,8 +1242,8 @@ impl Invokable for InstantiateInput { type Output = (AccountIdOf, ExecReturnValue); fn run( - &self, - mut common: CommonInput, + self, + common: CommonInput, mut gas_meter: GasMeter, ) -> InternalOutput { let mut storage_deposit = Default::default(); @@ -1233,37 +1252,15 @@ impl Invokable for InstantiateInput { let InstantiateInput { salt, .. } = self; let CommonInput { origin: contract_origin, .. } = common; let origin = contract_origin.account_id()?; - let (extra_deposit, executable) = match &self.code { - Code::Upload(binary) => { - let executable = WasmBlob::from_code( - binary.clone(), - &schedule, - origin.clone(), - Determinism::Enforced, - TryInstantiate::Skip, - ) - .map_err(|(err, msg)| { - common - .debug_message - .as_mut() - .map(|buffer| buffer.try_extend(&mut msg.bytes())); - err - })?; - // The open deposit will be charged during execution when the - // uploaded module does not already exist. This deposit is not part of the - // storage meter because it is not transferred to the contract but - // reserved on the uploading account. - (executable.open_deposit(&executable.code_info()), executable) - }, - Code::Existing(hash) => - (Default::default(), WasmBlob::from_storage(*hash, &mut gas_meter)?), + + let executable = match self.code { + WasmCode::Wasm(module) => module, + WasmCode::CodeHash(code_hash) => WasmBlob::from_storage(code_hash, &mut gas_meter)?, }; + let contract_origin = Origin::from_account_id(origin.clone()); - let mut storage_meter = StorageMeter::new( - &contract_origin, - common.storage_deposit_limit, - common.value.saturating_add(extra_deposit), - )?; + let mut storage_meter = + StorageMeter::new(&contract_origin, common.storage_deposit_limit, common.value)?; let CommonInput { value, data, debug_message, .. } = common; let result = ExecStack::>::run_instantiate( origin.clone(), @@ -1277,9 +1274,7 @@ impl Invokable for InstantiateInput { debug_message, ); - storage_deposit = storage_meter - .try_into_deposit(&contract_origin)? - .saturating_add(&StorageDeposit::Charge(extra_deposit)); + storage_deposit = storage_meter.try_into_deposit(&contract_origin)?; result }; InternalOutput { result: try_exec(), gas_meter, storage_deposit } @@ -1383,7 +1378,7 @@ impl Pallet { origin: T::AccountId, value: BalanceOf, gas_limit: Weight, - storage_deposit_limit: Option>, + mut storage_deposit_limit: Option>, code: Code>, data: Vec, salt: Vec, @@ -1397,6 +1392,45 @@ impl Pallet { } else { None }; + // collect events if CollectEvents is UnsafeCollect + let events = || { + if collect_events == CollectEvents::UnsafeCollect { + Some(System::::read_events_no_consensus().map(|e| *e).collect()) + } else { + None + } + }; + + let (code, upload_deposit): (WasmCode, BalanceOf) = match code { + Code::Upload(code) => { + let result = Self::try_upload_code( + origin.clone(), + code, + storage_deposit_limit.map(Into::into), + Determinism::Enforced, + debug_message.as_mut(), + ); + + let (module, deposit) = match result { + Ok(result) => result, + Err(error) => + return ContractResult { + gas_consumed: Zero::zero(), + gas_required: Zero::zero(), + storage_deposit: Default::default(), + debug_message: debug_message.unwrap_or(Default::default()).into(), + result: Err(error), + events: events(), + }, + }; + + storage_deposit_limit = + storage_deposit_limit.map(|l| l.saturating_sub(deposit.into())); + (WasmCode::Wasm(module), deposit) + }, + Code::Existing(hash) => (WasmCode::CodeHash(hash), Default::default()), + }; + let common = CommonInput { origin: Origin::from_account_id(origin), value, @@ -1405,13 +1439,8 @@ impl Pallet { storage_deposit_limit, debug_message: debug_message.as_mut(), }; + let output = InstantiateInput:: { code, salt }.run_guarded(common); - // collect events if CollectEvents is UnsafeCollect - let events = if collect_events == CollectEvents::UnsafeCollect { - Some(System::::read_events_no_consensus().map(|e| *e).collect()) - } else { - None - }; ContractInstantiateResult { result: output .result @@ -1419,9 +1448,11 @@ impl Pallet { .map_err(|e| e.error), gas_consumed: output.gas_meter.gas_consumed(), gas_required: output.gas_meter.gas_required(), - storage_deposit: output.storage_deposit, + storage_deposit: output + .storage_deposit + .saturating_add(&StorageDeposit::Charge(upload_deposit)), debug_message: debug_message.unwrap_or_default().to_vec(), - events, + events: events(), } } @@ -1436,17 +1467,31 @@ impl Pallet { determinism: Determinism, ) -> CodeUploadResult, BalanceOf> { Migration::::ensure_migrated()?; + let (module, deposit) = + Self::try_upload_code(origin, code, storage_deposit_limit, determinism, None)?; + Ok(CodeUploadReturnValue { code_hash: *module.code_hash(), deposit }) + } + + /// Uploads new code and returns the Wasm blob and deposit amount collected. + fn try_upload_code( + origin: T::AccountId, + code: Vec, + storage_deposit_limit: Option>, + determinism: Determinism, + mut debug_message: Option<&mut DebugBufferVec>, + ) -> Result<(WasmBlob, BalanceOf), DispatchError> { let schedule = T::Schedule::get(); - let module = - WasmBlob::from_code(code, &schedule, origin, determinism, TryInstantiate::Instantiate) - .map_err(|(err, _)| err)?; - let deposit = module.open_deposit(&module.code_info()); + let mut module = + WasmBlob::from_code(code, &schedule, origin, determinism).map_err(|(err, msg)| { + debug_message.as_mut().map(|d| d.try_extend(msg.bytes())); + err + })?; + let deposit = module.store_code()?; if let Some(storage_deposit_limit) = storage_deposit_limit { ensure!(storage_deposit_limit >= deposit, >::StorageDepositLimitExhausted); } - let result = CodeUploadReturnValue { code_hash: *module.code_hash(), deposit }; - module.store()?; - Ok(result) + + Ok((module, deposit)) } /// Query storage of a specified contract under a specified key. @@ -1490,7 +1535,7 @@ impl Pallet { owner: T::AccountId, ) -> frame_support::dispatch::DispatchResult { let schedule = T::Schedule::get(); - WasmBlob::store_code_unchecked(code, &schedule, owner)?; + WasmBlob::::from_code_unchecked(code, &schedule, owner)?.store_code()?; Ok(()) } diff --git a/frame/contracts/src/migration/v11.rs b/frame/contracts/src/migration/v11.rs index 67740cfaf6c80..8123d73aee560 100644 --- a/frame/contracts/src/migration/v11.rs +++ b/frame/contracts/src/migration/v11.rs @@ -80,7 +80,9 @@ impl MigrationStep for Migration { } fn step(&mut self) -> (IsFinished, Weight) { - let Some(old_queue) = old::DeletionQueue::::take() else { return (IsFinished::Yes, Weight::zero()) }; + let Some(old_queue) = old::DeletionQueue::::take() else { + return (IsFinished::Yes, Weight::zero()) + }; let len = old_queue.len(); log::debug!( diff --git a/frame/contracts/src/tests.rs b/frame/contracts/src/tests.rs index 2e9d1176213ee..f67be602695d6 100644 --- a/frame/contracts/src/tests.rs +++ b/frame/contracts/src/tests.rs @@ -3753,6 +3753,19 @@ fn instantiate_with_zero_balance_works() { assert_eq!( System::events(), vec![ + EventRecord { + phase: Phase::Initialization, + event: RuntimeEvent::Balances(pallet_balances::Event::Reserved { + who: ALICE, + amount: deposit_expected, + }), + topics: vec![], + }, + EventRecord { + phase: Phase::Initialization, + event: RuntimeEvent::Contracts(crate::Event::CodeStored { code_hash }), + topics: vec![code_hash], + }, EventRecord { phase: Phase::Initialization, event: RuntimeEvent::System(frame_system::Event::NewAccount { @@ -3801,19 +3814,6 @@ fn instantiate_with_zero_balance_works() { }), topics: vec![], }, - EventRecord { - phase: Phase::Initialization, - event: RuntimeEvent::Balances(pallet_balances::Event::Reserved { - who: ALICE, - amount: deposit_expected, - }), - topics: vec![], - }, - EventRecord { - phase: Phase::Initialization, - event: RuntimeEvent::Contracts(crate::Event::CodeStored { code_hash }), - topics: vec![code_hash], - }, EventRecord { phase: Phase::Initialization, event: RuntimeEvent::Contracts(crate::Event::Instantiated { @@ -3865,6 +3865,19 @@ fn instantiate_with_below_existential_deposit_works() { assert_eq!( System::events(), vec![ + EventRecord { + phase: Phase::Initialization, + event: RuntimeEvent::Balances(pallet_balances::Event::Reserved { + who: ALICE, + amount: deposit_expected, + }), + topics: vec![], + }, + EventRecord { + phase: Phase::Initialization, + event: RuntimeEvent::Contracts(crate::Event::CodeStored { code_hash }), + topics: vec![code_hash], + }, EventRecord { phase: Phase::Initialization, event: RuntimeEvent::System(frame_system::Event::NewAccount { @@ -3922,19 +3935,6 @@ fn instantiate_with_below_existential_deposit_works() { }), topics: vec![], }, - EventRecord { - phase: Phase::Initialization, - event: RuntimeEvent::Balances(pallet_balances::Event::Reserved { - who: ALICE, - amount: deposit_expected, - }), - topics: vec![], - }, - EventRecord { - phase: Phase::Initialization, - event: RuntimeEvent::Contracts(crate::Event::CodeStored { code_hash }), - topics: vec![code_hash], - }, EventRecord { phase: Phase::Initialization, event: RuntimeEvent::Contracts(crate::Event::Instantiated { @@ -4587,11 +4587,29 @@ fn set_code_hash() { #[test] fn storage_deposit_limit_is_enforced() { + let ed = 200; let (wasm, _code_hash) = compile_module::("store_call").unwrap(); - ExtBuilder::default().existential_deposit(200).build().execute_with(|| { + ExtBuilder::default().existential_deposit(ed).build().execute_with(|| { let _ = Balances::deposit_creating(&ALICE, 1_000_000); let min_balance = ::Currency::minimum_balance(); + // Setting insufficient storage_deposit should fail. + assert_err!( + Contracts::bare_instantiate( + ALICE, + 0, + GAS_LIMIT, + Some((2 * ed + 3 - 1).into()), // expected deposit is 2 * ed + 3 for the call + Code::Upload(wasm.clone()), + vec![], + vec![], + DebugInfo::Skip, + CollectEvents::Skip, + ) + .result, + >::StorageDepositLimitExhausted, + ); + // Instantiate the BOB contract. let addr = Contracts::bare_instantiate( ALICE, @@ -5591,7 +5609,7 @@ fn root_cannot_instantiate_with_code() { vec![], vec![], ), - DispatchError::RootNotAllowed, + DispatchError::BadOrigin ); }); } diff --git a/frame/contracts/src/wasm/mod.rs b/frame/contracts/src/wasm/mod.rs index 01075b2a4c9d9..fa05de3f33ac0 100644 --- a/frame/contracts/src/wasm/mod.rs +++ b/frame/contracts/src/wasm/mod.rs @@ -27,12 +27,9 @@ pub use crate::wasm::runtime::api_doc; #[cfg(test)] pub use tests::MockExt; -pub use crate::wasm::{ - prepare::TryInstantiate, - runtime::{ - AllowDeprecatedInterface, AllowUnstableInterface, CallFlags, Environment, ReturnCode, - Runtime, RuntimeCosts, - }, +pub use crate::wasm::runtime::{ + AllowDeprecatedInterface, AllowUnstableInterface, CallFlags, Environment, ReturnCode, Runtime, + RuntimeCosts, }; use crate::{ @@ -147,33 +144,20 @@ impl Token for CodeLoadToken { impl WasmBlob { /// Create the module by checking the `code`. - /// - /// This does **not** store the module. For this one need to either call [`Self::store`] - /// or [`::execute`][`Executable::execute`]. pub fn from_code( code: Vec, schedule: &Schedule, owner: AccountIdOf, determinism: Determinism, - try_instantiate: TryInstantiate, ) -> Result { prepare::prepare::( code.try_into().map_err(|_| (>::CodeTooLarge.into(), ""))?, schedule, owner, determinism, - try_instantiate, ) } - /// Store the code without instantiating it. - /// - /// Otherwise the code is stored when [`::execute`][`Executable::execute`] - /// is called. - pub fn store(self) -> DispatchResult { - Self::store_code(self, false) - } - /// Remove the code from storage and refund the deposit to its owner. /// /// Applies all necessary checks before removing the code. @@ -181,18 +165,6 @@ impl WasmBlob { Self::try_remove_code(origin, code_hash) } - /// Returns whether there is a deposit to be paid for this module. - /// - /// Returns `0` if the module is already in storage and hence no deposit will - /// be charged for storing it. - pub fn open_deposit(&self, code_info: &CodeInfo) -> BalanceOf { - if >::contains_key(self.code_hash()) { - 0u32.into() - } else { - code_info.deposit - } - } - /// Creates and returns an instance of the supplied code. /// /// This is either used for later executing a contract or for validation of a contract. @@ -227,7 +199,7 @@ impl WasmBlob { // Query wasmi for memory limits specified in the module's import entry. let memory_limits = contract.scan_imports::(schedule)?; // Here we allocate this memory in the _store_. It allocates _inital_ value, but allows it - // to grow up to maximum number of memory pages, if neccesary. + // to grow up to maximum number of memory pages, if necessary. let qed = "We checked the limits versus our Schedule, which specifies the max amount of memory pages well below u16::MAX; qed"; @@ -250,50 +222,26 @@ impl WasmBlob { Ok((store, memory, instance)) } - /// Getter method for the code_info. - pub fn code_info(&self) -> &CodeInfo { - &self.code_info - } - - /// Put the module blob into storage. - /// - /// Increments the reference count of the in-storage `WasmBlob`, if it already exists in - /// storage. - fn store_code(mut module: Self, instantiated: bool) -> DispatchResult { - let code_hash = &module.code_hash().clone(); + /// Puts the module blob into storage, and returns the deposit collected for the storage. + pub fn store_code(&mut self) -> Result, Error> { + let code_hash = *self.code_hash(); >::mutate(code_hash, |stored_code_info| { match stored_code_info { - // Instantiate existing contract. - Some(stored_code_info) if instantiated => { - stored_code_info.refcount = stored_code_info.refcount.checked_add(1).expect( - " - refcount is 64bit. Generating this overflow would require to store - _at least_ 18 exabyte of data assuming that a contract consumes only - one byte of data. Any node would run out of storage space before hitting - this overflow; - qed - ", - ); - Ok(()) - }, // Contract code is already stored in storage. Nothing to be done here. - Some(_) => Ok(()), + Some(_) => Ok(Default::default()), // Upload a new contract code. - // // We need to store the code and its code_info, and collect the deposit. + // This `None` case happens only with freshly uploaded modules. This means that + // the `owner` is always the origin of the current transaction. None => { - // This `None` case happens only in freshly uploaded modules. This means that - // the `owner` is always the origin of the current transaction. - T::Currency::reserve(&module.code_info.owner, module.code_info.deposit) + let deposit = self.code_info.deposit; + T::Currency::reserve(&self.code_info.owner, deposit) .map_err(|_| >::StorageDepositNotEnoughFunds)?; - module.code_info.refcount = if instantiated { 1 } else { 0 }; - >::insert(code_hash, module.code); - *stored_code_info = Some(module.code_info); - >::deposit_event( - vec![*code_hash], - Event::CodeStored { code_hash: *code_hash }, - ); - Ok(()) + 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 }); + Ok(deposit) }, } }) @@ -331,17 +279,6 @@ impl WasmBlob { Ok(code) } - /// See [`Self::from_code_unchecked`]. - #[cfg(feature = "runtime-benchmarks")] - pub fn store_code_unchecked( - code: Vec, - schedule: &Schedule, - owner: T::AccountId, - ) -> DispatchResult { - let executable = Self::from_code_unchecked(code, schedule, owner)?; - Self::store_code(executable, false) - } - /// Create the module without checking the passed code. /// /// # Note @@ -350,7 +287,7 @@ impl WasmBlob { /// our results. This also does not collect any deposit from the `owner`. Also useful /// during testing when we want to deploy codes that do not pass the instantiation checks. #[cfg(any(test, feature = "runtime-benchmarks"))] - fn from_code_unchecked( + pub fn from_code_unchecked( code: Vec, schedule: &Schedule, owner: T::AccountId, @@ -450,9 +387,8 @@ impl Executable for WasmBlob { Error::::CodeRejected })?; - // We store before executing so that the code hash is available in the constructor. if let &ExportedFunction::Constructor = function { - Self::store_code(self, true)?; + WasmBlob::::increment_refcount(self.code_hash)?; } let result = exported_func.call(&mut store, &[], &mut []); @@ -790,7 +726,6 @@ mod tests { ext.borrow_mut().schedule(), ALICE, Determinism::Enforced, - TryInstantiate::Instantiate, ) .map_err(|err| err.0)? }; diff --git a/frame/contracts/src/wasm/prepare.rs b/frame/contracts/src/wasm/prepare.rs index 5647d5458e659..ee89aae642b4a 100644 --- a/frame/contracts/src/wasm/prepare.rs +++ b/frame/contracts/src/wasm/prepare.rs @@ -41,21 +41,6 @@ use wasmi::{ /// compiler toolchains might not support specifying other modules than "env" for memory imports. pub const IMPORT_MODULE_MEMORY: &str = "env"; -/// Determines whether a module should be instantiated during preparation. -pub enum TryInstantiate { - /// Do the instantiation to make sure that the module is valid. - /// - /// This should be used if a module is only uploaded but not executed. We need - /// to make sure that it can be actually instantiated. - Instantiate, - /// Skip the instantiation during preparation. - /// - /// This makes sense when the preparation takes place as part of an instantiation. Then - /// this instantiation would fail the whole transaction and an extra check is not - /// necessary. - Skip, -} - /// The inner deserialized module is valid and contains only allowed WebAssembly features. /// This is checked by loading it into wasmi interpreter `engine`. pub struct LoadedModule { @@ -237,7 +222,6 @@ fn validate( code: &[u8], schedule: &Schedule, determinism: Determinism, - try_instantiate: TryInstantiate, ) -> Result<(), (DispatchError, &'static str)> where E: Environment<()>, @@ -261,23 +245,22 @@ where // // - It doesn't use any unknown imports. // - It doesn't explode the wasmi bytecode generation. - if matches!(try_instantiate, TryInstantiate::Instantiate) { - // We don't actually ever run any code 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!") - })?; - } + // + // 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!") + })?; Ok(()) } @@ -295,13 +278,12 @@ pub fn prepare( schedule: &Schedule, owner: AccountIdOf, determinism: Determinism, - try_instantiate: TryInstantiate, ) -> Result, (DispatchError, &'static str)> where E: Environment<()>, T: Config, { - validate::(code.as_ref(), schedule, determinism, try_instantiate)?; + validate::(code.as_ref(), schedule, determinism)?; // Calculate deposit for storing contract code and `code_info` in two different storage items. let bytes_added = code.len().saturating_add(>::max_encoded_len()) as u32; @@ -416,7 +398,6 @@ mod tests { &schedule, ALICE, Determinism::Enforced, - TryInstantiate::Instantiate, ); assert_matches::assert_matches!(r.map_err(|(_, msg)| msg), $($expected)*); } diff --git a/frame/contracts/src/weights.rs b/frame/contracts/src/weights.rs index fccc17a0a79ad..754a28fc22926 100644 --- a/frame/contracts/src/weights.rs +++ b/frame/contracts/src/weights.rs @@ -18,7 +18,7 @@ //! Autogenerated weights for pallet_contracts //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev -//! DATE: 2023-07-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2023-07-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runner-xerhrdyb-project-145-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` //! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024 @@ -137,8 +137,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_546_000 picoseconds. - Weight::from_parts(2_671_000, 1627) + // Minimum execution time: 2_519_000 picoseconds. + Weight::from_parts(2_660_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: Skipped Metadata (r:0 w:0) @@ -148,10 +148,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `451 + k * (69 ±0)` // Estimated: `441 + k * (70 ±0)` - // Minimum execution time: 13_398_000 picoseconds. - Weight::from_parts(13_771_000, 441) - // Standard Error: 1_033 - .saturating_add(Weight::from_parts(1_231_963, 0).saturating_mul(k.into())) + // Minimum execution time: 13_096_000 picoseconds. + Weight::from_parts(13_395_000, 441) + // Standard Error: 1_046 + .saturating_add(Weight::from_parts(1_246_238, 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)) @@ -165,10 +165,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_335_000 picoseconds. - Weight::from_parts(9_172_574, 6149) + // Minimum execution time: 8_409_000 picoseconds. + Weight::from_parts(9_006_438, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_388, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_345, 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())) @@ -181,8 +181,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_087_000 picoseconds. - Weight::from_parts(17_840_000, 6450) + // Minimum execution time: 16_962_000 picoseconds. + Weight::from_parts(17_716_000, 6450) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -195,10 +195,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 4_016_000 picoseconds. - Weight::from_parts(655_916, 3635) - // Standard Error: 1_202 - .saturating_add(Weight::from_parts(1_158_002, 0).saturating_mul(k.into())) + // Minimum execution time: 3_763_000 picoseconds. + Weight::from_parts(2_401_625, 3635) + // Standard Error: 2_827 + .saturating_add(Weight::from_parts(1_201_671, 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()))) @@ -217,10 +217,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 17_500_000 picoseconds. - Weight::from_parts(17_675_710, 6263) + // Minimum execution time: 17_490_000 picoseconds. + Weight::from_parts(17_712_278, 6263) // Standard Error: 0 - .saturating_add(Weight::from_parts(488, 0).saturating_mul(c.into())) + .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())) @@ -231,8 +231,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 3_278_000 picoseconds. - Weight::from_parts(3_501_000, 1627) + // Minimum execution time: 3_282_000 picoseconds. + Weight::from_parts(3_536_000, 1627) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -244,8 +244,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_489_000 picoseconds. - Weight::from_parts(12_850_000, 3631) + // Minimum execution time: 12_973_000 picoseconds. + Weight::from_parts(13_366_000, 3631) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -255,8 +255,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_788_000 picoseconds. - Weight::from_parts(5_099_000, 3607) + // Minimum execution time: 4_764_000 picoseconds. + Weight::from_parts(5_000_000, 3607) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: unknown `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -267,8 +267,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_850_000 picoseconds. - Weight::from_parts(7_146_000, 3632) + // Minimum execution time: 6_616_000 picoseconds. + Weight::from_parts(6_935_000, 3632) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: unknown `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -279,8 +279,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 7_078_000 picoseconds. - Weight::from_parts(7_452_000, 3607) + // Minimum execution time: 6_953_000 picoseconds. + Weight::from_parts(7_440_000, 3607) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -303,10 +303,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `786` // Estimated: `6735 + c * (1 ±0)` - // Minimum execution time: 366_103_000 picoseconds. - Weight::from_parts(335_256_535, 6735) - // Standard Error: 81 - .saturating_add(Weight::from_parts(38_395, 0).saturating_mul(c.into())) + // Minimum execution time: 302_714_000 picoseconds. + Weight::from_parts(271_320_595, 6735) + // Standard Error: 72 + .saturating_add(Weight::from_parts(38_474, 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())) @@ -315,6 +315,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: Contracts MigrationInProgress (max_values: Some(1), max_size: Some(1026), added: 1521, mode: Measured) /// Storage: Contracts CodeInfoOf (r:1 w:1) /// Proof: Contracts CodeInfoOf (max_values: None, max_size: Some(89), added: 2564, mode: Measured) + /// Storage: System EventTopics (r:3 w:3) + /// Proof Skipped: 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) @@ -323,8 +325,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, 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:3 w:3) - /// Proof Skipped: 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]`. @@ -334,14 +334,14 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `303` // Estimated: `8745` - // Minimum execution time: 4_289_681_000 picoseconds. - Weight::from_parts(331_057_751, 8745) - // Standard Error: 206 - .saturating_add(Weight::from_parts(76_366, 0).saturating_mul(c.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_938, 0).saturating_mul(i.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(2_026, 0).saturating_mul(s.into())) + // Minimum execution time: 4_506_957_000 picoseconds. + Weight::from_parts(643_316_921, 8745) + // Standard Error: 278 + .saturating_add(Weight::from_parts(112_835, 0).saturating_mul(c.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(1_830, 0).saturating_mul(i.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(2_022, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(9_u64)) } @@ -367,12 +367,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `523` // Estimated: `6513` - // Minimum execution time: 2_122_622_000 picoseconds. - Weight::from_parts(348_487_014, 6513) + // Minimum execution time: 2_103_482_000 picoseconds. + Weight::from_parts(316_666_183, 6513) // Standard Error: 7 - .saturating_add(Weight::from_parts(1_944, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_933, 0).saturating_mul(i.into())) // Standard Error: 7 - .saturating_add(Weight::from_parts(1_816, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_803, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -394,8 +394,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `820` // Estimated: `6760` - // Minimum execution time: 209_114_000 picoseconds. - Weight::from_parts(216_139_000, 6760) + // Minimum execution time: 207_530_000 picoseconds. + Weight::from_parts(217_243_000, 6760) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -412,10 +412,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 323_131_000 picoseconds. - Weight::from_parts(331_460_802, 3607) - // Standard Error: 104 - .saturating_add(Weight::from_parts(73_534, 0).saturating_mul(c.into())) + // Minimum execution time: 246_381_000 picoseconds. + Weight::from_parts(242_933_576, 3607) + // Standard Error: 100 + .saturating_add(Weight::from_parts(74_645, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -431,8 +431,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3720` - // Minimum execution time: 34_960_000 picoseconds. - Weight::from_parts(36_057_000, 3720) + // Minimum execution time: 35_519_000 picoseconds. + Weight::from_parts(36_813_000, 3720) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -448,8 +448,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `575` // Estimated: `8990` - // Minimum execution time: 37_375_000 picoseconds. - Weight::from_parts(38_310_000, 8990) + // Minimum execution time: 37_769_000 picoseconds. + Weight::from_parts(39_349_000, 8990) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -472,10 +472,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `860 + r * (6 ±0)` // Estimated: `6801 + r * (6 ±0)` - // Minimum execution time: 332_418_000 picoseconds. - Weight::from_parts(344_417_681, 6801) - // Standard Error: 840 - .saturating_add(Weight::from_parts(349_564, 0).saturating_mul(r.into())) + // Minimum execution time: 273_355_000 picoseconds. + Weight::from_parts(280_115_308, 6801) + // Standard Error: 662 + .saturating_add(Weight::from_parts(351_066, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -499,10 +499,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `918 + r * (240 ±0)` // Estimated: `6822 + r * (2715 ±0)` - // Minimum execution time: 336_949_000 picoseconds. - Weight::from_parts(172_018_300, 6822) - // Standard Error: 6_859 - .saturating_add(Weight::from_parts(3_732_788, 0).saturating_mul(r.into())) + // Minimum execution time: 264_066_000 picoseconds. + Weight::from_parts(103_474_597, 6822) + // Standard Error: 7_010 + .saturating_add(Weight::from_parts(3_917_988, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -527,10 +527,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `910 + r * (244 ±0)` // Estimated: `6826 + r * (2719 ±0)` - // Minimum execution time: 331_580_000 picoseconds. - Weight::from_parts(166_444_295, 6826) - // Standard Error: 6_323 - .saturating_add(Weight::from_parts(4_651_680, 0).saturating_mul(r.into())) + // Minimum execution time: 275_726_000 picoseconds. + Weight::from_parts(111_512_451, 6826) + // Standard Error: 6_673 + .saturating_add(Weight::from_parts(4_626_511, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -555,10 +555,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `867 + r * (6 ±0)` // Estimated: `6809 + r * (6 ±0)` - // Minimum execution time: 332_922_000 picoseconds. - Weight::from_parts(347_945_106, 6809) - // Standard Error: 503 - .saturating_add(Weight::from_parts(420_506, 0).saturating_mul(r.into())) + // Minimum execution time: 274_377_000 picoseconds. + Weight::from_parts(286_299_699, 6809) + // Standard Error: 521 + .saturating_add(Weight::from_parts(419_417, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -582,10 +582,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `857 + r * (3 ±0)` // Estimated: `6802 + r * (3 ±0)` - // Minimum execution time: 331_926_000 picoseconds. - Weight::from_parts(342_482_786, 6802) - // Standard Error: 382 - .saturating_add(Weight::from_parts(185_631, 0).saturating_mul(r.into())) + // Minimum execution time: 265_297_000 picoseconds. + Weight::from_parts(283_474_927, 6802) + // Standard Error: 376 + .saturating_add(Weight::from_parts(186_214, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -607,10 +607,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `747 + r * (3 ±0)` // Estimated: `6687 + r * (3 ±0)` - // Minimum execution time: 317_584_000 picoseconds. - Weight::from_parts(335_305_634, 6687) - // Standard Error: 413 - .saturating_add(Weight::from_parts(160_105, 0).saturating_mul(r.into())) + // Minimum execution time: 258_385_000 picoseconds. + Weight::from_parts(269_869_790, 6687) + // Standard Error: 334 + .saturating_add(Weight::from_parts(164_806, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -634,10 +634,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `861 + r * (6 ±0)` // Estimated: `6803 + r * (6 ±0)` - // Minimum execution time: 329_683_000 picoseconds. - Weight::from_parts(350_664_785, 6803) - // Standard Error: 1_164 - .saturating_add(Weight::from_parts(342_540, 0).saturating_mul(r.into())) + // Minimum execution time: 271_351_000 picoseconds. + Weight::from_parts(286_390_305, 6803) + // Standard Error: 628 + .saturating_add(Weight::from_parts(339_374, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -661,10 +661,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `857 + r * (6 ±0)` // Estimated: `6798 + r * (6 ±0)` - // Minimum execution time: 337_992_000 picoseconds. - Weight::from_parts(349_845_008, 6798) - // Standard Error: 2_273 - .saturating_add(Weight::from_parts(544_647, 0).saturating_mul(r.into())) + // Minimum execution time: 273_060_000 picoseconds. + Weight::from_parts(285_959_049, 6798) + // Standard Error: 813 + .saturating_add(Weight::from_parts(544_941, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -688,10 +688,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1001 + r * (6 ±0)` // Estimated: `6925 + r * (6 ±0)` - // Minimum execution time: 333_494_000 picoseconds. - Weight::from_parts(346_208_587, 6925) - // Standard Error: 2_719 - .saturating_add(Weight::from_parts(1_609_679, 0).saturating_mul(r.into())) + // Minimum execution time: 273_717_000 picoseconds. + Weight::from_parts(301_053_119, 6925) + // Standard Error: 3_314 + .saturating_add(Weight::from_parts(1_645_480, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -715,10 +715,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `871 + r * (6 ±0)` // Estimated: `6820 + r * (6 ±0)` - // Minimum execution time: 333_877_000 picoseconds. - Weight::from_parts(345_594_741, 6820) - // Standard Error: 645 - .saturating_add(Weight::from_parts(338_480, 0).saturating_mul(r.into())) + // Minimum execution time: 273_480_000 picoseconds. + Weight::from_parts(284_751_212, 6820) + // Standard Error: 501 + .saturating_add(Weight::from_parts(334_063, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -742,10 +742,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `869 + r * (6 ±0)` // Estimated: `6818 + r * (6 ±0)` - // Minimum execution time: 332_219_000 picoseconds. - Weight::from_parts(344_126_186, 6818) - // Standard Error: 511 - .saturating_add(Weight::from_parts(338_886, 0).saturating_mul(r.into())) + // Minimum execution time: 278_938_000 picoseconds. + Weight::from_parts(284_829_302, 6818) + // Standard Error: 488 + .saturating_add(Weight::from_parts(338_782, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -769,10 +769,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866 + r * (6 ±0)` // Estimated: `6816 + r * (6 ±0)` - // Minimum execution time: 335_740_000 picoseconds. - Weight::from_parts(347_465_239, 6816) - // Standard Error: 821 - .saturating_add(Weight::from_parts(332_457, 0).saturating_mul(r.into())) + // Minimum execution time: 276_799_000 picoseconds. + Weight::from_parts(290_353_700, 6816) + // Standard Error: 675 + .saturating_add(Weight::from_parts(323_565, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -796,10 +796,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `857 + r * (6 ±0)` // Estimated: `6802 + r * (6 ±0)` - // Minimum execution time: 332_370_000 picoseconds. - Weight::from_parts(347_892_383, 6802) - // Standard Error: 551 - .saturating_add(Weight::from_parts(326_597, 0).saturating_mul(r.into())) + // Minimum execution time: 267_740_000 picoseconds. + Weight::from_parts(287_560_339, 6802) + // Standard Error: 479 + .saturating_add(Weight::from_parts(329_276, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -825,10 +825,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `931 + r * (14 ±0)` // Estimated: `6864 + r * (14 ±0)` - // Minimum execution time: 334_272_000 picoseconds. - Weight::from_parts(356_868_168, 6864) - // Standard Error: 2_385 - .saturating_add(Weight::from_parts(1_446_019, 0).saturating_mul(r.into())) + // Minimum execution time: 275_471_000 picoseconds. + Weight::from_parts(297_332_107, 6864) + // Standard Error: 2_230 + .saturating_add(Weight::from_parts(1_484_476, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 14).saturating_mul(r.into())) @@ -852,10 +852,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `859 + r * (6 ±0)` // Estimated: `6803 + r * (6 ±0)` - // Minimum execution time: 331_916_000 picoseconds. - Weight::from_parts(343_895_372, 6803) - // Standard Error: 484 - .saturating_add(Weight::from_parts(296_685, 0).saturating_mul(r.into())) + // Minimum execution time: 255_279_000 picoseconds. + Weight::from_parts(282_649_020, 6803) + // Standard Error: 429 + .saturating_add(Weight::from_parts(290_527, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -879,10 +879,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `863` // Estimated: `6803` - // Minimum execution time: 338_879_000 picoseconds. - Weight::from_parts(295_207_774, 6803) - // Standard Error: 22 - .saturating_add(Weight::from_parts(1_098, 0).saturating_mul(n.into())) + // Minimum execution time: 268_029_000 picoseconds. + Weight::from_parts(231_474_232, 6803) + // Standard Error: 23 + .saturating_add(Weight::from_parts(1_050, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -905,10 +905,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `847 + r * (45 ±0)` // Estimated: `6787 + r * (45 ±0)` - // Minimum execution time: 327_574_000 picoseconds. - Weight::from_parts(338_834_161, 6787) - // Standard Error: 865_283 - .saturating_add(Weight::from_parts(3_500_538, 0).saturating_mul(r.into())) + // Minimum execution time: 252_126_000 picoseconds. + Weight::from_parts(277_677_710, 6787) + // Standard Error: 770_704 + .saturating_add(Weight::from_parts(2_678_989, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(r.into())) @@ -932,10 +932,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `857` // Estimated: `6810` - // Minimum execution time: 334_360_000 picoseconds. - Weight::from_parts(343_561_211, 6810) + // Minimum execution time: 271_967_000 picoseconds. + Weight::from_parts(282_988_484, 6810) // Standard Error: 0 - .saturating_add(Weight::from_parts(448, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(387, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -962,10 +962,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `889 + r * (300 ±0)` // Estimated: `6829 + r * (7725 ±0)` - // Minimum execution time: 331_544_000 picoseconds. - Weight::from_parts(343_944_959, 6829) - // Standard Error: 861_931 - .saturating_add(Weight::from_parts(128_736_840, 0).saturating_mul(r.into())) + // Minimum execution time: 257_246_000 picoseconds. + Weight::from_parts(280_196_561, 6829) + // Standard Error: 815_845 + .saturating_add(Weight::from_parts(127_831_338, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -993,10 +993,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `938 + r * (10 ±0)` // Estimated: `6879 + r * (10 ±0)` - // Minimum execution time: 335_545_000 picoseconds. - Weight::from_parts(362_097_658, 6879) - // Standard Error: 3_732 - .saturating_add(Weight::from_parts(1_954_016, 0).saturating_mul(r.into())) + // Minimum execution time: 270_074_000 picoseconds. + Weight::from_parts(292_298_331, 6879) + // Standard Error: 2_123 + .saturating_add(Weight::from_parts(2_089_487, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -1020,10 +1020,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `857 + r * (10 ±0)` // Estimated: `6802 + r * (10 ±0)` - // Minimum execution time: 334_465_000 picoseconds. - Weight::from_parts(347_040_544, 6802) - // Standard Error: 3_209 - .saturating_add(Weight::from_parts(3_867_402, 0).saturating_mul(r.into())) + // Minimum execution time: 267_080_000 picoseconds. + Weight::from_parts(298_470_496, 6802) + // Standard Error: 3_004 + .saturating_add(Weight::from_parts(3_898_460, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -1048,12 +1048,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `876 + t * (32 ±0)` // Estimated: `6823 + t * (2508 ±0)` - // Minimum execution time: 353_043_000 picoseconds. - Weight::from_parts(350_570_845, 6823) - // Standard Error: 90_604 - .saturating_add(Weight::from_parts(3_376_302, 0).saturating_mul(t.into())) - // Standard Error: 25 - .saturating_add(Weight::from_parts(920, 0).saturating_mul(n.into())) + // Minimum execution time: 277_152_000 picoseconds. + Weight::from_parts(290_745_178, 6823) + // Standard Error: 88_577 + .saturating_add(Weight::from_parts(2_476_405, 0).saturating_mul(t.into())) + // Standard Error: 24 + .saturating_add(Weight::from_parts(702, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1079,10 +1079,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `856 + r * (7 ±0)` // Estimated: `6800 + r * (7 ±0)` - // Minimum execution time: 174_100_000 picoseconds. - Weight::from_parts(185_023_142, 6800) - // Standard Error: 377 - .saturating_add(Weight::from_parts(244_850, 0).saturating_mul(r.into())) + // Minimum execution time: 168_782_000 picoseconds. + Weight::from_parts(179_694_331, 6800) + // Standard Error: 338 + .saturating_add(Weight::from_parts(246_541, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 7).saturating_mul(r.into())) @@ -1106,10 +1106,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `125807` // Estimated: `131749` - // Minimum execution time: 499_963_000 picoseconds. - Weight::from_parts(472_468_910, 131749) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_151, 0).saturating_mul(i.into())) + // Minimum execution time: 428_673_000 picoseconds. + Weight::from_parts(398_928_494, 131749) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_106, 0).saturating_mul(i.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1120,10 +1120,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `924 + r * (292 ±0)` // Estimated: `922 + r * (293 ±0)` - // Minimum execution time: 334_917_000 picoseconds. - Weight::from_parts(231_957_251, 922) - // Standard Error: 11_080 - .saturating_add(Weight::from_parts(7_071_706, 0).saturating_mul(r.into())) + // Minimum execution time: 271_384_000 picoseconds. + Weight::from_parts(147_677_611, 922) + // Standard Error: 13_371 + .saturating_add(Weight::from_parts(7_085_478, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1137,10 +1137,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1383` // Estimated: `1359` - // Minimum execution time: 351_914_000 picoseconds. - Weight::from_parts(395_438_997, 1359) - // Standard Error: 55 - .saturating_add(Weight::from_parts(935, 0).saturating_mul(n.into())) + // Minimum execution time: 279_587_000 picoseconds. + Weight::from_parts(335_690_918, 1359) + // Standard Error: 57 + .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1151,10 +1151,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1246 + n * (1 ±0)` // Estimated: `1246 + n * (1 ±0)` - // Minimum execution time: 350_334_000 picoseconds. - Weight::from_parts(360_616_821, 1246) - // Standard Error: 32 - .saturating_add(Weight::from_parts(441, 0).saturating_mul(n.into())) + // Minimum execution time: 275_572_000 picoseconds. + Weight::from_parts(300_309_544, 1246) + // Standard Error: 35 + .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1166,10 +1166,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `920 + r * (288 ±0)` // Estimated: `924 + r * (289 ±0)` - // Minimum execution time: 337_287_000 picoseconds. - Weight::from_parts(228_593_823, 924) - // Standard Error: 12_420 - .saturating_add(Weight::from_parts(6_871_018, 0).saturating_mul(r.into())) + // Minimum execution time: 271_875_000 picoseconds. + Weight::from_parts(153_680_437, 924) + // Standard Error: 13_050 + .saturating_add(Weight::from_parts(6_892_925, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1183,10 +1183,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1242 + n * (1 ±0)` // Estimated: `1242 + n * (1 ±0)` - // Minimum execution time: 348_450_000 picoseconds. - Weight::from_parts(359_145_658, 1242) - // Standard Error: 31 - .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) + // Minimum execution time: 272_682_000 picoseconds. + Weight::from_parts(301_025_128, 1242) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1198,10 +1196,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `914 + r * (296 ±0)` // Estimated: `919 + r * (297 ±0)` - // Minimum execution time: 337_918_000 picoseconds. - Weight::from_parts(252_634_761, 919) - // Standard Error: 10_301 - .saturating_add(Weight::from_parts(5_658_982, 0).saturating_mul(r.into())) + // Minimum execution time: 271_796_000 picoseconds. + Weight::from_parts(183_856_480, 919) + // Standard Error: 10_064 + .saturating_add(Weight::from_parts(5_660_636, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1214,10 +1212,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1258 + n * (1 ±0)` // Estimated: `1258 + n * (1 ±0)` - // Minimum execution time: 349_865_000 picoseconds. - Weight::from_parts(364_637_455, 1258) - // Standard Error: 43 - .saturating_add(Weight::from_parts(627, 0).saturating_mul(n.into())) + // Minimum execution time: 273_102_000 picoseconds. + Weight::from_parts(297_455_692, 1258) + // Standard Error: 35 + .saturating_add(Weight::from_parts(868, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1229,10 +1227,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `935 + r * (288 ±0)` // Estimated: `936 + r * (289 ±0)` - // Minimum execution time: 334_501_000 picoseconds. - Weight::from_parts(256_737_953, 936) - // Standard Error: 8_494 - .saturating_add(Weight::from_parts(5_452_683, 0).saturating_mul(r.into())) + // Minimum execution time: 271_323_000 picoseconds. + Weight::from_parts(190_080_834, 936) + // Standard Error: 9_143 + .saturating_add(Weight::from_parts(5_488_362, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1245,10 +1243,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1245 + n * (1 ±0)` // Estimated: `1245 + n * (1 ±0)` - // Minimum execution time: 349_107_000 picoseconds. - Weight::from_parts(359_995_568, 1245) - // Standard Error: 30 - .saturating_add(Weight::from_parts(109, 0).saturating_mul(n.into())) + // Minimum execution time: 270_399_000 picoseconds. + Weight::from_parts(296_679_410, 1245) + // Standard Error: 34 + .saturating_add(Weight::from_parts(161, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1260,10 +1258,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `908 + r * (296 ±0)` // Estimated: `915 + r * (297 ±0)` - // Minimum execution time: 333_339_000 picoseconds. - Weight::from_parts(235_980_883, 915) - // Standard Error: 11_633 - .saturating_add(Weight::from_parts(7_018_977, 0).saturating_mul(r.into())) + // Minimum execution time: 271_645_000 picoseconds. + Weight::from_parts(147_320_521, 915) + // Standard Error: 13_502 + .saturating_add(Weight::from_parts(7_074_778, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1277,10 +1275,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1259 + n * (1 ±0)` // Estimated: `1259 + n * (1 ±0)` - // Minimum execution time: 353_005_000 picoseconds. - Weight::from_parts(364_276_314, 1259) - // Standard Error: 30 - .saturating_add(Weight::from_parts(759, 0).saturating_mul(n.into())) + // Minimum execution time: 280_680_000 picoseconds. + Weight::from_parts(304_043_474, 1259) + // Standard Error: 29 + .saturating_add(Weight::from_parts(644, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1304,10 +1302,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1452 + r * (45 ±0)` // Estimated: `7349 + r * (2520 ±0)` - // Minimum execution time: 333_452_000 picoseconds. - Weight::from_parts(142_147_982, 7349) - // Standard Error: 36_619 - .saturating_add(Weight::from_parts(39_660_249, 0).saturating_mul(r.into())) + // Minimum execution time: 274_928_000 picoseconds. + Weight::from_parts(192_111_339, 7349) + // Standard Error: 42_436 + .saturating_add(Weight::from_parts(40_323_660, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1333,10 +1331,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1296 + r * (276 ±0)` // Estimated: `9481 + r * (2752 ±0)` - // Minimum execution time: 337_964_000 picoseconds. - Weight::from_parts(343_202_000, 9481) - // Standard Error: 105_016 - .saturating_add(Weight::from_parts(309_034_946, 0).saturating_mul(r.into())) + // Minimum execution time: 275_293_000 picoseconds. + Weight::from_parts(278_243_000, 9481) + // Standard Error: 119_869 + .saturating_add(Weight::from_parts(245_114_905, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(4_u64)) @@ -1361,11 +1359,11 @@ impl WeightInfo for SubstrateWeight { fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (572 ±0)` - // Estimated: `6806 + r * (2633 ±10)` - // Minimum execution time: 333_861_000 picoseconds. - Weight::from_parts(337_550_000, 6806) - // Standard Error: 139_004 - .saturating_add(Weight::from_parts(306_928_468, 0).saturating_mul(r.into())) + // Estimated: `6806 + r * (2633 ±3)` + // Minimum execution time: 271_857_000 picoseconds. + Weight::from_parts(278_276_000, 6806) + // Standard Error: 152_056 + .saturating_add(Weight::from_parts(243_744_830, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1392,12 +1390,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1328 + t * (310 ±0)` // Estimated: `12218 + t * (5260 ±0)` - // Minimum execution time: 538_804_000 picoseconds. - Weight::from_parts(153_868_010, 12218) - // Standard Error: 11_323_037 - .saturating_add(Weight::from_parts(350_086_502, 0).saturating_mul(t.into())) + // Minimum execution time: 463_865_000 picoseconds. + Weight::from_parts(70_396_050, 12218) + // Standard Error: 11_489_598 + .saturating_add(Weight::from_parts(359_195_747, 0).saturating_mul(t.into())) // Standard Error: 16 - .saturating_add(Weight::from_parts(1_099, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_090, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) @@ -1425,10 +1423,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1383 + r * (251 ±0)` // Estimated: `7207 + r * (5202 ±0)` - // Minimum execution time: 778_214_000 picoseconds. - Weight::from_parts(786_870_000, 7207) - // Standard Error: 332_116 - .saturating_add(Weight::from_parts(457_145_100, 0).saturating_mul(r.into())) + // Minimum execution time: 660_947_000 picoseconds. + Weight::from_parts(668_346_000, 7207) + // Standard Error: 357_950 + .saturating_add(Weight::from_parts(397_202_020, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(6_u64)) @@ -1458,12 +1456,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1232 + t * (156 ±0)` // Estimated: `9662 + t * (2578 ±2)` - // Minimum execution time: 2_540_848_000 picoseconds. - Weight::from_parts(1_403_859_093, 9662) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(i.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_277, 0).saturating_mul(s.into())) + // Minimum execution time: 2_419_720_000 picoseconds. + Weight::from_parts(1_328_224_119, 9662) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_171, 0).saturating_mul(i.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_263, 0).saturating_mul(s.into())) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(T::DbWeight::get().writes(10_u64)) @@ -1489,10 +1487,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `856 + r * (8 ±0)` // Estimated: `6797 + r * (8 ±0)` - // Minimum execution time: 332_530_000 picoseconds. - Weight::from_parts(344_690_108, 6797) - // Standard Error: 475 - .saturating_add(Weight::from_parts(414_505, 0).saturating_mul(r.into())) + // Minimum execution time: 263_620_000 picoseconds. + Weight::from_parts(285_686_431, 6797) + // Standard Error: 605 + .saturating_add(Weight::from_parts(393_863, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1516,10 +1514,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `864` // Estimated: `6804` - // Minimum execution time: 333_818_000 picoseconds. - Weight::from_parts(326_455_409, 6804) + // Minimum execution time: 271_378_000 picoseconds. + Weight::from_parts(266_737_832, 6804) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_124, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1542,10 +1540,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `858 + r * (8 ±0)` // Estimated: `6800 + r * (8 ±0)` - // Minimum execution time: 332_527_000 picoseconds. - Weight::from_parts(340_624_458, 6800) - // Standard Error: 702 - .saturating_add(Weight::from_parts(830_440, 0).saturating_mul(r.into())) + // Minimum execution time: 269_277_000 picoseconds. + Weight::from_parts(282_723_951, 6800) + // Standard Error: 577 + .saturating_add(Weight::from_parts(808_522, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1569,10 +1567,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866` // Estimated: `6808` - // Minimum execution time: 337_558_000 picoseconds. - Weight::from_parts(345_319_444, 6808) + // Minimum execution time: 254_252_000 picoseconds. + Weight::from_parts(277_589_498, 6808) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_443, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_394, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1595,10 +1593,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `858 + r * (8 ±0)` // Estimated: `6803 + r * (8 ±0)` - // Minimum execution time: 333_576_000 picoseconds. - Weight::from_parts(342_567_918, 6803) - // Standard Error: 517 - .saturating_add(Weight::from_parts(469_999, 0).saturating_mul(r.into())) + // Minimum execution time: 254_411_000 picoseconds. + Weight::from_parts(283_572_987, 6803) + // Standard Error: 549 + .saturating_add(Weight::from_parts(455_436, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1622,10 +1620,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866` // Estimated: `6812` - // Minimum execution time: 333_643_000 picoseconds. - Weight::from_parts(332_234_962, 6812) + // Minimum execution time: 264_371_000 picoseconds. + Weight::from_parts(269_330_603, 6812) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_299, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_249, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1648,10 +1646,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `858 + r * (8 ±0)` // Estimated: `6804 + r * (8 ±0)` - // Minimum execution time: 335_949_000 picoseconds. - Weight::from_parts(339_586_300, 6804) - // Standard Error: 712 - .saturating_add(Weight::from_parts(475_318, 0).saturating_mul(r.into())) + // Minimum execution time: 257_896_000 picoseconds. + Weight::from_parts(286_738_151, 6804) + // Standard Error: 680 + .saturating_add(Weight::from_parts(459_525, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -1675,10 +1673,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `866` // Estimated: `6806` - // Minimum execution time: 331_102_000 picoseconds. - Weight::from_parts(335_444_569, 6806) + // Minimum execution time: 272_952_000 picoseconds. + Weight::from_parts(271_516_361, 6806) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_292, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1701,10 +1699,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `991 + n * (1 ±0)` // Estimated: `6928 + n * (1 ±0)` - // Minimum execution time: 399_687_000 picoseconds. - Weight::from_parts(412_562_252, 6928) - // Standard Error: 11 - .saturating_add(Weight::from_parts(6_107, 0).saturating_mul(n.into())) + // Minimum execution time: 351_363_000 picoseconds. + Weight::from_parts(356_558_856, 6928) + // Standard Error: 10 + .saturating_add(Weight::from_parts(6_085, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -1726,12 +1724,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `806 + r * (112 ±0)` + // Measured: `801 + r * (112 ±0)` // Estimated: `6745 + r * (112 ±0)` - // Minimum execution time: 340_992_000 picoseconds. - Weight::from_parts(385_744_518, 6745) - // Standard Error: 10_987 - .saturating_add(Weight::from_parts(56_047_105, 0).saturating_mul(r.into())) + // Minimum execution time: 261_688_000 picoseconds. + Weight::from_parts(338_043_015, 6745) + // Standard Error: 13_532 + .saturating_add(Weight::from_parts(56_420_806, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(r.into())) @@ -1753,12 +1751,12 @@ impl WeightInfo for SubstrateWeight { /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `900 + r * (76 ±0)` + // Measured: `901 + r * (76 ±0)` // Estimated: `6795 + r * (77 ±0)` - // Minimum execution time: 335_366_000 picoseconds. - Weight::from_parts(395_811_523, 6795) - // Standard Error: 14_268 - .saturating_add(Weight::from_parts(46_194_718, 0).saturating_mul(r.into())) + // Minimum execution time: 267_401_000 picoseconds. + Weight::from_parts(345_773_771, 6795) + // Standard Error: 14_486 + .saturating_add(Weight::from_parts(46_180_739, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 77).saturating_mul(r.into())) @@ -1782,10 +1780,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `871 + r * (42 ±0)` // Estimated: `6810 + r * (42 ±0)` - // Minimum execution time: 333_708_000 picoseconds. - Weight::from_parts(375_822_414, 6810) - // Standard Error: 15_535 - .saturating_add(Weight::from_parts(38_534_300, 0).saturating_mul(r.into())) + // Minimum execution time: 277_890_000 picoseconds. + Weight::from_parts(319_211_194, 6810) + // Standard Error: 9_132 + .saturating_add(Weight::from_parts(12_128_696, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 42).saturating_mul(r.into())) @@ -1808,11 +1806,11 @@ impl WeightInfo for SubstrateWeight { fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (961 ±0)` - // Estimated: `6801 + r * (3087 ±7)` - // Minimum execution time: 329_668_000 picoseconds. - Weight::from_parts(337_256_000, 6801) - // Standard Error: 64_733 - .saturating_add(Weight::from_parts(25_506_246, 0).saturating_mul(r.into())) + // Estimated: `6801 + r * (3087 ±10)` + // Minimum execution time: 259_692_000 picoseconds. + Weight::from_parts(278_327_000, 6801) + // Standard Error: 60_024 + .saturating_add(Weight::from_parts(25_758_805, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(T::DbWeight::get().writes(3_u64)) @@ -1838,10 +1836,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `852 + r * (3 ±0)` // Estimated: `6802 + r * (3 ±0)` - // Minimum execution time: 332_021_000 picoseconds. - Weight::from_parts(343_753_442, 6802) - // Standard Error: 406 - .saturating_add(Weight::from_parts(178_908, 0).saturating_mul(r.into())) + // Minimum execution time: 258_907_000 picoseconds. + Weight::from_parts(285_755_890, 6802) + // Standard Error: 378 + .saturating_add(Weight::from_parts(179_649, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1865,10 +1863,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2092 + r * (39 ±0)` // Estimated: `7919 + r * (40 ±0)` - // Minimum execution time: 334_122_000 picoseconds. - Weight::from_parts(410_992_486, 7919) - // Standard Error: 1_583 - .saturating_add(Weight::from_parts(316_027, 0).saturating_mul(r.into())) + // Minimum execution time: 260_415_000 picoseconds. + Weight::from_parts(363_871_048, 7919) + // Standard Error: 2_010 + .saturating_add(Weight::from_parts(317_607, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 40).saturating_mul(r.into())) @@ -1894,10 +1892,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `855 + r * (3 ±0)` // Estimated: `6802 + r * (3 ±0)` - // Minimum execution time: 331_093_000 picoseconds. - Weight::from_parts(345_663_437, 6802) - // Standard Error: 374 - .saturating_add(Weight::from_parts(157_207, 0).saturating_mul(r.into())) + // Minimum execution time: 257_725_000 picoseconds. + Weight::from_parts(283_441_372, 6802) + // Standard Error: 371 + .saturating_add(Weight::from_parts(157_674, 0).saturating_mul(r.into())) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -1907,10 +1905,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_483_000 picoseconds. - Weight::from_parts(1_672_465, 0) - // Standard Error: 24 - .saturating_add(Weight::from_parts(10_591, 0).saturating_mul(r.into())) + // Minimum execution time: 1_635_000 picoseconds. + Weight::from_parts(2_990_110, 0) + // Standard Error: 31 + .saturating_add(Weight::from_parts(10_213, 0).saturating_mul(r.into())) } } @@ -1922,8 +1920,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 2_546_000 picoseconds. - Weight::from_parts(2_671_000, 1627) + // Minimum execution time: 2_519_000 picoseconds. + Weight::from_parts(2_660_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: Skipped Metadata (r:0 w:0) @@ -1933,10 +1931,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `451 + k * (69 ±0)` // Estimated: `441 + k * (70 ±0)` - // Minimum execution time: 13_398_000 picoseconds. - Weight::from_parts(13_771_000, 441) - // Standard Error: 1_033 - .saturating_add(Weight::from_parts(1_231_963, 0).saturating_mul(k.into())) + // Minimum execution time: 13_096_000 picoseconds. + Weight::from_parts(13_395_000, 441) + // Standard Error: 1_046 + .saturating_add(Weight::from_parts(1_246_238, 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)) @@ -1950,10 +1948,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `211 + c * (1 ±0)` // Estimated: `6149 + c * (1 ±0)` - // Minimum execution time: 8_335_000 picoseconds. - Weight::from_parts(9_172_574, 6149) + // Minimum execution time: 8_409_000 picoseconds. + Weight::from_parts(9_006_438, 6149) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_388, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_345, 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())) @@ -1966,8 +1964,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `510` // Estimated: `6450` - // Minimum execution time: 17_087_000 picoseconds. - Weight::from_parts(17_840_000, 6450) + // Minimum execution time: 16_962_000 picoseconds. + Weight::from_parts(17_716_000, 6450) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1980,10 +1978,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `171 + k * (1 ±0)` // Estimated: `3635 + k * (1 ±0)` - // Minimum execution time: 4_016_000 picoseconds. - Weight::from_parts(655_916, 3635) - // Standard Error: 1_202 - .saturating_add(Weight::from_parts(1_158_002, 0).saturating_mul(k.into())) + // Minimum execution time: 3_763_000 picoseconds. + Weight::from_parts(2_401_625, 3635) + // Standard Error: 2_827 + .saturating_add(Weight::from_parts(1_201_671, 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()))) @@ -2002,10 +2000,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `325 + c * (1 ±0)` // Estimated: `6263 + c * (1 ±0)` - // Minimum execution time: 17_500_000 picoseconds. - Weight::from_parts(17_675_710, 6263) + // Minimum execution time: 17_490_000 picoseconds. + Weight::from_parts(17_712_278, 6263) // Standard Error: 0 - .saturating_add(Weight::from_parts(488, 0).saturating_mul(c.into())) + .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())) @@ -2016,8 +2014,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `1627` - // Minimum execution time: 3_278_000 picoseconds. - Weight::from_parts(3_501_000, 1627) + // Minimum execution time: 3_282_000 picoseconds. + Weight::from_parts(3_536_000, 1627) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2029,8 +2027,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `166` // Estimated: `3631` - // Minimum execution time: 12_489_000 picoseconds. - Weight::from_parts(12_850_000, 3631) + // Minimum execution time: 12_973_000 picoseconds. + Weight::from_parts(13_366_000, 3631) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2040,8 +2038,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 4_788_000 picoseconds. - Weight::from_parts(5_099_000, 3607) + // Minimum execution time: 4_764_000 picoseconds. + Weight::from_parts(5_000_000, 3607) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: unknown `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -2052,8 +2050,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `167` // Estimated: `3632` - // Minimum execution time: 6_850_000 picoseconds. - Weight::from_parts(7_146_000, 3632) + // Minimum execution time: 6_616_000 picoseconds. + Weight::from_parts(6_935_000, 3632) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: unknown `0x4342193e496fab7ec59d615ed0dc55304e7b9012096b41c4eb3aaf947f6ea429` (r:1 w:0) @@ -2064,8 +2062,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 7_078_000 picoseconds. - Weight::from_parts(7_452_000, 3607) + // Minimum execution time: 6_953_000 picoseconds. + Weight::from_parts(7_440_000, 3607) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2088,10 +2086,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `786` // Estimated: `6735 + c * (1 ±0)` - // Minimum execution time: 366_103_000 picoseconds. - Weight::from_parts(335_256_535, 6735) - // Standard Error: 81 - .saturating_add(Weight::from_parts(38_395, 0).saturating_mul(c.into())) + // Minimum execution time: 302_714_000 picoseconds. + Weight::from_parts(271_320_595, 6735) + // Standard Error: 72 + .saturating_add(Weight::from_parts(38_474, 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())) @@ -2100,6 +2098,8 @@ impl WeightInfo for () { /// Proof: Contracts MigrationInProgress (max_values: Some(1), max_size: Some(1026), added: 1521, mode: Measured) /// Storage: Contracts CodeInfoOf (r:1 w:1) /// Proof: Contracts CodeInfoOf (max_values: None, max_size: Some(89), added: 2564, mode: Measured) + /// Storage: System EventTopics (r:3 w:3) + /// Proof Skipped: 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) @@ -2108,8 +2108,6 @@ impl WeightInfo for () { /// Proof: Timestamp Now (max_values: Some(1), max_size: Some(8), added: 503, 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:3 w:3) - /// Proof Skipped: 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]`. @@ -2119,14 +2117,14 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `303` // Estimated: `8745` - // Minimum execution time: 4_289_681_000 picoseconds. - Weight::from_parts(331_057_751, 8745) - // Standard Error: 206 - .saturating_add(Weight::from_parts(76_366, 0).saturating_mul(c.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(1_938, 0).saturating_mul(i.into())) - // Standard Error: 24 - .saturating_add(Weight::from_parts(2_026, 0).saturating_mul(s.into())) + // Minimum execution time: 4_506_957_000 picoseconds. + Weight::from_parts(643_316_921, 8745) + // Standard Error: 278 + .saturating_add(Weight::from_parts(112_835, 0).saturating_mul(c.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(1_830, 0).saturating_mul(i.into())) + // Standard Error: 33 + .saturating_add(Weight::from_parts(2_022, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(9_u64)) } @@ -2152,12 +2150,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `523` // Estimated: `6513` - // Minimum execution time: 2_122_622_000 picoseconds. - Weight::from_parts(348_487_014, 6513) + // Minimum execution time: 2_103_482_000 picoseconds. + Weight::from_parts(316_666_183, 6513) // Standard Error: 7 - .saturating_add(Weight::from_parts(1_944, 0).saturating_mul(i.into())) + .saturating_add(Weight::from_parts(1_933, 0).saturating_mul(i.into())) // Standard Error: 7 - .saturating_add(Weight::from_parts(1_816, 0).saturating_mul(s.into())) + .saturating_add(Weight::from_parts(1_803, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -2179,8 +2177,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `820` // Estimated: `6760` - // Minimum execution time: 209_114_000 picoseconds. - Weight::from_parts(216_139_000, 6760) + // Minimum execution time: 207_530_000 picoseconds. + Weight::from_parts(217_243_000, 6760) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -2197,10 +2195,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `142` // Estimated: `3607` - // Minimum execution time: 323_131_000 picoseconds. - Weight::from_parts(331_460_802, 3607) - // Standard Error: 104 - .saturating_add(Weight::from_parts(73_534, 0).saturating_mul(c.into())) + // Minimum execution time: 246_381_000 picoseconds. + Weight::from_parts(242_933_576, 3607) + // Standard Error: 100 + .saturating_add(Weight::from_parts(74_645, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2216,8 +2214,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `255` // Estimated: `3720` - // Minimum execution time: 34_960_000 picoseconds. - Weight::from_parts(36_057_000, 3720) + // Minimum execution time: 35_519_000 picoseconds. + Weight::from_parts(36_813_000, 3720) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2233,8 +2231,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `575` // Estimated: `8990` - // Minimum execution time: 37_375_000 picoseconds. - Weight::from_parts(38_310_000, 8990) + // Minimum execution time: 37_769_000 picoseconds. + Weight::from_parts(39_349_000, 8990) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -2257,10 +2255,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `860 + r * (6 ±0)` // Estimated: `6801 + r * (6 ±0)` - // Minimum execution time: 332_418_000 picoseconds. - Weight::from_parts(344_417_681, 6801) - // Standard Error: 840 - .saturating_add(Weight::from_parts(349_564, 0).saturating_mul(r.into())) + // Minimum execution time: 273_355_000 picoseconds. + Weight::from_parts(280_115_308, 6801) + // Standard Error: 662 + .saturating_add(Weight::from_parts(351_066, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2284,10 +2282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `918 + r * (240 ±0)` // Estimated: `6822 + r * (2715 ±0)` - // Minimum execution time: 336_949_000 picoseconds. - Weight::from_parts(172_018_300, 6822) - // Standard Error: 6_859 - .saturating_add(Weight::from_parts(3_732_788, 0).saturating_mul(r.into())) + // Minimum execution time: 264_066_000 picoseconds. + Weight::from_parts(103_474_597, 6822) + // Standard Error: 7_010 + .saturating_add(Weight::from_parts(3_917_988, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2312,10 +2310,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `910 + r * (244 ±0)` // Estimated: `6826 + r * (2719 ±0)` - // Minimum execution time: 331_580_000 picoseconds. - Weight::from_parts(166_444_295, 6826) - // Standard Error: 6_323 - .saturating_add(Weight::from_parts(4_651_680, 0).saturating_mul(r.into())) + // Minimum execution time: 275_726_000 picoseconds. + Weight::from_parts(111_512_451, 6826) + // Standard Error: 6_673 + .saturating_add(Weight::from_parts(4_626_511, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2340,10 +2338,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `867 + r * (6 ±0)` // Estimated: `6809 + r * (6 ±0)` - // Minimum execution time: 332_922_000 picoseconds. - Weight::from_parts(347_945_106, 6809) - // Standard Error: 503 - .saturating_add(Weight::from_parts(420_506, 0).saturating_mul(r.into())) + // Minimum execution time: 274_377_000 picoseconds. + Weight::from_parts(286_299_699, 6809) + // Standard Error: 521 + .saturating_add(Weight::from_parts(419_417, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2367,10 +2365,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `857 + r * (3 ±0)` // Estimated: `6802 + r * (3 ±0)` - // Minimum execution time: 331_926_000 picoseconds. - Weight::from_parts(342_482_786, 6802) - // Standard Error: 382 - .saturating_add(Weight::from_parts(185_631, 0).saturating_mul(r.into())) + // Minimum execution time: 265_297_000 picoseconds. + Weight::from_parts(283_474_927, 6802) + // Standard Error: 376 + .saturating_add(Weight::from_parts(186_214, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2392,10 +2390,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `747 + r * (3 ±0)` // Estimated: `6687 + r * (3 ±0)` - // Minimum execution time: 317_584_000 picoseconds. - Weight::from_parts(335_305_634, 6687) - // Standard Error: 413 - .saturating_add(Weight::from_parts(160_105, 0).saturating_mul(r.into())) + // Minimum execution time: 258_385_000 picoseconds. + Weight::from_parts(269_869_790, 6687) + // Standard Error: 334 + .saturating_add(Weight::from_parts(164_806, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -2419,10 +2417,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `861 + r * (6 ±0)` // Estimated: `6803 + r * (6 ±0)` - // Minimum execution time: 329_683_000 picoseconds. - Weight::from_parts(350_664_785, 6803) - // Standard Error: 1_164 - .saturating_add(Weight::from_parts(342_540, 0).saturating_mul(r.into())) + // Minimum execution time: 271_351_000 picoseconds. + Weight::from_parts(286_390_305, 6803) + // Standard Error: 628 + .saturating_add(Weight::from_parts(339_374, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2446,10 +2444,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `857 + r * (6 ±0)` // Estimated: `6798 + r * (6 ±0)` - // Minimum execution time: 337_992_000 picoseconds. - Weight::from_parts(349_845_008, 6798) - // Standard Error: 2_273 - .saturating_add(Weight::from_parts(544_647, 0).saturating_mul(r.into())) + // Minimum execution time: 273_060_000 picoseconds. + Weight::from_parts(285_959_049, 6798) + // Standard Error: 813 + .saturating_add(Weight::from_parts(544_941, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2473,10 +2471,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1001 + r * (6 ±0)` // Estimated: `6925 + r * (6 ±0)` - // Minimum execution time: 333_494_000 picoseconds. - Weight::from_parts(346_208_587, 6925) - // Standard Error: 2_719 - .saturating_add(Weight::from_parts(1_609_679, 0).saturating_mul(r.into())) + // Minimum execution time: 273_717_000 picoseconds. + Weight::from_parts(301_053_119, 6925) + // Standard Error: 3_314 + .saturating_add(Weight::from_parts(1_645_480, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2500,10 +2498,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `871 + r * (6 ±0)` // Estimated: `6820 + r * (6 ±0)` - // Minimum execution time: 333_877_000 picoseconds. - Weight::from_parts(345_594_741, 6820) - // Standard Error: 645 - .saturating_add(Weight::from_parts(338_480, 0).saturating_mul(r.into())) + // Minimum execution time: 273_480_000 picoseconds. + Weight::from_parts(284_751_212, 6820) + // Standard Error: 501 + .saturating_add(Weight::from_parts(334_063, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2527,10 +2525,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `869 + r * (6 ±0)` // Estimated: `6818 + r * (6 ±0)` - // Minimum execution time: 332_219_000 picoseconds. - Weight::from_parts(344_126_186, 6818) - // Standard Error: 511 - .saturating_add(Weight::from_parts(338_886, 0).saturating_mul(r.into())) + // Minimum execution time: 278_938_000 picoseconds. + Weight::from_parts(284_829_302, 6818) + // Standard Error: 488 + .saturating_add(Weight::from_parts(338_782, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2554,10 +2552,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866 + r * (6 ±0)` // Estimated: `6816 + r * (6 ±0)` - // Minimum execution time: 335_740_000 picoseconds. - Weight::from_parts(347_465_239, 6816) - // Standard Error: 821 - .saturating_add(Weight::from_parts(332_457, 0).saturating_mul(r.into())) + // Minimum execution time: 276_799_000 picoseconds. + Weight::from_parts(290_353_700, 6816) + // Standard Error: 675 + .saturating_add(Weight::from_parts(323_565, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2581,10 +2579,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `857 + r * (6 ±0)` // Estimated: `6802 + r * (6 ±0)` - // Minimum execution time: 332_370_000 picoseconds. - Weight::from_parts(347_892_383, 6802) - // Standard Error: 551 - .saturating_add(Weight::from_parts(326_597, 0).saturating_mul(r.into())) + // Minimum execution time: 267_740_000 picoseconds. + Weight::from_parts(287_560_339, 6802) + // Standard Error: 479 + .saturating_add(Weight::from_parts(329_276, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2610,10 +2608,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `931 + r * (14 ±0)` // Estimated: `6864 + r * (14 ±0)` - // Minimum execution time: 334_272_000 picoseconds. - Weight::from_parts(356_868_168, 6864) - // Standard Error: 2_385 - .saturating_add(Weight::from_parts(1_446_019, 0).saturating_mul(r.into())) + // Minimum execution time: 275_471_000 picoseconds. + Weight::from_parts(297_332_107, 6864) + // Standard Error: 2_230 + .saturating_add(Weight::from_parts(1_484_476, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 14).saturating_mul(r.into())) @@ -2637,10 +2635,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `859 + r * (6 ±0)` // Estimated: `6803 + r * (6 ±0)` - // Minimum execution time: 331_916_000 picoseconds. - Weight::from_parts(343_895_372, 6803) - // Standard Error: 484 - .saturating_add(Weight::from_parts(296_685, 0).saturating_mul(r.into())) + // Minimum execution time: 255_279_000 picoseconds. + Weight::from_parts(282_649_020, 6803) + // Standard Error: 429 + .saturating_add(Weight::from_parts(290_527, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 6).saturating_mul(r.into())) @@ -2664,10 +2662,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `863` // Estimated: `6803` - // Minimum execution time: 338_879_000 picoseconds. - Weight::from_parts(295_207_774, 6803) - // Standard Error: 22 - .saturating_add(Weight::from_parts(1_098, 0).saturating_mul(n.into())) + // Minimum execution time: 268_029_000 picoseconds. + Weight::from_parts(231_474_232, 6803) + // Standard Error: 23 + .saturating_add(Weight::from_parts(1_050, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2690,10 +2688,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `847 + r * (45 ±0)` // Estimated: `6787 + r * (45 ±0)` - // Minimum execution time: 327_574_000 picoseconds. - Weight::from_parts(338_834_161, 6787) - // Standard Error: 865_283 - .saturating_add(Weight::from_parts(3_500_538, 0).saturating_mul(r.into())) + // Minimum execution time: 252_126_000 picoseconds. + Weight::from_parts(277_677_710, 6787) + // Standard Error: 770_704 + .saturating_add(Weight::from_parts(2_678_989, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 45).saturating_mul(r.into())) @@ -2717,10 +2715,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `857` // Estimated: `6810` - // Minimum execution time: 334_360_000 picoseconds. - Weight::from_parts(343_561_211, 6810) + // Minimum execution time: 271_967_000 picoseconds. + Weight::from_parts(282_988_484, 6810) // Standard Error: 0 - .saturating_add(Weight::from_parts(448, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(387, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2747,10 +2745,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `889 + r * (300 ±0)` // Estimated: `6829 + r * (7725 ±0)` - // Minimum execution time: 331_544_000 picoseconds. - Weight::from_parts(343_944_959, 6829) - // Standard Error: 861_931 - .saturating_add(Weight::from_parts(128_736_840, 0).saturating_mul(r.into())) + // Minimum execution time: 257_246_000 picoseconds. + Weight::from_parts(280_196_561, 6829) + // Standard Error: 815_845 + .saturating_add(Weight::from_parts(127_831_338, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2778,10 +2776,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `938 + r * (10 ±0)` // Estimated: `6879 + r * (10 ±0)` - // Minimum execution time: 335_545_000 picoseconds. - Weight::from_parts(362_097_658, 6879) - // Standard Error: 3_732 - .saturating_add(Weight::from_parts(1_954_016, 0).saturating_mul(r.into())) + // Minimum execution time: 270_074_000 picoseconds. + Weight::from_parts(292_298_331, 6879) + // Standard Error: 2_123 + .saturating_add(Weight::from_parts(2_089_487, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -2805,10 +2803,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `857 + r * (10 ±0)` // Estimated: `6802 + r * (10 ±0)` - // Minimum execution time: 334_465_000 picoseconds. - Weight::from_parts(347_040_544, 6802) - // Standard Error: 3_209 - .saturating_add(Weight::from_parts(3_867_402, 0).saturating_mul(r.into())) + // Minimum execution time: 267_080_000 picoseconds. + Weight::from_parts(298_470_496, 6802) + // Standard Error: 3_004 + .saturating_add(Weight::from_parts(3_898_460, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 10).saturating_mul(r.into())) @@ -2833,12 +2831,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `876 + t * (32 ±0)` // Estimated: `6823 + t * (2508 ±0)` - // Minimum execution time: 353_043_000 picoseconds. - Weight::from_parts(350_570_845, 6823) - // Standard Error: 90_604 - .saturating_add(Weight::from_parts(3_376_302, 0).saturating_mul(t.into())) - // Standard Error: 25 - .saturating_add(Weight::from_parts(920, 0).saturating_mul(n.into())) + // Minimum execution time: 277_152_000 picoseconds. + Weight::from_parts(290_745_178, 6823) + // Standard Error: 88_577 + .saturating_add(Weight::from_parts(2_476_405, 0).saturating_mul(t.into())) + // Standard Error: 24 + .saturating_add(Weight::from_parts(702, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2864,10 +2862,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `856 + r * (7 ±0)` // Estimated: `6800 + r * (7 ±0)` - // Minimum execution time: 174_100_000 picoseconds. - Weight::from_parts(185_023_142, 6800) - // Standard Error: 377 - .saturating_add(Weight::from_parts(244_850, 0).saturating_mul(r.into())) + // Minimum execution time: 168_782_000 picoseconds. + Weight::from_parts(179_694_331, 6800) + // Standard Error: 338 + .saturating_add(Weight::from_parts(246_541, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 7).saturating_mul(r.into())) @@ -2891,10 +2889,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `125807` // Estimated: `131749` - // Minimum execution time: 499_963_000 picoseconds. - Weight::from_parts(472_468_910, 131749) - // Standard Error: 13 - .saturating_add(Weight::from_parts(1_151, 0).saturating_mul(i.into())) + // Minimum execution time: 428_673_000 picoseconds. + Weight::from_parts(398_928_494, 131749) + // Standard Error: 12 + .saturating_add(Weight::from_parts(1_106, 0).saturating_mul(i.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2905,10 +2903,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `924 + r * (292 ±0)` // Estimated: `922 + r * (293 ±0)` - // Minimum execution time: 334_917_000 picoseconds. - Weight::from_parts(231_957_251, 922) - // Standard Error: 11_080 - .saturating_add(Weight::from_parts(7_071_706, 0).saturating_mul(r.into())) + // Minimum execution time: 271_384_000 picoseconds. + Weight::from_parts(147_677_611, 922) + // Standard Error: 13_371 + .saturating_add(Weight::from_parts(7_085_478, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2922,10 +2920,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1383` // Estimated: `1359` - // Minimum execution time: 351_914_000 picoseconds. - Weight::from_parts(395_438_997, 1359) - // Standard Error: 55 - .saturating_add(Weight::from_parts(935, 0).saturating_mul(n.into())) + // Minimum execution time: 279_587_000 picoseconds. + Weight::from_parts(335_690_918, 1359) + // Standard Error: 57 + .saturating_add(Weight::from_parts(708, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -2936,10 +2934,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1246 + n * (1 ±0)` // Estimated: `1246 + n * (1 ±0)` - // Minimum execution time: 350_334_000 picoseconds. - Weight::from_parts(360_616_821, 1246) - // Standard Error: 32 - .saturating_add(Weight::from_parts(441, 0).saturating_mul(n.into())) + // Minimum execution time: 275_572_000 picoseconds. + Weight::from_parts(300_309_544, 1246) + // Standard Error: 35 + .saturating_add(Weight::from_parts(299, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2951,10 +2949,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `920 + r * (288 ±0)` // Estimated: `924 + r * (289 ±0)` - // Minimum execution time: 337_287_000 picoseconds. - Weight::from_parts(228_593_823, 924) - // Standard Error: 12_420 - .saturating_add(Weight::from_parts(6_871_018, 0).saturating_mul(r.into())) + // Minimum execution time: 271_875_000 picoseconds. + Weight::from_parts(153_680_437, 924) + // Standard Error: 13_050 + .saturating_add(Weight::from_parts(6_892_925, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2968,10 +2966,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1242 + n * (1 ±0)` // Estimated: `1242 + n * (1 ±0)` - // Minimum execution time: 348_450_000 picoseconds. - Weight::from_parts(359_145_658, 1242) - // Standard Error: 31 - .saturating_add(Weight::from_parts(309, 0).saturating_mul(n.into())) + // Minimum execution time: 272_682_000 picoseconds. + Weight::from_parts(301_025_128, 1242) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -2983,10 +2979,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `914 + r * (296 ±0)` // Estimated: `919 + r * (297 ±0)` - // Minimum execution time: 337_918_000 picoseconds. - Weight::from_parts(252_634_761, 919) - // Standard Error: 10_301 - .saturating_add(Weight::from_parts(5_658_982, 0).saturating_mul(r.into())) + // Minimum execution time: 271_796_000 picoseconds. + Weight::from_parts(183_856_480, 919) + // Standard Error: 10_064 + .saturating_add(Weight::from_parts(5_660_636, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -2999,10 +2995,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1258 + n * (1 ±0)` // Estimated: `1258 + n * (1 ±0)` - // Minimum execution time: 349_865_000 picoseconds. - Weight::from_parts(364_637_455, 1258) - // Standard Error: 43 - .saturating_add(Weight::from_parts(627, 0).saturating_mul(n.into())) + // Minimum execution time: 273_102_000 picoseconds. + Weight::from_parts(297_455_692, 1258) + // Standard Error: 35 + .saturating_add(Weight::from_parts(868, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3014,10 +3010,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `935 + r * (288 ±0)` // Estimated: `936 + r * (289 ±0)` - // Minimum execution time: 334_501_000 picoseconds. - Weight::from_parts(256_737_953, 936) - // Standard Error: 8_494 - .saturating_add(Weight::from_parts(5_452_683, 0).saturating_mul(r.into())) + // Minimum execution time: 271_323_000 picoseconds. + Weight::from_parts(190_080_834, 936) + // Standard Error: 9_143 + .saturating_add(Weight::from_parts(5_488_362, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3030,10 +3026,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1245 + n * (1 ±0)` // Estimated: `1245 + n * (1 ±0)` - // Minimum execution time: 349_107_000 picoseconds. - Weight::from_parts(359_995_568, 1245) - // Standard Error: 30 - .saturating_add(Weight::from_parts(109, 0).saturating_mul(n.into())) + // Minimum execution time: 270_399_000 picoseconds. + Weight::from_parts(296_679_410, 1245) + // Standard Error: 34 + .saturating_add(Weight::from_parts(161, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3045,10 +3041,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `908 + r * (296 ±0)` // Estimated: `915 + r * (297 ±0)` - // Minimum execution time: 333_339_000 picoseconds. - Weight::from_parts(235_980_883, 915) - // Standard Error: 11_633 - .saturating_add(Weight::from_parts(7_018_977, 0).saturating_mul(r.into())) + // Minimum execution time: 271_645_000 picoseconds. + Weight::from_parts(147_320_521, 915) + // Standard Error: 13_502 + .saturating_add(Weight::from_parts(7_074_778, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3062,10 +3058,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1259 + n * (1 ±0)` // Estimated: `1259 + n * (1 ±0)` - // Minimum execution time: 353_005_000 picoseconds. - Weight::from_parts(364_276_314, 1259) - // Standard Error: 30 - .saturating_add(Weight::from_parts(759, 0).saturating_mul(n.into())) + // Minimum execution time: 280_680_000 picoseconds. + Weight::from_parts(304_043_474, 1259) + // Standard Error: 29 + .saturating_add(Weight::from_parts(644, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3089,10 +3085,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1452 + r * (45 ±0)` // Estimated: `7349 + r * (2520 ±0)` - // Minimum execution time: 333_452_000 picoseconds. - Weight::from_parts(142_147_982, 7349) - // Standard Error: 36_619 - .saturating_add(Weight::from_parts(39_660_249, 0).saturating_mul(r.into())) + // Minimum execution time: 274_928_000 picoseconds. + Weight::from_parts(192_111_339, 7349) + // Standard Error: 42_436 + .saturating_add(Weight::from_parts(40_323_660, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -3118,10 +3114,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1296 + r * (276 ±0)` // Estimated: `9481 + r * (2752 ±0)` - // Minimum execution time: 337_964_000 picoseconds. - Weight::from_parts(343_202_000, 9481) - // Standard Error: 105_016 - .saturating_add(Weight::from_parts(309_034_946, 0).saturating_mul(r.into())) + // Minimum execution time: 275_293_000 picoseconds. + Weight::from_parts(278_243_000, 9481) + // Standard Error: 119_869 + .saturating_add(Weight::from_parts(245_114_905, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(4_u64)) @@ -3146,11 +3142,11 @@ impl WeightInfo for () { fn seal_delegate_call(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (572 ±0)` - // Estimated: `6806 + r * (2633 ±10)` - // Minimum execution time: 333_861_000 picoseconds. - Weight::from_parts(337_550_000, 6806) - // Standard Error: 139_004 - .saturating_add(Weight::from_parts(306_928_468, 0).saturating_mul(r.into())) + // Estimated: `6806 + r * (2633 ±3)` + // Minimum execution time: 271_857_000 picoseconds. + Weight::from_parts(278_276_000, 6806) + // Standard Error: 152_056 + .saturating_add(Weight::from_parts(243_744_830, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3177,12 +3173,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1328 + t * (310 ±0)` // Estimated: `12218 + t * (5260 ±0)` - // Minimum execution time: 538_804_000 picoseconds. - Weight::from_parts(153_868_010, 12218) - // Standard Error: 11_323_037 - .saturating_add(Weight::from_parts(350_086_502, 0).saturating_mul(t.into())) + // Minimum execution time: 463_865_000 picoseconds. + Weight::from_parts(70_396_050, 12218) + // Standard Error: 11_489_598 + .saturating_add(Weight::from_parts(359_195_747, 0).saturating_mul(t.into())) // Standard Error: 16 - .saturating_add(Weight::from_parts(1_099, 0).saturating_mul(c.into())) + .saturating_add(Weight::from_parts(1_090, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) @@ -3210,10 +3206,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1383 + r * (251 ±0)` // Estimated: `7207 + r * (5202 ±0)` - // Minimum execution time: 778_214_000 picoseconds. - Weight::from_parts(786_870_000, 7207) - // Standard Error: 332_116 - .saturating_add(Weight::from_parts(457_145_100, 0).saturating_mul(r.into())) + // Minimum execution time: 660_947_000 picoseconds. + Weight::from_parts(668_346_000, 7207) + // Standard Error: 357_950 + .saturating_add(Weight::from_parts(397_202_020, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(6_u64)) @@ -3243,12 +3239,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1232 + t * (156 ±0)` // Estimated: `9662 + t * (2578 ±2)` - // Minimum execution time: 2_540_848_000 picoseconds. - Weight::from_parts(1_403_859_093, 9662) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_194, 0).saturating_mul(i.into())) - // Standard Error: 18 - .saturating_add(Weight::from_parts(1_277, 0).saturating_mul(s.into())) + // Minimum execution time: 2_419_720_000 picoseconds. + Weight::from_parts(1_328_224_119, 9662) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_171, 0).saturating_mul(i.into())) + // Standard Error: 17 + .saturating_add(Weight::from_parts(1_263, 0).saturating_mul(s.into())) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(t.into()))) .saturating_add(RocksDbWeight::get().writes(10_u64)) @@ -3274,10 +3270,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `856 + r * (8 ±0)` // Estimated: `6797 + r * (8 ±0)` - // Minimum execution time: 332_530_000 picoseconds. - Weight::from_parts(344_690_108, 6797) - // Standard Error: 475 - .saturating_add(Weight::from_parts(414_505, 0).saturating_mul(r.into())) + // Minimum execution time: 263_620_000 picoseconds. + Weight::from_parts(285_686_431, 6797) + // Standard Error: 605 + .saturating_add(Weight::from_parts(393_863, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -3301,10 +3297,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `864` // Estimated: `6804` - // Minimum execution time: 333_818_000 picoseconds. - Weight::from_parts(326_455_409, 6804) + // Minimum execution time: 271_378_000 picoseconds. + Weight::from_parts(266_737_832, 6804) // Standard Error: 1 - .saturating_add(Weight::from_parts(1_190, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_124, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3327,10 +3323,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `858 + r * (8 ±0)` // Estimated: `6800 + r * (8 ±0)` - // Minimum execution time: 332_527_000 picoseconds. - Weight::from_parts(340_624_458, 6800) - // Standard Error: 702 - .saturating_add(Weight::from_parts(830_440, 0).saturating_mul(r.into())) + // Minimum execution time: 269_277_000 picoseconds. + Weight::from_parts(282_723_951, 6800) + // Standard Error: 577 + .saturating_add(Weight::from_parts(808_522, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -3354,10 +3350,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866` // Estimated: `6808` - // Minimum execution time: 337_558_000 picoseconds. - Weight::from_parts(345_319_444, 6808) + // Minimum execution time: 254_252_000 picoseconds. + Weight::from_parts(277_589_498, 6808) // Standard Error: 1 - .saturating_add(Weight::from_parts(3_443, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(3_394, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3380,10 +3376,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `858 + r * (8 ±0)` // Estimated: `6803 + r * (8 ±0)` - // Minimum execution time: 333_576_000 picoseconds. - Weight::from_parts(342_567_918, 6803) - // Standard Error: 517 - .saturating_add(Weight::from_parts(469_999, 0).saturating_mul(r.into())) + // Minimum execution time: 254_411_000 picoseconds. + Weight::from_parts(283_572_987, 6803) + // Standard Error: 549 + .saturating_add(Weight::from_parts(455_436, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -3407,10 +3403,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866` // Estimated: `6812` - // Minimum execution time: 333_643_000 picoseconds. - Weight::from_parts(332_234_962, 6812) + // Minimum execution time: 264_371_000 picoseconds. + Weight::from_parts(269_330_603, 6812) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_299, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_249, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3433,10 +3429,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `858 + r * (8 ±0)` // Estimated: `6804 + r * (8 ±0)` - // Minimum execution time: 335_949_000 picoseconds. - Weight::from_parts(339_586_300, 6804) - // Standard Error: 712 - .saturating_add(Weight::from_parts(475_318, 0).saturating_mul(r.into())) + // Minimum execution time: 257_896_000 picoseconds. + Weight::from_parts(286_738_151, 6804) + // Standard Error: 680 + .saturating_add(Weight::from_parts(459_525, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 8).saturating_mul(r.into())) @@ -3460,10 +3456,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `866` // Estimated: `6806` - // Minimum execution time: 331_102_000 picoseconds. - Weight::from_parts(335_444_569, 6806) + // Minimum execution time: 272_952_000 picoseconds. + Weight::from_parts(271_516_361, 6806) // Standard Error: 0 - .saturating_add(Weight::from_parts(1_292, 0).saturating_mul(n.into())) + .saturating_add(Weight::from_parts(1_242, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3486,10 +3482,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `991 + n * (1 ±0)` // Estimated: `6928 + n * (1 ±0)` - // Minimum execution time: 399_687_000 picoseconds. - Weight::from_parts(412_562_252, 6928) - // Standard Error: 11 - .saturating_add(Weight::from_parts(6_107, 0).saturating_mul(n.into())) + // Minimum execution time: 351_363_000 picoseconds. + Weight::from_parts(356_558_856, 6928) + // Standard Error: 10 + .saturating_add(Weight::from_parts(6_085, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 1).saturating_mul(n.into())) @@ -3511,12 +3507,12 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 160]`. fn seal_sr25519_verify(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `806 + r * (112 ±0)` + // Measured: `801 + r * (112 ±0)` // Estimated: `6745 + r * (112 ±0)` - // Minimum execution time: 340_992_000 picoseconds. - Weight::from_parts(385_744_518, 6745) - // Standard Error: 10_987 - .saturating_add(Weight::from_parts(56_047_105, 0).saturating_mul(r.into())) + // Minimum execution time: 261_688_000 picoseconds. + Weight::from_parts(338_043_015, 6745) + // Standard Error: 13_532 + .saturating_add(Weight::from_parts(56_420_806, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 112).saturating_mul(r.into())) @@ -3538,12 +3534,12 @@ impl WeightInfo for () { /// The range of component `r` is `[0, 160]`. fn seal_ecdsa_recover(r: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `900 + r * (76 ±0)` + // Measured: `901 + r * (76 ±0)` // Estimated: `6795 + r * (77 ±0)` - // Minimum execution time: 335_366_000 picoseconds. - Weight::from_parts(395_811_523, 6795) - // Standard Error: 14_268 - .saturating_add(Weight::from_parts(46_194_718, 0).saturating_mul(r.into())) + // Minimum execution time: 267_401_000 picoseconds. + Weight::from_parts(345_773_771, 6795) + // Standard Error: 14_486 + .saturating_add(Weight::from_parts(46_180_739, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 77).saturating_mul(r.into())) @@ -3567,10 +3563,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `871 + r * (42 ±0)` // Estimated: `6810 + r * (42 ±0)` - // Minimum execution time: 333_708_000 picoseconds. - Weight::from_parts(375_822_414, 6810) - // Standard Error: 15_535 - .saturating_add(Weight::from_parts(38_534_300, 0).saturating_mul(r.into())) + // Minimum execution time: 277_890_000 picoseconds. + Weight::from_parts(319_211_194, 6810) + // Standard Error: 9_132 + .saturating_add(Weight::from_parts(12_128_696, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 42).saturating_mul(r.into())) @@ -3593,11 +3589,11 @@ impl WeightInfo for () { fn seal_set_code_hash(r: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `0 + r * (961 ±0)` - // Estimated: `6801 + r * (3087 ±7)` - // Minimum execution time: 329_668_000 picoseconds. - Weight::from_parts(337_256_000, 6801) - // Standard Error: 64_733 - .saturating_add(Weight::from_parts(25_506_246, 0).saturating_mul(r.into())) + // Estimated: `6801 + r * (3087 ±10)` + // Minimum execution time: 259_692_000 picoseconds. + Weight::from_parts(278_327_000, 6801) + // Standard Error: 60_024 + .saturating_add(Weight::from_parts(25_758_805, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(r.into()))) .saturating_add(RocksDbWeight::get().writes(3_u64)) @@ -3623,10 +3619,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `852 + r * (3 ±0)` // Estimated: `6802 + r * (3 ±0)` - // Minimum execution time: 332_021_000 picoseconds. - Weight::from_parts(343_753_442, 6802) - // Standard Error: 406 - .saturating_add(Weight::from_parts(178_908, 0).saturating_mul(r.into())) + // Minimum execution time: 258_907_000 picoseconds. + Weight::from_parts(285_755_890, 6802) + // Standard Error: 378 + .saturating_add(Weight::from_parts(179_649, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -3650,10 +3646,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2092 + r * (39 ±0)` // Estimated: `7919 + r * (40 ±0)` - // Minimum execution time: 334_122_000 picoseconds. - Weight::from_parts(410_992_486, 7919) - // Standard Error: 1_583 - .saturating_add(Weight::from_parts(316_027, 0).saturating_mul(r.into())) + // Minimum execution time: 260_415_000 picoseconds. + Weight::from_parts(363_871_048, 7919) + // Standard Error: 2_010 + .saturating_add(Weight::from_parts(317_607, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 40).saturating_mul(r.into())) @@ -3679,10 +3675,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `855 + r * (3 ±0)` // Estimated: `6802 + r * (3 ±0)` - // Minimum execution time: 331_093_000 picoseconds. - Weight::from_parts(345_663_437, 6802) - // Standard Error: 374 - .saturating_add(Weight::from_parts(157_207, 0).saturating_mul(r.into())) + // Minimum execution time: 257_725_000 picoseconds. + Weight::from_parts(283_441_372, 6802) + // Standard Error: 371 + .saturating_add(Weight::from_parts(157_674, 0).saturating_mul(r.into())) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) .saturating_add(Weight::from_parts(0, 3).saturating_mul(r.into())) @@ -3692,9 +3688,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_483_000 picoseconds. - Weight::from_parts(1_672_465, 0) - // Standard Error: 24 - .saturating_add(Weight::from_parts(10_591, 0).saturating_mul(r.into())) + // Minimum execution time: 1_635_000 picoseconds. + Weight::from_parts(2_990_110, 0) + // Standard Error: 31 + .saturating_add(Weight::from_parts(10_213, 0).saturating_mul(r.into())) } }