From 07ffd42ffdaab610e1c390dc1f236fcb7ea17595 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 22 Jun 2026 08:18:00 -0700 Subject: [PATCH 01/14] remove duplicate sudo_set_subnet_owner_hotkey --- pallets/admin-utils/src/lib.rs | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/pallets/admin-utils/src/lib.rs b/pallets/admin-utils/src/lib.rs index 0e63a1f05a..23df61e05c 100644 --- a/pallets/admin-utils/src/lib.rs +++ b/pallets/admin-utils/src/lib.rs @@ -1532,28 +1532,17 @@ pub mod pallet { Ok(()) } - /// Change the SubnetOwnerHotkey for a given subnet. - /// - /// # Arguments - /// * `origin` - The origin of the call, which must be the subnet owner. - /// * `netuid` - The unique identifier for the subnet. - /// * `hotkey` - The new hotkey for the subnet owner. - /// - /// # Errors - /// * `BadOrigin` - If the caller is not the subnet owner or root account. - /// - /// # Weight - /// Weight is handled by the `#[pallet::weight]` attribute. - #[pallet::call_index(64)] - #[pallet::weight(Weight::from_parts(3_918_000, 0) // TODO: add benchmarks - .saturating_add(T::DbWeight::get().writes(1_u64)))] - pub fn sudo_set_subnet_owner_hotkey( - origin: OriginFor, - netuid: NetUid, - hotkey: ::AccountId, - ) -> DispatchResult { - pallet_subtensor::Pallet::::do_set_sn_owner_hotkey(origin, netuid, &hotkey) - } + // Deprecated for sudo_set_sn_owner_hotkey + // #[pallet::call_index(64)] + // #[pallet::weight(Weight::from_parts(3_918_000, 0) // TODO: add benchmarks + // .saturating_add(T::DbWeight::get().writes(1_u64)))] + // pub fn sudo_set_subnet_owner_hotkey( + // origin: OriginFor, + // netuid: NetUid, + // hotkey: ::AccountId, + // ) -> DispatchResult { + // pallet_subtensor::Pallet::::do_set_sn_owner_hotkey(origin, netuid, &hotkey) + // } /// /// From 2c8a3fd9a3e76818dd53a83b9717536ce84cfba9 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 22 Jun 2026 08:25:58 -0700 Subject: [PATCH 02/14] bump spec --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 542e896369..7958e54eb0 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -234,7 +234,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 421, + spec_version: 422, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From f38c0dbc30d044fb065f744fdb30c14c98f557d6 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 22 Jun 2026 09:50:01 -0700 Subject: [PATCH 03/14] deprecate `BlockEmission` & create rpc --- pallets/subtensor/rpc/src/lib.rs | 10 ++++++++++ pallets/subtensor/runtime-api/src/lib.rs | 1 + pallets/subtensor/src/coinbase/block_emission.rs | 3 --- pallets/subtensor/src/lib.rs | 1 + runtime/src/lib.rs | 9 ++++++++- 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/pallets/subtensor/rpc/src/lib.rs b/pallets/subtensor/rpc/src/lib.rs index e00729151f..fc0958290f 100644 --- a/pallets/subtensor/rpc/src/lib.rs +++ b/pallets/subtensor/rpc/src/lib.rs @@ -83,6 +83,9 @@ pub trait SubtensorCustomApi { ) -> RpcResult>; #[method(name = "subnetInfo_getSubnetState")] fn get_subnet_state(&self, netuid: NetUid, at: Option) -> RpcResult>; + + #[method(name = "subnetInfo_getBlockEmission")] + fn get_block_emission(&self, at: Option) -> RpcResult; #[method(name = "subnetInfo_getLockCost")] fn get_network_lock_cost(&self, at: Option) -> RpcResult; #[method(name = "subnetInfo_getSelectiveMetagraph")] @@ -467,6 +470,13 @@ where } } + fn get_block_emission(&self, at: Option<::Hash>) -> RpcResult { + let api = self.client.runtime_api(); + let at = at.unwrap_or_else(|| self.client.info().best_hash); + + api.get_block_emission(at) + .map_err(|e| Error::RuntimeError(format!("Unable to get block emission: {e:?}")).into()) + } fn get_network_lock_cost(&self, at: Option<::Hash>) -> RpcResult { let api = self.client.runtime_api(); let at = at.unwrap_or_else(|| self.client.info().best_hash); diff --git a/pallets/subtensor/runtime-api/src/lib.rs b/pallets/subtensor/runtime-api/src/lib.rs index 2b95d59dc3..657bd9e3eb 100644 --- a/pallets/subtensor/runtime-api/src/lib.rs +++ b/pallets/subtensor/runtime-api/src/lib.rs @@ -61,6 +61,7 @@ sp_api::decl_runtime_apis! { fn get_subnet_to_prune() -> Option; fn get_subnet_account_id(netuid: NetUid) -> Option; fn get_next_epoch_start_block(netuid: NetUid) -> Option; + fn get_block_emission() -> TaoBalance; } pub trait StakeInfoRuntimeApi { diff --git a/pallets/subtensor/src/coinbase/block_emission.rs b/pallets/subtensor/src/coinbase/block_emission.rs index d4adcddbee..96e44dbcc4 100644 --- a/pallets/subtensor/src/coinbase/block_emission.rs +++ b/pallets/subtensor/src/coinbase/block_emission.rs @@ -77,9 +77,6 @@ impl Pallet { .saturating_mul(I96F32::saturating_from_num(DefaultBlockEmission::::get())); // Convert to u64 let block_emission_u64: u64 = block_emission.saturating_to_num::(); - if BlockEmission::::get() != block_emission_u64 { - BlockEmission::::put(block_emission_u64); - } Ok(block_emission_u64) } } diff --git a/pallets/subtensor/src/lib.rs b/pallets/subtensor/src/lib.rs index bd0b4ab974..39af87a8dc 100644 --- a/pallets/subtensor/src/lib.rs +++ b/pallets/subtensor/src/lib.rs @@ -1278,6 +1278,7 @@ pub mod pallet { /// ==== Coinbase ==== /// ================== /// --- ITEM ( global_block_emission ) + #[deprecated] #[pallet::storage] pub type BlockEmission = StorageValue<_, u64, ValueQuery, DefaultBlockEmission>; diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 542e896369..1e5601d764 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -234,7 +234,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 421, + spec_version: 422, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -2530,6 +2530,13 @@ impl_runtime_apis! { fn get_next_epoch_start_block(netuid: NetUid) -> Option { SubtensorModule::get_next_epoch_start_block(netuid) } + + fn get_block_emission() -> TaoBalance { + match SubtensorModule::calculate_block_emission() { + Ok(block_emission) => block_emission.into(), + Err(_) => TaoBalance::ZERO, + } + } } impl subtensor_custom_rpc_runtime_api::StakeInfoRuntimeApi for Runtime { From 23039e02d46fa24c2b911e31dffb279f5202b94f Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 22 Jun 2026 09:54:58 -0700 Subject: [PATCH 04/14] update deprecation note --- pallets/subtensor/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/subtensor/src/lib.rs b/pallets/subtensor/src/lib.rs index 39af87a8dc..adddf63736 100644 --- a/pallets/subtensor/src/lib.rs +++ b/pallets/subtensor/src/lib.rs @@ -1278,7 +1278,7 @@ pub mod pallet { /// ==== Coinbase ==== /// ================== /// --- ITEM ( global_block_emission ) - #[deprecated] + #[deprecated(note = "Use calculate_block_emission() or the block emission RPC instead.")] #[pallet::storage] pub type BlockEmission = StorageValue<_, u64, ValueQuery, DefaultBlockEmission>; From 3e606f0b1c75a2765410d2c935bcdad4b05248cd Mon Sep 17 00:00:00 2001 From: "subtensor-ai-review[bot]" Date: Mon, 22 Jun 2026 17:28:58 +0000 Subject: [PATCH 05/14] chore: auditor auto-fix --- pallets/subtensor/rpc/src/lib.rs | 1 + runtime/src/lib.rs | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pallets/subtensor/rpc/src/lib.rs b/pallets/subtensor/rpc/src/lib.rs index fc0958290f..0c11869704 100644 --- a/pallets/subtensor/rpc/src/lib.rs +++ b/pallets/subtensor/rpc/src/lib.rs @@ -477,6 +477,7 @@ where api.get_block_emission(at) .map_err(|e| Error::RuntimeError(format!("Unable to get block emission: {e:?}")).into()) } + fn get_network_lock_cost(&self, at: Option<::Hash>) -> RpcResult { let api = self.client.runtime_api(); let at = at.unwrap_or_else(|| self.client.info().best_hash); diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 1e5601d764..65348a95dd 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -2531,13 +2531,13 @@ impl_runtime_apis! { SubtensorModule::get_next_epoch_start_block(netuid) } - fn get_block_emission() -> TaoBalance { - match SubtensorModule::calculate_block_emission() { - Ok(block_emission) => block_emission.into(), - Err(_) => TaoBalance::ZERO, + fn get_block_emission() -> TaoBalance { + match SubtensorModule::calculate_block_emission() { + Ok(block_emission) => block_emission.into(), + Err(_) => TaoBalance::ZERO, + } } } - } impl subtensor_custom_rpc_runtime_api::StakeInfoRuntimeApi for Runtime { fn get_stake_info_for_coldkey( coldkey_account: AccountId32 ) -> Vec> { From 799469256f57e5e8abe40953d266882dea0dde09 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 Jun 2026 18:36:56 +0000 Subject: [PATCH 06/14] auto-update benchmark weights --- pallets/admin-utils/src/weights.rs | 1144 ++++++++++++++++----------- pallets/limit-orders/src/weights.rs | 54 +- pallets/proxy/src/weights.rs | 222 +++--- pallets/subtensor/src/weights.rs | 830 ++++++++++--------- pallets/utility/src/weights.rs | 86 +- 5 files changed, 1328 insertions(+), 1008 deletions(-) diff --git a/pallets/admin-utils/src/weights.rs b/pallets/admin-utils/src/weights.rs index c248b2eb57..2a377d63fc 100644 --- a/pallets/admin-utils/src/weights.rs +++ b/pallets/admin-utils/src/weights.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_admin_utils` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-05-25, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervmg397c`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.JEdED8lJZP +// --output=/tmp/tmp.dgdvRZbE7r // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -66,7 +66,6 @@ pub trait WeightInfo { fn sudo_set_commit_reveal_weights_enabled() -> Weight; fn sudo_set_commit_reveal_version() -> Weight; fn sudo_set_tx_rate_limit() -> Weight; - fn sudo_set_max_epochs_per_block() -> Weight; fn sudo_set_total_issuance() -> Weight; fn sudo_set_rao_recycled() -> Weight; fn sudo_set_stake_threshold() -> Weight; @@ -94,6 +93,7 @@ pub trait WeightInfo { fn sudo_set_owner_immune_neuron_limit() -> Weight; fn sudo_trim_to_max_allowed_uids() -> Weight; fn sudo_set_min_non_immune_uids() -> Weight; + fn sudo_set_max_epochs_per_block() -> Weight; } /// Weights for `pallet_admin_utils` using the Substrate node and recommended hardware. @@ -106,10 +106,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_037_000 picoseconds. - Weight::from_parts(4_538_772, 0) - // Standard Error: 736 - .saturating_add(Weight::from_parts(25_351, 0).saturating_mul(a.into())) + // Minimum execution time: 3_897_000 picoseconds. + Weight::from_parts(4_534_972, 0) + // Standard Error: 647 + .saturating_add(Weight::from_parts(25_587, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Grandpa::PendingChange` (r:1 w:1) @@ -119,10 +119,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `2779` - // Minimum execution time: 7_294_000 picoseconds. - Weight::from_parts(7_890_823, 2779) - // Standard Error: 864 - .saturating_add(Weight::from_parts(17_669, 0).saturating_mul(a.into())) + // Minimum execution time: 7_344_000 picoseconds. + Weight::from_parts(7_894_857, 2779) + // Standard Error: 758 + .saturating_add(Weight::from_parts(17_723, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -132,27 +132,35 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_250_000 picoseconds. - Weight::from_parts(5_640_000, 0) + // Minimum execution time: 5_209_000 picoseconds. + Weight::from_parts(5_461_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ServingRateLimit` (r:0 w:1) /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_serving_rate_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `627` - // Estimated: `4092` - // Minimum execution time: 20_679_000 picoseconds. - Weight::from_parts(21_500_000, 4092) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `747` + // Estimated: `4212` + // Minimum execution time: 27_121_000 picoseconds. + Weight::from_parts(28_032_000, 4212) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -161,15 +169,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaxDifficulty` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_difficulty() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_119_000 picoseconds. - Weight::from_parts(26_870_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_132_000 picoseconds. + Weight::from_parts(34_064_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -178,11 +190,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MinDifficulty` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_difficulty() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 25_999_000 picoseconds. - Weight::from_parts(26_890_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_092_000 picoseconds. + Weight::from_parts(33_993_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -193,13 +205,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 15_890_000 picoseconds. - Weight::from_parts(16_571_000, 4084) + // Minimum execution time: 16_030_000 picoseconds. + Weight::from_parts(16_380_000, 4084) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -208,15 +224,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::WeightsVersionKey` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_weights_version_key() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_109_000 picoseconds. - Weight::from_parts(26_960_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 32_931_000 picoseconds. + Weight::from_parts(34_024_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -225,15 +245,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::BondsMovingAverage` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_bonds_moving_average() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_049_000 picoseconds. - Weight::from_parts(27_130_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_152_000 picoseconds. + Weight::from_parts(33_994_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -242,15 +266,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::BondsPenalty` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_bonds_penalty() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_179_000 picoseconds. - Weight::from_parts(27_021_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_213_000 picoseconds. + Weight::from_parts(33_984_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -261,15 +289,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaxAllowedValidators` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_allowed_validators() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 27_652_000 picoseconds. - Weight::from_parts(28_463_000, 4235) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 34_915_000 picoseconds. + Weight::from_parts(35_777_000, 4383) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -278,11 +310,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Difficulty` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_difficulty() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_359_000 picoseconds. - Weight::from_parts(27_091_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 32_881_000 picoseconds. + Weight::from_parts(33_813_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -293,13 +325,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 15_729_000 picoseconds. - Weight::from_parts(16_811_000, 4084) + // Minimum execution time: 15_720_000 picoseconds. + Weight::from_parts(16_631_000, 4084) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -308,15 +344,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TargetRegistrationsPerInterval` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_target_registrations_per_interval() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_169_000 picoseconds. - Weight::from_parts(26_990_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 32_982_000 picoseconds. + Weight::from_parts(33_924_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -327,15 +367,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ActivityCutoff` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_activity_cutoff() -> Weight { // Proof Size summary in bytes: - // Measured: `832` - // Estimated: `4297` - // Minimum execution time: 28_202_000 picoseconds. - Weight::from_parts(29_676_000, 4297) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_994_000 picoseconds. + Weight::from_parts(35_296_000, 4383) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -344,11 +388,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Rho` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_rho() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 23_193_000 picoseconds. - Weight::from_parts(23_735_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 30_307_000 picoseconds. + Weight::from_parts(30_858_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -359,13 +403,17 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 16_009_000 picoseconds. - Weight::from_parts(16_501_000, 4084) + // Minimum execution time: 15_910_000 picoseconds. + Weight::from_parts(16_320_000, 4084) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -378,15 +426,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MinAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_allowed_uids() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 29_495_000 picoseconds. - Weight::from_parts(30_577_000, 4235) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 36_368_000 picoseconds. + Weight::from_parts(37_600_000, 4383) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -401,15 +453,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaxAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_allowed_uids() -> Weight { // Proof Size summary in bytes: - // Measured: `820` - // Estimated: `4285` - // Minimum execution time: 34_475_000 picoseconds. - Weight::from_parts(35_696_000, 4285) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `968` + // Estimated: `4433` + // Minimum execution time: 41_598_000 picoseconds. + Weight::from_parts(42_880_000, 4433) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -418,15 +474,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MinAllowedWeights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_allowed_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_209_000 picoseconds. - Weight::from_parts(27_151_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_372_000 picoseconds. + Weight::from_parts(33_933_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -435,15 +495,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ImmunityPeriod` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_immunity_period() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_239_000 picoseconds. - Weight::from_parts(26_920_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_052_000 picoseconds. + Weight::from_parts(33_933_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -452,15 +516,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaxRegistrationsPerBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_registrations_per_block() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 25_969_000 picoseconds. - Weight::from_parts(26_951_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_082_000 picoseconds. + Weight::from_parts(34_023_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -471,15 +539,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaxBurn` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `797` - // Estimated: `4262` - // Minimum execution time: 28_954_000 picoseconds. - Weight::from_parts(29_765_000, 4262) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `945` + // Estimated: `4410` + // Minimum execution time: 36_017_000 picoseconds. + Weight::from_parts(37_159_000, 4410) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -490,11 +562,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MinBurn` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `772` - // Estimated: `4237` - // Minimum execution time: 29_265_000 picoseconds. - Weight::from_parts(30_005_000, 4237) - .saturating_add(T::DbWeight::get().reads(4_u64)) + // Measured: `920` + // Estimated: `4385` + // Minimum execution time: 35_998_000 picoseconds. + Weight::from_parts(37_239_000, 4385) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworkRegistrationAllowed` (r:0 w:1) @@ -503,27 +575,35 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_683_000 picoseconds. - Weight::from_parts(7_124_000, 0) + // Minimum execution time: 6_592_000 picoseconds. + Weight::from_parts(6_963_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:1) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:1) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_tempo() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 25_758_000 picoseconds. - Weight::from_parts(26_580_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 34_564_000 picoseconds. + Weight::from_parts(35_386_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -532,15 +612,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_commit_reveal_weights_interval() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_099_000 picoseconds. - Weight::from_parts(27_551_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_602_000 picoseconds. + Weight::from_parts(34_955_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -549,11 +633,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_commit_reveal_weights_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_319_000 picoseconds. - Weight::from_parts(26_940_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 32_902_000 picoseconds. + Weight::from_parts(34_004_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsVersion` (r:0 w:1) @@ -562,8 +646,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_871_000 picoseconds. - Weight::from_parts(6_292_000, 0) + // Minimum execution time: 5_710_000 picoseconds. + Weight::from_parts(6_182_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::TxRateLimit` (r:0 w:1) @@ -572,26 +656,16 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_130_000 picoseconds. - Weight::from_parts(5_500_000, 0) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } - /// Storage: `SubtensorModule::MaxEpochsPerBlock` (r:0 w:1) - /// Proof: `SubtensorModule::MaxEpochsPerBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - fn sudo_set_max_epochs_per_block() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 5_310_000 picoseconds. + Weight::from_parts(5_601_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } fn sudo_set_total_issuance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_851_000 picoseconds. - Weight::from_parts(6_102_000, 0) + // Minimum execution time: 5_731_000 picoseconds. + Weight::from_parts(5_951_000, 0) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -601,8 +675,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 15_890_000 picoseconds. - Weight::from_parts(16_380_000, 4084) + // Minimum execution time: 15_639_000 picoseconds. + Weight::from_parts(16_430_000, 4084) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -612,8 +686,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_259_000 picoseconds. - Weight::from_parts(5_510_000, 0) + // Minimum execution time: 5_180_000 picoseconds. + Weight::from_parts(5_490_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NominatorMinRequiredStake` (r:1 w:1) @@ -626,10 +700,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_nominator_min_required_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `912` - // Estimated: `6852` - // Minimum execution time: 28_783_000 picoseconds. - Weight::from_parts(29_535_000, 6852) + // Measured: `950` + // Estimated: `6890` + // Minimum execution time: 29_445_000 picoseconds. + Weight::from_parts(30_177_000, 6890) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -640,7 +714,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 5_190_000 picoseconds. - Weight::from_parts(5_390_000, 0) + Weight::from_parts(5_490_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::MinDelegateTake` (r:0 w:1) @@ -649,12 +723,16 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_179_000 picoseconds. - Weight::from_parts(5_471_000, 0) + // Minimum execution time: 5_290_000 picoseconds. + Weight::from_parts(5_550_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -667,30 +745,38 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MinChildkeyTakePerSubnet` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_childkey_take_per_subnet() -> Weight { // Proof Size summary in bytes: - // Measured: `806` - // Estimated: `4271` - // Minimum execution time: 29_535_000 picoseconds. - Weight::from_parts(30_327_000, 4271) - .saturating_add(T::DbWeight::get().reads(5_u64)) + // Measured: `954` + // Estimated: `4419` + // Minimum execution time: 36_768_000 picoseconds. + Weight::from_parts(37_781_000, 4419) + .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LiquidAlphaOn` (r:0 w:1) /// Proof: `SubtensorModule::LiquidAlphaOn` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_liquid_alpha_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 17_453_000 picoseconds. - Weight::from_parts(18_084_000, 4132) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 24_486_000 picoseconds. + Weight::from_parts(25_587_000, 4280) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LiquidAlphaOn` (r:1 w:0) @@ -699,11 +785,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::AlphaValues` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_alpha_values() -> Weight { // Proof Size summary in bytes: - // Measured: `814` - // Estimated: `4279` - // Minimum execution time: 25_918_000 picoseconds. - Weight::from_parts(26_509_000, 4279) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `962` + // Estimated: `4427` + // Minimum execution time: 32_832_000 picoseconds. + Weight::from_parts(33_883_000, 4427) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::ColdkeySwapAnnouncementDelay` (r:0 w:1) @@ -712,8 +798,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_190_000 picoseconds. - Weight::from_parts(5_511_000, 0) + // Minimum execution time: 5_179_000 picoseconds. + Weight::from_parts(5_440_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::ColdkeySwapReannouncementDelay` (r:0 w:1) @@ -722,8 +808,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_270_000 picoseconds. - Weight::from_parts(5_500_000, 0) + // Minimum execution time: 5_160_000 picoseconds. + Weight::from_parts(5_340_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::DissolveNetworkScheduleDuration` (r:0 w:1) @@ -732,23 +818,27 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_139_000 picoseconds. - Weight::from_parts(5_440_000, 0) + // Minimum execution time: 5_240_000 picoseconds. + Weight::from_parts(5_430_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TransferToggle` (r:0 w:1) /// Proof: `SubtensorModule::TransferToggle` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_toggle_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 19_987_000 picoseconds. - Weight::from_parts(20_628_000, 4132) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 27_241_000 picoseconds. + Weight::from_parts(27_952_000, 4280) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `AdminUtils::PrecompileEnable` (r:1 w:0) @@ -757,8 +847,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 6_161_000 picoseconds. - Weight::from_parts(6_382_000, 3507) + // Minimum execution time: 6_111_000 picoseconds. + Weight::from_parts(6_362_000, 3507) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `SubtensorModule::SubnetMovingAlpha` (r:0 w:1) @@ -768,7 +858,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 2_665_000 picoseconds. - Weight::from_parts(2_945_000, 0) + Weight::from_parts(2_855_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::EMAPriceHalvingBlocks` (r:0 w:1) @@ -777,12 +867,16 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_857_000 picoseconds. - Weight::from_parts(4_158_000, 0) + // Minimum execution time: 3_777_000 picoseconds. + Weight::from_parts(3_958_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -791,41 +885,49 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::AlphaSigmoidSteepness` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_alpha_sigmoid_steepness() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 23_253_000 picoseconds. - Weight::from_parts(23_824_000, 4235) - .saturating_add(T::DbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 30_166_000 picoseconds. + Weight::from_parts(31_078_000, 4383) + .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Yuma3On` (r:0 w:1) /// Proof: `SubtensorModule::Yuma3On` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_yuma3_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 20_408_000 picoseconds. - Weight::from_parts(20_928_000, 4132) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 27_302_000 picoseconds. + Weight::from_parts(28_362_000, 4280) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::BondsResetOn` (r:0 w:1) /// Proof: `SubtensorModule::BondsResetOn` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_bonds_reset_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 22_281_000 picoseconds. - Weight::from_parts(23_013_000, 4132) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 29_255_000 picoseconds. + Weight::from_parts(30_267_000, 4280) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -836,8 +938,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 15_729_000 picoseconds. - Weight::from_parts(16_490_000, 4084) + // Minimum execution time: 15_519_000 picoseconds. + Weight::from_parts(16_090_000, 4084) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -851,24 +953,28 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `712` // Estimated: `4177` - // Minimum execution time: 24_325_000 picoseconds. - Weight::from_parts(25_427_000, 4177) + // Minimum execution time: 24_436_000 picoseconds. + Weight::from_parts(25_287_000, 4177) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubtokenEnabled` (r:0 w:1) /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_subtoken_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 16_661_000 picoseconds. - Weight::from_parts(17_342_000, 4132) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 24_145_000 picoseconds. + Weight::from_parts(24_897_000, 4280) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::AdminFreezeWindow` (r:0 w:1) @@ -877,8 +983,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_279_000 picoseconds. - Weight::from_parts(5_540_000, 0) + // Minimum execution time: 5_240_000 picoseconds. + Weight::from_parts(5_511_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::OwnerHyperparamRateLimit` (r:0 w:1) @@ -887,27 +993,35 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_260_000 picoseconds. - Weight::from_parts(5_620_000, 0) + // Minimum execution time: 5_210_000 picoseconds. + Weight::from_parts(5_530_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ImmuneOwnerUidsLimit` (r:0 w:1) /// Proof: `SubtensorModule::ImmuneOwnerUidsLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_owner_immune_neuron_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 16_961_000 picoseconds. - Weight::from_parts(17_663_000, 4132) - .saturating_add(T::DbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 24_115_000 picoseconds. + Weight::from_parts(24_896_000, 4280) + .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -920,11 +1034,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_trim_to_max_allowed_uids() -> Weight { // Proof Size summary in bytes: - // Measured: `785` - // Estimated: `4250` - // Minimum execution time: 29_645_000 picoseconds. - Weight::from_parts(30_477_000, 4250) - .saturating_add(T::DbWeight::get().reads(6_u64)) + // Measured: `933` + // Estimated: `4398` + // Minimum execution time: 36_838_000 picoseconds. + Weight::from_parts(37_710_000, 4398) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::MinNonImmuneUids` (r:0 w:1) @@ -933,8 +1047,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_953_000 picoseconds. - Weight::from_parts(7_134_000, 0) + // Minimum execution time: 6_482_000 picoseconds. + Weight::from_parts(6_933_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `SubtensorModule::MaxEpochsPerBlock` (r:0 w:1) + /// Proof: `SubtensorModule::MaxEpochsPerBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn sudo_set_max_epochs_per_block() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_300_000 picoseconds. + Weight::from_parts(5_430_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -948,10 +1072,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_037_000 picoseconds. - Weight::from_parts(4_538_772, 0) - // Standard Error: 736 - .saturating_add(Weight::from_parts(25_351, 0).saturating_mul(a.into())) + // Minimum execution time: 3_897_000 picoseconds. + Weight::from_parts(4_534_972, 0) + // Standard Error: 647 + .saturating_add(Weight::from_parts(25_587, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Grandpa::PendingChange` (r:1 w:1) @@ -961,10 +1085,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `174` // Estimated: `2779` - // Minimum execution time: 7_294_000 picoseconds. - Weight::from_parts(7_890_823, 2779) - // Standard Error: 864 - .saturating_add(Weight::from_parts(17_669, 0).saturating_mul(a.into())) + // Minimum execution time: 7_344_000 picoseconds. + Weight::from_parts(7_894_857, 2779) + // Standard Error: 758 + .saturating_add(Weight::from_parts(17_723, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -974,27 +1098,35 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_250_000 picoseconds. - Weight::from_parts(5_640_000, 0) + // Minimum execution time: 5_209_000 picoseconds. + Weight::from_parts(5_461_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ServingRateLimit` (r:0 w:1) /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_serving_rate_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `627` - // Estimated: `4092` - // Minimum execution time: 20_679_000 picoseconds. - Weight::from_parts(21_500_000, 4092) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `747` + // Estimated: `4212` + // Minimum execution time: 27_121_000 picoseconds. + Weight::from_parts(28_032_000, 4212) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1003,15 +1135,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaxDifficulty` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_difficulty() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_119_000 picoseconds. - Weight::from_parts(26_870_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_132_000 picoseconds. + Weight::from_parts(34_064_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1020,11 +1156,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MinDifficulty` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_difficulty() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 25_999_000 picoseconds. - Weight::from_parts(26_890_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_092_000 picoseconds. + Weight::from_parts(33_993_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1035,13 +1171,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 15_890_000 picoseconds. - Weight::from_parts(16_571_000, 4084) + // Minimum execution time: 16_030_000 picoseconds. + Weight::from_parts(16_380_000, 4084) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1050,15 +1190,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::WeightsVersionKey` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_weights_version_key() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_109_000 picoseconds. - Weight::from_parts(26_960_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 32_931_000 picoseconds. + Weight::from_parts(34_024_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1067,15 +1211,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::BondsMovingAverage` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_bonds_moving_average() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_049_000 picoseconds. - Weight::from_parts(27_130_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_152_000 picoseconds. + Weight::from_parts(33_994_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1084,15 +1232,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::BondsPenalty` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_bonds_penalty() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_179_000 picoseconds. - Weight::from_parts(27_021_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_213_000 picoseconds. + Weight::from_parts(33_984_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1103,15 +1255,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaxAllowedValidators` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_allowed_validators() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 27_652_000 picoseconds. - Weight::from_parts(28_463_000, 4235) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 34_915_000 picoseconds. + Weight::from_parts(35_777_000, 4383) + .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1120,11 +1276,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Difficulty` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_difficulty() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_359_000 picoseconds. - Weight::from_parts(27_091_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 32_881_000 picoseconds. + Weight::from_parts(33_813_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1135,13 +1291,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 15_729_000 picoseconds. - Weight::from_parts(16_811_000, 4084) + // Minimum execution time: 15_720_000 picoseconds. + Weight::from_parts(16_631_000, 4084) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1150,15 +1310,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TargetRegistrationsPerInterval` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_target_registrations_per_interval() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_169_000 picoseconds. - Weight::from_parts(26_990_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 32_982_000 picoseconds. + Weight::from_parts(33_924_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1169,15 +1333,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ActivityCutoff` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_activity_cutoff() -> Weight { // Proof Size summary in bytes: - // Measured: `832` - // Estimated: `4297` - // Minimum execution time: 28_202_000 picoseconds. - Weight::from_parts(29_676_000, 4297) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_994_000 picoseconds. + Weight::from_parts(35_296_000, 4383) + .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1186,11 +1354,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Rho` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_rho() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 23_193_000 picoseconds. - Weight::from_parts(23_735_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 30_307_000 picoseconds. + Weight::from_parts(30_858_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1201,13 +1369,17 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 16_009_000 picoseconds. - Weight::from_parts(16_501_000, 4084) + // Minimum execution time: 15_910_000 picoseconds. + Weight::from_parts(16_320_000, 4084) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1220,15 +1392,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MinAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_allowed_uids() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 29_495_000 picoseconds. - Weight::from_parts(30_577_000, 4235) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 36_368_000 picoseconds. + Weight::from_parts(37_600_000, 4383) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1243,15 +1419,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaxAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_allowed_uids() -> Weight { // Proof Size summary in bytes: - // Measured: `820` - // Estimated: `4285` - // Minimum execution time: 34_475_000 picoseconds. - Weight::from_parts(35_696_000, 4285) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `968` + // Estimated: `4433` + // Minimum execution time: 41_598_000 picoseconds. + Weight::from_parts(42_880_000, 4433) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1260,15 +1440,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MinAllowedWeights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_allowed_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_209_000 picoseconds. - Weight::from_parts(27_151_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_372_000 picoseconds. + Weight::from_parts(33_933_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1277,15 +1461,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ImmunityPeriod` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_immunity_period() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_239_000 picoseconds. - Weight::from_parts(26_920_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_052_000 picoseconds. + Weight::from_parts(33_933_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1294,15 +1482,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaxRegistrationsPerBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_registrations_per_block() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 25_969_000 picoseconds. - Weight::from_parts(26_951_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_082_000 picoseconds. + Weight::from_parts(34_023_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1313,15 +1505,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaxBurn` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_max_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `797` - // Estimated: `4262` - // Minimum execution time: 28_954_000 picoseconds. - Weight::from_parts(29_765_000, 4262) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `945` + // Estimated: `4410` + // Minimum execution time: 36_017_000 picoseconds. + Weight::from_parts(37_159_000, 4410) + .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1332,11 +1528,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MinBurn` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `772` - // Estimated: `4237` - // Minimum execution time: 29_265_000 picoseconds. - Weight::from_parts(30_005_000, 4237) - .saturating_add(RocksDbWeight::get().reads(4_u64)) + // Measured: `920` + // Estimated: `4385` + // Minimum execution time: 35_998_000 picoseconds. + Weight::from_parts(37_239_000, 4385) + .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworkRegistrationAllowed` (r:0 w:1) @@ -1345,27 +1541,35 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_683_000 picoseconds. - Weight::from_parts(7_124_000, 0) + // Minimum execution time: 6_592_000 picoseconds. + Weight::from_parts(6_963_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:1) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:1) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_tempo() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 25_758_000 picoseconds. - Weight::from_parts(26_580_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 34_564_000 picoseconds. + Weight::from_parts(35_386_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1374,15 +1578,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_commit_reveal_weights_interval() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_099_000 picoseconds. - Weight::from_parts(27_551_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 33_602_000 picoseconds. + Weight::from_parts(34_955_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1391,11 +1599,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_commit_reveal_weights_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 26_319_000 picoseconds. - Weight::from_parts(26_940_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 32_902_000 picoseconds. + Weight::from_parts(34_004_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsVersion` (r:0 w:1) @@ -1404,8 +1612,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_871_000 picoseconds. - Weight::from_parts(6_292_000, 0) + // Minimum execution time: 5_710_000 picoseconds. + Weight::from_parts(6_182_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::TxRateLimit` (r:0 w:1) @@ -1414,26 +1622,16 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_130_000 picoseconds. - Weight::from_parts(5_500_000, 0) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - } - /// Storage: `SubtensorModule::MaxEpochsPerBlock` (r:0 w:1) - /// Proof: `SubtensorModule::MaxEpochsPerBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - fn sudo_set_max_epochs_per_block() -> Weight { - // Proof Size summary in bytes: - // Measured: `0` - // Estimated: `0` - // Minimum execution time: 4_000_000 picoseconds. - Weight::from_parts(4_000_000, 0) + // Minimum execution time: 5_310_000 picoseconds. + Weight::from_parts(5_601_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } fn sudo_set_total_issuance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_851_000 picoseconds. - Weight::from_parts(6_102_000, 0) + // Minimum execution time: 5_731_000 picoseconds. + Weight::from_parts(5_951_000, 0) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1443,8 +1641,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 15_890_000 picoseconds. - Weight::from_parts(16_380_000, 4084) + // Minimum execution time: 15_639_000 picoseconds. + Weight::from_parts(16_430_000, 4084) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1454,8 +1652,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_259_000 picoseconds. - Weight::from_parts(5_510_000, 0) + // Minimum execution time: 5_180_000 picoseconds. + Weight::from_parts(5_490_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NominatorMinRequiredStake` (r:1 w:1) @@ -1468,10 +1666,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_nominator_min_required_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `912` - // Estimated: `6852` - // Minimum execution time: 28_783_000 picoseconds. - Weight::from_parts(29_535_000, 6852) + // Measured: `950` + // Estimated: `6890` + // Minimum execution time: 29_445_000 picoseconds. + Weight::from_parts(30_177_000, 6890) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1482,7 +1680,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 5_190_000 picoseconds. - Weight::from_parts(5_390_000, 0) + Weight::from_parts(5_490_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::MinDelegateTake` (r:0 w:1) @@ -1491,12 +1689,16 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_179_000 picoseconds. - Weight::from_parts(5_471_000, 0) + // Minimum execution time: 5_290_000 picoseconds. + Weight::from_parts(5_550_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1509,30 +1711,38 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MinChildkeyTakePerSubnet` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_min_childkey_take_per_subnet() -> Weight { // Proof Size summary in bytes: - // Measured: `806` - // Estimated: `4271` - // Minimum execution time: 29_535_000 picoseconds. - Weight::from_parts(30_327_000, 4271) - .saturating_add(RocksDbWeight::get().reads(5_u64)) + // Measured: `954` + // Estimated: `4419` + // Minimum execution time: 36_768_000 picoseconds. + Weight::from_parts(37_781_000, 4419) + .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LiquidAlphaOn` (r:0 w:1) /// Proof: `SubtensorModule::LiquidAlphaOn` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_liquid_alpha_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 17_453_000 picoseconds. - Weight::from_parts(18_084_000, 4132) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 24_486_000 picoseconds. + Weight::from_parts(25_587_000, 4280) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LiquidAlphaOn` (r:1 w:0) @@ -1541,11 +1751,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::AlphaValues` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_alpha_values() -> Weight { // Proof Size summary in bytes: - // Measured: `814` - // Estimated: `4279` - // Minimum execution time: 25_918_000 picoseconds. - Weight::from_parts(26_509_000, 4279) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `962` + // Estimated: `4427` + // Minimum execution time: 32_832_000 picoseconds. + Weight::from_parts(33_883_000, 4427) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::ColdkeySwapAnnouncementDelay` (r:0 w:1) @@ -1554,8 +1764,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_190_000 picoseconds. - Weight::from_parts(5_511_000, 0) + // Minimum execution time: 5_179_000 picoseconds. + Weight::from_parts(5_440_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::ColdkeySwapReannouncementDelay` (r:0 w:1) @@ -1564,8 +1774,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_270_000 picoseconds. - Weight::from_parts(5_500_000, 0) + // Minimum execution time: 5_160_000 picoseconds. + Weight::from_parts(5_340_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::DissolveNetworkScheduleDuration` (r:0 w:1) @@ -1574,23 +1784,27 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_139_000 picoseconds. - Weight::from_parts(5_440_000, 0) + // Minimum execution time: 5_240_000 picoseconds. + Weight::from_parts(5_430_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TransferToggle` (r:0 w:1) /// Proof: `SubtensorModule::TransferToggle` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_toggle_transfer() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 19_987_000 picoseconds. - Weight::from_parts(20_628_000, 4132) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 27_241_000 picoseconds. + Weight::from_parts(27_952_000, 4280) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `AdminUtils::PrecompileEnable` (r:1 w:0) @@ -1599,8 +1813,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 6_161_000 picoseconds. - Weight::from_parts(6_382_000, 3507) + // Minimum execution time: 6_111_000 picoseconds. + Weight::from_parts(6_362_000, 3507) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `SubtensorModule::SubnetMovingAlpha` (r:0 w:1) @@ -1610,7 +1824,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 2_665_000 picoseconds. - Weight::from_parts(2_945_000, 0) + Weight::from_parts(2_855_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::EMAPriceHalvingBlocks` (r:0 w:1) @@ -1619,12 +1833,16 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_857_000 picoseconds. - Weight::from_parts(4_158_000, 0) + // Minimum execution time: 3_777_000 picoseconds. + Weight::from_parts(3_958_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1633,41 +1851,49 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::AlphaSigmoidSteepness` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_alpha_sigmoid_steepness() -> Weight { // Proof Size summary in bytes: - // Measured: `770` - // Estimated: `4235` - // Minimum execution time: 23_253_000 picoseconds. - Weight::from_parts(23_824_000, 4235) - .saturating_add(RocksDbWeight::get().reads(3_u64)) + // Measured: `918` + // Estimated: `4383` + // Minimum execution time: 30_166_000 picoseconds. + Weight::from_parts(31_078_000, 4383) + .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Yuma3On` (r:0 w:1) /// Proof: `SubtensorModule::Yuma3On` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_yuma3_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 20_408_000 picoseconds. - Weight::from_parts(20_928_000, 4132) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 27_302_000 picoseconds. + Weight::from_parts(28_362_000, 4280) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::BondsResetOn` (r:0 w:1) /// Proof: `SubtensorModule::BondsResetOn` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_bonds_reset_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 22_281_000 picoseconds. - Weight::from_parts(23_013_000, 4132) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 29_255_000 picoseconds. + Weight::from_parts(30_267_000, 4280) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1678,8 +1904,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `619` // Estimated: `4084` - // Minimum execution time: 15_729_000 picoseconds. - Weight::from_parts(16_490_000, 4084) + // Minimum execution time: 15_519_000 picoseconds. + Weight::from_parts(16_090_000, 4084) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1693,24 +1919,28 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `712` // Estimated: `4177` - // Minimum execution time: 24_325_000 picoseconds. - Weight::from_parts(25_427_000, 4177) + // Minimum execution time: 24_436_000 picoseconds. + Weight::from_parts(25_287_000, 4177) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubtokenEnabled` (r:0 w:1) /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_subtoken_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 16_661_000 picoseconds. - Weight::from_parts(17_342_000, 4132) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 24_145_000 picoseconds. + Weight::from_parts(24_897_000, 4280) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::AdminFreezeWindow` (r:0 w:1) @@ -1719,8 +1949,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_279_000 picoseconds. - Weight::from_parts(5_540_000, 0) + // Minimum execution time: 5_240_000 picoseconds. + Weight::from_parts(5_511_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::OwnerHyperparamRateLimit` (r:0 w:1) @@ -1729,27 +1959,35 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_260_000 picoseconds. - Weight::from_parts(5_620_000, 0) + // Minimum execution time: 5_210_000 picoseconds. + Weight::from_parts(5_530_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ImmuneOwnerUidsLimit` (r:0 w:1) /// Proof: `SubtensorModule::ImmuneOwnerUidsLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_set_owner_immune_neuron_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `667` - // Estimated: `4132` - // Minimum execution time: 16_961_000 picoseconds. - Weight::from_parts(17_663_000, 4132) - .saturating_add(RocksDbWeight::get().reads(2_u64)) + // Measured: `815` + // Estimated: `4280` + // Minimum execution time: 24_115_000 picoseconds. + Weight::from_parts(24_896_000, 4280) + .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -1762,11 +2000,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn sudo_trim_to_max_allowed_uids() -> Weight { // Proof Size summary in bytes: - // Measured: `785` - // Estimated: `4250` - // Minimum execution time: 29_645_000 picoseconds. - Weight::from_parts(30_477_000, 4250) - .saturating_add(RocksDbWeight::get().reads(6_u64)) + // Measured: `933` + // Estimated: `4398` + // Minimum execution time: 36_838_000 picoseconds. + Weight::from_parts(37_710_000, 4398) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::MinNonImmuneUids` (r:0 w:1) @@ -1775,8 +2013,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_953_000 picoseconds. - Weight::from_parts(7_134_000, 0) + // Minimum execution time: 6_482_000 picoseconds. + Weight::from_parts(6_933_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: `SubtensorModule::MaxEpochsPerBlock` (r:0 w:1) + /// Proof: `SubtensorModule::MaxEpochsPerBlock` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + fn sudo_set_max_epochs_per_block() -> Weight { + // Proof Size summary in bytes: + // Measured: `0` + // Estimated: `0` + // Minimum execution time: 5_300_000 picoseconds. + Weight::from_parts(5_430_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/limit-orders/src/weights.rs b/pallets/limit-orders/src/weights.rs index e8c24d30ba..2f58f6f349 100644 --- a/pallets/limit-orders/src/weights.rs +++ b/pallets/limit-orders/src/weights.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_limit_orders` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-06-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervm3jyl0`, CPU: `AMD EPYC 9V74 80-Core Processor` +//! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.h1ZElBJrCs +// --output=/tmp/tmp.JH4nJFQcLP // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,8 +51,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `66` // Estimated: `3522` - // Minimum execution time: 13_230_000 picoseconds. - Weight::from_parts(14_822_000, 3522) + // Minimum execution time: 15_439_000 picoseconds. + Weight::from_parts(15_769_000, 3522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -62,8 +62,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_006_000 picoseconds. - Weight::from_parts(4_266_000, 0) + // Minimum execution time: 5_090_000 picoseconds. + Weight::from_parts(5_410_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `LimitOrders::LimitOrdersEnabled` (r:1 w:0) @@ -123,10 +123,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1134 + n * (283 ±0)` // Estimated: `6148 + n * (5158 ±0)` - // Minimum execution time: 597_854_000 picoseconds. - Weight::from_parts(61_768_457, 6148) - // Standard Error: 136_266 - .saturating_add(Weight::from_parts(520_180_782, 0).saturating_mul(n.into())) + // Minimum execution time: 569_453_000 picoseconds. + Weight::from_parts(572_158_000, 6148) + // Standard Error: 260_354 + .saturating_add(Weight::from_parts(488_183_046, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().reads((11_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10_u64)) @@ -190,10 +190,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1263 + n * (283 ±0)` // Estimated: `8727 + n * (5158 ±0)` - // Minimum execution time: 747_334_000 picoseconds. - Weight::from_parts(499_718_496, 8727) - // Standard Error: 74_442 - .saturating_add(Weight::from_parts(259_134_004, 0).saturating_mul(n.into())) + // Minimum execution time: 709_385_000 picoseconds. + Weight::from_parts(432_092_754, 8727) + // Standard Error: 319_794 + .saturating_add(Weight::from_parts(251_319_046, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(25_u64)) .saturating_add(T::DbWeight::get().reads((10_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(15_u64)) @@ -210,8 +210,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `66` // Estimated: `3522` - // Minimum execution time: 13_230_000 picoseconds. - Weight::from_parts(14_822_000, 3522) + // Minimum execution time: 15_439_000 picoseconds. + Weight::from_parts(15_769_000, 3522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -221,8 +221,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_006_000 picoseconds. - Weight::from_parts(4_266_000, 0) + // Minimum execution time: 5_090_000 picoseconds. + Weight::from_parts(5_410_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `LimitOrders::LimitOrdersEnabled` (r:1 w:0) @@ -282,10 +282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1134 + n * (283 ±0)` // Estimated: `6148 + n * (5158 ±0)` - // Minimum execution time: 597_854_000 picoseconds. - Weight::from_parts(61_768_457, 6148) - // Standard Error: 136_266 - .saturating_add(Weight::from_parts(520_180_782, 0).saturating_mul(n.into())) + // Minimum execution time: 569_453_000 picoseconds. + Weight::from_parts(572_158_000, 6148) + // Standard Error: 260_354 + .saturating_add(Weight::from_parts(488_183_046, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().reads((11_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(10_u64)) @@ -349,10 +349,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1263 + n * (283 ±0)` // Estimated: `8727 + n * (5158 ±0)` - // Minimum execution time: 747_334_000 picoseconds. - Weight::from_parts(499_718_496, 8727) - // Standard Error: 74_442 - .saturating_add(Weight::from_parts(259_134_004, 0).saturating_mul(n.into())) + // Minimum execution time: 709_385_000 picoseconds. + Weight::from_parts(432_092_754, 8727) + // Standard Error: 319_794 + .saturating_add(Weight::from_parts(251_319_046, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(25_u64)) .saturating_add(RocksDbWeight::get().reads((10_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(15_u64)) diff --git a/pallets/proxy/src/weights.rs b/pallets/proxy/src/weights.rs index 3a1f7a3775..ad37e898f3 100644 --- a/pallets/proxy/src/weights.rs +++ b/pallets/proxy/src/weights.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_subtensor_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-06-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervm1li68`, CPU: `AMD EPYC 9V74 80-Core Processor` +//! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.p1bMVWhQG1 +// --output=/tmp/tmp.GehOD6jcDL // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -66,10 +66,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 23_305_000 picoseconds. - Weight::from_parts(24_344_176, 4254) - // Standard Error: 2_859 - .saturating_add(Weight::from_parts(61_607, 0).saturating_mul(p.into())) + // Minimum execution time: 26_079_000 picoseconds. + Weight::from_parts(27_336_584, 4254) + // Standard Error: 3_383 + .saturating_add(Weight::from_parts(56_015, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -92,12 +92,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 48_211_000 picoseconds. - Weight::from_parts(49_327_900, 8615) - // Standard Error: 1_615 - .saturating_add(Weight::from_parts(229_917, 0).saturating_mul(a.into())) - // Standard Error: 6_471 - .saturating_add(Weight::from_parts(52_466, 0).saturating_mul(p.into())) + // Minimum execution time: 50_825_000 picoseconds. + Weight::from_parts(51_505_523, 8615) + // Standard Error: 1_493 + .saturating_add(Weight::from_parts(217_650, 0).saturating_mul(a.into())) + // Standard Error: 5_982 + .saturating_add(Weight::from_parts(75_804, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -109,14 +109,16 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 23_335_000 picoseconds. - Weight::from_parts(24_441_792, 8615) - // Standard Error: 1_160 - .saturating_add(Weight::from_parts(199_923, 0).saturating_mul(a.into())) + // Minimum execution time: 25_087_000 picoseconds. + Weight::from_parts(25_512_778, 8615) + // Standard Error: 1_560 + .saturating_add(Weight::from_parts(205_376, 0).saturating_mul(a.into())) + // Standard Error: 6_249 + .saturating_add(Weight::from_parts(946, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -126,16 +128,14 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { + fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 23_325_000 picoseconds. - Weight::from_parts(24_119_725, 8615) - // Standard Error: 1_004 - .saturating_add(Weight::from_parts(199_684, 0).saturating_mul(a.into())) - // Standard Error: 4_022 - .saturating_add(Weight::from_parts(14_188, 0).saturating_mul(p.into())) + // Minimum execution time: 24_987_000 picoseconds. + Weight::from_parts(25_344_720, 8615) + // Standard Error: 1_271 + .saturating_add(Weight::from_parts(209_750, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -151,12 +151,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 30_786_000 picoseconds. - Weight::from_parts(31_264_086, 8615) - // Standard Error: 1_063 - .saturating_add(Weight::from_parts(201_071, 0).saturating_mul(a.into())) - // Standard Error: 4_257 - .saturating_add(Weight::from_parts(48_234, 0).saturating_mul(p.into())) + // Minimum execution time: 32_361_000 picoseconds. + Weight::from_parts(32_404_265, 8615) + // Standard Error: 1_307 + .saturating_add(Weight::from_parts(203_075, 0).saturating_mul(a.into())) + // Standard Error: 5_236 + .saturating_add(Weight::from_parts(50_209, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -167,10 +167,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 22_033_000 picoseconds. - Weight::from_parts(23_091_198, 4254) - // Standard Error: 1_876 - .saturating_add(Weight::from_parts(71_914, 0).saturating_mul(p.into())) + // Minimum execution time: 24_025_000 picoseconds. + Weight::from_parts(24_694_480, 4254) + // Standard Error: 2_742 + .saturating_add(Weight::from_parts(74_970, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -183,10 +183,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 23_985_000 picoseconds. - Weight::from_parts(25_137_108, 4254) - // Standard Error: 2_461 - .saturating_add(Weight::from_parts(63_781, 0).saturating_mul(p.into())) + // Minimum execution time: 25_679_000 picoseconds. + Weight::from_parts(26_636_199, 4254) + // Standard Error: 2_510 + .saturating_add(Weight::from_parts(66_971, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -197,10 +197,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_056_000 picoseconds. - Weight::from_parts(25_056_188, 4254) - // Standard Error: 2_438 - .saturating_add(Weight::from_parts(41_155, 0).saturating_mul(p.into())) + // Minimum execution time: 25_537_000 picoseconds. + Weight::from_parts(26_548_572, 4254) + // Standard Error: 3_027 + .saturating_add(Weight::from_parts(38_367, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -211,10 +211,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 24_766_000 picoseconds. - Weight::from_parts(25_774_219, 4254) - // Standard Error: 2_177 - .saturating_add(Weight::from_parts(29_107, 0).saturating_mul(p.into())) + // Minimum execution time: 25_678_000 picoseconds. + Weight::from_parts(26_711_558, 4254) + // Standard Error: 2_494 + .saturating_add(Weight::from_parts(23_627, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -225,10 +225,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 23_315_000 picoseconds. - Weight::from_parts(24_401_670, 4254) - // Standard Error: 1_977 - .saturating_add(Weight::from_parts(40_473, 0).saturating_mul(p.into())) + // Minimum execution time: 24_586_000 picoseconds. + Weight::from_parts(25_686_861, 4254) + // Standard Error: 2_382 + .saturating_add(Weight::from_parts(42_752, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -242,8 +242,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 42_824_000 picoseconds. - Weight::from_parts(43_955_000, 8615) + // Minimum execution time: 43_430_000 picoseconds. + Weight::from_parts(44_663_000, 8615) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -256,10 +256,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 11_817_000 picoseconds. - Weight::from_parts(12_428_329, 4254) - // Standard Error: 1_464 - .saturating_add(Weight::from_parts(38_133, 0).saturating_mul(p.into())) + // Minimum execution time: 13_345_000 picoseconds. + Weight::from_parts(14_199_857, 4254) + // Standard Error: 1_822 + .saturating_add(Weight::from_parts(35_497, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -280,10 +280,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 23_305_000 picoseconds. - Weight::from_parts(24_344_176, 4254) - // Standard Error: 2_859 - .saturating_add(Weight::from_parts(61_607, 0).saturating_mul(p.into())) + // Minimum execution time: 26_079_000 picoseconds. + Weight::from_parts(27_336_584, 4254) + // Standard Error: 3_383 + .saturating_add(Weight::from_parts(56_015, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -306,12 +306,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 48_211_000 picoseconds. - Weight::from_parts(49_327_900, 8615) - // Standard Error: 1_615 - .saturating_add(Weight::from_parts(229_917, 0).saturating_mul(a.into())) - // Standard Error: 6_471 - .saturating_add(Weight::from_parts(52_466, 0).saturating_mul(p.into())) + // Minimum execution time: 50_825_000 picoseconds. + Weight::from_parts(51_505_523, 8615) + // Standard Error: 1_493 + .saturating_add(Weight::from_parts(217_650, 0).saturating_mul(a.into())) + // Standard Error: 5_982 + .saturating_add(Weight::from_parts(75_804, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -323,14 +323,16 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 23_335_000 picoseconds. - Weight::from_parts(24_441_792, 8615) - // Standard Error: 1_160 - .saturating_add(Weight::from_parts(199_923, 0).saturating_mul(a.into())) + // Minimum execution time: 25_087_000 picoseconds. + Weight::from_parts(25_512_778, 8615) + // Standard Error: 1_560 + .saturating_add(Weight::from_parts(205_376, 0).saturating_mul(a.into())) + // Standard Error: 6_249 + .saturating_add(Weight::from_parts(946, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -340,16 +342,14 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn reject_announcement(a: u32, p: u32, ) -> Weight { + fn reject_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 23_325_000 picoseconds. - Weight::from_parts(24_119_725, 8615) - // Standard Error: 1_004 - .saturating_add(Weight::from_parts(199_684, 0).saturating_mul(a.into())) - // Standard Error: 4_022 - .saturating_add(Weight::from_parts(14_188, 0).saturating_mul(p.into())) + // Minimum execution time: 24_987_000 picoseconds. + Weight::from_parts(25_344_720, 8615) + // Standard Error: 1_271 + .saturating_add(Weight::from_parts(209_750, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -365,12 +365,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 30_786_000 picoseconds. - Weight::from_parts(31_264_086, 8615) - // Standard Error: 1_063 - .saturating_add(Weight::from_parts(201_071, 0).saturating_mul(a.into())) - // Standard Error: 4_257 - .saturating_add(Weight::from_parts(48_234, 0).saturating_mul(p.into())) + // Minimum execution time: 32_361_000 picoseconds. + Weight::from_parts(32_404_265, 8615) + // Standard Error: 1_307 + .saturating_add(Weight::from_parts(203_075, 0).saturating_mul(a.into())) + // Standard Error: 5_236 + .saturating_add(Weight::from_parts(50_209, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -381,10 +381,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 22_033_000 picoseconds. - Weight::from_parts(23_091_198, 4254) - // Standard Error: 1_876 - .saturating_add(Weight::from_parts(71_914, 0).saturating_mul(p.into())) + // Minimum execution time: 24_025_000 picoseconds. + Weight::from_parts(24_694_480, 4254) + // Standard Error: 2_742 + .saturating_add(Weight::from_parts(74_970, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -397,10 +397,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 23_985_000 picoseconds. - Weight::from_parts(25_137_108, 4254) - // Standard Error: 2_461 - .saturating_add(Weight::from_parts(63_781, 0).saturating_mul(p.into())) + // Minimum execution time: 25_679_000 picoseconds. + Weight::from_parts(26_636_199, 4254) + // Standard Error: 2_510 + .saturating_add(Weight::from_parts(66_971, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -411,10 +411,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_056_000 picoseconds. - Weight::from_parts(25_056_188, 4254) - // Standard Error: 2_438 - .saturating_add(Weight::from_parts(41_155, 0).saturating_mul(p.into())) + // Minimum execution time: 25_537_000 picoseconds. + Weight::from_parts(26_548_572, 4254) + // Standard Error: 3_027 + .saturating_add(Weight::from_parts(38_367, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -425,10 +425,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 24_766_000 picoseconds. - Weight::from_parts(25_774_219, 4254) - // Standard Error: 2_177 - .saturating_add(Weight::from_parts(29_107, 0).saturating_mul(p.into())) + // Minimum execution time: 25_678_000 picoseconds. + Weight::from_parts(26_711_558, 4254) + // Standard Error: 2_494 + .saturating_add(Weight::from_parts(23_627, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -439,10 +439,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 23_315_000 picoseconds. - Weight::from_parts(24_401_670, 4254) - // Standard Error: 1_977 - .saturating_add(Weight::from_parts(40_473, 0).saturating_mul(p.into())) + // Minimum execution time: 24_586_000 picoseconds. + Weight::from_parts(25_686_861, 4254) + // Standard Error: 2_382 + .saturating_add(Weight::from_parts(42_752, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -456,8 +456,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 42_824_000 picoseconds. - Weight::from_parts(43_955_000, 8615) + // Minimum execution time: 43_430_000 picoseconds. + Weight::from_parts(44_663_000, 8615) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -470,10 +470,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 11_817_000 picoseconds. - Weight::from_parts(12_428_329, 4254) - // Standard Error: 1_464 - .saturating_add(Weight::from_parts(38_133, 0).saturating_mul(p.into())) + // Minimum execution time: 13_345_000 picoseconds. + Weight::from_parts(14_199_857, 4254) + // Standard Error: 1_822 + .saturating_add(Weight::from_parts(35_497, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/subtensor/src/weights.rs b/pallets/subtensor/src/weights.rs index e84c260c72..6af4cdc077 100644 --- a/pallets/subtensor/src/weights.rs +++ b/pallets/subtensor/src/weights.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_subtensor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-06-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervm3jyl0`, CPU: `AMD EPYC 9V74 80-Core Processor` +//! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.2HksoV8klE +// --output=/tmp/tmp.Yjs5EXyBpe // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -177,10 +177,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Swap::SwapBalancer` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `1837` + // Measured: `1865` // Estimated: `6148` - // Minimum execution time: 340_604_000 picoseconds. - Weight::from_parts(344_520_000, 6148) + // Minimum execution time: 363_580_000 picoseconds. + Weight::from_parts(385_751_000, 6148) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(29_u64)) } @@ -220,10 +220,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `188792` - // Estimated: `10327382` - // Minimum execution time: 16_142_608_000 picoseconds. - Weight::from_parts(16_400_997_000, 10327382) + // Measured: `188820` + // Estimated: `10327410` + // Minimum execution time: 14_673_055_000 picoseconds. + Weight::from_parts(14_945_101_000, 10327410) .saturating_add(T::DbWeight::get().reads(4112_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -293,8 +293,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 665_334_000 picoseconds. - Weight::from_parts(685_664_000, 8727) + // Minimum execution time: 788_775_000 picoseconds. + Weight::from_parts(811_597_000, 8727) .saturating_add(T::DbWeight::get().reads(32_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -308,8 +308,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `801` // Estimated: `6741` - // Minimum execution time: 31_927_000 picoseconds. - Weight::from_parts(33_199_000, 6741) + // Minimum execution time: 34_034_000 picoseconds. + Weight::from_parts(34_905_000, 6741) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -323,8 +323,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `774` // Estimated: `6714` - // Minimum execution time: 28_011_000 picoseconds. - Weight::from_parts(29_073_000, 6714) + // Minimum execution time: 29_675_000 picoseconds. + Weight::from_parts(30_577_000, 6714) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -404,10 +404,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Swap::SwapBalancer` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) fn burned_register() -> Weight { // Proof Size summary in bytes: - // Measured: `1770` + // Measured: `1798` // Estimated: `6148` - // Minimum execution time: 337_589_000 picoseconds. - Weight::from_parts(341_856_000, 6148) + // Minimum execution time: 353_831_000 picoseconds. + Weight::from_parts(373_939_000, 6148) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(29_u64)) } @@ -457,10 +457,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) fn root_register() -> Weight { // Proof Size summary in bytes: - // Measured: `1482` - // Estimated: `4947` - // Minimum execution time: 100_028_000 picoseconds. - Weight::from_parts(102_953_000, 4947) + // Measured: `1516` + // Estimated: `4981` + // Minimum execution time: 99_517_000 picoseconds. + Weight::from_parts(101_850_000, 4981) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -484,8 +484,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::NetworkLockReductionInterval` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:0) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::BlockEmission` (r:1 w:0) - /// Proof: `SubtensorModule::BlockEmission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:1) @@ -558,6 +556,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:0 w:1) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:0 w:1) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:0 w:1) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Uids` (r:0 w:1) @@ -578,10 +578,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1532` // Estimated: `9947` - // Minimum execution time: 266_053_000 picoseconds. - Weight::from_parts(272_392_000, 9947) - .saturating_add(T::DbWeight::get().reads(40_u64)) - .saturating_add(T::DbWeight::get().writes(47_u64)) + // Minimum execution time: 268_312_000 picoseconds. + Weight::from_parts(274_293_000, 9947) + .saturating_add(T::DbWeight::get().reads(39_u64)) + .saturating_add(T::DbWeight::get().writes(48_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -595,27 +595,35 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastUpdate` (r:1 w:1) /// Proof: `SubtensorModule::LastUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) - /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::BlocksSinceLastStep` (r:1 w:0) + /// Proof: `SubtensorModule::BlocksSinceLastStep` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:1 w:0) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1071` - // Estimated: `4536` - // Minimum execution time: 57_885_000 picoseconds. - Weight::from_parts(58_817_000, 4536) - .saturating_add(T::DbWeight::get().reads(10_u64)) + // Measured: `1249` + // Estimated: `4714` + // Minimum execution time: 67_246_000 picoseconds. + Weight::from_parts(68_258_000, 4714) + .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) @@ -650,11 +658,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reveal_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1589` - // Estimated: `7529` - // Minimum execution time: 105_065_000 picoseconds. - Weight::from_parts(107_229_000, 7529) - .saturating_add(T::DbWeight::get().reads(18_u64)) + // Measured: `1650` + // Estimated: `7590` + // Minimum execution time: 108_964_000 picoseconds. + Weight::from_parts(110_777_000, 7590) + .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::TxChildkeyTakeRateLimit` (r:0 w:1) @@ -663,8 +671,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_036_000 picoseconds. - Weight::from_parts(4_397_000, 0) + // Minimum execution time: 5_430_000 picoseconds. + Weight::from_parts(5_650_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -685,8 +693,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1033` // Estimated: `4498` - // Minimum execution time: 51_045_000 picoseconds. - Weight::from_parts(51_967_000, 4498) + // Minimum execution time: 51_586_000 picoseconds. + Weight::from_parts(52_939_000, 4498) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -702,8 +710,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 43_204_000 picoseconds. - Weight::from_parts(45_056_000, 4159) + // Minimum execution time: 44_514_000 picoseconds. + Weight::from_parts(45_665_000, 4159) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -731,6 +739,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:2 w:2) /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingColdkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingColdkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:2 w:2) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) @@ -749,9 +759,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2110` // Estimated: `13000` - // Minimum execution time: 285_883_000 picoseconds. - Weight::from_parts(289_268_000, 13000) - .saturating_add(T::DbWeight::get().reads(36_u64)) + // Minimum execution time: 281_346_000 picoseconds. + Weight::from_parts(284_732_000, 13000) + .saturating_add(T::DbWeight::get().reads(37_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } /// Storage: `System::Account` (r:2 w:2) @@ -780,6 +790,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:2 w:2) /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingColdkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingColdkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:2 w:2) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) @@ -800,9 +812,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2166` // Estimated: `13056` - // Minimum execution time: 308_517_000 picoseconds. - Weight::from_parts(314_044_000, 13056) - .saturating_add(T::DbWeight::get().reads(36_u64)) + // Minimum execution time: 301_834_000 picoseconds. + Weight::from_parts(306_984_000, 13056) + .saturating_add(T::DbWeight::get().reads(37_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0) @@ -813,8 +825,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 20_170_000 picoseconds. - Weight::from_parts(20_820_000, 4130) + // Minimum execution time: 21_932_000 picoseconds. + Weight::from_parts(22_813_000, 4130) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -826,8 +838,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 16_435_000 picoseconds. - Weight::from_parts(17_065_000, 4078) + // Minimum execution time: 18_434_000 picoseconds. + Weight::from_parts(18_976_000, 4078) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -839,14 +851,16 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_750_000 picoseconds. - Weight::from_parts(7_190_000, 0) + // Minimum execution time: 8_265_000 picoseconds. + Weight::from_parts(8_817_000, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) @@ -881,11 +895,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_reveal_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `2094` - // Estimated: `8034` - // Minimum execution time: 414_593_000 picoseconds. - Weight::from_parts(422_245_000, 8034) - .saturating_add(T::DbWeight::get().reads(18_u64)) + // Measured: `2155` + // Estimated: `8095` + // Minimum execution time: 416_859_000 picoseconds. + Weight::from_parts(427_028_000, 8095) + .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -918,8 +932,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 173_126_000 picoseconds. - Weight::from_parts(174_428_000, 5219) + // Minimum execution time: 166_561_000 picoseconds. + Weight::from_parts(170_308_000, 5219) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -951,8 +965,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 167_228_000 picoseconds. - Weight::from_parts(169_080_000, 5219) + // Minimum execution time: 162_062_000 picoseconds. + Weight::from_parts(163_757_000, 5219) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -972,8 +986,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1118` // Estimated: `4583` - // Minimum execution time: 37_305_000 picoseconds. - Weight::from_parts(38_226_000, 4583) + // Minimum execution time: 37_901_000 picoseconds. + Weight::from_parts(38_762_000, 4583) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1043,8 +1057,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 862_916_000 picoseconds. - Weight::from_parts(876_506_000, 8727) + // Minimum execution time: 1_043_169_000 picoseconds. + Weight::from_parts(1_047_327_000, 8727) .saturating_add(T::DbWeight::get().reads(32_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -1080,8 +1094,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1979` // Estimated: `7919` - // Minimum execution time: 218_613_000 picoseconds. - Weight::from_parts(219_955_000, 7919) + // Minimum execution time: 217_246_000 picoseconds. + Weight::from_parts(219_019_000, 7919) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -1137,8 +1151,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2142` // Estimated: `10557` - // Minimum execution time: 559_437_000 picoseconds. - Weight::from_parts(573_518_000, 10557) + // Minimum execution time: 520_973_000 picoseconds. + Weight::from_parts(543_776_000, 10557) .saturating_add(T::DbWeight::get().reads(28_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1192,8 +1206,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 739_182_000 picoseconds. - Weight::from_parts(755_287_000, 10591) + // Minimum execution time: 682_675_000 picoseconds. + Weight::from_parts(704_897_000, 10591) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1265,8 +1279,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2662` // Estimated: `11077` - // Minimum execution time: 949_273_000 picoseconds. - Weight::from_parts(964_857_000, 11077) + // Minimum execution time: 875_746_000 picoseconds. + Weight::from_parts(899_831_000, 11077) .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(24_u64)) } @@ -1306,8 +1320,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1988` // Estimated: `7928` - // Minimum execution time: 250_861_000 picoseconds. - Weight::from_parts(253_195_000, 7928) + // Minimum execution time: 238_465_000 picoseconds. + Weight::from_parts(241_342_000, 7928) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1379,8 +1393,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2505` // Estimated: `10920` - // Minimum execution time: 728_698_000 picoseconds. - Weight::from_parts(746_774_000, 10920) + // Minimum execution time: 690_850_000 picoseconds. + Weight::from_parts(712_892_000, 10920) .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(24_u64)) } @@ -1396,23 +1410,31 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastUpdate` (r:1 w:1) /// Proof: `SubtensorModule::LastUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) - /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::BlocksSinceLastStep` (r:1 w:0) + /// Proof: `SubtensorModule::BlocksSinceLastStep` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:1 w:0) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightsSetRateLimit` (r:1 w:0) /// Proof: `SubtensorModule::WeightsSetRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) + /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1122` - // Estimated: `4587` - // Minimum execution time: 123_562_000 picoseconds. - Weight::from_parts(125_566_000, 4587) - .saturating_add(T::DbWeight::get().reads(11_u64)) + // Measured: `1300` + // Estimated: `4765` + // Minimum execution time: 141_404_000 picoseconds. + Weight::from_parts(144_259_000, 4765) + .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -1449,10 +1471,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_set_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1426` - // Estimated: `7366` - // Minimum execution time: 97_624_000 picoseconds. - Weight::from_parts(100_468_000, 7366) + // Measured: `1455` + // Estimated: `7395` + // Minimum execution time: 99_095_000 picoseconds. + Weight::from_parts(100_548_000, 7395) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1468,8 +1490,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `830` // Estimated: `4295` - // Minimum execution time: 26_830_000 picoseconds. - Weight::from_parts(27_561_000, 4295) + // Minimum execution time: 28_283_000 picoseconds. + Weight::from_parts(29_044_000, 4295) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1487,8 +1509,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `4388` - // Minimum execution time: 33_029_000 picoseconds. - Weight::from_parts(34_211_000, 4388) + // Minimum execution time: 35_246_000 picoseconds. + Weight::from_parts(36_408_000, 4388) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1512,8 +1534,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::NetworkLockReductionInterval` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:0) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::BlockEmission` (r:1 w:0) - /// Proof: `SubtensorModule::BlockEmission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:1) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) @@ -1586,6 +1606,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:0 w:1) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:0 w:1) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:0 w:1) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Uids` (r:0 w:1) @@ -1606,10 +1628,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1468` // Estimated: `9883` - // Minimum execution time: 266_604_000 picoseconds. - Weight::from_parts(276_799_000, 9883) - .saturating_add(T::DbWeight::get().reads(39_u64)) - .saturating_add(T::DbWeight::get().writes(46_u64)) + // Minimum execution time: 265_025_000 picoseconds. + Weight::from_parts(269_704_000, 9883) + .saturating_add(T::DbWeight::get().reads(38_u64)) + .saturating_add(T::DbWeight::get().writes(47_u64)) } /// Storage: `SubtensorModule::IsNetworkMember` (r:2 w:0) /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1621,8 +1643,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `772` // Estimated: `6712` - // Minimum execution time: 31_506_000 picoseconds. - Weight::from_parts(32_528_000, 6712) + // Minimum execution time: 32_912_000 picoseconds. + Weight::from_parts(34_044_000, 6712) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1636,8 +1658,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `889` // Estimated: `6829` - // Minimum execution time: 29_043_000 picoseconds. - Weight::from_parts(30_816_000, 6829) + // Minimum execution time: 31_188_000 picoseconds. + Weight::from_parts(32_100_000, 6829) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1649,12 +1671,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 15_503_000 picoseconds. - Weight::from_parts(16_204_000, 4060) + // Minimum execution time: 17_162_000 picoseconds. + Weight::from_parts(18_004_000, 4060) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `SubtensorModule::Owner` (r:1 w:2) + /// Storage: `SubtensorModule::Owner` (r:2 w:2) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastRateLimitedBlock` (r:4 w:7) /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1666,14 +1688,20 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::RootClaimable` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:9 w:8) /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RootClaimed` (r:1 w:0) + /// Proof: `SubtensorModule::RootClaimed` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::NetworksAdded` (r:6 w:0) + /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ChildKeys` (r:10 w:10) + /// Proof: `SubtensorModule::ChildKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastHotkeySwapOnNetuid` (r:4 w:4) + /// Proof: `SubtensorModule::LastHotkeySwapOnNetuid` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Alpha` (r:9 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:9 w:8) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::NetworksAdded` (r:6 w:0) - /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetOwnerHotkey` (r:5 w:0) /// Proof: `SubtensorModule::SubnetOwnerHotkey` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::HotkeyLock` (r:5 w:0) @@ -1682,8 +1710,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::DecayingHotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:1 w:1) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::ChildKeys` (r:10 w:10) - /// Proof: `SubtensorModule::ChildKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ChildkeyTake` (r:5 w:0) + /// Proof: `SubtensorModule::ChildkeyTake` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ParentKeys` (r:10 w:10) /// Proof: `SubtensorModule::ParentKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::PendingChildKeys` (r:10 w:0) @@ -1724,12 +1752,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_hotkey() -> Weight { // Proof Size summary in bytes: - // Measured: `3131` - // Estimated: `28871` - // Minimum execution time: 1_193_554_000 picoseconds. - Weight::from_parts(1_201_736_000, 28871) - .saturating_add(T::DbWeight::get().reads(171_u64)) - .saturating_add(T::DbWeight::get().writes(95_u64)) + // Measured: `3172` + // Estimated: `28912` + // Minimum execution time: 1_188_761_000 picoseconds. + Weight::from_parts(1_194_021_000, 28912) + .saturating_add(T::DbWeight::get().reads(182_u64)) + .saturating_add(T::DbWeight::get().writes(99_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:1) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1741,8 +1769,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `818` // Estimated: `4283` - // Minimum execution time: 23_084_000 picoseconds. - Weight::from_parts(23_836_000, 4283) + // Minimum execution time: 24_195_000 picoseconds. + Weight::from_parts(25_127_000, 4283) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1756,8 +1784,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `774` // Estimated: `9189` - // Minimum execution time: 24_587_000 picoseconds. - Weight::from_parts(25_608_000, 9189) + // Minimum execution time: 26_129_000 picoseconds. + Weight::from_parts(26_801_000, 9189) .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -1818,8 +1846,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2235` // Estimated: `11306` - // Minimum execution time: 695_268_000 picoseconds. - Weight::from_parts(708_618_000, 11306) + // Minimum execution time: 646_488_000 picoseconds. + Weight::from_parts(669_141_000, 11306) .saturating_add(T::DbWeight::get().reads(43_u64)) .saturating_add(T::DbWeight::get().writes(25_u64)) } @@ -1873,8 +1901,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 763_548_000 picoseconds. - Weight::from_parts(778_691_000, 10591) + // Minimum execution time: 699_937_000 picoseconds. + Weight::from_parts(720_517_000, 10591) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1906,8 +1934,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::NetworkLockReductionInterval` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:0) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::BlockEmission` (r:1 w:0) - /// Proof: `SubtensorModule::BlockEmission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:1) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) @@ -1988,6 +2014,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:0 w:1) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:0 w:1) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:0 w:1) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Uids` (r:0 w:1) @@ -2011,13 +2039,13 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1835 + k * (44 ±0)` // Estimated: `10256 + k * (2579 ±0)` - // Minimum execution time: 480_320_000 picoseconds. - Weight::from_parts(250_987_824, 10256) - // Standard Error: 56_710 - .saturating_add(Weight::from_parts(48_825_380, 0).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(49_u64)) + // Minimum execution time: 463_937_000 picoseconds. + Weight::from_parts(294_920_728, 10256) + // Standard Error: 22_702 + .saturating_add(Weight::from_parts(44_735_778, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(48_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) - .saturating_add(T::DbWeight::get().writes(52_u64)) + .saturating_add(T::DbWeight::get().writes(53_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 2579).saturating_mul(k.into())) } @@ -2044,10 +2072,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1501 + k * (53 ±0)` // Estimated: `6148 + k * (2529 ±0)` - // Minimum execution time: 89_272_000 picoseconds. - Weight::from_parts(79_136_631, 6148) - // Standard Error: 7_622 - .saturating_add(Weight::from_parts(1_641_271, 0).saturating_mul(k.into())) + // Minimum execution time: 91_311_000 picoseconds. + Weight::from_parts(79_878_607, 6148) + // Standard Error: 8_455 + .saturating_add(Weight::from_parts(1_683_698, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -2062,8 +2090,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `659` // Estimated: `9074` - // Minimum execution time: 23_875_000 picoseconds. - Weight::from_parts(25_027_000, 9074) + // Minimum execution time: 26_950_000 picoseconds. + Weight::from_parts(28_343_000, 9074) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2081,19 +2109,27 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastUpdate` (r:1 w:1) /// Proof: `SubtensorModule::LastUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::BlocksSinceLastStep` (r:1 w:0) + /// Proof: `SubtensorModule::BlocksSinceLastStep` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TimelockedWeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::TimelockedWeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:1 w:0) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn commit_timelocked_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1070` - // Estimated: `4535` - // Minimum execution time: 71_556_000 picoseconds. - Weight::from_parts(73_198_000, 4535) - .saturating_add(T::DbWeight::get().reads(10_u64)) + // Measured: `1248` + // Estimated: `4713` + // Minimum execution time: 83_827_000 picoseconds. + Weight::from_parts(85_029_000, 4713) + .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -2108,8 +2144,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `809` // Estimated: `4274` - // Minimum execution time: 31_547_000 picoseconds. - Weight::from_parts(32_238_000, 4274) + // Minimum execution time: 32_531_000 picoseconds. + Weight::from_parts(33_452_000, 4274) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2125,8 +2161,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 15_273_000 picoseconds. - Weight::from_parts(16_074_000, 3941) + // Minimum execution time: 17_593_000 picoseconds. + Weight::from_parts(18_314_000, 3941) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2156,8 +2192,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1935` // Estimated: `7875` - // Minimum execution time: 139_456_000 picoseconds. - Weight::from_parts(141_309_000, 7875) + // Minimum execution time: 135_273_000 picoseconds. + Weight::from_parts(136_365_000, 7875) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2167,8 +2203,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_023_000 picoseconds. - Weight::from_parts(2_303_000, 0) + // Minimum execution time: 2_745_000 picoseconds. + Weight::from_parts(2_875_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -2177,8 +2213,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_567_000 picoseconds. - Weight::from_parts(5_117_000, 0) + // Minimum execution time: 5_330_000 picoseconds. + Weight::from_parts(5_600_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2191,8 +2227,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 24_225_000 picoseconds. - Weight::from_parts(25_578_000, 4364) + // Minimum execution time: 27_291_000 picoseconds. + Weight::from_parts(27_892_000, 4364) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2264,8 +2300,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2229` // Estimated: `8727` - // Minimum execution time: 990_125_000 picoseconds. - Weight::from_parts(995_442_000, 8727) + // Minimum execution time: 913_307_000 picoseconds. + Weight::from_parts(924_638_000, 8727) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(17_u64)) } @@ -2275,8 +2311,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_013_000 picoseconds. - Weight::from_parts(2_173_000, 0) + // Minimum execution time: 2_826_000 picoseconds. + Weight::from_parts(3_046_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2317,8 +2353,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1715` // Estimated: `7655` - // Minimum execution time: 114_670_000 picoseconds. - Weight::from_parts(116_542_000, 7655) + // Minimum execution time: 113_442_000 picoseconds. + Weight::from_parts(115_156_000, 7655) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -2348,8 +2384,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1399` // Estimated: `7339` - // Minimum execution time: 154_609_000 picoseconds. - Weight::from_parts(156_442_000, 7339) + // Minimum execution time: 145_522_000 picoseconds. + Weight::from_parts(148_227_000, 7339) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -2363,15 +2399,13 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `950` // Estimated: `4415` - // Minimum execution time: 697_391_000 picoseconds. - Weight::from_parts(712_594_000, 4415) + // Minimum execution time: 665_483_000 picoseconds. + Weight::from_parts(684_228_000, 4415) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::SubnetOwner` (r:1 w:0) /// Proof: `SubtensorModule::SubnetOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) - /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:1) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) @@ -2384,11 +2418,11 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TransactionKeyLastBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_tempo() -> Weight { // Proof Size summary in bytes: - // Measured: `1015` - // Estimated: `4480` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 4480) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `975` + // Estimated: `4440` + // Minimum execution time: 44_443_000 picoseconds. + Weight::from_parts(45_625_000, 4440) + .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } /// Storage: `SubtensorModule::SubnetOwner` (r:1 w:0) @@ -2409,10 +2443,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ActivityCutoffFactorMilli` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_activity_cutoff_factor() -> Weight { // Proof Size summary in bytes: - // Measured: `889` - // Estimated: `4354` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(31_000_000, 4354) + // Measured: `899` + // Estimated: `4364` + // Minimum execution time: 37_911_000 picoseconds. + Weight::from_parts(38_622_000, 4364) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2422,21 +2456,23 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:1) /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::OwnerHyperparamRateLimit` (r:1 w:0) - /// Proof: `SubtensorModule::OwnerHyperparamRateLimit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) + /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::OwnerHyperparamRateLimit` (r:1 w:0) + /// Proof: `SubtensorModule::OwnerHyperparamRateLimit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastRateLimitedBlock` (r:1 w:1) /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) - /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn trigger_epoch() -> Weight { // Proof Size summary in bytes: - // Measured: `853` - // Estimated: `4318` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(28_000_000, 4318) - .saturating_add(T::DbWeight::get().reads(7_u64)) + // Measured: `982` + // Estimated: `4447` + // Minimum execution time: 40_877_000 picoseconds. + Weight::from_parts(42_058_000, 4447) + .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } } @@ -2519,10 +2555,10 @@ impl WeightInfo for () { /// Proof: `Swap::SwapBalancer` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `1837` + // Measured: `1865` // Estimated: `6148` - // Minimum execution time: 340_604_000 picoseconds. - Weight::from_parts(344_520_000, 6148) + // Minimum execution time: 363_580_000 picoseconds. + Weight::from_parts(385_751_000, 6148) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(29_u64)) } @@ -2562,10 +2598,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `188792` - // Estimated: `10327382` - // Minimum execution time: 16_142_608_000 picoseconds. - Weight::from_parts(16_400_997_000, 10327382) + // Measured: `188820` + // Estimated: `10327410` + // Minimum execution time: 14_673_055_000 picoseconds. + Weight::from_parts(14_945_101_000, 10327410) .saturating_add(RocksDbWeight::get().reads(4112_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2635,8 +2671,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 665_334_000 picoseconds. - Weight::from_parts(685_664_000, 8727) + // Minimum execution time: 788_775_000 picoseconds. + Weight::from_parts(811_597_000, 8727) .saturating_add(RocksDbWeight::get().reads(32_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -2650,8 +2686,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `801` // Estimated: `6741` - // Minimum execution time: 31_927_000 picoseconds. - Weight::from_parts(33_199_000, 6741) + // Minimum execution time: 34_034_000 picoseconds. + Weight::from_parts(34_905_000, 6741) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2665,8 +2701,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `774` // Estimated: `6714` - // Minimum execution time: 28_011_000 picoseconds. - Weight::from_parts(29_073_000, 6714) + // Minimum execution time: 29_675_000 picoseconds. + Weight::from_parts(30_577_000, 6714) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2746,10 +2782,10 @@ impl WeightInfo for () { /// Proof: `Swap::SwapBalancer` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) fn burned_register() -> Weight { // Proof Size summary in bytes: - // Measured: `1770` + // Measured: `1798` // Estimated: `6148` - // Minimum execution time: 337_589_000 picoseconds. - Weight::from_parts(341_856_000, 6148) + // Minimum execution time: 353_831_000 picoseconds. + Weight::from_parts(373_939_000, 6148) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(29_u64)) } @@ -2799,10 +2835,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) fn root_register() -> Weight { // Proof Size summary in bytes: - // Measured: `1482` - // Estimated: `4947` - // Minimum execution time: 100_028_000 picoseconds. - Weight::from_parts(102_953_000, 4947) + // Measured: `1516` + // Estimated: `4981` + // Minimum execution time: 99_517_000 picoseconds. + Weight::from_parts(101_850_000, 4981) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -2826,8 +2862,6 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::NetworkLockReductionInterval` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:0) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::BlockEmission` (r:1 w:0) - /// Proof: `SubtensorModule::BlockEmission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:1) @@ -2900,6 +2934,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:0 w:1) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:0 w:1) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:0 w:1) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Uids` (r:0 w:1) @@ -2920,10 +2956,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1532` // Estimated: `9947` - // Minimum execution time: 266_053_000 picoseconds. - Weight::from_parts(272_392_000, 9947) - .saturating_add(RocksDbWeight::get().reads(40_u64)) - .saturating_add(RocksDbWeight::get().writes(47_u64)) + // Minimum execution time: 268_312_000 picoseconds. + Weight::from_parts(274_293_000, 9947) + .saturating_add(RocksDbWeight::get().reads(39_u64)) + .saturating_add(RocksDbWeight::get().writes(48_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2937,27 +2973,35 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastUpdate` (r:1 w:1) /// Proof: `SubtensorModule::LastUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) - /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::BlocksSinceLastStep` (r:1 w:0) + /// Proof: `SubtensorModule::BlocksSinceLastStep` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:1 w:0) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1071` - // Estimated: `4536` - // Minimum execution time: 57_885_000 picoseconds. - Weight::from_parts(58_817_000, 4536) - .saturating_add(RocksDbWeight::get().reads(10_u64)) + // Measured: `1249` + // Estimated: `4714` + // Minimum execution time: 67_246_000 picoseconds. + Weight::from_parts(68_258_000, 4714) + .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) @@ -2992,11 +3036,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reveal_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1589` - // Estimated: `7529` - // Minimum execution time: 105_065_000 picoseconds. - Weight::from_parts(107_229_000, 7529) - .saturating_add(RocksDbWeight::get().reads(18_u64)) + // Measured: `1650` + // Estimated: `7590` + // Minimum execution time: 108_964_000 picoseconds. + Weight::from_parts(110_777_000, 7590) + .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::TxChildkeyTakeRateLimit` (r:0 w:1) @@ -3005,8 +3049,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_036_000 picoseconds. - Weight::from_parts(4_397_000, 0) + // Minimum execution time: 5_430_000 picoseconds. + Weight::from_parts(5_650_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -3027,8 +3071,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1033` // Estimated: `4498` - // Minimum execution time: 51_045_000 picoseconds. - Weight::from_parts(51_967_000, 4498) + // Minimum execution time: 51_586_000 picoseconds. + Weight::from_parts(52_939_000, 4498) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3044,8 +3088,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 43_204_000 picoseconds. - Weight::from_parts(45_056_000, 4159) + // Minimum execution time: 44_514_000 picoseconds. + Weight::from_parts(45_665_000, 4159) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3073,6 +3117,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:2 w:2) /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingColdkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingColdkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:2 w:2) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) @@ -3091,9 +3137,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2110` // Estimated: `13000` - // Minimum execution time: 285_883_000 picoseconds. - Weight::from_parts(289_268_000, 13000) - .saturating_add(RocksDbWeight::get().reads(36_u64)) + // Minimum execution time: 281_346_000 picoseconds. + Weight::from_parts(284_732_000, 13000) + .saturating_add(RocksDbWeight::get().reads(37_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } /// Storage: `System::Account` (r:2 w:2) @@ -3122,6 +3168,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:2 w:2) /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingColdkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingColdkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:2 w:2) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) @@ -3142,9 +3190,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2166` // Estimated: `13056` - // Minimum execution time: 308_517_000 picoseconds. - Weight::from_parts(314_044_000, 13056) - .saturating_add(RocksDbWeight::get().reads(36_u64)) + // Minimum execution time: 301_834_000 picoseconds. + Weight::from_parts(306_984_000, 13056) + .saturating_add(RocksDbWeight::get().reads(37_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0) @@ -3155,8 +3203,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 20_170_000 picoseconds. - Weight::from_parts(20_820_000, 4130) + // Minimum execution time: 21_932_000 picoseconds. + Weight::from_parts(22_813_000, 4130) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3168,8 +3216,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 16_435_000 picoseconds. - Weight::from_parts(17_065_000, 4078) + // Minimum execution time: 18_434_000 picoseconds. + Weight::from_parts(18_976_000, 4078) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3181,14 +3229,16 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_750_000 picoseconds. - Weight::from_parts(7_190_000, 0) + // Minimum execution time: 8_265_000 picoseconds. + Weight::from_parts(8_817_000, 0) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) @@ -3223,11 +3273,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_reveal_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `2094` - // Estimated: `8034` - // Minimum execution time: 414_593_000 picoseconds. - Weight::from_parts(422_245_000, 8034) - .saturating_add(RocksDbWeight::get().reads(18_u64)) + // Measured: `2155` + // Estimated: `8095` + // Minimum execution time: 416_859_000 picoseconds. + Weight::from_parts(427_028_000, 8095) + .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -3260,8 +3310,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 173_126_000 picoseconds. - Weight::from_parts(174_428_000, 5219) + // Minimum execution time: 166_561_000 picoseconds. + Weight::from_parts(170_308_000, 5219) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3293,8 +3343,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 167_228_000 picoseconds. - Weight::from_parts(169_080_000, 5219) + // Minimum execution time: 162_062_000 picoseconds. + Weight::from_parts(163_757_000, 5219) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -3314,8 +3364,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1118` // Estimated: `4583` - // Minimum execution time: 37_305_000 picoseconds. - Weight::from_parts(38_226_000, 4583) + // Minimum execution time: 37_901_000 picoseconds. + Weight::from_parts(38_762_000, 4583) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3385,8 +3435,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 862_916_000 picoseconds. - Weight::from_parts(876_506_000, 8727) + // Minimum execution time: 1_043_169_000 picoseconds. + Weight::from_parts(1_047_327_000, 8727) .saturating_add(RocksDbWeight::get().reads(32_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -3422,8 +3472,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1979` // Estimated: `7919` - // Minimum execution time: 218_613_000 picoseconds. - Weight::from_parts(219_955_000, 7919) + // Minimum execution time: 217_246_000 picoseconds. + Weight::from_parts(219_019_000, 7919) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -3479,8 +3529,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2142` // Estimated: `10557` - // Minimum execution time: 559_437_000 picoseconds. - Weight::from_parts(573_518_000, 10557) + // Minimum execution time: 520_973_000 picoseconds. + Weight::from_parts(543_776_000, 10557) .saturating_add(RocksDbWeight::get().reads(28_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -3534,8 +3584,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 739_182_000 picoseconds. - Weight::from_parts(755_287_000, 10591) + // Minimum execution time: 682_675_000 picoseconds. + Weight::from_parts(704_897_000, 10591) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -3607,8 +3657,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2662` // Estimated: `11077` - // Minimum execution time: 949_273_000 picoseconds. - Weight::from_parts(964_857_000, 11077) + // Minimum execution time: 875_746_000 picoseconds. + Weight::from_parts(899_831_000, 11077) .saturating_add(RocksDbWeight::get().reads(47_u64)) .saturating_add(RocksDbWeight::get().writes(24_u64)) } @@ -3648,8 +3698,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1988` // Estimated: `7928` - // Minimum execution time: 250_861_000 picoseconds. - Weight::from_parts(253_195_000, 7928) + // Minimum execution time: 238_465_000 picoseconds. + Weight::from_parts(241_342_000, 7928) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3721,8 +3771,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2505` // Estimated: `10920` - // Minimum execution time: 728_698_000 picoseconds. - Weight::from_parts(746_774_000, 10920) + // Minimum execution time: 690_850_000 picoseconds. + Weight::from_parts(712_892_000, 10920) .saturating_add(RocksDbWeight::get().reads(47_u64)) .saturating_add(RocksDbWeight::get().writes(24_u64)) } @@ -3738,23 +3788,31 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastUpdate` (r:1 w:1) /// Proof: `SubtensorModule::LastUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) - /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::BlocksSinceLastStep` (r:1 w:0) + /// Proof: `SubtensorModule::BlocksSinceLastStep` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:1 w:0) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::WeightsSetRateLimit` (r:1 w:0) /// Proof: `SubtensorModule::WeightsSetRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) + /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1122` - // Estimated: `4587` - // Minimum execution time: 123_562_000 picoseconds. - Weight::from_parts(125_566_000, 4587) - .saturating_add(RocksDbWeight::get().reads(11_u64)) + // Measured: `1300` + // Estimated: `4765` + // Minimum execution time: 141_404_000 picoseconds. + Weight::from_parts(144_259_000, 4765) + .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -3791,10 +3849,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_set_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1426` - // Estimated: `7366` - // Minimum execution time: 97_624_000 picoseconds. - Weight::from_parts(100_468_000, 7366) + // Measured: `1455` + // Estimated: `7395` + // Minimum execution time: 99_095_000 picoseconds. + Weight::from_parts(100_548_000, 7395) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3810,8 +3868,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `830` // Estimated: `4295` - // Minimum execution time: 26_830_000 picoseconds. - Weight::from_parts(27_561_000, 4295) + // Minimum execution time: 28_283_000 picoseconds. + Weight::from_parts(29_044_000, 4295) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3829,8 +3887,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `923` // Estimated: `4388` - // Minimum execution time: 33_029_000 picoseconds. - Weight::from_parts(34_211_000, 4388) + // Minimum execution time: 35_246_000 picoseconds. + Weight::from_parts(36_408_000, 4388) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3854,8 +3912,6 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::NetworkLockReductionInterval` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:0) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::BlockEmission` (r:1 w:0) - /// Proof: `SubtensorModule::BlockEmission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:1) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) @@ -3928,6 +3984,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:0 w:1) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:0 w:1) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:0 w:1) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Uids` (r:0 w:1) @@ -3948,10 +4006,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1468` // Estimated: `9883` - // Minimum execution time: 266_604_000 picoseconds. - Weight::from_parts(276_799_000, 9883) - .saturating_add(RocksDbWeight::get().reads(39_u64)) - .saturating_add(RocksDbWeight::get().writes(46_u64)) + // Minimum execution time: 265_025_000 picoseconds. + Weight::from_parts(269_704_000, 9883) + .saturating_add(RocksDbWeight::get().reads(38_u64)) + .saturating_add(RocksDbWeight::get().writes(47_u64)) } /// Storage: `SubtensorModule::IsNetworkMember` (r:2 w:0) /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3963,8 +4021,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `772` // Estimated: `6712` - // Minimum execution time: 31_506_000 picoseconds. - Weight::from_parts(32_528_000, 6712) + // Minimum execution time: 32_912_000 picoseconds. + Weight::from_parts(34_044_000, 6712) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3978,8 +4036,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `889` // Estimated: `6829` - // Minimum execution time: 29_043_000 picoseconds. - Weight::from_parts(30_816_000, 6829) + // Minimum execution time: 31_188_000 picoseconds. + Weight::from_parts(32_100_000, 6829) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3991,12 +4049,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 15_503_000 picoseconds. - Weight::from_parts(16_204_000, 4060) + // Minimum execution time: 17_162_000 picoseconds. + Weight::from_parts(18_004_000, 4060) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `SubtensorModule::Owner` (r:1 w:2) + /// Storage: `SubtensorModule::Owner` (r:2 w:2) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastRateLimitedBlock` (r:4 w:7) /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -4008,14 +4066,20 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::RootClaimable` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:9 w:8) /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RootClaimed` (r:1 w:0) + /// Proof: `SubtensorModule::RootClaimed` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::NetworksAdded` (r:6 w:0) + /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ChildKeys` (r:10 w:10) + /// Proof: `SubtensorModule::ChildKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastHotkeySwapOnNetuid` (r:4 w:4) + /// Proof: `SubtensorModule::LastHotkeySwapOnNetuid` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Alpha` (r:9 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:9 w:8) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::NetworksAdded` (r:6 w:0) - /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetOwnerHotkey` (r:5 w:0) /// Proof: `SubtensorModule::SubnetOwnerHotkey` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::HotkeyLock` (r:5 w:0) @@ -4024,8 +4088,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::DecayingHotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:1 w:1) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::ChildKeys` (r:10 w:10) - /// Proof: `SubtensorModule::ChildKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ChildkeyTake` (r:5 w:0) + /// Proof: `SubtensorModule::ChildkeyTake` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ParentKeys` (r:10 w:10) /// Proof: `SubtensorModule::ParentKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::PendingChildKeys` (r:10 w:0) @@ -4066,12 +4130,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_hotkey() -> Weight { // Proof Size summary in bytes: - // Measured: `3131` - // Estimated: `28871` - // Minimum execution time: 1_193_554_000 picoseconds. - Weight::from_parts(1_201_736_000, 28871) - .saturating_add(RocksDbWeight::get().reads(171_u64)) - .saturating_add(RocksDbWeight::get().writes(95_u64)) + // Measured: `3172` + // Estimated: `28912` + // Minimum execution time: 1_188_761_000 picoseconds. + Weight::from_parts(1_194_021_000, 28912) + .saturating_add(RocksDbWeight::get().reads(182_u64)) + .saturating_add(RocksDbWeight::get().writes(99_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:1) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -4083,8 +4147,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `818` // Estimated: `4283` - // Minimum execution time: 23_084_000 picoseconds. - Weight::from_parts(23_836_000, 4283) + // Minimum execution time: 24_195_000 picoseconds. + Weight::from_parts(25_127_000, 4283) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4098,8 +4162,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `774` // Estimated: `9189` - // Minimum execution time: 24_587_000 picoseconds. - Weight::from_parts(25_608_000, 9189) + // Minimum execution time: 26_129_000 picoseconds. + Weight::from_parts(26_801_000, 9189) .saturating_add(RocksDbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4160,8 +4224,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2235` // Estimated: `11306` - // Minimum execution time: 695_268_000 picoseconds. - Weight::from_parts(708_618_000, 11306) + // Minimum execution time: 646_488_000 picoseconds. + Weight::from_parts(669_141_000, 11306) .saturating_add(RocksDbWeight::get().reads(43_u64)) .saturating_add(RocksDbWeight::get().writes(25_u64)) } @@ -4215,8 +4279,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 763_548_000 picoseconds. - Weight::from_parts(778_691_000, 10591) + // Minimum execution time: 699_937_000 picoseconds. + Weight::from_parts(720_517_000, 10591) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -4248,8 +4312,6 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::NetworkLockReductionInterval` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:0) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::BlockEmission` (r:1 w:0) - /// Proof: `SubtensorModule::BlockEmission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:1) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) @@ -4330,6 +4392,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:0 w:1) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:0 w:1) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:0 w:1) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Uids` (r:0 w:1) @@ -4353,13 +4417,13 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1835 + k * (44 ±0)` // Estimated: `10256 + k * (2579 ±0)` - // Minimum execution time: 480_320_000 picoseconds. - Weight::from_parts(250_987_824, 10256) - // Standard Error: 56_710 - .saturating_add(Weight::from_parts(48_825_380, 0).saturating_mul(k.into())) - .saturating_add(RocksDbWeight::get().reads(49_u64)) + // Minimum execution time: 463_937_000 picoseconds. + Weight::from_parts(294_920_728, 10256) + // Standard Error: 22_702 + .saturating_add(Weight::from_parts(44_735_778, 0).saturating_mul(k.into())) + .saturating_add(RocksDbWeight::get().reads(48_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(k.into()))) - .saturating_add(RocksDbWeight::get().writes(52_u64)) + .saturating_add(RocksDbWeight::get().writes(53_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 2579).saturating_mul(k.into())) } @@ -4386,10 +4450,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1501 + k * (53 ±0)` // Estimated: `6148 + k * (2529 ±0)` - // Minimum execution time: 89_272_000 picoseconds. - Weight::from_parts(79_136_631, 6148) - // Standard Error: 7_622 - .saturating_add(Weight::from_parts(1_641_271, 0).saturating_mul(k.into())) + // Minimum execution time: 91_311_000 picoseconds. + Weight::from_parts(79_878_607, 6148) + // Standard Error: 8_455 + .saturating_add(Weight::from_parts(1_683_698, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -4404,8 +4468,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `659` // Estimated: `9074` - // Minimum execution time: 23_875_000 picoseconds. - Weight::from_parts(25_027_000, 9074) + // Minimum execution time: 26_950_000 picoseconds. + Weight::from_parts(28_343_000, 9074) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4423,19 +4487,27 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastUpdate` (r:1 w:1) /// Proof: `SubtensorModule::LastUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) + /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::BlocksSinceLastStep` (r:1 w:0) + /// Proof: `SubtensorModule::BlocksSinceLastStep` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TimelockedWeightCommits` (r:1 w:1) /// Proof: `SubtensorModule::TimelockedWeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetworkN` (r:1 w:0) /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn commit_timelocked_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1070` - // Estimated: `4535` - // Minimum execution time: 71_556_000 picoseconds. - Weight::from_parts(73_198_000, 4535) - .saturating_add(RocksDbWeight::get().reads(10_u64)) + // Measured: `1248` + // Estimated: `4713` + // Minimum execution time: 83_827_000 picoseconds. + Weight::from_parts(85_029_000, 4713) + .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -4450,8 +4522,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `809` // Estimated: `4274` - // Minimum execution time: 31_547_000 picoseconds. - Weight::from_parts(32_238_000, 4274) + // Minimum execution time: 32_531_000 picoseconds. + Weight::from_parts(33_452_000, 4274) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4467,8 +4539,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 15_273_000 picoseconds. - Weight::from_parts(16_074_000, 3941) + // Minimum execution time: 17_593_000 picoseconds. + Weight::from_parts(18_314_000, 3941) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4498,8 +4570,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1935` // Estimated: `7875` - // Minimum execution time: 139_456_000 picoseconds. - Weight::from_parts(141_309_000, 7875) + // Minimum execution time: 135_273_000 picoseconds. + Weight::from_parts(136_365_000, 7875) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4509,8 +4581,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_023_000 picoseconds. - Weight::from_parts(2_303_000, 0) + // Minimum execution time: 2_745_000 picoseconds. + Weight::from_parts(2_875_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -4519,8 +4591,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_567_000 picoseconds. - Weight::from_parts(5_117_000, 0) + // Minimum execution time: 5_330_000 picoseconds. + Weight::from_parts(5_600_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4533,8 +4605,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 24_225_000 picoseconds. - Weight::from_parts(25_578_000, 4364) + // Minimum execution time: 27_291_000 picoseconds. + Weight::from_parts(27_892_000, 4364) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4606,8 +4678,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2229` // Estimated: `8727` - // Minimum execution time: 990_125_000 picoseconds. - Weight::from_parts(995_442_000, 8727) + // Minimum execution time: 913_307_000 picoseconds. + Weight::from_parts(924_638_000, 8727) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(17_u64)) } @@ -4617,8 +4689,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_013_000 picoseconds. - Weight::from_parts(2_173_000, 0) + // Minimum execution time: 2_826_000 picoseconds. + Weight::from_parts(3_046_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4659,8 +4731,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1715` // Estimated: `7655` - // Minimum execution time: 114_670_000 picoseconds. - Weight::from_parts(116_542_000, 7655) + // Minimum execution time: 113_442_000 picoseconds. + Weight::from_parts(115_156_000, 7655) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4690,8 +4762,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1399` // Estimated: `7339` - // Minimum execution time: 154_609_000 picoseconds. - Weight::from_parts(156_442_000, 7339) + // Minimum execution time: 145_522_000 picoseconds. + Weight::from_parts(148_227_000, 7339) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -4705,15 +4777,13 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `950` // Estimated: `4415` - // Minimum execution time: 697_391_000 picoseconds. - Weight::from_parts(712_594_000, 4415) + // Minimum execution time: 665_483_000 picoseconds. + Weight::from_parts(684_228_000, 4415) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::SubnetOwner` (r:1 w:0) /// Proof: `SubtensorModule::SubnetOwner` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) - /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:1) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) @@ -4726,11 +4796,11 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TransactionKeyLastBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_tempo() -> Weight { // Proof Size summary in bytes: - // Measured: `1015` - // Estimated: `4480` - // Minimum execution time: 34_000_000 picoseconds. - Weight::from_parts(35_000_000, 4480) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Measured: `975` + // Estimated: `4440` + // Minimum execution time: 44_443_000 picoseconds. + Weight::from_parts(45_625_000, 4440) + .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } /// Storage: `SubtensorModule::SubnetOwner` (r:1 w:0) @@ -4751,10 +4821,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ActivityCutoffFactorMilli` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_activity_cutoff_factor() -> Weight { // Proof Size summary in bytes: - // Measured: `889` - // Estimated: `4354` - // Minimum execution time: 29_000_000 picoseconds. - Weight::from_parts(31_000_000, 4354) + // Measured: `899` + // Estimated: `4364` + // Minimum execution time: 37_911_000 picoseconds. + Weight::from_parts(38_622_000, 4364) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4764,21 +4834,23 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:1) /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::OwnerHyperparamRateLimit` (r:1 w:0) - /// Proof: `SubtensorModule::OwnerHyperparamRateLimit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) + /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Tempo` (r:1 w:0) /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) + /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::OwnerHyperparamRateLimit` (r:1 w:0) + /// Proof: `SubtensorModule::OwnerHyperparamRateLimit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastRateLimitedBlock` (r:1 w:1) /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) - /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn trigger_epoch() -> Weight { // Proof Size summary in bytes: - // Measured: `853` - // Estimated: `4318` - // Minimum execution time: 25_000_000 picoseconds. - Weight::from_parts(28_000_000, 4318) - .saturating_add(RocksDbWeight::get().reads(7_u64)) + // Measured: `982` + // Estimated: `4447` + // Minimum execution time: 40_877_000 picoseconds. + Weight::from_parts(42_058_000, 4447) + .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } } diff --git a/pallets/utility/src/weights.rs b/pallets/utility/src/weights.rs index 4fe14ea89b..47a37704a9 100644 --- a/pallets/utility/src/weights.rs +++ b/pallets/utility/src/weights.rs @@ -2,9 +2,9 @@ //! Autogenerated weights for `pallet_subtensor_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-06-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervm1li68`, CPU: `AMD EPYC 9V74 80-Core Processor` +//! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.dful3SGU9S +// --output=/tmp/tmp.s4uBrF03dO // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -57,10 +57,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 3_655_000 picoseconds. - Weight::from_parts(13_879_015, 3983) - // Standard Error: 2_223 - .saturating_add(Weight::from_parts(5_280_856, 0).saturating_mul(c.into())) + // Minimum execution time: 4_809_000 picoseconds. + Weight::from_parts(12_112_056, 3983) + // Standard Error: 3_075 + .saturating_add(Weight::from_parts(5_309_269, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) @@ -71,8 +71,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 13_380_000 picoseconds. - Weight::from_parts(13_880_000, 3983) + // Minimum execution time: 14_627_000 picoseconds. + Weight::from_parts(15_218_000, 3983) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) @@ -84,18 +84,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 3_825_000 picoseconds. - Weight::from_parts(9_466_022, 3983) - // Standard Error: 1_996 - .saturating_add(Weight::from_parts(5_530_123, 0).saturating_mul(c.into())) + // Minimum execution time: 4_699_000 picoseconds. + Weight::from_parts(16_984_174, 3983) + // Standard Error: 2_041 + .saturating_add(Weight::from_parts(5_485_783, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_508_000 picoseconds. - Weight::from_parts(5_809_000, 0) + // Minimum execution time: 6_592_000 picoseconds. + Weight::from_parts(6_933_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -106,18 +106,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 3_736_000 picoseconds. - Weight::from_parts(15_189_579, 3983) - // Standard Error: 1_690 - .saturating_add(Weight::from_parts(5_270_917, 0).saturating_mul(c.into())) + // Minimum execution time: 4_799_000 picoseconds. + Weight::from_parts(17_494_535, 3983) + // Standard Error: 6_684 + .saturating_add(Weight::from_parts(5_282_689, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) } fn dispatch_as_fallible() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_338_000 picoseconds. - Weight::from_parts(5_719_000, 0) + // Minimum execution time: 6_412_000 picoseconds. + Weight::from_parts(6_753_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 18_498_000 picoseconds. - Weight::from_parts(19_339_000, 3983) + // Minimum execution time: 20_608_000 picoseconds. + Weight::from_parts(21_320_000, 3983) .saturating_add(T::DbWeight::get().reads(2_u64)) } } @@ -144,10 +144,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 3_655_000 picoseconds. - Weight::from_parts(13_879_015, 3983) - // Standard Error: 2_223 - .saturating_add(Weight::from_parts(5_280_856, 0).saturating_mul(c.into())) + // Minimum execution time: 4_809_000 picoseconds. + Weight::from_parts(12_112_056, 3983) + // Standard Error: 3_075 + .saturating_add(Weight::from_parts(5_309_269, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) @@ -158,8 +158,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 13_380_000 picoseconds. - Weight::from_parts(13_880_000, 3983) + // Minimum execution time: 14_627_000 picoseconds. + Weight::from_parts(15_218_000, 3983) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) @@ -171,18 +171,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 3_825_000 picoseconds. - Weight::from_parts(9_466_022, 3983) - // Standard Error: 1_996 - .saturating_add(Weight::from_parts(5_530_123, 0).saturating_mul(c.into())) + // Minimum execution time: 4_699_000 picoseconds. + Weight::from_parts(16_984_174, 3983) + // Standard Error: 2_041 + .saturating_add(Weight::from_parts(5_485_783, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_508_000 picoseconds. - Weight::from_parts(5_809_000, 0) + // Minimum execution time: 6_592_000 picoseconds. + Weight::from_parts(6_933_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -193,18 +193,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 3_736_000 picoseconds. - Weight::from_parts(15_189_579, 3983) - // Standard Error: 1_690 - .saturating_add(Weight::from_parts(5_270_917, 0).saturating_mul(c.into())) + // Minimum execution time: 4_799_000 picoseconds. + Weight::from_parts(17_494_535, 3983) + // Standard Error: 6_684 + .saturating_add(Weight::from_parts(5_282_689, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) } fn dispatch_as_fallible() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_338_000 picoseconds. - Weight::from_parts(5_719_000, 0) + // Minimum execution time: 6_412_000 picoseconds. + Weight::from_parts(6_753_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -214,8 +214,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 18_498_000 picoseconds. - Weight::from_parts(19_339_000, 3983) + // Minimum execution time: 20_608_000 picoseconds. + Weight::from_parts(21_320_000, 3983) .saturating_add(RocksDbWeight::get().reads(2_u64)) } } From 977d5345b0e7215337cae113e57500d0ccf51de0 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Tue, 23 Jun 2026 08:55:01 -0700 Subject: [PATCH 07/14] Update weights.rs --- pallets/subtensor/src/weights.rs | 218 +++++++++++++++++++++++++++++++ 1 file changed, 218 insertions(+) diff --git a/pallets/subtensor/src/weights.rs b/pallets/subtensor/src/weights.rs index bda15a28c9..06536191ce 100644 --- a/pallets/subtensor/src/weights.rs +++ b/pallets/subtensor/src/weights.rs @@ -2481,6 +2481,115 @@ impl WeightInfo for SubstrateWeight { .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } + + /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0) + /// Proof: `SubtensorModule::ColdkeySwapAnnouncements` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ColdkeySwapDisputes` (r:1 w:0) + /// Proof: `SubtensorModule::ColdkeySwapDisputes` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_coldkey_swap_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `733` + // Estimated: `4198` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 4198) + .saturating_add(T::DbWeight::get().reads(2_u64)) + } + + /// Storage: `SubtensorModule::SubnetOwnerHotkey` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetOwnerHotkey` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TaoWeight` (r:1 w:0) + /// Proof: `SubtensorModule::TaoWeight` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:2 w:0) + /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ParentKeys` (r:1 w:0) + /// Proof: `SubtensorModule::ParentKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ChildKeys` (r:1 w:0) + /// Proof: `SubtensorModule::ChildKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) + /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::WeightCommits` (r:1 w:0) + /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Tempo` (r:1 w:0) + /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) + /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_weights_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `1731` + // Estimated: `7671` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_000_000, 7671) + .saturating_add(T::DbWeight::get().reads(11_u64)) + } + + /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) + /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Uids` (r:1 w:0) + /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) + /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MechanismCountCurrent` (r:1 w:0) + /// Proof: `SubtensorModule::MechanismCountCurrent` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Keys` (r:1 w:0) + /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastUpdate` (r:1 w:0) + /// Proof: `SubtensorModule::LastUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::WeightsSetRateLimit` (r:1 w:0) + /// Proof: `SubtensorModule::WeightsSetRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_rate_limits_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `1019` + // Estimated: `4484` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 4484) + .saturating_add(T::DbWeight::get().reads(7_u64)) + } + + /// Storage: `SubtensorModule::MinDelegateTake` (r:1 w:0) + /// Proof: `SubtensorModule::MinDelegateTake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaxDelegateTake` (r:1 w:0) + /// Proof: `SubtensorModule::MaxDelegateTake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Owner` (r:1 w:0) + /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_delegate_take_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `721` + // Estimated: `4186` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 4186) + .saturating_add(T::DbWeight::get().reads(3_u64)) + } + + /// Storage: `SubtensorModule::Uids` (r:1 w:0) + /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Axons` (r:1 w:0) + /// Proof: `SubtensorModule::Axons` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ServingRateLimit` (r:1 w:0) + /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_serving_endpoints_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `647` + // Estimated: `4112` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 4112) + .saturating_add(T::DbWeight::get().reads(3_u64)) + } + + /// Storage: `SubtensorModule::Uids` (r:1 w:0) + /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AssociatedEvmAddress` (r:1 w:0) + /// Proof: `SubtensorModule::AssociatedEvmAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_evm_key_association_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `652` + // Estimated: `4117` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(7_000_000, 4117) + .saturating_add(T::DbWeight::get().reads(2_u64)) + } + } // For backwards compatibility and tests. @@ -4859,4 +4968,113 @@ impl WeightInfo for () { .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } + + /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0) + /// Proof: `SubtensorModule::ColdkeySwapAnnouncements` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ColdkeySwapDisputes` (r:1 w:0) + /// Proof: `SubtensorModule::ColdkeySwapDisputes` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_coldkey_swap_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `733` + // Estimated: `4198` + // Minimum execution time: 8_000_000 picoseconds. + Weight::from_parts(9_000_000, 4198) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + } + + /// Storage: `SubtensorModule::SubnetOwnerHotkey` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetOwnerHotkey` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TaoWeight` (r:1 w:0) + /// Proof: `SubtensorModule::TaoWeight` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:2 w:0) + /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ParentKeys` (r:1 w:0) + /// Proof: `SubtensorModule::ParentKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ChildKeys` (r:1 w:0) + /// Proof: `SubtensorModule::ChildKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) + /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::WeightCommits` (r:1 w:0) + /// Proof: `SubtensorModule::WeightCommits` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetEpochIndex` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetEpochIndex` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Tempo` (r:1 w:0) + /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RevealPeriodEpochs` (r:1 w:0) + /// Proof: `SubtensorModule::RevealPeriodEpochs` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_weights_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `1731` + // Estimated: `7671` + // Minimum execution time: 25_000_000 picoseconds. + Weight::from_parts(26_000_000, 7671) + .saturating_add(RocksDbWeight::get().reads(11_u64)) + } + + /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) + /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Uids` (r:1 w:0) + /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) + /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MechanismCountCurrent` (r:1 w:0) + /// Proof: `SubtensorModule::MechanismCountCurrent` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Keys` (r:1 w:0) + /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastUpdate` (r:1 w:0) + /// Proof: `SubtensorModule::LastUpdate` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::WeightsSetRateLimit` (r:1 w:0) + /// Proof: `SubtensorModule::WeightsSetRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_rate_limits_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `1019` + // Estimated: `4484` + // Minimum execution time: 17_000_000 picoseconds. + Weight::from_parts(18_000_000, 4484) + .saturating_add(RocksDbWeight::get().reads(7_u64)) + } + + /// Storage: `SubtensorModule::MinDelegateTake` (r:1 w:0) + /// Proof: `SubtensorModule::MinDelegateTake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaxDelegateTake` (r:1 w:0) + /// Proof: `SubtensorModule::MaxDelegateTake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Owner` (r:1 w:0) + /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_delegate_take_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `721` + // Estimated: `4186` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(8_000_000, 4186) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + } + + /// Storage: `SubtensorModule::Uids` (r:1 w:0) + /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Axons` (r:1 w:0) + /// Proof: `SubtensorModule::Axons` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::ServingRateLimit` (r:1 w:0) + /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_serving_endpoints_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `647` + // Estimated: `4112` + // Minimum execution time: 9_000_000 picoseconds. + Weight::from_parts(9_000_000, 4112) + .saturating_add(RocksDbWeight::get().reads(3_u64)) + } + + /// Storage: `SubtensorModule::Uids` (r:1 w:0) + /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AssociatedEvmAddress` (r:1 w:0) + /// Proof: `SubtensorModule::AssociatedEvmAddress` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn check_evm_key_association_extension() -> Weight { + // Proof Size summary in bytes: + // Measured: `652` + // Estimated: `4117` + // Minimum execution time: 7_000_000 picoseconds. + Weight::from_parts(7_000_000, 4117) + .saturating_add(RocksDbWeight::get().reads(2_u64)) + } + } From 096a40583f7c4b7d1b9e62316dee730555c95df5 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Tue, 23 Jun 2026 09:27:38 -0700 Subject: [PATCH 08/14] remove sudo_set_subnet_owner_hotkey everywhere --- runtime/src/lib.rs | 1 - runtime/tests/ghsa_repro.rs | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 7958e54eb0..a8589c1b14 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -662,7 +662,6 @@ subtensor_macros::define_proxy_filters! { SubtensorModule::update_symbol, } except { AdminUtils::sudo_set_sn_owner_hotkey, - AdminUtils::sudo_set_subnet_owner_hotkey, } NonCritical => deny { diff --git a/runtime/tests/ghsa_repro.rs b/runtime/tests/ghsa_repro.rs index aa8651ba75..f153fc83ec 100644 --- a/runtime/tests/ghsa_repro.rs +++ b/runtime/tests/ghsa_repro.rs @@ -73,12 +73,6 @@ fn set_sn_owner_hotkey_c67() -> RuntimeCall { hotkey: acct(), }) } -fn set_subnet_owner_hotkey_c64() -> RuntimeCall { - RuntimeCall::AdminUtils(pallet_admin_utils::Call::sudo_set_subnet_owner_hotkey { - netuid: Default::default(), - hotkey: acct(), - }) -} /// GHSA-2026-001 — NonTransfer and NonFungible proxies (the two "cannot move my funds" /// types) ALLOW the new coldkey-swap lifecycle, so a restricted delegate can take over @@ -149,17 +143,10 @@ fn ghsa_2026_002_nonfungible_allows_swap_hotkey_v2_gap() { } /// GHSA-2026-003 — the Owner proxy excepts sudo_set_sn_owner_hotkey (call 67) but the -/// duplicate alias sudo_set_subnet_owner_hotkey (call 64) is allowed by the AdminUtils::* -/// wildcard, bypassing the carve-out. #[test] fn ghsa_2026_003_owner_proxy_set_owner_hotkey_alias_bypass() { assert!( !ProxyType::Owner.filter(&set_sn_owner_hotkey_c67()), "precondition: Owner correctly excepts sudo_set_sn_owner_hotkey (call 67)" ); - assert!( - !ProxyType::Owner.filter(&set_subnet_owner_hotkey_c64()), - "regression (GHSA-2026-003 fixed): Owner must DENY the alias sudo_set_subnet_owner_hotkey (call 64), \ - which calls the same do_set_sn_owner_hotkey backend" - ); } From bff576042caa840fe010c60b9e6f8d14f899b513 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Tue, 23 Jun 2026 09:28:30 -0700 Subject: [PATCH 09/14] Update weights.rs --- pallets/proxy/src/weights.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pallets/proxy/src/weights.rs b/pallets/proxy/src/weights.rs index 8e78987e52..1885d8b3f6 100644 --- a/pallets/proxy/src/weights.rs +++ b/pallets/proxy/src/weights.rs @@ -128,7 +128,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` @@ -344,7 +344,7 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn reject_announcement(a: u32, _p: u32, ) -> Weight { + fn reject_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` From 8a4bad0a0e9ce1c516a3087b236aee3a36dd221e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Jun 2026 16:39:54 +0000 Subject: [PATCH 10/14] auto-update benchmark weights --- pallets/limit-orders/src/weights.rs | 52 +-- pallets/proxy/src/weights.rs | 218 ++++++----- pallets/subtensor/src/weights.rs | 558 ++++++++++++++-------------- pallets/utility/src/weights.rs | 82 ++-- 4 files changed, 453 insertions(+), 457 deletions(-) diff --git a/pallets/limit-orders/src/weights.rs b/pallets/limit-orders/src/weights.rs index 2f58f6f349..1e8e8e1079 100644 --- a/pallets/limit-orders/src/weights.rs +++ b/pallets/limit-orders/src/weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_limit_orders` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-06-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.JH4nJFQcLP +// --output=/tmp/tmp.brQLtUSwVn // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,8 +51,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `66` // Estimated: `3522` - // Minimum execution time: 15_439_000 picoseconds. - Weight::from_parts(15_769_000, 3522) + // Minimum execution time: 15_659_000 picoseconds. + Weight::from_parts(16_100_000, 3522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -62,8 +62,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_090_000 picoseconds. - Weight::from_parts(5_410_000, 0) + // Minimum execution time: 5_340_000 picoseconds. + Weight::from_parts(5_570_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `LimitOrders::LimitOrdersEnabled` (r:1 w:0) @@ -123,10 +123,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1134 + n * (283 ±0)` // Estimated: `6148 + n * (5158 ±0)` - // Minimum execution time: 569_453_000 picoseconds. - Weight::from_parts(572_158_000, 6148) - // Standard Error: 260_354 - .saturating_add(Weight::from_parts(488_183_046, 0).saturating_mul(n.into())) + // Minimum execution time: 569_300_000 picoseconds. + Weight::from_parts(9_730_315, 6148) + // Standard Error: 118_412 + .saturating_add(Weight::from_parts(496_300_006, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().reads((11_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10_u64)) @@ -190,10 +190,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1263 + n * (283 ±0)` // Estimated: `8727 + n * (5158 ±0)` - // Minimum execution time: 709_385_000 picoseconds. - Weight::from_parts(432_092_754, 8727) - // Standard Error: 319_794 - .saturating_add(Weight::from_parts(251_319_046, 0).saturating_mul(n.into())) + // Minimum execution time: 717_287_000 picoseconds. + Weight::from_parts(450_860_511, 8727) + // Standard Error: 90_030 + .saturating_add(Weight::from_parts(244_435_749, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(25_u64)) .saturating_add(T::DbWeight::get().reads((10_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(15_u64)) @@ -210,8 +210,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `66` // Estimated: `3522` - // Minimum execution time: 15_439_000 picoseconds. - Weight::from_parts(15_769_000, 3522) + // Minimum execution time: 15_659_000 picoseconds. + Weight::from_parts(16_100_000, 3522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -221,8 +221,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_090_000 picoseconds. - Weight::from_parts(5_410_000, 0) + // Minimum execution time: 5_340_000 picoseconds. + Weight::from_parts(5_570_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `LimitOrders::LimitOrdersEnabled` (r:1 w:0) @@ -282,10 +282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1134 + n * (283 ±0)` // Estimated: `6148 + n * (5158 ±0)` - // Minimum execution time: 569_453_000 picoseconds. - Weight::from_parts(572_158_000, 6148) - // Standard Error: 260_354 - .saturating_add(Weight::from_parts(488_183_046, 0).saturating_mul(n.into())) + // Minimum execution time: 569_300_000 picoseconds. + Weight::from_parts(9_730_315, 6148) + // Standard Error: 118_412 + .saturating_add(Weight::from_parts(496_300_006, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().reads((11_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(10_u64)) @@ -349,10 +349,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1263 + n * (283 ±0)` // Estimated: `8727 + n * (5158 ±0)` - // Minimum execution time: 709_385_000 picoseconds. - Weight::from_parts(432_092_754, 8727) - // Standard Error: 319_794 - .saturating_add(Weight::from_parts(251_319_046, 0).saturating_mul(n.into())) + // Minimum execution time: 717_287_000 picoseconds. + Weight::from_parts(450_860_511, 8727) + // Standard Error: 90_030 + .saturating_add(Weight::from_parts(244_435_749, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(25_u64)) .saturating_add(RocksDbWeight::get().reads((10_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(15_u64)) diff --git a/pallets/proxy/src/weights.rs b/pallets/proxy/src/weights.rs index 1885d8b3f6..b72e1a2b61 100644 --- a/pallets/proxy/src/weights.rs +++ b/pallets/proxy/src/weights.rs @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.y6dm1DHMCB +// --output=/tmp/tmp.83PvDpFZSc // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -66,10 +66,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 26_629_000 picoseconds. - Weight::from_parts(28_026_265, 4254) - // Standard Error: 4_888 - .saturating_add(Weight::from_parts(53_205, 0).saturating_mul(p.into())) + // Minimum execution time: 27_281_000 picoseconds. + Weight::from_parts(28_228_411, 4254) + // Standard Error: 3_441 + .saturating_add(Weight::from_parts(80_622, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -92,12 +92,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 52_588_000 picoseconds. - Weight::from_parts(53_234_507, 8615) - // Standard Error: 1_933 - .saturating_add(Weight::from_parts(228_831, 0).saturating_mul(a.into())) - // Standard Error: 7_745 - .saturating_add(Weight::from_parts(54_037, 0).saturating_mul(p.into())) + // Minimum execution time: 52_768_000 picoseconds. + Weight::from_parts(52_759_198, 8615) + // Standard Error: 2_732 + .saturating_add(Weight::from_parts(218_180, 0).saturating_mul(a.into())) + // Standard Error: 10_943 + .saturating_add(Weight::from_parts(72_178, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -109,16 +109,14 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { + fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 26_049_000 picoseconds. - Weight::from_parts(25_595_226, 8615) - // Standard Error: 1_041 - .saturating_add(Weight::from_parts(205_163, 0).saturating_mul(a.into())) - // Standard Error: 4_172 - .saturating_add(Weight::from_parts(40_277, 0).saturating_mul(p.into())) + // Minimum execution time: 25_147_000 picoseconds. + Weight::from_parts(26_189_138, 8615) + // Standard Error: 1_221 + .saturating_add(Weight::from_parts(193_940, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -132,12 +130,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 26_269_000 picoseconds. - Weight::from_parts(26_388_332, 8615) - // Standard Error: 1_181 - .saturating_add(Weight::from_parts(199_703, 0).saturating_mul(a.into())) - // Standard Error: 4_732 - .saturating_add(Weight::from_parts(17_846, 0).saturating_mul(p.into())) + // Minimum execution time: 25_137_000 picoseconds. + Weight::from_parts(25_518_630, 8615) + // Standard Error: 1_348 + .saturating_add(Weight::from_parts(200_796, 0).saturating_mul(a.into())) + // Standard Error: 5_399 + .saturating_add(Weight::from_parts(33_024, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -153,12 +151,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 33_873_000 picoseconds. - Weight::from_parts(34_286_251, 8615) - // Standard Error: 2_040 - .saturating_add(Weight::from_parts(194_092, 0).saturating_mul(a.into())) - // Standard Error: 8_174 - .saturating_add(Weight::from_parts(53_615, 0).saturating_mul(p.into())) + // Minimum execution time: 32_901_000 picoseconds. + Weight::from_parts(32_939_749, 8615) + // Standard Error: 1_326 + .saturating_add(Weight::from_parts(195_862, 0).saturating_mul(a.into())) + // Standard Error: 5_313 + .saturating_add(Weight::from_parts(69_363, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -169,10 +167,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_907_000 picoseconds. - Weight::from_parts(25_770_804, 4254) - // Standard Error: 2_400 - .saturating_add(Weight::from_parts(80_892, 0).saturating_mul(p.into())) + // Minimum execution time: 24_315_000 picoseconds. + Weight::from_parts(25_235_790, 4254) + // Standard Error: 2_116 + .saturating_add(Weight::from_parts(66_690, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +183,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 26_690_000 picoseconds. - Weight::from_parts(27_827_049, 4254) - // Standard Error: 2_885 - .saturating_add(Weight::from_parts(64_054, 0).saturating_mul(p.into())) + // Minimum execution time: 26_108_000 picoseconds. + Weight::from_parts(27_189_796, 4254) + // Standard Error: 3_348 + .saturating_add(Weight::from_parts(68_144, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -199,10 +197,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 26_159_000 picoseconds. - Weight::from_parts(27_407_028, 4254) - // Standard Error: 3_009 - .saturating_add(Weight::from_parts(55_808, 0).saturating_mul(p.into())) + // Minimum execution time: 25_768_000 picoseconds. + Weight::from_parts(26_703_815, 4254) + // Standard Error: 2_563 + .saturating_add(Weight::from_parts(33_437, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -213,10 +211,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 26_699_000 picoseconds. - Weight::from_parts(27_853_436, 4254) - // Standard Error: 3_475 - .saturating_add(Weight::from_parts(20_160, 0).saturating_mul(p.into())) + // Minimum execution time: 26_069_000 picoseconds. + Weight::from_parts(27_181_467, 4254) + // Standard Error: 2_477 + .saturating_add(Weight::from_parts(29_356, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -227,10 +225,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_437_000 picoseconds. - Weight::from_parts(26_529_087, 4254) - // Standard Error: 2_476 - .saturating_add(Weight::from_parts(48_014, 0).saturating_mul(p.into())) + // Minimum execution time: 24_817_000 picoseconds. + Weight::from_parts(25_983_831, 4254) + // Standard Error: 2_657 + .saturating_add(Weight::from_parts(52_737, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -244,8 +242,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 46_066_000 picoseconds. - Weight::from_parts(46_757_000, 8615) + // Minimum execution time: 44_073_000 picoseconds. + Weight::from_parts(45_094_000, 8615) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -258,10 +256,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_585_000 picoseconds. - Weight::from_parts(14_259_931, 4254) - // Standard Error: 1_733 - .saturating_add(Weight::from_parts(42_799, 0).saturating_mul(p.into())) + // Minimum execution time: 13_977_000 picoseconds. + Weight::from_parts(14_592_871, 4254) + // Standard Error: 1_897 + .saturating_add(Weight::from_parts(38_436, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -282,10 +280,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 26_629_000 picoseconds. - Weight::from_parts(28_026_265, 4254) - // Standard Error: 4_888 - .saturating_add(Weight::from_parts(53_205, 0).saturating_mul(p.into())) + // Minimum execution time: 27_281_000 picoseconds. + Weight::from_parts(28_228_411, 4254) + // Standard Error: 3_441 + .saturating_add(Weight::from_parts(80_622, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -308,12 +306,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 52_588_000 picoseconds. - Weight::from_parts(53_234_507, 8615) - // Standard Error: 1_933 - .saturating_add(Weight::from_parts(228_831, 0).saturating_mul(a.into())) - // Standard Error: 7_745 - .saturating_add(Weight::from_parts(54_037, 0).saturating_mul(p.into())) + // Minimum execution time: 52_768_000 picoseconds. + Weight::from_parts(52_759_198, 8615) + // Standard Error: 2_732 + .saturating_add(Weight::from_parts(218_180, 0).saturating_mul(a.into())) + // Standard Error: 10_943 + .saturating_add(Weight::from_parts(72_178, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -325,16 +323,14 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn remove_announcement(a: u32, p: u32, ) -> Weight { + fn remove_announcement(a: u32, _p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 26_049_000 picoseconds. - Weight::from_parts(25_595_226, 8615) - // Standard Error: 1_041 - .saturating_add(Weight::from_parts(205_163, 0).saturating_mul(a.into())) - // Standard Error: 4_172 - .saturating_add(Weight::from_parts(40_277, 0).saturating_mul(p.into())) + // Minimum execution time: 25_147_000 picoseconds. + Weight::from_parts(26_189_138, 8615) + // Standard Error: 1_221 + .saturating_add(Weight::from_parts(193_940, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -348,12 +344,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 26_269_000 picoseconds. - Weight::from_parts(26_388_332, 8615) - // Standard Error: 1_181 - .saturating_add(Weight::from_parts(199_703, 0).saturating_mul(a.into())) - // Standard Error: 4_732 - .saturating_add(Weight::from_parts(17_846, 0).saturating_mul(p.into())) + // Minimum execution time: 25_137_000 picoseconds. + Weight::from_parts(25_518_630, 8615) + // Standard Error: 1_348 + .saturating_add(Weight::from_parts(200_796, 0).saturating_mul(a.into())) + // Standard Error: 5_399 + .saturating_add(Weight::from_parts(33_024, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -369,12 +365,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 33_873_000 picoseconds. - Weight::from_parts(34_286_251, 8615) - // Standard Error: 2_040 - .saturating_add(Weight::from_parts(194_092, 0).saturating_mul(a.into())) - // Standard Error: 8_174 - .saturating_add(Weight::from_parts(53_615, 0).saturating_mul(p.into())) + // Minimum execution time: 32_901_000 picoseconds. + Weight::from_parts(32_939_749, 8615) + // Standard Error: 1_326 + .saturating_add(Weight::from_parts(195_862, 0).saturating_mul(a.into())) + // Standard Error: 5_313 + .saturating_add(Weight::from_parts(69_363, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -385,10 +381,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_907_000 picoseconds. - Weight::from_parts(25_770_804, 4254) - // Standard Error: 2_400 - .saturating_add(Weight::from_parts(80_892, 0).saturating_mul(p.into())) + // Minimum execution time: 24_315_000 picoseconds. + Weight::from_parts(25_235_790, 4254) + // Standard Error: 2_116 + .saturating_add(Weight::from_parts(66_690, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -401,10 +397,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 26_690_000 picoseconds. - Weight::from_parts(27_827_049, 4254) - // Standard Error: 2_885 - .saturating_add(Weight::from_parts(64_054, 0).saturating_mul(p.into())) + // Minimum execution time: 26_108_000 picoseconds. + Weight::from_parts(27_189_796, 4254) + // Standard Error: 3_348 + .saturating_add(Weight::from_parts(68_144, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -415,10 +411,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 26_159_000 picoseconds. - Weight::from_parts(27_407_028, 4254) - // Standard Error: 3_009 - .saturating_add(Weight::from_parts(55_808, 0).saturating_mul(p.into())) + // Minimum execution time: 25_768_000 picoseconds. + Weight::from_parts(26_703_815, 4254) + // Standard Error: 2_563 + .saturating_add(Weight::from_parts(33_437, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -429,10 +425,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 26_699_000 picoseconds. - Weight::from_parts(27_853_436, 4254) - // Standard Error: 3_475 - .saturating_add(Weight::from_parts(20_160, 0).saturating_mul(p.into())) + // Minimum execution time: 26_069_000 picoseconds. + Weight::from_parts(27_181_467, 4254) + // Standard Error: 2_477 + .saturating_add(Weight::from_parts(29_356, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -443,10 +439,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_437_000 picoseconds. - Weight::from_parts(26_529_087, 4254) - // Standard Error: 2_476 - .saturating_add(Weight::from_parts(48_014, 0).saturating_mul(p.into())) + // Minimum execution time: 24_817_000 picoseconds. + Weight::from_parts(25_983_831, 4254) + // Standard Error: 2_657 + .saturating_add(Weight::from_parts(52_737, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -460,8 +456,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 46_066_000 picoseconds. - Weight::from_parts(46_757_000, 8615) + // Minimum execution time: 44_073_000 picoseconds. + Weight::from_parts(45_094_000, 8615) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -474,10 +470,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_585_000 picoseconds. - Weight::from_parts(14_259_931, 4254) - // Standard Error: 1_733 - .saturating_add(Weight::from_parts(42_799, 0).saturating_mul(p.into())) + // Minimum execution time: 13_977_000 picoseconds. + Weight::from_parts(14_592_871, 4254) + // Standard Error: 1_897 + .saturating_add(Weight::from_parts(38_436, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/subtensor/src/weights.rs b/pallets/subtensor/src/weights.rs index 1b65e39467..4974b3f660 100644 --- a/pallets/subtensor/src/weights.rs +++ b/pallets/subtensor/src/weights.rs @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.hYIH73ZUrd +// --output=/tmp/tmp.hodT9lzrPP // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -185,8 +185,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1865` // Estimated: `6148` - // Minimum execution time: 343_840_000 picoseconds. - Weight::from_parts(349_872_000, 6148) + // Minimum execution time: 330_747_000 picoseconds. + Weight::from_parts(335_846_000, 6148) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(29_u64)) } @@ -228,8 +228,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `188820` // Estimated: `10327410` - // Minimum execution time: 15_317_357_000 picoseconds. - Weight::from_parts(15_513_610_000, 10327410) + // Minimum execution time: 15_573_694_000 picoseconds. + Weight::from_parts(15_899_057_000, 10327410) .saturating_add(T::DbWeight::get().reads(4112_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -299,8 +299,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 639_698_000 picoseconds. - Weight::from_parts(664_064_000, 8727) + // Minimum execution time: 626_479_000 picoseconds. + Weight::from_parts(647_909_000, 8727) .saturating_add(T::DbWeight::get().reads(32_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -314,8 +314,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `713` // Estimated: `4178` - // Minimum execution time: 30_307_000 picoseconds. - Weight::from_parts(31_278_000, 4178) + // Minimum execution time: 30_527_000 picoseconds. + Weight::from_parts(31_939_000, 4178) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -329,8 +329,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `812` // Estimated: `4277` - // Minimum execution time: 28_262_000 picoseconds. - Weight::from_parts(29_294_000, 4277) + // Minimum execution time: 28_994_000 picoseconds. + Weight::from_parts(29_866_000, 4277) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -412,8 +412,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1798` // Estimated: `6148` - // Minimum execution time: 332_358_000 picoseconds. - Weight::from_parts(336_815_000, 6148) + // Minimum execution time: 330_798_000 picoseconds. + Weight::from_parts(333_883_000, 6148) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(29_u64)) } @@ -465,8 +465,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1516` // Estimated: `4981` - // Minimum execution time: 102_089_000 picoseconds. - Weight::from_parts(103_934_000, 4981) + // Minimum execution time: 101_910_000 picoseconds. + Weight::from_parts(103_573_000, 4981) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -584,9 +584,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1532` // Estimated: `9947` - // Minimum execution time: 271_405_000 picoseconds. - Weight::from_parts(277_125_000, 9947) - .saturating_add(T::DbWeight::get().reads(40_u64)) + // Minimum execution time: 270_815_000 picoseconds. + Weight::from_parts(276_186_000, 9947) + .saturating_add(T::DbWeight::get().reads(39_u64)) .saturating_add(T::DbWeight::get().writes(48_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -619,8 +619,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1249` // Estimated: `4714` - // Minimum execution time: 67_886_000 picoseconds. - Weight::from_parts(69_049_000, 4714) + // Minimum execution time: 68_167_000 picoseconds. + Weight::from_parts(69_600_000, 4714) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -666,8 +666,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1650` // Estimated: `7590` - // Minimum execution time: 109_534_000 picoseconds. - Weight::from_parts(111_227_000, 7590) + // Minimum execution time: 109_475_000 picoseconds. + Weight::from_parts(110_787_000, 7590) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -677,8 +677,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_570_000 picoseconds. - Weight::from_parts(5_760_000, 0) + // Minimum execution time: 5_370_000 picoseconds. + Weight::from_parts(5_651_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -699,8 +699,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1033` // Estimated: `4498` - // Minimum execution time: 52_527_000 picoseconds. - Weight::from_parts(53_870_000, 4498) + // Minimum execution time: 52_187_000 picoseconds. + Weight::from_parts(53_620_000, 4498) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -716,8 +716,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 45_574_000 picoseconds. - Weight::from_parts(47_248_000, 4159) + // Minimum execution time: 45_966_000 picoseconds. + Weight::from_parts(47_488_000, 4159) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -765,8 +765,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2110` // Estimated: `13000` - // Minimum execution time: 284_379_000 picoseconds. - Weight::from_parts(288_156_000, 13000) + // Minimum execution time: 283_579_000 picoseconds. + Weight::from_parts(288_478_000, 13000) .saturating_add(T::DbWeight::get().reads(37_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -818,8 +818,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2166` // Estimated: `13056` - // Minimum execution time: 308_323_000 picoseconds. - Weight::from_parts(312_301_000, 13056) + // Minimum execution time: 307_023_000 picoseconds. + Weight::from_parts(313_655_000, 13056) .saturating_add(T::DbWeight::get().reads(37_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } @@ -831,8 +831,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_442_000 picoseconds. - Weight::from_parts(23_293_000, 4130) + // Minimum execution time: 22_683_000 picoseconds. + Weight::from_parts(23_324_000, 4130) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -844,8 +844,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_695_000 picoseconds. - Weight::from_parts(19_496_000, 4078) + // Minimum execution time: 18_645_000 picoseconds. + Weight::from_parts(19_577_000, 4078) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -857,8 +857,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_335_000 picoseconds. - Weight::from_parts(8_857_000, 0) + // Minimum execution time: 8_616_000 picoseconds. + Weight::from_parts(9_027_000, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -903,8 +903,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2155` // Estimated: `8095` - // Minimum execution time: 412_226_000 picoseconds. - Weight::from_parts(421_363_000, 8095) + // Minimum execution time: 411_077_000 picoseconds. + Weight::from_parts(431_585_000, 8095) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -938,8 +938,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 169_976_000 picoseconds. - Weight::from_parts(172_139_000, 5219) + // Minimum execution time: 170_809_000 picoseconds. + Weight::from_parts(172_261_000, 5219) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -971,8 +971,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 166_359_000 picoseconds. - Weight::from_parts(168_964_000, 5219) + // Minimum execution time: 165_999_000 picoseconds. + Weight::from_parts(168_906_000, 5219) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -992,8 +992,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1118` // Estimated: `4583` - // Minimum execution time: 38_482_000 picoseconds. - Weight::from_parts(39_454_000, 4583) + // Minimum execution time: 38_502_000 picoseconds. + Weight::from_parts(39_574_000, 4583) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1063,8 +1063,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 829_031_000 picoseconds. - Weight::from_parts(853_005_000, 8727) + // Minimum execution time: 804_401_000 picoseconds. + Weight::from_parts(827_293_000, 8727) .saturating_add(T::DbWeight::get().reads(32_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -1100,8 +1100,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1979` // Estimated: `7919` - // Minimum execution time: 214_819_000 picoseconds. - Weight::from_parts(216_061_000, 7919) + // Minimum execution time: 213_038_000 picoseconds. + Weight::from_parts(223_407_000, 7919) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -1157,8 +1157,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2142` // Estimated: `10557` - // Minimum execution time: 544_281_000 picoseconds. - Weight::from_parts(569_198_000, 10557) + // Minimum execution time: 528_106_000 picoseconds. + Weight::from_parts(545_889_000, 10557) .saturating_add(T::DbWeight::get().reads(28_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1212,8 +1212,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 717_343_000 picoseconds. - Weight::from_parts(740_696_000, 10591) + // Minimum execution time: 701_820_000 picoseconds. + Weight::from_parts(726_546_000, 10591) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1285,8 +1285,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2662` // Estimated: `11077` - // Minimum execution time: 921_853_000 picoseconds. - Weight::from_parts(944_515_000, 11077) + // Minimum execution time: 920_568_000 picoseconds. + Weight::from_parts(925_196_000, 11077) .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(24_u64)) } @@ -1326,8 +1326,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1988` // Estimated: `7928` - // Minimum execution time: 263_199_000 picoseconds. - Weight::from_parts(269_320_000, 7928) + // Minimum execution time: 246_290_000 picoseconds. + Weight::from_parts(255_437_000, 7928) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1399,8 +1399,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2505` // Estimated: `10920` - // Minimum execution time: 717_052_000 picoseconds. - Weight::from_parts(742_019_000, 10920) + // Minimum execution time: 703_953_000 picoseconds. + Weight::from_parts(727_528_000, 10920) .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(24_u64)) } @@ -1438,8 +1438,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1300` // Estimated: `4765` - // Minimum execution time: 144_628_000 picoseconds. - Weight::from_parts(147_224_000, 4765) + // Minimum execution time: 144_380_000 picoseconds. + Weight::from_parts(145_712_000, 4765) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1479,8 +1479,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1455` // Estimated: `7395` - // Minimum execution time: 100_516_000 picoseconds. - Weight::from_parts(103_092_000, 7395) + // Minimum execution time: 99_856_000 picoseconds. + Weight::from_parts(101_469_000, 7395) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1496,8 +1496,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `830` // Estimated: `4295` - // Minimum execution time: 29_324_000 picoseconds. - Weight::from_parts(29_895_000, 4295) + // Minimum execution time: 29_305_000 picoseconds. + Weight::from_parts(30_047_000, 4295) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1515,8 +1515,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `4388` - // Minimum execution time: 36_257_000 picoseconds. - Weight::from_parts(37_710_000, 4388) + // Minimum execution time: 35_897_000 picoseconds. + Weight::from_parts(36_999_000, 4388) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1634,9 +1634,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1468` // Estimated: `9883` - // Minimum execution time: 270_502_000 picoseconds. - Weight::from_parts(275_041_000, 9883) - .saturating_add(T::DbWeight::get().reads(39_u64)) + // Minimum execution time: 268_171_000 picoseconds. + Weight::from_parts(272_628_000, 9883) + .saturating_add(T::DbWeight::get().reads(38_u64)) .saturating_add(T::DbWeight::get().writes(47_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -1649,8 +1649,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `684` // Estimated: `4149` - // Minimum execution time: 29_786_000 picoseconds. - Weight::from_parts(30_617_000, 4149) + // Minimum execution time: 29_956_000 picoseconds. + Weight::from_parts(31_088_000, 4149) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1664,8 +1664,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `889` // Estimated: `6829` - // Minimum execution time: 31_168_000 picoseconds. - Weight::from_parts(32_040_000, 6829) + // Minimum execution time: 31_418_000 picoseconds. + Weight::from_parts(32_681_000, 6829) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1677,8 +1677,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_122_000 picoseconds. - Weight::from_parts(17_513_000, 4060) + // Minimum execution time: 17_743_000 picoseconds. + Weight::from_parts(18_214_000, 4060) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1760,8 +1760,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3172` // Estimated: `28912` - // Minimum execution time: 1_227_100_000 picoseconds. - Weight::from_parts(1_242_038_000, 28912) + // Minimum execution time: 1_211_792_000 picoseconds. + Weight::from_parts(1_219_896_000, 28912) .saturating_add(T::DbWeight::get().reads(182_u64)) .saturating_add(T::DbWeight::get().writes(99_u64)) } @@ -1775,8 +1775,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `818` // Estimated: `4283` - // Minimum execution time: 24_556_000 picoseconds. - Weight::from_parts(25_337_000, 4283) + // Minimum execution time: 24_666_000 picoseconds. + Weight::from_parts(25_417_000, 4283) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1790,8 +1790,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `774` // Estimated: `9189` - // Minimum execution time: 25_918_000 picoseconds. - Weight::from_parts(26_830_000, 9189) + // Minimum execution time: 26_389_000 picoseconds. + Weight::from_parts(27_101_000, 9189) .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -1852,8 +1852,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2235` // Estimated: `11306` - // Minimum execution time: 674_042_000 picoseconds. - Weight::from_parts(700_873_000, 11306) + // Minimum execution time: 662_016_000 picoseconds. + Weight::from_parts(685_699_000, 11306) .saturating_add(T::DbWeight::get().reads(43_u64)) .saturating_add(T::DbWeight::get().writes(25_u64)) } @@ -1907,8 +1907,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 731_620_000 picoseconds. - Weight::from_parts(754_292_000, 10591) + // Minimum execution time: 715_946_000 picoseconds. + Weight::from_parts(739_300_000, 10591) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -2045,11 +2045,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1835 + k * (44 ±0)` // Estimated: `10256 + k * (2579 ±0)` - // Minimum execution time: 475_774_000 picoseconds. - Weight::from_parts(309_598_986, 10256) - // Standard Error: 26_969 - .saturating_add(Weight::from_parts(46_027_026, 0).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(49_u64)) + // Minimum execution time: 473_403_000 picoseconds. + Weight::from_parts(225_259_332, 10256) + // Standard Error: 42_165 + .saturating_add(Weight::from_parts(46_420_245, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(48_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(53_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into()))) @@ -2078,10 +2078,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1501 + k * (53 ±0)` // Estimated: `6148 + k * (2529 ±0)` - // Minimum execution time: 127_077_000 picoseconds. - Weight::from_parts(146_402_779, 6148) - // Standard Error: 3_377 - .saturating_add(Weight::from_parts(1_566_532, 0).saturating_mul(k.into())) + // Minimum execution time: 93_514_000 picoseconds. + Weight::from_parts(84_374_424, 6148) + // Standard Error: 6_820 + .saturating_add(Weight::from_parts(1_691_478, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -2096,8 +2096,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `659` // Estimated: `9074` - // Minimum execution time: 27_300_000 picoseconds. - Weight::from_parts(28_313_000, 9074) + // Minimum execution time: 27_120_000 picoseconds. + Weight::from_parts(27_852_000, 9074) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2133,8 +2133,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1248` // Estimated: `4713` - // Minimum execution time: 85_228_000 picoseconds. - Weight::from_parts(86_951_000, 4713) + // Minimum execution time: 85_700_000 picoseconds. + Weight::from_parts(87_554_000, 4713) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2150,8 +2150,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `809` // Estimated: `4274` - // Minimum execution time: 32_871_000 picoseconds. - Weight::from_parts(33_853_000, 4274) + // Minimum execution time: 33_463_000 picoseconds. + Weight::from_parts(34_574_000, 4274) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2167,8 +2167,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_463_000 picoseconds. - Weight::from_parts(18_283_000, 3941) + // Minimum execution time: 17_793_000 picoseconds. + Weight::from_parts(18_214_000, 3941) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2198,8 +2198,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1935` // Estimated: `7875` - // Minimum execution time: 136_093_000 picoseconds. - Weight::from_parts(138_999_000, 7875) + // Minimum execution time: 138_418_000 picoseconds. + Weight::from_parts(141_413_000, 7875) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2209,8 +2209,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_545_000 picoseconds. - Weight::from_parts(2_735_000, 0) + // Minimum execution time: 2_885_000 picoseconds. + Weight::from_parts(3_055_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -2219,8 +2219,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_229_000 picoseconds. - Weight::from_parts(5_681_000, 0) + // Minimum execution time: 5_490_000 picoseconds. + Weight::from_parts(6_201_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2233,8 +2233,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 26_870_000 picoseconds. - Weight::from_parts(28_023_000, 4364) + // Minimum execution time: 27_511_000 picoseconds. + Weight::from_parts(28_614_000, 4364) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2306,8 +2306,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2229` // Estimated: `8727` - // Minimum execution time: 945_077_000 picoseconds. - Weight::from_parts(967_308_000, 8727) + // Minimum execution time: 945_465_000 picoseconds. + Weight::from_parts(949_132_000, 8727) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(17_u64)) } @@ -2317,8 +2317,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_585_000 picoseconds. - Weight::from_parts(2_805_000, 0) + // Minimum execution time: 2_905_000 picoseconds. + Weight::from_parts(2_996_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2359,8 +2359,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1715` // Estimated: `7655` - // Minimum execution time: 114_744_000 picoseconds. - Weight::from_parts(115_995_000, 7655) + // Minimum execution time: 116_688_000 picoseconds. + Weight::from_parts(118_962_000, 7655) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -2390,8 +2390,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1399` // Estimated: `7339` - // Minimum execution time: 147_815_000 picoseconds. - Weight::from_parts(149_819_000, 7339) + // Minimum execution time: 147_575_000 picoseconds. + Weight::from_parts(150_531_000, 7339) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -2405,8 +2405,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `950` // Estimated: `4415` - // Minimum execution time: 665_186_000 picoseconds. - Weight::from_parts(684_242_000, 4415) + // Minimum execution time: 663_689_000 picoseconds. + Weight::from_parts(682_855_000, 4415) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2426,8 +2426,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `975` // Estimated: `4440` - // Minimum execution time: 45_394_000 picoseconds. - Weight::from_parts(46_407_000, 4440) + // Minimum execution time: 45_235_000 picoseconds. + Weight::from_parts(46_056_000, 4440) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -2451,8 +2451,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 38_362_000 picoseconds. - Weight::from_parts(39_193_000, 4364) + // Minimum execution time: 38_071_000 picoseconds. + Weight::from_parts(39_373_000, 4364) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2476,8 +2476,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `982` // Estimated: `4447` - // Minimum execution time: 41_588_000 picoseconds. - Weight::from_parts(42_539_000, 4447) + // Minimum execution time: 41_547_000 picoseconds. + Weight::from_parts(42_689_000, 4447) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2489,8 +2489,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 16_832_000 picoseconds. - Weight::from_parts(17_583_000, 4198) + // Minimum execution time: 17_072_000 picoseconds. + Weight::from_parts(17_633_000, 4198) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `SubtensorModule::SubnetOwnerHotkey` (r:1 w:0) @@ -2517,8 +2517,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1731` // Estimated: `7671` - // Minimum execution time: 52_046_000 picoseconds. - Weight::from_parts(52_958_000, 7671) + // Minimum execution time: 52_507_000 picoseconds. + Weight::from_parts(53_660_000, 7671) .saturating_add(T::DbWeight::get().reads(11_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -2539,8 +2539,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1019` // Estimated: `4484` - // Minimum execution time: 34_995_000 picoseconds. - Weight::from_parts(35_376_000, 4484) + // Minimum execution time: 35_446_000 picoseconds. + Weight::from_parts(36_178_000, 4484) .saturating_add(T::DbWeight::get().reads(7_u64)) } /// Storage: `SubtensorModule::MinDelegateTake` (r:1 w:0) @@ -2553,8 +2553,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `721` // Estimated: `4186` - // Minimum execution time: 14_998_000 picoseconds. - Weight::from_parts(15_378_000, 4186) + // Minimum execution time: 15_108_000 picoseconds. + Weight::from_parts(15_459_000, 4186) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -2567,8 +2567,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `647` // Estimated: `4112` - // Minimum execution time: 18_775_000 picoseconds. - Weight::from_parts(19_035_000, 4112) + // Minimum execution time: 18_615_000 picoseconds. + Weight::from_parts(19_245_000, 4112) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -2579,8 +2579,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `652` // Estimated: `4117` - // Minimum execution time: 15_018_000 picoseconds. - Weight::from_parts(15_448_000, 4117) + // Minimum execution time: 15_198_000 picoseconds. + Weight::from_parts(15_810_000, 4117) .saturating_add(T::DbWeight::get().reads(2_u64)) } } @@ -2665,8 +2665,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1865` // Estimated: `6148` - // Minimum execution time: 343_840_000 picoseconds. - Weight::from_parts(349_872_000, 6148) + // Minimum execution time: 330_747_000 picoseconds. + Weight::from_parts(335_846_000, 6148) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(29_u64)) } @@ -2708,8 +2708,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `188820` // Estimated: `10327410` - // Minimum execution time: 15_317_357_000 picoseconds. - Weight::from_parts(15_513_610_000, 10327410) + // Minimum execution time: 15_573_694_000 picoseconds. + Weight::from_parts(15_899_057_000, 10327410) .saturating_add(RocksDbWeight::get().reads(4112_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2779,8 +2779,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 639_698_000 picoseconds. - Weight::from_parts(664_064_000, 8727) + // Minimum execution time: 626_479_000 picoseconds. + Weight::from_parts(647_909_000, 8727) .saturating_add(RocksDbWeight::get().reads(32_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -2794,8 +2794,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `713` // Estimated: `4178` - // Minimum execution time: 30_307_000 picoseconds. - Weight::from_parts(31_278_000, 4178) + // Minimum execution time: 30_527_000 picoseconds. + Weight::from_parts(31_939_000, 4178) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2809,8 +2809,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `812` // Estimated: `4277` - // Minimum execution time: 28_262_000 picoseconds. - Weight::from_parts(29_294_000, 4277) + // Minimum execution time: 28_994_000 picoseconds. + Weight::from_parts(29_866_000, 4277) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2892,8 +2892,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1798` // Estimated: `6148` - // Minimum execution time: 332_358_000 picoseconds. - Weight::from_parts(336_815_000, 6148) + // Minimum execution time: 330_798_000 picoseconds. + Weight::from_parts(333_883_000, 6148) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(29_u64)) } @@ -2945,8 +2945,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1516` // Estimated: `4981` - // Minimum execution time: 102_089_000 picoseconds. - Weight::from_parts(103_934_000, 4981) + // Minimum execution time: 101_910_000 picoseconds. + Weight::from_parts(103_573_000, 4981) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -3064,9 +3064,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1532` // Estimated: `9947` - // Minimum execution time: 271_405_000 picoseconds. - Weight::from_parts(277_125_000, 9947) - .saturating_add(RocksDbWeight::get().reads(40_u64)) + // Minimum execution time: 270_815_000 picoseconds. + Weight::from_parts(276_186_000, 9947) + .saturating_add(RocksDbWeight::get().reads(39_u64)) .saturating_add(RocksDbWeight::get().writes(48_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) @@ -3099,8 +3099,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1249` // Estimated: `4714` - // Minimum execution time: 67_886_000 picoseconds. - Weight::from_parts(69_049_000, 4714) + // Minimum execution time: 68_167_000 picoseconds. + Weight::from_parts(69_600_000, 4714) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3146,8 +3146,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1650` // Estimated: `7590` - // Minimum execution time: 109_534_000 picoseconds. - Weight::from_parts(111_227_000, 7590) + // Minimum execution time: 109_475_000 picoseconds. + Weight::from_parts(110_787_000, 7590) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3157,8 +3157,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_570_000 picoseconds. - Weight::from_parts(5_760_000, 0) + // Minimum execution time: 5_370_000 picoseconds. + Weight::from_parts(5_651_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -3179,8 +3179,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1033` // Estimated: `4498` - // Minimum execution time: 52_527_000 picoseconds. - Weight::from_parts(53_870_000, 4498) + // Minimum execution time: 52_187_000 picoseconds. + Weight::from_parts(53_620_000, 4498) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3196,8 +3196,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 45_574_000 picoseconds. - Weight::from_parts(47_248_000, 4159) + // Minimum execution time: 45_966_000 picoseconds. + Weight::from_parts(47_488_000, 4159) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3245,8 +3245,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2110` // Estimated: `13000` - // Minimum execution time: 284_379_000 picoseconds. - Weight::from_parts(288_156_000, 13000) + // Minimum execution time: 283_579_000 picoseconds. + Weight::from_parts(288_478_000, 13000) .saturating_add(RocksDbWeight::get().reads(37_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -3298,8 +3298,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2166` // Estimated: `13056` - // Minimum execution time: 308_323_000 picoseconds. - Weight::from_parts(312_301_000, 13056) + // Minimum execution time: 307_023_000 picoseconds. + Weight::from_parts(313_655_000, 13056) .saturating_add(RocksDbWeight::get().reads(37_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } @@ -3311,8 +3311,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_442_000 picoseconds. - Weight::from_parts(23_293_000, 4130) + // Minimum execution time: 22_683_000 picoseconds. + Weight::from_parts(23_324_000, 4130) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3324,8 +3324,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_695_000 picoseconds. - Weight::from_parts(19_496_000, 4078) + // Minimum execution time: 18_645_000 picoseconds. + Weight::from_parts(19_577_000, 4078) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3337,8 +3337,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_335_000 picoseconds. - Weight::from_parts(8_857_000, 0) + // Minimum execution time: 8_616_000 picoseconds. + Weight::from_parts(9_027_000, 0) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -3383,8 +3383,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2155` // Estimated: `8095` - // Minimum execution time: 412_226_000 picoseconds. - Weight::from_parts(421_363_000, 8095) + // Minimum execution time: 411_077_000 picoseconds. + Weight::from_parts(431_585_000, 8095) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3418,8 +3418,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 169_976_000 picoseconds. - Weight::from_parts(172_139_000, 5219) + // Minimum execution time: 170_809_000 picoseconds. + Weight::from_parts(172_261_000, 5219) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3451,8 +3451,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 166_359_000 picoseconds. - Weight::from_parts(168_964_000, 5219) + // Minimum execution time: 165_999_000 picoseconds. + Weight::from_parts(168_906_000, 5219) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -3472,8 +3472,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1118` // Estimated: `4583` - // Minimum execution time: 38_482_000 picoseconds. - Weight::from_parts(39_454_000, 4583) + // Minimum execution time: 38_502_000 picoseconds. + Weight::from_parts(39_574_000, 4583) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3543,8 +3543,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 829_031_000 picoseconds. - Weight::from_parts(853_005_000, 8727) + // Minimum execution time: 804_401_000 picoseconds. + Weight::from_parts(827_293_000, 8727) .saturating_add(RocksDbWeight::get().reads(32_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -3580,8 +3580,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1979` // Estimated: `7919` - // Minimum execution time: 214_819_000 picoseconds. - Weight::from_parts(216_061_000, 7919) + // Minimum execution time: 213_038_000 picoseconds. + Weight::from_parts(223_407_000, 7919) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -3637,8 +3637,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2142` // Estimated: `10557` - // Minimum execution time: 544_281_000 picoseconds. - Weight::from_parts(569_198_000, 10557) + // Minimum execution time: 528_106_000 picoseconds. + Weight::from_parts(545_889_000, 10557) .saturating_add(RocksDbWeight::get().reads(28_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -3692,8 +3692,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 717_343_000 picoseconds. - Weight::from_parts(740_696_000, 10591) + // Minimum execution time: 701_820_000 picoseconds. + Weight::from_parts(726_546_000, 10591) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -3765,8 +3765,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2662` // Estimated: `11077` - // Minimum execution time: 921_853_000 picoseconds. - Weight::from_parts(944_515_000, 11077) + // Minimum execution time: 920_568_000 picoseconds. + Weight::from_parts(925_196_000, 11077) .saturating_add(RocksDbWeight::get().reads(47_u64)) .saturating_add(RocksDbWeight::get().writes(24_u64)) } @@ -3806,8 +3806,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1988` // Estimated: `7928` - // Minimum execution time: 263_199_000 picoseconds. - Weight::from_parts(269_320_000, 7928) + // Minimum execution time: 246_290_000 picoseconds. + Weight::from_parts(255_437_000, 7928) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3879,8 +3879,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2505` // Estimated: `10920` - // Minimum execution time: 717_052_000 picoseconds. - Weight::from_parts(742_019_000, 10920) + // Minimum execution time: 703_953_000 picoseconds. + Weight::from_parts(727_528_000, 10920) .saturating_add(RocksDbWeight::get().reads(47_u64)) .saturating_add(RocksDbWeight::get().writes(24_u64)) } @@ -3918,8 +3918,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1300` // Estimated: `4765` - // Minimum execution time: 144_628_000 picoseconds. - Weight::from_parts(147_224_000, 4765) + // Minimum execution time: 144_380_000 picoseconds. + Weight::from_parts(145_712_000, 4765) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3959,8 +3959,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1455` // Estimated: `7395` - // Minimum execution time: 100_516_000 picoseconds. - Weight::from_parts(103_092_000, 7395) + // Minimum execution time: 99_856_000 picoseconds. + Weight::from_parts(101_469_000, 7395) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3976,8 +3976,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `830` // Estimated: `4295` - // Minimum execution time: 29_324_000 picoseconds. - Weight::from_parts(29_895_000, 4295) + // Minimum execution time: 29_305_000 picoseconds. + Weight::from_parts(30_047_000, 4295) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3995,8 +3995,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `923` // Estimated: `4388` - // Minimum execution time: 36_257_000 picoseconds. - Weight::from_parts(37_710_000, 4388) + // Minimum execution time: 35_897_000 picoseconds. + Weight::from_parts(36_999_000, 4388) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4114,9 +4114,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1468` // Estimated: `9883` - // Minimum execution time: 270_502_000 picoseconds. - Weight::from_parts(275_041_000, 9883) - .saturating_add(RocksDbWeight::get().reads(39_u64)) + // Minimum execution time: 268_171_000 picoseconds. + Weight::from_parts(272_628_000, 9883) + .saturating_add(RocksDbWeight::get().reads(38_u64)) .saturating_add(RocksDbWeight::get().writes(47_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -4129,8 +4129,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `684` // Estimated: `4149` - // Minimum execution time: 29_786_000 picoseconds. - Weight::from_parts(30_617_000, 4149) + // Minimum execution time: 29_956_000 picoseconds. + Weight::from_parts(31_088_000, 4149) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4144,8 +4144,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `889` // Estimated: `6829` - // Minimum execution time: 31_168_000 picoseconds. - Weight::from_parts(32_040_000, 6829) + // Minimum execution time: 31_418_000 picoseconds. + Weight::from_parts(32_681_000, 6829) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4157,8 +4157,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_122_000 picoseconds. - Weight::from_parts(17_513_000, 4060) + // Minimum execution time: 17_743_000 picoseconds. + Weight::from_parts(18_214_000, 4060) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4240,8 +4240,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3172` // Estimated: `28912` - // Minimum execution time: 1_227_100_000 picoseconds. - Weight::from_parts(1_242_038_000, 28912) + // Minimum execution time: 1_211_792_000 picoseconds. + Weight::from_parts(1_219_896_000, 28912) .saturating_add(RocksDbWeight::get().reads(182_u64)) .saturating_add(RocksDbWeight::get().writes(99_u64)) } @@ -4255,8 +4255,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `818` // Estimated: `4283` - // Minimum execution time: 24_556_000 picoseconds. - Weight::from_parts(25_337_000, 4283) + // Minimum execution time: 24_666_000 picoseconds. + Weight::from_parts(25_417_000, 4283) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4270,8 +4270,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `774` // Estimated: `9189` - // Minimum execution time: 25_918_000 picoseconds. - Weight::from_parts(26_830_000, 9189) + // Minimum execution time: 26_389_000 picoseconds. + Weight::from_parts(27_101_000, 9189) .saturating_add(RocksDbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4332,8 +4332,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2235` // Estimated: `11306` - // Minimum execution time: 674_042_000 picoseconds. - Weight::from_parts(700_873_000, 11306) + // Minimum execution time: 662_016_000 picoseconds. + Weight::from_parts(685_699_000, 11306) .saturating_add(RocksDbWeight::get().reads(43_u64)) .saturating_add(RocksDbWeight::get().writes(25_u64)) } @@ -4387,8 +4387,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 731_620_000 picoseconds. - Weight::from_parts(754_292_000, 10591) + // Minimum execution time: 715_946_000 picoseconds. + Weight::from_parts(739_300_000, 10591) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -4525,11 +4525,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1835 + k * (44 ±0)` // Estimated: `10256 + k * (2579 ±0)` - // Minimum execution time: 475_774_000 picoseconds. - Weight::from_parts(309_598_986, 10256) - // Standard Error: 26_969 - .saturating_add(Weight::from_parts(46_027_026, 0).saturating_mul(k.into())) - .saturating_add(RocksDbWeight::get().reads(49_u64)) + // Minimum execution time: 473_403_000 picoseconds. + Weight::from_parts(225_259_332, 10256) + // Standard Error: 42_165 + .saturating_add(Weight::from_parts(46_420_245, 0).saturating_mul(k.into())) + .saturating_add(RocksDbWeight::get().reads(48_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(53_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(k.into()))) @@ -4558,10 +4558,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1501 + k * (53 ±0)` // Estimated: `6148 + k * (2529 ±0)` - // Minimum execution time: 127_077_000 picoseconds. - Weight::from_parts(146_402_779, 6148) - // Standard Error: 3_377 - .saturating_add(Weight::from_parts(1_566_532, 0).saturating_mul(k.into())) + // Minimum execution time: 93_514_000 picoseconds. + Weight::from_parts(84_374_424, 6148) + // Standard Error: 6_820 + .saturating_add(Weight::from_parts(1_691_478, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -4576,8 +4576,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `659` // Estimated: `9074` - // Minimum execution time: 27_300_000 picoseconds. - Weight::from_parts(28_313_000, 9074) + // Minimum execution time: 27_120_000 picoseconds. + Weight::from_parts(27_852_000, 9074) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4613,8 +4613,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1248` // Estimated: `4713` - // Minimum execution time: 85_228_000 picoseconds. - Weight::from_parts(86_951_000, 4713) + // Minimum execution time: 85_700_000 picoseconds. + Weight::from_parts(87_554_000, 4713) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4630,8 +4630,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `809` // Estimated: `4274` - // Minimum execution time: 32_871_000 picoseconds. - Weight::from_parts(33_853_000, 4274) + // Minimum execution time: 33_463_000 picoseconds. + Weight::from_parts(34_574_000, 4274) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4647,8 +4647,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_463_000 picoseconds. - Weight::from_parts(18_283_000, 3941) + // Minimum execution time: 17_793_000 picoseconds. + Weight::from_parts(18_214_000, 3941) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4678,8 +4678,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1935` // Estimated: `7875` - // Minimum execution time: 136_093_000 picoseconds. - Weight::from_parts(138_999_000, 7875) + // Minimum execution time: 138_418_000 picoseconds. + Weight::from_parts(141_413_000, 7875) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4689,8 +4689,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_545_000 picoseconds. - Weight::from_parts(2_735_000, 0) + // Minimum execution time: 2_885_000 picoseconds. + Weight::from_parts(3_055_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -4699,8 +4699,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_229_000 picoseconds. - Weight::from_parts(5_681_000, 0) + // Minimum execution time: 5_490_000 picoseconds. + Weight::from_parts(6_201_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4713,8 +4713,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 26_870_000 picoseconds. - Weight::from_parts(28_023_000, 4364) + // Minimum execution time: 27_511_000 picoseconds. + Weight::from_parts(28_614_000, 4364) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4786,8 +4786,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2229` // Estimated: `8727` - // Minimum execution time: 945_077_000 picoseconds. - Weight::from_parts(967_308_000, 8727) + // Minimum execution time: 945_465_000 picoseconds. + Weight::from_parts(949_132_000, 8727) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(17_u64)) } @@ -4797,8 +4797,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_585_000 picoseconds. - Weight::from_parts(2_805_000, 0) + // Minimum execution time: 2_905_000 picoseconds. + Weight::from_parts(2_996_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4839,8 +4839,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1715` // Estimated: `7655` - // Minimum execution time: 114_744_000 picoseconds. - Weight::from_parts(115_995_000, 7655) + // Minimum execution time: 116_688_000 picoseconds. + Weight::from_parts(118_962_000, 7655) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4870,8 +4870,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1399` // Estimated: `7339` - // Minimum execution time: 147_815_000 picoseconds. - Weight::from_parts(149_819_000, 7339) + // Minimum execution time: 147_575_000 picoseconds. + Weight::from_parts(150_531_000, 7339) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -4885,8 +4885,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `950` // Estimated: `4415` - // Minimum execution time: 665_186_000 picoseconds. - Weight::from_parts(684_242_000, 4415) + // Minimum execution time: 663_689_000 picoseconds. + Weight::from_parts(682_855_000, 4415) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4906,8 +4906,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `975` // Estimated: `4440` - // Minimum execution time: 45_394_000 picoseconds. - Weight::from_parts(46_407_000, 4440) + // Minimum execution time: 45_235_000 picoseconds. + Weight::from_parts(46_056_000, 4440) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4931,8 +4931,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 38_362_000 picoseconds. - Weight::from_parts(39_193_000, 4364) + // Minimum execution time: 38_071_000 picoseconds. + Weight::from_parts(39_373_000, 4364) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4956,8 +4956,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `982` // Estimated: `4447` - // Minimum execution time: 41_588_000 picoseconds. - Weight::from_parts(42_539_000, 4447) + // Minimum execution time: 41_547_000 picoseconds. + Weight::from_parts(42_689_000, 4447) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4969,8 +4969,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 16_832_000 picoseconds. - Weight::from_parts(17_583_000, 4198) + // Minimum execution time: 17_072_000 picoseconds. + Weight::from_parts(17_633_000, 4198) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `SubtensorModule::SubnetOwnerHotkey` (r:1 w:0) @@ -4997,8 +4997,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1731` // Estimated: `7671` - // Minimum execution time: 52_046_000 picoseconds. - Weight::from_parts(52_958_000, 7671) + // Minimum execution time: 52_507_000 picoseconds. + Weight::from_parts(53_660_000, 7671) .saturating_add(RocksDbWeight::get().reads(11_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -5019,8 +5019,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1019` // Estimated: `4484` - // Minimum execution time: 34_995_000 picoseconds. - Weight::from_parts(35_376_000, 4484) + // Minimum execution time: 35_446_000 picoseconds. + Weight::from_parts(36_178_000, 4484) .saturating_add(RocksDbWeight::get().reads(7_u64)) } /// Storage: `SubtensorModule::MinDelegateTake` (r:1 w:0) @@ -5033,8 +5033,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `721` // Estimated: `4186` - // Minimum execution time: 14_998_000 picoseconds. - Weight::from_parts(15_378_000, 4186) + // Minimum execution time: 15_108_000 picoseconds. + Weight::from_parts(15_459_000, 4186) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -5047,8 +5047,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `647` // Estimated: `4112` - // Minimum execution time: 18_775_000 picoseconds. - Weight::from_parts(19_035_000, 4112) + // Minimum execution time: 18_615_000 picoseconds. + Weight::from_parts(19_245_000, 4112) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -5059,8 +5059,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `652` // Estimated: `4117` - // Minimum execution time: 15_018_000 picoseconds. - Weight::from_parts(15_448_000, 4117) + // Minimum execution time: 15_198_000 picoseconds. + Weight::from_parts(15_810_000, 4117) .saturating_add(RocksDbWeight::get().reads(2_u64)) } } diff --git a/pallets/utility/src/weights.rs b/pallets/utility/src/weights.rs index 928aef0269..f8b6187fa8 100644 --- a/pallets/utility/src/weights.rs +++ b/pallets/utility/src/weights.rs @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.5J6YDU3hE3 +// --output=/tmp/tmp.cSCDxV4Ihz // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -57,10 +57,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 4_638_000 picoseconds. - Weight::from_parts(19_446_696, 3983) - // Standard Error: 1_676 - .saturating_add(Weight::from_parts(5_450_264, 0).saturating_mul(c.into())) + // Minimum execution time: 5_059_000 picoseconds. + Weight::from_parts(17_296_401, 3983) + // Standard Error: 1_652 + .saturating_add(Weight::from_parts(6_062_970, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) @@ -71,8 +71,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 14_878_000 picoseconds. - Weight::from_parts(15_378_000, 3983) + // Minimum execution time: 15_679_000 picoseconds. + Weight::from_parts(16_070_000, 3983) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) @@ -84,18 +84,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 4_588_000 picoseconds. - Weight::from_parts(13_428_230, 3983) - // Standard Error: 2_092 - .saturating_add(Weight::from_parts(5_663_250, 0).saturating_mul(c.into())) + // Minimum execution time: 5_100_000 picoseconds. + Weight::from_parts(21_219_754, 3983) + // Standard Error: 2_134 + .saturating_add(Weight::from_parts(6_279_706, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_542_000 picoseconds. - Weight::from_parts(6_893_000, 0) + // Minimum execution time: 7_184_000 picoseconds. + Weight::from_parts(7_484_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -106,18 +106,18 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 4_699_000 picoseconds. - Weight::from_parts(12_134_867, 3983) - // Standard Error: 3_490 - .saturating_add(Weight::from_parts(5_477_293, 0).saturating_mul(c.into())) + // Minimum execution time: 5_070_000 picoseconds. + Weight::from_parts(21_829_014, 3983) + // Standard Error: 2_304 + .saturating_add(Weight::from_parts(6_047_455, 0).saturating_mul(c.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) } fn dispatch_as_fallible() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_813_000 picoseconds. - Weight::from_parts(7_113_000, 0) + // Minimum execution time: 7_094_000 picoseconds. + Weight::from_parts(7_434_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 21_140_000 picoseconds. - Weight::from_parts(21_831_000, 3983) + // Minimum execution time: 22_653_000 picoseconds. + Weight::from_parts(23_143_000, 3983) .saturating_add(T::DbWeight::get().reads(2_u64)) } } @@ -144,10 +144,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 4_638_000 picoseconds. - Weight::from_parts(19_446_696, 3983) - // Standard Error: 1_676 - .saturating_add(Weight::from_parts(5_450_264, 0).saturating_mul(c.into())) + // Minimum execution time: 5_059_000 picoseconds. + Weight::from_parts(17_296_401, 3983) + // Standard Error: 1_652 + .saturating_add(Weight::from_parts(6_062_970, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) @@ -158,8 +158,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 14_878_000 picoseconds. - Weight::from_parts(15_378_000, 3983) + // Minimum execution time: 15_679_000 picoseconds. + Weight::from_parts(16_070_000, 3983) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) @@ -171,18 +171,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 4_588_000 picoseconds. - Weight::from_parts(13_428_230, 3983) - // Standard Error: 2_092 - .saturating_add(Weight::from_parts(5_663_250, 0).saturating_mul(c.into())) + // Minimum execution time: 5_100_000 picoseconds. + Weight::from_parts(21_219_754, 3983) + // Standard Error: 2_134 + .saturating_add(Weight::from_parts(6_279_706, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) } fn dispatch_as() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_542_000 picoseconds. - Weight::from_parts(6_893_000, 0) + // Minimum execution time: 7_184_000 picoseconds. + Weight::from_parts(7_484_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -193,18 +193,18 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 4_699_000 picoseconds. - Weight::from_parts(12_134_867, 3983) - // Standard Error: 3_490 - .saturating_add(Weight::from_parts(5_477_293, 0).saturating_mul(c.into())) + // Minimum execution time: 5_070_000 picoseconds. + Weight::from_parts(21_829_014, 3983) + // Standard Error: 2_304 + .saturating_add(Weight::from_parts(6_047_455, 0).saturating_mul(c.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) } fn dispatch_as_fallible() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_813_000 picoseconds. - Weight::from_parts(7_113_000, 0) + // Minimum execution time: 7_094_000 picoseconds. + Weight::from_parts(7_434_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -214,8 +214,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 21_140_000 picoseconds. - Weight::from_parts(21_831_000, 3983) + // Minimum execution time: 22_653_000 picoseconds. + Weight::from_parts(23_143_000, 3983) .saturating_add(RocksDbWeight::get().reads(2_u64)) } } From 0cee4d163a12ae3546d8bfb8e6d300cbaa03b73f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 24 Jun 2026 17:59:16 +0000 Subject: [PATCH 11/14] auto-update benchmark weights --- pallets/limit-orders/src/weights.rs | 52 +-- pallets/proxy/src/weights.rs | 220 +++++------ pallets/subtensor/src/weights.rs | 576 ++++++++++++++-------------- 3 files changed, 428 insertions(+), 420 deletions(-) diff --git a/pallets/limit-orders/src/weights.rs b/pallets/limit-orders/src/weights.rs index 1e8e8e1079..cb643485ce 100644 --- a/pallets/limit-orders/src/weights.rs +++ b/pallets/limit-orders/src/weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_limit_orders` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-06-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.brQLtUSwVn +// --output=/tmp/tmp.hLmnlWyxQV // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -51,8 +51,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `66` // Estimated: `3522` - // Minimum execution time: 15_659_000 picoseconds. - Weight::from_parts(16_100_000, 3522) + // Minimum execution time: 15_309_000 picoseconds. + Weight::from_parts(16_030_000, 3522) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -62,8 +62,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_340_000 picoseconds. - Weight::from_parts(5_570_000, 0) + // Minimum execution time: 5_149_000 picoseconds. + Weight::from_parts(5_420_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `LimitOrders::LimitOrdersEnabled` (r:1 w:0) @@ -123,10 +123,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1134 + n * (283 ±0)` // Estimated: `6148 + n * (5158 ±0)` - // Minimum execution time: 569_300_000 picoseconds. - Weight::from_parts(9_730_315, 6148) - // Standard Error: 118_412 - .saturating_add(Weight::from_parts(496_300_006, 0).saturating_mul(n.into())) + // Minimum execution time: 573_493_000 picoseconds. + Weight::from_parts(37_709_904, 6148) + // Standard Error: 196_193 + .saturating_add(Weight::from_parts(499_740_014, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().reads((11_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(10_u64)) @@ -190,10 +190,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1263 + n * (283 ±0)` // Estimated: `8727 + n * (5158 ±0)` - // Minimum execution time: 717_287_000 picoseconds. - Weight::from_parts(450_860_511, 8727) - // Standard Error: 90_030 - .saturating_add(Weight::from_parts(244_435_749, 0).saturating_mul(n.into())) + // Minimum execution time: 717_240_000 picoseconds. + Weight::from_parts(552_675_417, 8727) + // Standard Error: 110_663 + .saturating_add(Weight::from_parts(241_301_726, 0).saturating_mul(n.into())) .saturating_add(T::DbWeight::get().reads(25_u64)) .saturating_add(T::DbWeight::get().reads((10_u64).saturating_mul(n.into()))) .saturating_add(T::DbWeight::get().writes(15_u64)) @@ -210,8 +210,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `66` // Estimated: `3522` - // Minimum execution time: 15_659_000 picoseconds. - Weight::from_parts(16_100_000, 3522) + // Minimum execution time: 15_309_000 picoseconds. + Weight::from_parts(16_030_000, 3522) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -221,8 +221,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_340_000 picoseconds. - Weight::from_parts(5_570_000, 0) + // Minimum execution time: 5_149_000 picoseconds. + Weight::from_parts(5_420_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `LimitOrders::LimitOrdersEnabled` (r:1 w:0) @@ -282,10 +282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1134 + n * (283 ±0)` // Estimated: `6148 + n * (5158 ±0)` - // Minimum execution time: 569_300_000 picoseconds. - Weight::from_parts(9_730_315, 6148) - // Standard Error: 118_412 - .saturating_add(Weight::from_parts(496_300_006, 0).saturating_mul(n.into())) + // Minimum execution time: 573_493_000 picoseconds. + Weight::from_parts(37_709_904, 6148) + // Standard Error: 196_193 + .saturating_add(Weight::from_parts(499_740_014, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().reads((11_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(10_u64)) @@ -349,10 +349,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1263 + n * (283 ±0)` // Estimated: `8727 + n * (5158 ±0)` - // Minimum execution time: 717_287_000 picoseconds. - Weight::from_parts(450_860_511, 8727) - // Standard Error: 90_030 - .saturating_add(Weight::from_parts(244_435_749, 0).saturating_mul(n.into())) + // Minimum execution time: 717_240_000 picoseconds. + Weight::from_parts(552_675_417, 8727) + // Standard Error: 110_663 + .saturating_add(Weight::from_parts(241_301_726, 0).saturating_mul(n.into())) .saturating_add(RocksDbWeight::get().reads(25_u64)) .saturating_add(RocksDbWeight::get().reads((10_u64).saturating_mul(n.into()))) .saturating_add(RocksDbWeight::get().writes(15_u64)) diff --git a/pallets/proxy/src/weights.rs b/pallets/proxy/src/weights.rs index b72e1a2b61..af91cb7277 100644 --- a/pallets/proxy/src/weights.rs +++ b/pallets/proxy/src/weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_subtensor_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-06-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.83PvDpFZSc +// --output=/tmp/tmp.y2xrvMbiMs // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -66,10 +66,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 27_281_000 picoseconds. - Weight::from_parts(28_228_411, 4254) - // Standard Error: 3_441 - .saturating_add(Weight::from_parts(80_622, 0).saturating_mul(p.into())) + // Minimum execution time: 26_189_000 picoseconds. + Weight::from_parts(27_505_550, 4254) + // Standard Error: 4_793 + .saturating_add(Weight::from_parts(69_619, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -92,12 +92,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 52_768_000 picoseconds. - Weight::from_parts(52_759_198, 8615) - // Standard Error: 2_732 - .saturating_add(Weight::from_parts(218_180, 0).saturating_mul(a.into())) - // Standard Error: 10_943 - .saturating_add(Weight::from_parts(72_178, 0).saturating_mul(p.into())) + // Minimum execution time: 50_874_000 picoseconds. + Weight::from_parts(52_716_407, 8615) + // Standard Error: 2_189 + .saturating_add(Weight::from_parts(213_947, 0).saturating_mul(a.into())) + // Standard Error: 8_769 + .saturating_add(Weight::from_parts(39_570, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -109,14 +109,16 @@ impl WeightInfo for SubstrateWeight { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_147_000 picoseconds. - Weight::from_parts(26_189_138, 8615) - // Standard Error: 1_221 - .saturating_add(Weight::from_parts(193_940, 0).saturating_mul(a.into())) + // Minimum execution time: 24_646_000 picoseconds. + Weight::from_parts(25_351_648, 8615) + // Standard Error: 1_263 + .saturating_add(Weight::from_parts(202_639, 0).saturating_mul(a.into())) + // Standard Error: 5_058 + .saturating_add(Weight::from_parts(17_145, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -130,12 +132,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_137_000 picoseconds. - Weight::from_parts(25_518_630, 8615) - // Standard Error: 1_348 - .saturating_add(Weight::from_parts(200_796, 0).saturating_mul(a.into())) - // Standard Error: 5_399 - .saturating_add(Weight::from_parts(33_024, 0).saturating_mul(p.into())) + // Minimum execution time: 24_686_000 picoseconds. + Weight::from_parts(25_447_040, 8615) + // Standard Error: 1_204 + .saturating_add(Weight::from_parts(197_519, 0).saturating_mul(a.into())) + // Standard Error: 4_824 + .saturating_add(Weight::from_parts(26_426, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -151,12 +153,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 32_901_000 picoseconds. - Weight::from_parts(32_939_749, 8615) - // Standard Error: 1_326 - .saturating_add(Weight::from_parts(195_862, 0).saturating_mul(a.into())) - // Standard Error: 5_313 - .saturating_add(Weight::from_parts(69_363, 0).saturating_mul(p.into())) + // Minimum execution time: 32_170_000 picoseconds. + Weight::from_parts(32_440_222, 8615) + // Standard Error: 1_515 + .saturating_add(Weight::from_parts(200_631, 0).saturating_mul(a.into())) + // Standard Error: 6_071 + .saturating_add(Weight::from_parts(68_700, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -167,10 +169,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_315_000 picoseconds. - Weight::from_parts(25_235_790, 4254) - // Standard Error: 2_116 - .saturating_add(Weight::from_parts(66_690, 0).saturating_mul(p.into())) + // Minimum execution time: 23_795_000 picoseconds. + Weight::from_parts(24_685_958, 4254) + // Standard Error: 3_450 + .saturating_add(Weight::from_parts(80_991, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -183,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 26_108_000 picoseconds. - Weight::from_parts(27_189_796, 4254) - // Standard Error: 3_348 - .saturating_add(Weight::from_parts(68_144, 0).saturating_mul(p.into())) + // Minimum execution time: 25_578_000 picoseconds. + Weight::from_parts(26_614_984, 4254) + // Standard Error: 3_099 + .saturating_add(Weight::from_parts(59_205, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -197,10 +199,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_768_000 picoseconds. - Weight::from_parts(26_703_815, 4254) - // Standard Error: 2_563 - .saturating_add(Weight::from_parts(33_437, 0).saturating_mul(p.into())) + // Minimum execution time: 25_367_000 picoseconds. + Weight::from_parts(26_441_977, 4254) + // Standard Error: 4_077 + .saturating_add(Weight::from_parts(46_473, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -211,10 +213,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 26_069_000 picoseconds. - Weight::from_parts(27_181_467, 4254) - // Standard Error: 2_477 - .saturating_add(Weight::from_parts(29_356, 0).saturating_mul(p.into())) + // Minimum execution time: 25_557_000 picoseconds. + Weight::from_parts(26_686_208, 4254) + // Standard Error: 3_588 + .saturating_add(Weight::from_parts(27_191, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -225,10 +227,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_817_000 picoseconds. - Weight::from_parts(25_983_831, 4254) - // Standard Error: 2_657 - .saturating_add(Weight::from_parts(52_737, 0).saturating_mul(p.into())) + // Minimum execution time: 24_695_000 picoseconds. + Weight::from_parts(25_826_161, 4254) + // Standard Error: 3_578 + .saturating_add(Weight::from_parts(40_613, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -242,8 +244,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 44_073_000 picoseconds. - Weight::from_parts(45_094_000, 8615) + // Minimum execution time: 43_431_000 picoseconds. + Weight::from_parts(44_262_000, 8615) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -256,10 +258,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_977_000 picoseconds. - Weight::from_parts(14_592_871, 4254) - // Standard Error: 1_897 - .saturating_add(Weight::from_parts(38_436, 0).saturating_mul(p.into())) + // Minimum execution time: 13_275_000 picoseconds. + Weight::from_parts(14_036_984, 4254) + // Standard Error: 2_451 + .saturating_add(Weight::from_parts(40_086, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -280,10 +282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 27_281_000 picoseconds. - Weight::from_parts(28_228_411, 4254) - // Standard Error: 3_441 - .saturating_add(Weight::from_parts(80_622, 0).saturating_mul(p.into())) + // Minimum execution time: 26_189_000 picoseconds. + Weight::from_parts(27_505_550, 4254) + // Standard Error: 4_793 + .saturating_add(Weight::from_parts(69_619, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -306,12 +308,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 52_768_000 picoseconds. - Weight::from_parts(52_759_198, 8615) - // Standard Error: 2_732 - .saturating_add(Weight::from_parts(218_180, 0).saturating_mul(a.into())) - // Standard Error: 10_943 - .saturating_add(Weight::from_parts(72_178, 0).saturating_mul(p.into())) + // Minimum execution time: 50_874_000 picoseconds. + Weight::from_parts(52_716_407, 8615) + // Standard Error: 2_189 + .saturating_add(Weight::from_parts(213_947, 0).saturating_mul(a.into())) + // Standard Error: 8_769 + .saturating_add(Weight::from_parts(39_570, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -323,14 +325,16 @@ impl WeightInfo for () { /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// The range of component `a` is `[0, 74]`. /// The range of component `p` is `[1, 19]`. - fn remove_announcement(a: u32, _p: u32, ) -> Weight { + fn remove_announcement(a: u32, p: u32, ) -> Weight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_147_000 picoseconds. - Weight::from_parts(26_189_138, 8615) - // Standard Error: 1_221 - .saturating_add(Weight::from_parts(193_940, 0).saturating_mul(a.into())) + // Minimum execution time: 24_646_000 picoseconds. + Weight::from_parts(25_351_648, 8615) + // Standard Error: 1_263 + .saturating_add(Weight::from_parts(202_639, 0).saturating_mul(a.into())) + // Standard Error: 5_058 + .saturating_add(Weight::from_parts(17_145, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -344,12 +348,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_137_000 picoseconds. - Weight::from_parts(25_518_630, 8615) - // Standard Error: 1_348 - .saturating_add(Weight::from_parts(200_796, 0).saturating_mul(a.into())) - // Standard Error: 5_399 - .saturating_add(Weight::from_parts(33_024, 0).saturating_mul(p.into())) + // Minimum execution time: 24_686_000 picoseconds. + Weight::from_parts(25_447_040, 8615) + // Standard Error: 1_204 + .saturating_add(Weight::from_parts(197_519, 0).saturating_mul(a.into())) + // Standard Error: 4_824 + .saturating_add(Weight::from_parts(26_426, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -365,12 +369,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 32_901_000 picoseconds. - Weight::from_parts(32_939_749, 8615) - // Standard Error: 1_326 - .saturating_add(Weight::from_parts(195_862, 0).saturating_mul(a.into())) - // Standard Error: 5_313 - .saturating_add(Weight::from_parts(69_363, 0).saturating_mul(p.into())) + // Minimum execution time: 32_170_000 picoseconds. + Weight::from_parts(32_440_222, 8615) + // Standard Error: 1_515 + .saturating_add(Weight::from_parts(200_631, 0).saturating_mul(a.into())) + // Standard Error: 6_071 + .saturating_add(Weight::from_parts(68_700, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -381,10 +385,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_315_000 picoseconds. - Weight::from_parts(25_235_790, 4254) - // Standard Error: 2_116 - .saturating_add(Weight::from_parts(66_690, 0).saturating_mul(p.into())) + // Minimum execution time: 23_795_000 picoseconds. + Weight::from_parts(24_685_958, 4254) + // Standard Error: 3_450 + .saturating_add(Weight::from_parts(80_991, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -397,10 +401,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 26_108_000 picoseconds. - Weight::from_parts(27_189_796, 4254) - // Standard Error: 3_348 - .saturating_add(Weight::from_parts(68_144, 0).saturating_mul(p.into())) + // Minimum execution time: 25_578_000 picoseconds. + Weight::from_parts(26_614_984, 4254) + // Standard Error: 3_099 + .saturating_add(Weight::from_parts(59_205, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -411,10 +415,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_768_000 picoseconds. - Weight::from_parts(26_703_815, 4254) - // Standard Error: 2_563 - .saturating_add(Weight::from_parts(33_437, 0).saturating_mul(p.into())) + // Minimum execution time: 25_367_000 picoseconds. + Weight::from_parts(26_441_977, 4254) + // Standard Error: 4_077 + .saturating_add(Weight::from_parts(46_473, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -425,10 +429,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 26_069_000 picoseconds. - Weight::from_parts(27_181_467, 4254) - // Standard Error: 2_477 - .saturating_add(Weight::from_parts(29_356, 0).saturating_mul(p.into())) + // Minimum execution time: 25_557_000 picoseconds. + Weight::from_parts(26_686_208, 4254) + // Standard Error: 3_588 + .saturating_add(Weight::from_parts(27_191, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -439,10 +443,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_817_000 picoseconds. - Weight::from_parts(25_983_831, 4254) - // Standard Error: 2_657 - .saturating_add(Weight::from_parts(52_737, 0).saturating_mul(p.into())) + // Minimum execution time: 24_695_000 picoseconds. + Weight::from_parts(25_826_161, 4254) + // Standard Error: 3_578 + .saturating_add(Weight::from_parts(40_613, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -456,8 +460,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 44_073_000 picoseconds. - Weight::from_parts(45_094_000, 8615) + // Minimum execution time: 43_431_000 picoseconds. + Weight::from_parts(44_262_000, 8615) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -470,10 +474,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_977_000 picoseconds. - Weight::from_parts(14_592_871, 4254) - // Standard Error: 1_897 - .saturating_add(Weight::from_parts(38_436, 0).saturating_mul(p.into())) + // Minimum execution time: 13_275_000 picoseconds. + Weight::from_parts(14_036_984, 4254) + // Standard Error: 2_451 + .saturating_add(Weight::from_parts(40_086, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/subtensor/src/weights.rs b/pallets/subtensor/src/weights.rs index a32360e868..e4beabe817 100644 --- a/pallets/subtensor/src/weights.rs +++ b/pallets/subtensor/src/weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_subtensor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-06-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-06-24, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runnervm7b5n9`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.hodT9lzrPP +// --output=/tmp/tmp.gIR6lC6qZk // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -185,8 +185,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1865` // Estimated: `6148` - // Minimum execution time: 330_747_000 picoseconds. - Weight::from_parts(335_846_000, 6148) + // Minimum execution time: 328_388_000 picoseconds. + Weight::from_parts(330_502_000, 6148) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(29_u64)) } @@ -228,8 +228,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `188820` // Estimated: `10327410` - // Minimum execution time: 15_573_694_000 picoseconds. - Weight::from_parts(15_899_057_000, 10327410) + // Minimum execution time: 15_066_222_000 picoseconds. + Weight::from_parts(15_359_235_000, 10327410) .saturating_add(T::DbWeight::get().reads(4112_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -299,8 +299,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 626_479_000 picoseconds. - Weight::from_parts(647_909_000, 8727) + // Minimum execution time: 630_738_000 picoseconds. + Weight::from_parts(657_709_000, 8727) .saturating_add(T::DbWeight::get().reads(32_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -314,8 +314,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `713` // Estimated: `4178` - // Minimum execution time: 30_527_000 picoseconds. - Weight::from_parts(31_939_000, 4178) + // Minimum execution time: 29_935_000 picoseconds. + Weight::from_parts(31_428_000, 4178) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -329,8 +329,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `812` // Estimated: `4277` - // Minimum execution time: 28_994_000 picoseconds. - Weight::from_parts(29_866_000, 4277) + // Minimum execution time: 28_453_000 picoseconds. + Weight::from_parts(29_284_000, 4277) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -412,8 +412,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1798` // Estimated: `6148` - // Minimum execution time: 330_798_000 picoseconds. - Weight::from_parts(333_883_000, 6148) + // Minimum execution time: 327_477_000 picoseconds. + Weight::from_parts(331_344_000, 6148) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(29_u64)) } @@ -465,8 +465,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1516` // Estimated: `4981` - // Minimum execution time: 101_910_000 picoseconds. - Weight::from_parts(103_573_000, 4981) + // Minimum execution time: 100_676_000 picoseconds. + Weight::from_parts(103_852_000, 4981) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -584,8 +584,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1532` // Estimated: `9947` - // Minimum execution time: 270_815_000 picoseconds. - Weight::from_parts(276_186_000, 9947) + // Minimum execution time: 267_616_000 picoseconds. + Weight::from_parts(272_414_000, 9947) .saturating_add(T::DbWeight::get().reads(39_u64)) .saturating_add(T::DbWeight::get().writes(48_u64)) } @@ -619,8 +619,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1249` // Estimated: `4714` - // Minimum execution time: 68_167_000 picoseconds. - Weight::from_parts(69_600_000, 4714) + // Minimum execution time: 67_896_000 picoseconds. + Weight::from_parts(69_409_000, 4714) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -666,8 +666,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1650` // Estimated: `7590` - // Minimum execution time: 109_475_000 picoseconds. - Weight::from_parts(110_787_000, 7590) + // Minimum execution time: 109_312_000 picoseconds. + Weight::from_parts(110_735_000, 7590) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -677,8 +677,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_370_000 picoseconds. - Weight::from_parts(5_651_000, 0) + // Minimum execution time: 5_200_000 picoseconds. + Weight::from_parts(5_510_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -699,8 +699,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1033` // Estimated: `4498` - // Minimum execution time: 52_187_000 picoseconds. - Weight::from_parts(53_620_000, 4498) + // Minimum execution time: 52_177_000 picoseconds. + Weight::from_parts(53_178_000, 4498) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -716,8 +716,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 45_966_000 picoseconds. - Weight::from_parts(47_488_000, 4159) + // Minimum execution time: 46_146_000 picoseconds. + Weight::from_parts(47_278_000, 4159) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -755,6 +755,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Lock` (r:2 w:0) /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AccountFlags` (r:1 w:0) + /// Proof: `SubtensorModule::AccountFlags` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::DecayingLock` (r:1 w:0) /// Proof: `SubtensorModule::DecayingLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:2 w:2) @@ -765,9 +767,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2110` // Estimated: `13000` - // Minimum execution time: 283_579_000 picoseconds. - Weight::from_parts(288_478_000, 13000) - .saturating_add(T::DbWeight::get().reads(37_u64)) + // Minimum execution time: 288_044_000 picoseconds. + Weight::from_parts(290_288_000, 13000) + .saturating_add(T::DbWeight::get().reads(38_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } /// Storage: `System::Account` (r:2 w:2) @@ -806,6 +808,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Lock` (r:2 w:0) /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AccountFlags` (r:1 w:0) + /// Proof: `SubtensorModule::AccountFlags` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::DecayingLock` (r:1 w:0) /// Proof: `SubtensorModule::DecayingLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:0 w:1) @@ -818,9 +822,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2166` // Estimated: `13056` - // Minimum execution time: 307_023_000 picoseconds. - Weight::from_parts(313_655_000, 13056) - .saturating_add(T::DbWeight::get().reads(37_u64)) + // Minimum execution time: 309_453_000 picoseconds. + Weight::from_parts(315_114_000, 13056) + .saturating_add(T::DbWeight::get().reads(38_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0) @@ -831,8 +835,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_683_000 picoseconds. - Weight::from_parts(23_324_000, 4130) + // Minimum execution time: 22_261_000 picoseconds. + Weight::from_parts(22_982_000, 4130) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -844,8 +848,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_645_000 picoseconds. - Weight::from_parts(19_577_000, 4078) + // Minimum execution time: 18_805_000 picoseconds. + Weight::from_parts(20_077_000, 4078) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -857,8 +861,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_616_000 picoseconds. - Weight::from_parts(9_027_000, 0) + // Minimum execution time: 8_095_000 picoseconds. + Weight::from_parts(8_666_000, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -903,8 +907,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2155` // Estimated: `8095` - // Minimum execution time: 411_077_000 picoseconds. - Weight::from_parts(431_585_000, 8095) + // Minimum execution time: 403_027_000 picoseconds. + Weight::from_parts(424_947_000, 8095) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -938,8 +942,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 170_809_000 picoseconds. - Weight::from_parts(172_261_000, 5219) + // Minimum execution time: 171_027_000 picoseconds. + Weight::from_parts(172_711_000, 5219) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -971,8 +975,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 165_999_000 picoseconds. - Weight::from_parts(168_906_000, 5219) + // Minimum execution time: 166_909_000 picoseconds. + Weight::from_parts(168_933_000, 5219) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -992,8 +996,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1118` // Estimated: `4583` - // Minimum execution time: 38_502_000 picoseconds. - Weight::from_parts(39_574_000, 4583) + // Minimum execution time: 38_882_000 picoseconds. + Weight::from_parts(39_442_000, 4583) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1063,8 +1067,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 804_401_000 picoseconds. - Weight::from_parts(827_293_000, 8727) + // Minimum execution time: 810_081_000 picoseconds. + Weight::from_parts(833_084_000, 8727) .saturating_add(T::DbWeight::get().reads(32_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -1100,8 +1104,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1979` // Estimated: `7919` - // Minimum execution time: 213_038_000 picoseconds. - Weight::from_parts(223_407_000, 7919) + // Minimum execution time: 210_109_000 picoseconds. + Weight::from_parts(212_274_000, 7919) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -1157,8 +1161,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2142` // Estimated: `10557` - // Minimum execution time: 528_106_000 picoseconds. - Weight::from_parts(545_889_000, 10557) + // Minimum execution time: 539_440_000 picoseconds. + Weight::from_parts(562_672_000, 10557) .saturating_add(T::DbWeight::get().reads(28_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1212,8 +1216,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 701_820_000 picoseconds. - Weight::from_parts(726_546_000, 10591) + // Minimum execution time: 713_632_000 picoseconds. + Weight::from_parts(740_663_000, 10591) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1285,8 +1289,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2662` // Estimated: `11077` - // Minimum execution time: 920_568_000 picoseconds. - Weight::from_parts(925_196_000, 11077) + // Minimum execution time: 920_946_000 picoseconds. + Weight::from_parts(928_060_000, 11077) .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(24_u64)) } @@ -1312,8 +1316,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Lock` (r:1 w:0) /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AccountFlags` (r:1 w:0) - /// Proof: `SubtensorModule::AccountFlags` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:0) @@ -1328,8 +1330,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1988` // Estimated: `7928` - // Minimum execution time: 246_290_000 picoseconds. - Weight::from_parts(255_437_000, 7928) + // Minimum execution time: 244_634_000 picoseconds. + Weight::from_parts(246_506_000, 7928) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1401,8 +1403,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2505` // Estimated: `10920` - // Minimum execution time: 703_953_000 picoseconds. - Weight::from_parts(727_528_000, 10920) + // Minimum execution time: 696_210_000 picoseconds. + Weight::from_parts(723_230_000, 10920) .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(24_u64)) } @@ -1440,8 +1442,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1300` // Estimated: `4765` - // Minimum execution time: 144_380_000 picoseconds. - Weight::from_parts(145_712_000, 4765) + // Minimum execution time: 143_045_000 picoseconds. + Weight::from_parts(144_588_000, 4765) .saturating_add(T::DbWeight::get().reads(15_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1481,8 +1483,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1455` // Estimated: `7395` - // Minimum execution time: 99_856_000 picoseconds. - Weight::from_parts(101_469_000, 7395) + // Minimum execution time: 99_704_000 picoseconds. + Weight::from_parts(102_130_000, 7395) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1498,8 +1500,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `830` // Estimated: `4295` - // Minimum execution time: 29_305_000 picoseconds. - Weight::from_parts(30_047_000, 4295) + // Minimum execution time: 28_883_000 picoseconds. + Weight::from_parts(30_347_000, 4295) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1517,8 +1519,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `923` // Estimated: `4388` - // Minimum execution time: 35_897_000 picoseconds. - Weight::from_parts(36_999_000, 4388) + // Minimum execution time: 35_906_000 picoseconds. + Weight::from_parts(36_938_000, 4388) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1636,8 +1638,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1468` // Estimated: `9883` - // Minimum execution time: 268_171_000 picoseconds. - Weight::from_parts(272_628_000, 9883) + // Minimum execution time: 268_618_000 picoseconds. + Weight::from_parts(275_570_000, 9883) .saturating_add(T::DbWeight::get().reads(38_u64)) .saturating_add(T::DbWeight::get().writes(47_u64)) } @@ -1651,8 +1653,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `684` // Estimated: `4149` - // Minimum execution time: 29_956_000 picoseconds. - Weight::from_parts(31_088_000, 4149) + // Minimum execution time: 29_695_000 picoseconds. + Weight::from_parts(30_757_000, 4149) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1666,8 +1668,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `889` // Estimated: `6829` - // Minimum execution time: 31_418_000 picoseconds. - Weight::from_parts(32_681_000, 6829) + // Minimum execution time: 31_669_000 picoseconds. + Weight::from_parts(32_631_000, 6829) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1679,8 +1681,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_743_000 picoseconds. - Weight::from_parts(18_214_000, 4060) + // Minimum execution time: 17_793_000 picoseconds. + Weight::from_parts(18_304_000, 4060) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1762,8 +1764,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3172` // Estimated: `28912` - // Minimum execution time: 1_211_792_000 picoseconds. - Weight::from_parts(1_219_896_000, 28912) + // Minimum execution time: 1_209_451_000 picoseconds. + Weight::from_parts(1_220_841_000, 28912) .saturating_add(T::DbWeight::get().reads(182_u64)) .saturating_add(T::DbWeight::get().writes(99_u64)) } @@ -1777,8 +1779,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `818` // Estimated: `4283` - // Minimum execution time: 24_666_000 picoseconds. - Weight::from_parts(25_417_000, 4283) + // Minimum execution time: 25_246_000 picoseconds. + Weight::from_parts(25_878_000, 4283) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1792,8 +1794,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `774` // Estimated: `9189` - // Minimum execution time: 26_389_000 picoseconds. - Weight::from_parts(27_101_000, 9189) + // Minimum execution time: 27_030_000 picoseconds. + Weight::from_parts(28_102_000, 9189) .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -1854,8 +1856,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2235` // Estimated: `11306` - // Minimum execution time: 662_016_000 picoseconds. - Weight::from_parts(685_699_000, 11306) + // Minimum execution time: 667_567_000 picoseconds. + Weight::from_parts(691_331_000, 11306) .saturating_add(T::DbWeight::get().reads(43_u64)) .saturating_add(T::DbWeight::get().writes(25_u64)) } @@ -1909,8 +1911,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 715_946_000 picoseconds. - Weight::from_parts(739_300_000, 10591) + // Minimum execution time: 721_907_000 picoseconds. + Weight::from_parts(749_488_000, 10591) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -2047,10 +2049,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1835 + k * (44 ±0)` // Estimated: `10256 + k * (2579 ±0)` - // Minimum execution time: 473_403_000 picoseconds. - Weight::from_parts(225_259_332, 10256) - // Standard Error: 42_165 - .saturating_add(Weight::from_parts(46_420_245, 0).saturating_mul(k.into())) + // Minimum execution time: 472_506_000 picoseconds. + Weight::from_parts(230_127_504, 10256) + // Standard Error: 51_934 + .saturating_add(Weight::from_parts(46_730_014, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(48_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(53_u64)) @@ -2080,10 +2082,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1501 + k * (53 ±0)` // Estimated: `6148 + k * (2529 ±0)` - // Minimum execution time: 93_514_000 picoseconds. - Weight::from_parts(84_374_424, 6148) - // Standard Error: 6_820 - .saturating_add(Weight::from_parts(1_691_478, 0).saturating_mul(k.into())) + // Minimum execution time: 93_584_000 picoseconds. + Weight::from_parts(94_083_076, 6148) + // Standard Error: 6_178 + .saturating_add(Weight::from_parts(1_554_561, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(7_u64)) @@ -2098,8 +2100,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `659` // Estimated: `9074` - // Minimum execution time: 27_120_000 picoseconds. - Weight::from_parts(27_852_000, 9074) + // Minimum execution time: 26_389_000 picoseconds. + Weight::from_parts(28_382_000, 9074) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2135,8 +2137,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1248` // Estimated: `4713` - // Minimum execution time: 85_700_000 picoseconds. - Weight::from_parts(87_554_000, 4713) + // Minimum execution time: 84_036_000 picoseconds. + Weight::from_parts(85_989_000, 4713) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2152,8 +2154,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `809` // Estimated: `4274` - // Minimum execution time: 33_463_000 picoseconds. - Weight::from_parts(34_574_000, 4274) + // Minimum execution time: 33_031_000 picoseconds. + Weight::from_parts(33_852_000, 4274) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2169,8 +2171,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_793_000 picoseconds. - Weight::from_parts(18_214_000, 3941) + // Minimum execution time: 17_142_000 picoseconds. + Weight::from_parts(17_974_000, 3941) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2198,10 +2200,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::RootClaimableThreshold` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_root() -> Weight { // Proof Size summary in bytes: - // Measured: `1935` - // Estimated: `7875` - // Minimum execution time: 138_418_000 picoseconds. - Weight::from_parts(141_413_000, 7875) + // Measured: `1969` + // Estimated: `7909` + // Minimum execution time: 135_911_000 picoseconds. + Weight::from_parts(139_088_000, 7909) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2211,8 +2213,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_885_000 picoseconds. - Weight::from_parts(3_055_000, 0) + // Minimum execution time: 2_595_000 picoseconds. + Weight::from_parts(2_765_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -2221,8 +2223,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_490_000 picoseconds. - Weight::from_parts(6_201_000, 0) + // Minimum execution time: 5_140_000 picoseconds. + Weight::from_parts(5_831_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2235,8 +2237,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 27_511_000 picoseconds. - Weight::from_parts(28_614_000, 4364) + // Minimum execution time: 27_250_000 picoseconds. + Weight::from_parts(28_202_000, 4364) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2308,8 +2310,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2229` // Estimated: `8727` - // Minimum execution time: 945_465_000 picoseconds. - Weight::from_parts(949_132_000, 8727) + // Minimum execution time: 939_851_000 picoseconds. + Weight::from_parts(946_223_000, 8727) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(17_u64)) } @@ -2319,8 +2321,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_905_000 picoseconds. - Weight::from_parts(2_996_000, 0) + // Minimum execution time: 2_634_000 picoseconds. + Weight::from_parts(2_886_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2361,8 +2363,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1715` // Estimated: `7655` - // Minimum execution time: 116_688_000 picoseconds. - Weight::from_parts(118_962_000, 7655) + // Minimum execution time: 115_915_000 picoseconds. + Weight::from_parts(116_686_000, 7655) .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -2392,8 +2394,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1399` // Estimated: `7339` - // Minimum execution time: 147_575_000 picoseconds. - Weight::from_parts(150_531_000, 7339) + // Minimum execution time: 147_714_000 picoseconds. + Weight::from_parts(149_006_000, 7339) .saturating_add(T::DbWeight::get().reads(14_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -2407,8 +2409,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `950` // Estimated: `4415` - // Minimum execution time: 663_689_000 picoseconds. - Weight::from_parts(682_855_000, 4415) + // Minimum execution time: 665_262_000 picoseconds. + Weight::from_parts(683_967_000, 4415) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2428,8 +2430,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `975` // Estimated: `4440` - // Minimum execution time: 45_235_000 picoseconds. - Weight::from_parts(46_056_000, 4440) + // Minimum execution time: 44_743_000 picoseconds. + Weight::from_parts(46_106_000, 4440) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -2453,8 +2455,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 38_071_000 picoseconds. - Weight::from_parts(39_373_000, 4364) + // Minimum execution time: 37_910_000 picoseconds. + Weight::from_parts(39_443_000, 4364) .saturating_add(T::DbWeight::get().reads(7_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2478,8 +2480,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `982` // Estimated: `4447` - // Minimum execution time: 41_547_000 picoseconds. - Weight::from_parts(42_689_000, 4447) + // Minimum execution time: 41_466_000 picoseconds. + Weight::from_parts(42_479_000, 4447) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2491,8 +2493,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 17_072_000 picoseconds. - Weight::from_parts(17_633_000, 4198) + // Minimum execution time: 16_952_000 picoseconds. + Weight::from_parts(17_353_000, 4198) .saturating_add(T::DbWeight::get().reads(2_u64)) } /// Storage: `SubtensorModule::SubnetOwnerHotkey` (r:1 w:0) @@ -2519,8 +2521,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1731` // Estimated: `7671` - // Minimum execution time: 52_507_000 picoseconds. - Weight::from_parts(53_660_000, 7671) + // Minimum execution time: 52_477_000 picoseconds. + Weight::from_parts(53_489_000, 7671) .saturating_add(T::DbWeight::get().reads(11_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -2541,8 +2543,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1019` // Estimated: `4484` - // Minimum execution time: 35_446_000 picoseconds. - Weight::from_parts(36_178_000, 4484) + // Minimum execution time: 34_825_000 picoseconds. + Weight::from_parts(35_857_000, 4484) .saturating_add(T::DbWeight::get().reads(7_u64)) } /// Storage: `SubtensorModule::MinDelegateTake` (r:1 w:0) @@ -2555,8 +2557,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `721` // Estimated: `4186` - // Minimum execution time: 15_108_000 picoseconds. - Weight::from_parts(15_459_000, 4186) + // Minimum execution time: 15_038_000 picoseconds. + Weight::from_parts(15_419_000, 4186) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -2569,8 +2571,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `647` // Estimated: `4112` - // Minimum execution time: 18_615_000 picoseconds. - Weight::from_parts(19_245_000, 4112) + // Minimum execution time: 18_795_000 picoseconds. + Weight::from_parts(19_206_000, 4112) .saturating_add(T::DbWeight::get().reads(3_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -2581,8 +2583,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `652` // Estimated: `4117` - // Minimum execution time: 15_198_000 picoseconds. - Weight::from_parts(15_810_000, 4117) + // Minimum execution time: 15_018_000 picoseconds. + Weight::from_parts(15_529_000, 4117) .saturating_add(T::DbWeight::get().reads(2_u64)) } } @@ -2667,8 +2669,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1865` // Estimated: `6148` - // Minimum execution time: 330_747_000 picoseconds. - Weight::from_parts(335_846_000, 6148) + // Minimum execution time: 328_388_000 picoseconds. + Weight::from_parts(330_502_000, 6148) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(29_u64)) } @@ -2710,8 +2712,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `188820` // Estimated: `10327410` - // Minimum execution time: 15_573_694_000 picoseconds. - Weight::from_parts(15_899_057_000, 10327410) + // Minimum execution time: 15_066_222_000 picoseconds. + Weight::from_parts(15_359_235_000, 10327410) .saturating_add(RocksDbWeight::get().reads(4112_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2781,8 +2783,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 626_479_000 picoseconds. - Weight::from_parts(647_909_000, 8727) + // Minimum execution time: 630_738_000 picoseconds. + Weight::from_parts(657_709_000, 8727) .saturating_add(RocksDbWeight::get().reads(32_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -2796,8 +2798,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `713` // Estimated: `4178` - // Minimum execution time: 30_527_000 picoseconds. - Weight::from_parts(31_939_000, 4178) + // Minimum execution time: 29_935_000 picoseconds. + Weight::from_parts(31_428_000, 4178) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2811,8 +2813,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `812` // Estimated: `4277` - // Minimum execution time: 28_994_000 picoseconds. - Weight::from_parts(29_866_000, 4277) + // Minimum execution time: 28_453_000 picoseconds. + Weight::from_parts(29_284_000, 4277) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2894,8 +2896,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1798` // Estimated: `6148` - // Minimum execution time: 330_798_000 picoseconds. - Weight::from_parts(333_883_000, 6148) + // Minimum execution time: 327_477_000 picoseconds. + Weight::from_parts(331_344_000, 6148) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(29_u64)) } @@ -2947,8 +2949,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1516` // Estimated: `4981` - // Minimum execution time: 101_910_000 picoseconds. - Weight::from_parts(103_573_000, 4981) + // Minimum execution time: 100_676_000 picoseconds. + Weight::from_parts(103_852_000, 4981) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -3066,8 +3068,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1532` // Estimated: `9947` - // Minimum execution time: 270_815_000 picoseconds. - Weight::from_parts(276_186_000, 9947) + // Minimum execution time: 267_616_000 picoseconds. + Weight::from_parts(272_414_000, 9947) .saturating_add(RocksDbWeight::get().reads(39_u64)) .saturating_add(RocksDbWeight::get().writes(48_u64)) } @@ -3101,8 +3103,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1249` // Estimated: `4714` - // Minimum execution time: 68_167_000 picoseconds. - Weight::from_parts(69_600_000, 4714) + // Minimum execution time: 67_896_000 picoseconds. + Weight::from_parts(69_409_000, 4714) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3148,8 +3150,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1650` // Estimated: `7590` - // Minimum execution time: 109_475_000 picoseconds. - Weight::from_parts(110_787_000, 7590) + // Minimum execution time: 109_312_000 picoseconds. + Weight::from_parts(110_735_000, 7590) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3159,8 +3161,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_370_000 picoseconds. - Weight::from_parts(5_651_000, 0) + // Minimum execution time: 5_200_000 picoseconds. + Weight::from_parts(5_510_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -3181,8 +3183,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1033` // Estimated: `4498` - // Minimum execution time: 52_187_000 picoseconds. - Weight::from_parts(53_620_000, 4498) + // Minimum execution time: 52_177_000 picoseconds. + Weight::from_parts(53_178_000, 4498) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3198,8 +3200,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 45_966_000 picoseconds. - Weight::from_parts(47_488_000, 4159) + // Minimum execution time: 46_146_000 picoseconds. + Weight::from_parts(47_278_000, 4159) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3237,6 +3239,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Lock` (r:2 w:0) /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AccountFlags` (r:1 w:0) + /// Proof: `SubtensorModule::AccountFlags` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::DecayingLock` (r:1 w:0) /// Proof: `SubtensorModule::DecayingLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:2 w:2) @@ -3247,9 +3251,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2110` // Estimated: `13000` - // Minimum execution time: 283_579_000 picoseconds. - Weight::from_parts(288_478_000, 13000) - .saturating_add(RocksDbWeight::get().reads(37_u64)) + // Minimum execution time: 288_044_000 picoseconds. + Weight::from_parts(290_288_000, 13000) + .saturating_add(RocksDbWeight::get().reads(38_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } /// Storage: `System::Account` (r:2 w:2) @@ -3288,6 +3292,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Lock` (r:2 w:0) /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AccountFlags` (r:1 w:0) + /// Proof: `SubtensorModule::AccountFlags` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::DecayingLock` (r:1 w:0) /// Proof: `SubtensorModule::DecayingLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:0 w:1) @@ -3300,9 +3306,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2166` // Estimated: `13056` - // Minimum execution time: 307_023_000 picoseconds. - Weight::from_parts(313_655_000, 13056) - .saturating_add(RocksDbWeight::get().reads(37_u64)) + // Minimum execution time: 309_453_000 picoseconds. + Weight::from_parts(315_114_000, 13056) + .saturating_add(RocksDbWeight::get().reads(38_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:1 w:0) @@ -3313,8 +3319,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_683_000 picoseconds. - Weight::from_parts(23_324_000, 4130) + // Minimum execution time: 22_261_000 picoseconds. + Weight::from_parts(22_982_000, 4130) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3326,8 +3332,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_645_000 picoseconds. - Weight::from_parts(19_577_000, 4078) + // Minimum execution time: 18_805_000 picoseconds. + Weight::from_parts(20_077_000, 4078) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3339,8 +3345,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_616_000 picoseconds. - Weight::from_parts(9_027_000, 0) + // Minimum execution time: 8_095_000 picoseconds. + Weight::from_parts(8_666_000, 0) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -3385,8 +3391,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2155` // Estimated: `8095` - // Minimum execution time: 411_077_000 picoseconds. - Weight::from_parts(431_585_000, 8095) + // Minimum execution time: 403_027_000 picoseconds. + Weight::from_parts(424_947_000, 8095) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3420,8 +3426,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 170_809_000 picoseconds. - Weight::from_parts(172_261_000, 5219) + // Minimum execution time: 171_027_000 picoseconds. + Weight::from_parts(172_711_000, 5219) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3453,8 +3459,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1754` // Estimated: `5219` - // Minimum execution time: 165_999_000 picoseconds. - Weight::from_parts(168_906_000, 5219) + // Minimum execution time: 166_909_000 picoseconds. + Weight::from_parts(168_933_000, 5219) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -3474,8 +3480,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1118` // Estimated: `4583` - // Minimum execution time: 38_502_000 picoseconds. - Weight::from_parts(39_574_000, 4583) + // Minimum execution time: 38_882_000 picoseconds. + Weight::from_parts(39_442_000, 4583) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3545,8 +3551,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2226` // Estimated: `8727` - // Minimum execution time: 804_401_000 picoseconds. - Weight::from_parts(827_293_000, 8727) + // Minimum execution time: 810_081_000 picoseconds. + Weight::from_parts(833_084_000, 8727) .saturating_add(RocksDbWeight::get().reads(32_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -3582,8 +3588,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1979` // Estimated: `7919` - // Minimum execution time: 213_038_000 picoseconds. - Weight::from_parts(223_407_000, 7919) + // Minimum execution time: 210_109_000 picoseconds. + Weight::from_parts(212_274_000, 7919) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -3639,8 +3645,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2142` // Estimated: `10557` - // Minimum execution time: 528_106_000 picoseconds. - Weight::from_parts(545_889_000, 10557) + // Minimum execution time: 539_440_000 picoseconds. + Weight::from_parts(562_672_000, 10557) .saturating_add(RocksDbWeight::get().reads(28_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -3694,8 +3700,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 701_820_000 picoseconds. - Weight::from_parts(726_546_000, 10591) + // Minimum execution time: 713_632_000 picoseconds. + Weight::from_parts(740_663_000, 10591) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -3767,8 +3773,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2662` // Estimated: `11077` - // Minimum execution time: 920_568_000 picoseconds. - Weight::from_parts(925_196_000, 11077) + // Minimum execution time: 920_946_000 picoseconds. + Weight::from_parts(928_060_000, 11077) .saturating_add(RocksDbWeight::get().reads(47_u64)) .saturating_add(RocksDbWeight::get().writes(24_u64)) } @@ -3794,8 +3800,6 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Lock` (r:1 w:0) /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AccountFlags` (r:1 w:0) - /// Proof: `SubtensorModule::AccountFlags` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:0) @@ -3810,8 +3814,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1988` // Estimated: `7928` - // Minimum execution time: 246_290_000 picoseconds. - Weight::from_parts(255_437_000, 7928) + // Minimum execution time: 244_634_000 picoseconds. + Weight::from_parts(246_506_000, 7928) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3883,8 +3887,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2505` // Estimated: `10920` - // Minimum execution time: 703_953_000 picoseconds. - Weight::from_parts(727_528_000, 10920) + // Minimum execution time: 696_210_000 picoseconds. + Weight::from_parts(723_230_000, 10920) .saturating_add(RocksDbWeight::get().reads(47_u64)) .saturating_add(RocksDbWeight::get().writes(24_u64)) } @@ -3922,8 +3926,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1300` // Estimated: `4765` - // Minimum execution time: 144_380_000 picoseconds. - Weight::from_parts(145_712_000, 4765) + // Minimum execution time: 143_045_000 picoseconds. + Weight::from_parts(144_588_000, 4765) .saturating_add(RocksDbWeight::get().reads(15_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3963,8 +3967,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1455` // Estimated: `7395` - // Minimum execution time: 99_856_000 picoseconds. - Weight::from_parts(101_469_000, 7395) + // Minimum execution time: 99_704_000 picoseconds. + Weight::from_parts(102_130_000, 7395) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3980,8 +3984,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `830` // Estimated: `4295` - // Minimum execution time: 29_305_000 picoseconds. - Weight::from_parts(30_047_000, 4295) + // Minimum execution time: 28_883_000 picoseconds. + Weight::from_parts(30_347_000, 4295) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3999,8 +4003,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `923` // Estimated: `4388` - // Minimum execution time: 35_897_000 picoseconds. - Weight::from_parts(36_999_000, 4388) + // Minimum execution time: 35_906_000 picoseconds. + Weight::from_parts(36_938_000, 4388) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4118,8 +4122,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1468` // Estimated: `9883` - // Minimum execution time: 268_171_000 picoseconds. - Weight::from_parts(272_628_000, 9883) + // Minimum execution time: 268_618_000 picoseconds. + Weight::from_parts(275_570_000, 9883) .saturating_add(RocksDbWeight::get().reads(38_u64)) .saturating_add(RocksDbWeight::get().writes(47_u64)) } @@ -4133,8 +4137,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `684` // Estimated: `4149` - // Minimum execution time: 29_956_000 picoseconds. - Weight::from_parts(31_088_000, 4149) + // Minimum execution time: 29_695_000 picoseconds. + Weight::from_parts(30_757_000, 4149) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4148,8 +4152,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `889` // Estimated: `6829` - // Minimum execution time: 31_418_000 picoseconds. - Weight::from_parts(32_681_000, 6829) + // Minimum execution time: 31_669_000 picoseconds. + Weight::from_parts(32_631_000, 6829) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4161,8 +4165,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_743_000 picoseconds. - Weight::from_parts(18_214_000, 4060) + // Minimum execution time: 17_793_000 picoseconds. + Weight::from_parts(18_304_000, 4060) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4244,8 +4248,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3172` // Estimated: `28912` - // Minimum execution time: 1_211_792_000 picoseconds. - Weight::from_parts(1_219_896_000, 28912) + // Minimum execution time: 1_209_451_000 picoseconds. + Weight::from_parts(1_220_841_000, 28912) .saturating_add(RocksDbWeight::get().reads(182_u64)) .saturating_add(RocksDbWeight::get().writes(99_u64)) } @@ -4259,8 +4263,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `818` // Estimated: `4283` - // Minimum execution time: 24_666_000 picoseconds. - Weight::from_parts(25_417_000, 4283) + // Minimum execution time: 25_246_000 picoseconds. + Weight::from_parts(25_878_000, 4283) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4274,8 +4278,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `774` // Estimated: `9189` - // Minimum execution time: 26_389_000 picoseconds. - Weight::from_parts(27_101_000, 9189) + // Minimum execution time: 27_030_000 picoseconds. + Weight::from_parts(28_102_000, 9189) .saturating_add(RocksDbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4336,8 +4340,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2235` // Estimated: `11306` - // Minimum execution time: 662_016_000 picoseconds. - Weight::from_parts(685_699_000, 11306) + // Minimum execution time: 667_567_000 picoseconds. + Weight::from_parts(691_331_000, 11306) .saturating_add(RocksDbWeight::get().reads(43_u64)) .saturating_add(RocksDbWeight::get().writes(25_u64)) } @@ -4391,8 +4395,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2176` // Estimated: `10591` - // Minimum execution time: 715_946_000 picoseconds. - Weight::from_parts(739_300_000, 10591) + // Minimum execution time: 721_907_000 picoseconds. + Weight::from_parts(749_488_000, 10591) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -4529,10 +4533,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1835 + k * (44 ±0)` // Estimated: `10256 + k * (2579 ±0)` - // Minimum execution time: 473_403_000 picoseconds. - Weight::from_parts(225_259_332, 10256) - // Standard Error: 42_165 - .saturating_add(Weight::from_parts(46_420_245, 0).saturating_mul(k.into())) + // Minimum execution time: 472_506_000 picoseconds. + Weight::from_parts(230_127_504, 10256) + // Standard Error: 51_934 + .saturating_add(Weight::from_parts(46_730_014, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(48_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(53_u64)) @@ -4562,10 +4566,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1501 + k * (53 ±0)` // Estimated: `6148 + k * (2529 ±0)` - // Minimum execution time: 93_514_000 picoseconds. - Weight::from_parts(84_374_424, 6148) - // Standard Error: 6_820 - .saturating_add(Weight::from_parts(1_691_478, 0).saturating_mul(k.into())) + // Minimum execution time: 93_584_000 picoseconds. + Weight::from_parts(94_083_076, 6148) + // Standard Error: 6_178 + .saturating_add(Weight::from_parts(1_554_561, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(7_u64)) @@ -4580,8 +4584,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `659` // Estimated: `9074` - // Minimum execution time: 27_120_000 picoseconds. - Weight::from_parts(27_852_000, 9074) + // Minimum execution time: 26_389_000 picoseconds. + Weight::from_parts(28_382_000, 9074) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4617,8 +4621,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1248` // Estimated: `4713` - // Minimum execution time: 85_700_000 picoseconds. - Weight::from_parts(87_554_000, 4713) + // Minimum execution time: 84_036_000 picoseconds. + Weight::from_parts(85_989_000, 4713) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4634,8 +4638,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `809` // Estimated: `4274` - // Minimum execution time: 33_463_000 picoseconds. - Weight::from_parts(34_574_000, 4274) + // Minimum execution time: 33_031_000 picoseconds. + Weight::from_parts(33_852_000, 4274) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4651,8 +4655,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_793_000 picoseconds. - Weight::from_parts(18_214_000, 3941) + // Minimum execution time: 17_142_000 picoseconds. + Weight::from_parts(17_974_000, 3941) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4680,10 +4684,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::RootClaimableThreshold` (`max_values`: None, `max_size`: None, mode: `Measured`) fn claim_root() -> Weight { // Proof Size summary in bytes: - // Measured: `1935` - // Estimated: `7875` - // Minimum execution time: 138_418_000 picoseconds. - Weight::from_parts(141_413_000, 7875) + // Measured: `1969` + // Estimated: `7909` + // Minimum execution time: 135_911_000 picoseconds. + Weight::from_parts(139_088_000, 7909) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4693,8 +4697,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_885_000 picoseconds. - Weight::from_parts(3_055_000, 0) + // Minimum execution time: 2_595_000 picoseconds. + Weight::from_parts(2_765_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -4703,8 +4707,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_490_000 picoseconds. - Weight::from_parts(6_201_000, 0) + // Minimum execution time: 5_140_000 picoseconds. + Weight::from_parts(5_831_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4717,8 +4721,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 27_511_000 picoseconds. - Weight::from_parts(28_614_000, 4364) + // Minimum execution time: 27_250_000 picoseconds. + Weight::from_parts(28_202_000, 4364) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4790,8 +4794,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2229` // Estimated: `8727` - // Minimum execution time: 945_465_000 picoseconds. - Weight::from_parts(949_132_000, 8727) + // Minimum execution time: 939_851_000 picoseconds. + Weight::from_parts(946_223_000, 8727) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(17_u64)) } @@ -4801,8 +4805,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_905_000 picoseconds. - Weight::from_parts(2_996_000, 0) + // Minimum execution time: 2_634_000 picoseconds. + Weight::from_parts(2_886_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4843,8 +4847,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1715` // Estimated: `7655` - // Minimum execution time: 116_688_000 picoseconds. - Weight::from_parts(118_962_000, 7655) + // Minimum execution time: 115_915_000 picoseconds. + Weight::from_parts(116_686_000, 7655) .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4874,8 +4878,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1399` // Estimated: `7339` - // Minimum execution time: 147_575_000 picoseconds. - Weight::from_parts(150_531_000, 7339) + // Minimum execution time: 147_714_000 picoseconds. + Weight::from_parts(149_006_000, 7339) .saturating_add(RocksDbWeight::get().reads(14_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -4889,8 +4893,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `950` // Estimated: `4415` - // Minimum execution time: 663_689_000 picoseconds. - Weight::from_parts(682_855_000, 4415) + // Minimum execution time: 665_262_000 picoseconds. + Weight::from_parts(683_967_000, 4415) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4910,8 +4914,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `975` // Estimated: `4440` - // Minimum execution time: 45_235_000 picoseconds. - Weight::from_parts(46_056_000, 4440) + // Minimum execution time: 44_743_000 picoseconds. + Weight::from_parts(46_106_000, 4440) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4935,8 +4939,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `899` // Estimated: `4364` - // Minimum execution time: 38_071_000 picoseconds. - Weight::from_parts(39_373_000, 4364) + // Minimum execution time: 37_910_000 picoseconds. + Weight::from_parts(39_443_000, 4364) .saturating_add(RocksDbWeight::get().reads(7_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4960,8 +4964,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `982` // Estimated: `4447` - // Minimum execution time: 41_547_000 picoseconds. - Weight::from_parts(42_689_000, 4447) + // Minimum execution time: 41_466_000 picoseconds. + Weight::from_parts(42_479_000, 4447) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4973,8 +4977,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `733` // Estimated: `4198` - // Minimum execution time: 17_072_000 picoseconds. - Weight::from_parts(17_633_000, 4198) + // Minimum execution time: 16_952_000 picoseconds. + Weight::from_parts(17_353_000, 4198) .saturating_add(RocksDbWeight::get().reads(2_u64)) } /// Storage: `SubtensorModule::SubnetOwnerHotkey` (r:1 w:0) @@ -5001,8 +5005,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1731` // Estimated: `7671` - // Minimum execution time: 52_507_000 picoseconds. - Weight::from_parts(53_660_000, 7671) + // Minimum execution time: 52_477_000 picoseconds. + Weight::from_parts(53_489_000, 7671) .saturating_add(RocksDbWeight::get().reads(11_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -5023,8 +5027,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1019` // Estimated: `4484` - // Minimum execution time: 35_446_000 picoseconds. - Weight::from_parts(36_178_000, 4484) + // Minimum execution time: 34_825_000 picoseconds. + Weight::from_parts(35_857_000, 4484) .saturating_add(RocksDbWeight::get().reads(7_u64)) } /// Storage: `SubtensorModule::MinDelegateTake` (r:1 w:0) @@ -5037,8 +5041,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `721` // Estimated: `4186` - // Minimum execution time: 15_108_000 picoseconds. - Weight::from_parts(15_459_000, 4186) + // Minimum execution time: 15_038_000 picoseconds. + Weight::from_parts(15_419_000, 4186) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -5051,8 +5055,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `647` // Estimated: `4112` - // Minimum execution time: 18_615_000 picoseconds. - Weight::from_parts(19_245_000, 4112) + // Minimum execution time: 18_795_000 picoseconds. + Weight::from_parts(19_206_000, 4112) .saturating_add(RocksDbWeight::get().reads(3_u64)) } /// Storage: `SubtensorModule::Uids` (r:1 w:0) @@ -5063,8 +5067,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `652` // Estimated: `4117` - // Minimum execution time: 15_198_000 picoseconds. - Weight::from_parts(15_810_000, 4117) + // Minimum execution time: 15_018_000 picoseconds. + Weight::from_parts(15_529_000, 4117) .saturating_add(RocksDbWeight::get().reads(2_u64)) } } From 069029fb1d25e959206d9bbc56d094dd2e83802a Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Wed, 24 Jun 2026 11:07:32 -0700 Subject: [PATCH 12/14] bump spec --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 2fb79d1b54..b0e11469f2 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -234,7 +234,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 422, + spec_version: 423, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From f21620884991e1a9883e913ea08c21309d818d4b Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Fri, 26 Jun 2026 12:35:48 +0300 Subject: [PATCH 13/14] Do not silently cap transferred alpha amount by lock-available --- pallets/subtensor/src/staking/move_stake.rs | 9 -- pallets/subtensor/src/tests/move_stake.rs | 46 +++++-- pallets/transaction-fee/src/tests/mod.rs | 130 ++++++++++++++++++++ 3 files changed, 167 insertions(+), 18 deletions(-) diff --git a/pallets/subtensor/src/staking/move_stake.rs b/pallets/subtensor/src/staking/move_stake.rs index b189c90968..e826f8484e 100644 --- a/pallets/subtensor/src/staking/move_stake.rs +++ b/pallets/subtensor/src/staking/move_stake.rs @@ -303,15 +303,6 @@ impl Pallet { maybe_allow_partial: Option, check_transfer_toggle: bool, ) -> Result { - // Cap the alpha_amount at available Alpha because user might be paying transaxtion fees - // in Alpha and their total is already reduced by now. - let alpha_available = Self::get_stake_for_hotkey_and_coldkey_on_subnet( - origin_hotkey, - origin_coldkey, - origin_netuid, - ); - let alpha_amount = alpha_amount.min(alpha_available); - // Calculate the maximum amount that can be executed let max_amount = if origin_netuid != destination_netuid { if let Some(limit_price) = maybe_limit_price { diff --git a/pallets/subtensor/src/tests/move_stake.rs b/pallets/subtensor/src/tests/move_stake.rs index 8265ec5e9d..67a37d1e07 100644 --- a/pallets/subtensor/src/tests/move_stake.rs +++ b/pallets/subtensor/src/tests/move_stake.rs @@ -1023,17 +1023,45 @@ fn test_do_transfer_insufficient_stake() { ) .unwrap(); - // Amount over available stake succeeds (because fees can be paid in Alpha, - // this limitation is removed) - let alpha = stake_amount * 2; - assert_ok!(SubtensorModule::do_transfer_stake( - RuntimeOrigin::signed(origin_coldkey), - destination_coldkey, - hotkey, + let origin_alpha_before = SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &origin_coldkey, netuid, + ); + let destination_alpha_before = SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &destination_coldkey, netuid, - alpha.into() - )); + ); + + let alpha = stake_amount * 2; + assert_noop!( + SubtensorModule::do_transfer_stake( + RuntimeOrigin::signed(origin_coldkey), + destination_coldkey, + hotkey, + netuid, + netuid, + alpha.into() + ), + Error::::NotEnoughStakeToWithdraw + ); + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &origin_coldkey, + netuid + ), + origin_alpha_before + ); + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &destination_coldkey, + netuid + ), + destination_alpha_before + ); }); } diff --git a/pallets/transaction-fee/src/tests/mod.rs b/pallets/transaction-fee/src/tests/mod.rs index f452634cfe..20b1247938 100644 --- a/pallets/transaction-fee/src/tests/mod.rs +++ b/pallets/transaction-fee/src/tests/mod.rs @@ -10,6 +10,7 @@ use sp_runtime::{ transaction_validity::{InvalidTransaction, TransactionValidityError}, }; use subtensor_runtime_common::AlphaBalance; +use subtensor_swap_interface::SwapHandler; use mock::*; mod mock; @@ -1258,6 +1259,135 @@ fn test_transfer_stake_fees_alpha() { }); } +// cargo test --package subtensor-transaction-fee --lib -- tests::test_transfer_stake_full_amount_fails_when_alpha_fee_reduces_available_stake --exact --show-output +#[test] +fn test_transfer_stake_full_amount_fails_when_alpha_fee_reduces_available_stake() { + new_test_ext().execute_with(|| { + let destination_coldkey = U256::from(100000); + let stake_amount = TAO; + let sn = setup_subnets(2, 2); + setup_stake( + sn.subnets[0].netuid, + &sn.coldkey, + &sn.hotkeys[0], + stake_amount, + ); + + let current_balance = Balances::free_balance(sn.coldkey); + remove_balance_from_coldkey_account(&sn.coldkey, current_balance); + assert_eq!(Balances::free_balance(sn.coldkey), TaoBalance::ZERO); + + let alpha_before = SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &sn.hotkeys[0], + &sn.coldkey, + sn.subnets[0].netuid, + ); + let call = RuntimeCall::SubtensorModule(pallet_subtensor::Call::transfer_stake { + destination_coldkey, + hotkey: sn.hotkeys[0], + origin_netuid: sn.subnets[0].netuid, + destination_netuid: sn.subnets[1].netuid, + alpha_amount: alpha_before, + }); + let info = call.get_dispatch_info(); + let ext = pallet_transaction_payment::ChargeTransactionPayment::::from(0.into()); + + let inner = ext + .dispatch_transaction(RuntimeOrigin::signed(sn.coldkey).into(), call, &info, 0, 0) + .expect("alpha fee payment should validate"); + assert_eq!( + inner.unwrap_err().error, + Error::::NotEnoughStakeToWithdraw.into() + ); + + let alpha_after = SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &sn.hotkeys[0], + &sn.coldkey, + sn.subnets[0].netuid, + ); + let actual_alpha_fee = alpha_before - alpha_after; + assert!(actual_alpha_fee > AlphaBalance::ZERO); + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &sn.hotkeys[0], + &destination_coldkey, + sn.subnets[1].netuid, + ), + AlphaBalance::ZERO + ); + }); + + new_test_ext().execute_with(|| { + let destination_coldkey = U256::from(100000); + let stake_amount = TAO; + let sn = setup_subnets(2, 2); + setup_stake( + sn.subnets[0].netuid, + &sn.coldkey, + &sn.hotkeys[0], + stake_amount, + ); + + let current_balance = Balances::free_balance(sn.coldkey); + remove_balance_from_coldkey_account(&sn.coldkey, current_balance); + assert_eq!(Balances::free_balance(sn.coldkey), TaoBalance::ZERO); + + let alpha_before = SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &sn.hotkeys[0], + &sn.coldkey, + sn.subnets[0].netuid, + ); + let full_amount_call = + RuntimeCall::SubtensorModule(pallet_subtensor::Call::transfer_stake { + destination_coldkey, + hotkey: sn.hotkeys[0], + origin_netuid: sn.subnets[0].netuid, + destination_netuid: sn.subnets[1].netuid, + alpha_amount: alpha_before, + }); + let info = full_amount_call.get_dispatch_info(); + let tao_fee = pallet_transaction_payment::Pallet::::compute_fee(0, &info, 0.into()); + let alpha_fee = pallet_subtensor_swap::Pallet::::get_alpha_amount_for_tao( + sn.subnets[0].netuid, + tao_fee, + ); + assert!(alpha_fee > AlphaBalance::ZERO); + + let transfer_amount = alpha_before - alpha_fee; + let call = RuntimeCall::SubtensorModule(pallet_subtensor::Call::transfer_stake { + destination_coldkey, + hotkey: sn.hotkeys[0], + origin_netuid: sn.subnets[0].netuid, + destination_netuid: sn.subnets[1].netuid, + alpha_amount: transfer_amount, + }); + let info = call.get_dispatch_info(); + let ext = pallet_transaction_payment::ChargeTransactionPayment::::from(0.into()); + + let inner = ext + .dispatch_transaction(RuntimeOrigin::signed(sn.coldkey).into(), call, &info, 0, 0) + .expect("alpha fee payment should validate"); + assert_ok!(inner); + + assert_eq!(Balances::free_balance(sn.coldkey), TaoBalance::ZERO); + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &sn.hotkeys[0], + &sn.coldkey, + sn.subnets[0].netuid, + ), + AlphaBalance::ZERO + ); + assert!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &sn.hotkeys[0], + &destination_coldkey, + sn.subnets[1].netuid, + ) > AlphaBalance::ZERO + ); + }); +} + // cargo test --package subtensor-transaction-fee --lib -- tests::test_swap_stake_fees_alpha --exact --show-output #[test] fn test_swap_stake_fees_alpha() { From 3c1acd560d54c44a9a7750549294140d5a5d5b63 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Fri, 26 Jun 2026 12:36:28 +0300 Subject: [PATCH 14/14] spec bump --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index b4fb481f7f..ac4da43b3b 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -234,7 +234,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 423, + spec_version: 424, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,