From 1295481695ebe7a2b7ac5e004a447518624e03a7 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 11 May 2026 07:51:27 -0700 Subject: [PATCH 1/4] clear vali trust & permit on neuron dereg --- pallets/subtensor/src/subnets/uids.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pallets/subtensor/src/subnets/uids.rs b/pallets/subtensor/src/subnets/uids.rs index d21509f83d..3665b139ff 100644 --- a/pallets/subtensor/src/subnets/uids.rs +++ b/pallets/subtensor/src/subnets/uids.rs @@ -46,6 +46,8 @@ impl Pallet { } Dividends::::mutate(netuid, |v| Self::set_element_at(v, neuron_index, 0)); StakeWeight::::mutate(netuid, |v| Self::set_element_at(v, neuron_index, 0)); + ValidatorTrust::::mutate(netuid, |v| Self::set_element_at(v, neuron_index, 0)); + ValidatorPermit::::mutate(netuid, |v| Self::set_element_at(v, neuron_index, false)); } /// Replace the neuron under this uid. From 39f2599a6f5c8938aa7bc253e99b6a896fab1357 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 11 May 2026 07:52:01 -0700 Subject: [PATCH 2/4] add test --- pallets/subtensor/src/tests/uids.rs | 46 +++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/pallets/subtensor/src/tests/uids.rs b/pallets/subtensor/src/tests/uids.rs index 37d9733991..7679f2b727 100644 --- a/pallets/subtensor/src/tests/uids.rs +++ b/pallets/subtensor/src/tests/uids.rs @@ -225,6 +225,52 @@ fn test_replace_neuron_resets_last_update() { }); } +#[test] +fn test_replace_neuron_clears_validator_trust_and_permit() { + new_test_ext(1).execute_with(|| { + let registration_block: u64 = 0; + let replacement_block: u64 = 123; + let netuid = NetUid::from(1); + let tempo: u16 = 13; + let hotkey_account_id = U256::from(1); + let coldkey_account_id = U256::from(1234); + let new_hotkey_account_id = U256::from(2); + + System::set_block_number(registration_block); + add_network(netuid, tempo, 0); + register_ok_neuron(netuid, hotkey_account_id, coldkey_account_id, 0); + + let neuron_uid = + SubtensorModule::get_uid_for_net_and_hotkey(netuid, &hotkey_account_id).unwrap(); + let idx = neuron_uid as usize; + + // Simulate the previous occupant having earned a validator_permit and trust score. + ValidatorTrust::::mutate(netuid, |v| { + if v.len() <= idx { + v.resize(idx + 1, 0); + } + v[idx] = 42; + }); + ValidatorPermit::::mutate(netuid, |v| { + if v.len() <= idx { + v.resize(idx + 1, false); + } + v[idx] = true; + }); + + SubtensorModule::replace_neuron( + netuid, + neuron_uid, + &new_hotkey_account_id, + replacement_block, + ); + + // The replaced neuron must not inherit the previous occupant's validator state. + assert_eq!(ValidatorTrust::::get(netuid)[idx], 0); + assert!(!ValidatorPermit::::get(netuid)[idx]); + }); +} + #[test] fn test_replace_neuron_multiple_subnets() { new_test_ext(1).execute_with(|| { From 6072d26c2406e0c2df74258990598ddf44bea042 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 11 May 2026 08:26:59 -0700 Subject: [PATCH 3/4] 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 00d3839fa7..85a35d21c8 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -272,7 +272,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: 406, + spec_version: 407, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, From bb167a0c4d1a9905e4b276fc6be91c2f7b34c53e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 11 May 2026 17:01:54 +0000 Subject: [PATCH 4/4] auto-update benchmark weights --- pallets/crowdloan/src/weights.rs | 101 ++--- pallets/proxy/src/weights.rs | 222 +++++----- pallets/subtensor/src/weights.rs | 726 ++++++++++++++++--------------- pallets/utility/src/weights.rs | 86 ++-- 4 files changed, 583 insertions(+), 552 deletions(-) diff --git a/pallets/crowdloan/src/weights.rs b/pallets/crowdloan/src/weights.rs index 60a3f66120..873a33f461 100644 --- a/pallets/crowdloan/src/weights.rs +++ b/pallets/crowdloan/src/weights.rs @@ -2,32 +2,27 @@ //! Autogenerated weights for `pallet_crowdloan` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-03-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervm46oaq`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 9V74 80-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: // /home/runner/work/subtensor/subtensor/target/production/node-subtensor // benchmark // pallet -// --runtime -// /home/runner/work/subtensor/subtensor/target/production/wbuild/node-subtensor-runtime/node_subtensor_runtime.compact.compressed.wasm +// --runtime=/home/runner/work/subtensor/subtensor/target/production/wbuild/node-subtensor-runtime/node_subtensor_runtime.compact.compressed.wasm // --genesis-builder=runtime // --genesis-builder-preset=benchmark // --wasm-execution=compiled -// --pallet -// pallet_crowdloan -// --extrinsic -// * -// --steps -// 50 -// --repeat -// 20 +// --pallet=pallet_crowdloan +// --extrinsic=* +// --steps=50 +// --repeat=20 // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.L6TDSfr4gA +// --output=/tmp/tmp.DTL9G8zoGE // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -67,8 +62,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119` // Estimated: `6148` - // Minimum execution time: 63_750_000 picoseconds. - Weight::from_parts(64_831_000, 6148) + // Minimum execution time: 60_520_000 picoseconds. + Weight::from_parts(62_011_000, 6148) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(5_u64)) } @@ -82,8 +77,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `480` // Estimated: `6148` - // Minimum execution time: 68_398_000 picoseconds. - Weight::from_parts(69_509_000, 6148) + // Minimum execution time: 65_637_000 picoseconds. + Weight::from_parts(67_249_000, 6148) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -97,8 +92,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6148` - // Minimum execution time: 63_258_000 picoseconds. - Weight::from_parts(64_701_000, 6148) + // Minimum execution time: 60_379_000 picoseconds. + Weight::from_parts(61_491_000, 6148) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -116,8 +111,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `856` // Estimated: `6148` - // Minimum execution time: 72_826_000 picoseconds. - Weight::from_parts(75_391_000, 6148) + // Minimum execution time: 68_912_000 picoseconds. + Weight::from_parts(71_295_000, 6148) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -132,10 +127,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `356 + k * (46 ±0)` // Estimated: `3747 + k * (2579 ±0)` - // Minimum execution time: 114_684_000 picoseconds. - Weight::from_parts(116_017_000, 3747) - // Standard Error: 93_049 - .saturating_add(Weight::from_parts(40_017_812, 0).saturating_mul(k.into())) + // Minimum execution time: 110_393_000 picoseconds. + Weight::from_parts(6_389_762, 3747) + // Standard Error: 90_758 + .saturating_add(Weight::from_parts(43_535_076, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into()))) @@ -151,8 +146,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `402` // Estimated: `6148` - // Minimum execution time: 68_879_000 picoseconds. - Weight::from_parts(70_050_000, 6148) + // Minimum execution time: 65_316_000 picoseconds. + Weight::from_parts(66_728_000, 6148) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -162,8 +157,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `229` // Estimated: `3747` - // Minimum execution time: 13_686_000 picoseconds. - Weight::from_parts(14_187_000, 3747) + // Minimum execution time: 11_217_000 picoseconds. + Weight::from_parts(11_888_000, 3747) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -173,8 +168,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `229` // Estimated: `3747` - // Minimum execution time: 14_006_000 picoseconds. - Weight::from_parts(14_598_000, 3747) + // Minimum execution time: 11_698_000 picoseconds. + Weight::from_parts(12_278_000, 3747) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -184,8 +179,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `229` // Estimated: `3747` - // Minimum execution time: 13_896_000 picoseconds. - Weight::from_parts(14_176_000, 3747) + // Minimum execution time: 11_377_000 picoseconds. + Weight::from_parts(11_707_000, 3747) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -205,8 +200,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119` // Estimated: `6148` - // Minimum execution time: 63_750_000 picoseconds. - Weight::from_parts(64_831_000, 6148) + // Minimum execution time: 60_520_000 picoseconds. + Weight::from_parts(62_011_000, 6148) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(5_u64)) } @@ -220,8 +215,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `480` // Estimated: `6148` - // Minimum execution time: 68_398_000 picoseconds. - Weight::from_parts(69_509_000, 6148) + // Minimum execution time: 65_637_000 picoseconds. + Weight::from_parts(67_249_000, 6148) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -235,8 +230,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `440` // Estimated: `6148` - // Minimum execution time: 63_258_000 picoseconds. - Weight::from_parts(64_701_000, 6148) + // Minimum execution time: 60_379_000 picoseconds. + Weight::from_parts(61_491_000, 6148) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -254,8 +249,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `856` // Estimated: `6148` - // Minimum execution time: 72_826_000 picoseconds. - Weight::from_parts(75_391_000, 6148) + // Minimum execution time: 68_912_000 picoseconds. + Weight::from_parts(71_295_000, 6148) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -270,10 +265,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `356 + k * (46 ±0)` // Estimated: `3747 + k * (2579 ±0)` - // Minimum execution time: 114_684_000 picoseconds. - Weight::from_parts(116_017_000, 3747) - // Standard Error: 93_049 - .saturating_add(Weight::from_parts(40_017_812, 0).saturating_mul(k.into())) + // Minimum execution time: 110_393_000 picoseconds. + Weight::from_parts(6_389_762, 3747) + // Standard Error: 90_758 + .saturating_add(Weight::from_parts(43_535_076, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(k.into()))) @@ -289,8 +284,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `402` // Estimated: `6148` - // Minimum execution time: 68_879_000 picoseconds. - Weight::from_parts(70_050_000, 6148) + // Minimum execution time: 65_316_000 picoseconds. + Weight::from_parts(66_728_000, 6148) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -300,8 +295,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `229` // Estimated: `3747` - // Minimum execution time: 13_686_000 picoseconds. - Weight::from_parts(14_187_000, 3747) + // Minimum execution time: 11_217_000 picoseconds. + Weight::from_parts(11_888_000, 3747) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -311,8 +306,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `229` // Estimated: `3747` - // Minimum execution time: 14_006_000 picoseconds. - Weight::from_parts(14_598_000, 3747) + // Minimum execution time: 11_698_000 picoseconds. + Weight::from_parts(12_278_000, 3747) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -322,8 +317,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `229` // Estimated: `3747` - // Minimum execution time: 13_896_000 picoseconds. - Weight::from_parts(14_176_000, 3747) + // Minimum execution time: 11_377_000 picoseconds. + Weight::from_parts(11_707_000, 3747) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/proxy/src/weights.rs b/pallets/proxy/src/weights.rs index a3c4f86593..c1f56eee75 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-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 9V74 80-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.9knXnirNE8 +// --output=/tmp/tmp.O1ahEnTmCL // --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_350_000 picoseconds. - Weight::from_parts(27_408_803, 4254) - // Standard Error: 3_640 - .saturating_add(Weight::from_parts(65_542, 0).saturating_mul(p.into())) + // Minimum execution time: 23_655_000 picoseconds. + Weight::from_parts(24_505_885, 4254) + // Standard Error: 2_657 + .saturating_add(Weight::from_parts(62_188, 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: 51_918_000 picoseconds. - Weight::from_parts(52_350_307, 8615) - // Standard Error: 1_900 - .saturating_add(Weight::from_parts(216_569, 0).saturating_mul(a.into())) - // Standard Error: 7_612 - .saturating_add(Weight::from_parts(48_719, 0).saturating_mul(p.into())) + // Minimum execution time: 48_722_000 picoseconds. + Weight::from_parts(49_045_820, 8615) + // Standard Error: 1_983 + .saturating_add(Weight::from_parts(229_526, 0).saturating_mul(a.into())) + // Standard Error: 7_945 + .saturating_add(Weight::from_parts(77_781, 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())) @@ -113,12 +113,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_298_000 picoseconds. - Weight::from_parts(25_519_010, 8615) - // Standard Error: 1_285 - .saturating_add(Weight::from_parts(199_662, 0).saturating_mul(a.into())) - // Standard Error: 5_148 - .saturating_add(Weight::from_parts(12_673, 0).saturating_mul(p.into())) + // Minimum execution time: 23_485_000 picoseconds. + Weight::from_parts(24_134_359, 8615) + // Standard Error: 965 + .saturating_add(Weight::from_parts(194_872, 0).saturating_mul(a.into())) + // Standard Error: 3_868 + .saturating_add(Weight::from_parts(15_907, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -132,12 +132,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_387_000 picoseconds. - Weight::from_parts(25_517_797, 8615) - // Standard Error: 1_246 - .saturating_add(Weight::from_parts(193_411, 0).saturating_mul(a.into())) - // Standard Error: 4_993 - .saturating_add(Weight::from_parts(29_999, 0).saturating_mul(p.into())) + // Minimum execution time: 23_484_000 picoseconds. + Weight::from_parts(23_858_853, 8615) + // Standard Error: 971 + .saturating_add(Weight::from_parts(197_198, 0).saturating_mul(a.into())) + // Standard Error: 3_892 + .saturating_add(Weight::from_parts(29_463, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -153,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_732_000 picoseconds. - Weight::from_parts(33_019_988, 8615) - // Standard Error: 1_111 - .saturating_add(Weight::from_parts(194_225, 0).saturating_mul(a.into())) - // Standard Error: 4_452 - .saturating_add(Weight::from_parts(51_072, 0).saturating_mul(p.into())) + // Minimum execution time: 31_146_000 picoseconds. + Weight::from_parts(30_966_830, 8615) + // Standard Error: 1_944 + .saturating_add(Weight::from_parts(201_495, 0).saturating_mul(a.into())) + // Standard Error: 7_786 + .saturating_add(Weight::from_parts(78_121, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -169,10 +169,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_486_000 picoseconds. - Weight::from_parts(25_216_335, 4254) - // Standard Error: 2_643 - .saturating_add(Weight::from_parts(67_253, 0).saturating_mul(p.into())) + // Minimum execution time: 22_774_000 picoseconds. + Weight::from_parts(23_508_981, 4254) + // Standard Error: 1_995 + .saturating_add(Weight::from_parts(57_266, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_999_000 picoseconds. - Weight::from_parts(27_109_216, 4254) - // Standard Error: 2_754 - .saturating_add(Weight::from_parts(71_289, 0).saturating_mul(p.into())) + // Minimum execution time: 24_176_000 picoseconds. + Weight::from_parts(25_116_488, 4254) + // Standard Error: 2_252 + .saturating_add(Weight::from_parts(81_351, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -199,10 +199,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_848_000 picoseconds. - Weight::from_parts(26_822_162, 4254) - // Standard Error: 4_056 - .saturating_add(Weight::from_parts(57_793, 0).saturating_mul(p.into())) + // Minimum execution time: 23_885_000 picoseconds. + Weight::from_parts(24_826_897, 4254) + // Standard Error: 2_118 + .saturating_add(Weight::from_parts(43_794, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -213,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_224_850, 4254) - // Standard Error: 2_890 - .saturating_add(Weight::from_parts(26_102, 0).saturating_mul(p.into())) + // Minimum execution time: 24_205_000 picoseconds. + Weight::from_parts(25_413_124, 4254) + // Standard Error: 2_233 + .saturating_add(Weight::from_parts(19_802, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -227,10 +227,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_847_000 picoseconds. - Weight::from_parts(25_942_688, 4254) - // Standard Error: 3_765 - .saturating_add(Weight::from_parts(50_048, 0).saturating_mul(p.into())) + // Minimum execution time: 22_974_000 picoseconds. + Weight::from_parts(24_101_554, 4254) + // Standard Error: 2_152 + .saturating_add(Weight::from_parts(40_416, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -244,8 +244,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 44_584_000 picoseconds. - Weight::from_parts(45_826_000, 8615) + // Minimum execution time: 43_103_000 picoseconds. + Weight::from_parts(43_925_000, 8615) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -258,10 +258,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_766_000 picoseconds. - Weight::from_parts(14_373_774, 4254) - // Standard Error: 2_247 - .saturating_add(Weight::from_parts(42_752, 0).saturating_mul(p.into())) + // Minimum execution time: 11_918_000 picoseconds. + Weight::from_parts(12_471_349, 4254) + // Standard Error: 1_463 + .saturating_add(Weight::from_parts(37_475, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -282,10 +282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 26_350_000 picoseconds. - Weight::from_parts(27_408_803, 4254) - // Standard Error: 3_640 - .saturating_add(Weight::from_parts(65_542, 0).saturating_mul(p.into())) + // Minimum execution time: 23_655_000 picoseconds. + Weight::from_parts(24_505_885, 4254) + // Standard Error: 2_657 + .saturating_add(Weight::from_parts(62_188, 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 +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: 51_918_000 picoseconds. - Weight::from_parts(52_350_307, 8615) - // Standard Error: 1_900 - .saturating_add(Weight::from_parts(216_569, 0).saturating_mul(a.into())) - // Standard Error: 7_612 - .saturating_add(Weight::from_parts(48_719, 0).saturating_mul(p.into())) + // Minimum execution time: 48_722_000 picoseconds. + Weight::from_parts(49_045_820, 8615) + // Standard Error: 1_983 + .saturating_add(Weight::from_parts(229_526, 0).saturating_mul(a.into())) + // Standard Error: 7_945 + .saturating_add(Weight::from_parts(77_781, 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())) @@ -329,12 +329,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_298_000 picoseconds. - Weight::from_parts(25_519_010, 8615) - // Standard Error: 1_285 - .saturating_add(Weight::from_parts(199_662, 0).saturating_mul(a.into())) - // Standard Error: 5_148 - .saturating_add(Weight::from_parts(12_673, 0).saturating_mul(p.into())) + // Minimum execution time: 23_485_000 picoseconds. + Weight::from_parts(24_134_359, 8615) + // Standard Error: 965 + .saturating_add(Weight::from_parts(194_872, 0).saturating_mul(a.into())) + // Standard Error: 3_868 + .saturating_add(Weight::from_parts(15_907, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -348,12 +348,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_387_000 picoseconds. - Weight::from_parts(25_517_797, 8615) - // Standard Error: 1_246 - .saturating_add(Weight::from_parts(193_411, 0).saturating_mul(a.into())) - // Standard Error: 4_993 - .saturating_add(Weight::from_parts(29_999, 0).saturating_mul(p.into())) + // Minimum execution time: 23_484_000 picoseconds. + Weight::from_parts(23_858_853, 8615) + // Standard Error: 971 + .saturating_add(Weight::from_parts(197_198, 0).saturating_mul(a.into())) + // Standard Error: 3_892 + .saturating_add(Weight::from_parts(29_463, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -369,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_732_000 picoseconds. - Weight::from_parts(33_019_988, 8615) - // Standard Error: 1_111 - .saturating_add(Weight::from_parts(194_225, 0).saturating_mul(a.into())) - // Standard Error: 4_452 - .saturating_add(Weight::from_parts(51_072, 0).saturating_mul(p.into())) + // Minimum execution time: 31_146_000 picoseconds. + Weight::from_parts(30_966_830, 8615) + // Standard Error: 1_944 + .saturating_add(Weight::from_parts(201_495, 0).saturating_mul(a.into())) + // Standard Error: 7_786 + .saturating_add(Weight::from_parts(78_121, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -385,10 +385,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_486_000 picoseconds. - Weight::from_parts(25_216_335, 4254) - // Standard Error: 2_643 - .saturating_add(Weight::from_parts(67_253, 0).saturating_mul(p.into())) + // Minimum execution time: 22_774_000 picoseconds. + Weight::from_parts(23_508_981, 4254) + // Standard Error: 1_995 + .saturating_add(Weight::from_parts(57_266, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -401,10 +401,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_999_000 picoseconds. - Weight::from_parts(27_109_216, 4254) - // Standard Error: 2_754 - .saturating_add(Weight::from_parts(71_289, 0).saturating_mul(p.into())) + // Minimum execution time: 24_176_000 picoseconds. + Weight::from_parts(25_116_488, 4254) + // Standard Error: 2_252 + .saturating_add(Weight::from_parts(81_351, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -415,10 +415,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_848_000 picoseconds. - Weight::from_parts(26_822_162, 4254) - // Standard Error: 4_056 - .saturating_add(Weight::from_parts(57_793, 0).saturating_mul(p.into())) + // Minimum execution time: 23_885_000 picoseconds. + Weight::from_parts(24_826_897, 4254) + // Standard Error: 2_118 + .saturating_add(Weight::from_parts(43_794, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -429,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_224_850, 4254) - // Standard Error: 2_890 - .saturating_add(Weight::from_parts(26_102, 0).saturating_mul(p.into())) + // Minimum execution time: 24_205_000 picoseconds. + Weight::from_parts(25_413_124, 4254) + // Standard Error: 2_233 + .saturating_add(Weight::from_parts(19_802, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -443,10 +443,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_847_000 picoseconds. - Weight::from_parts(25_942_688, 4254) - // Standard Error: 3_765 - .saturating_add(Weight::from_parts(50_048, 0).saturating_mul(p.into())) + // Minimum execution time: 22_974_000 picoseconds. + Weight::from_parts(24_101_554, 4254) + // Standard Error: 2_152 + .saturating_add(Weight::from_parts(40_416, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -460,8 +460,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 44_584_000 picoseconds. - Weight::from_parts(45_826_000, 8615) + // Minimum execution time: 43_103_000 picoseconds. + Weight::from_parts(43_925_000, 8615) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -474,10 +474,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_766_000 picoseconds. - Weight::from_parts(14_373_774, 4254) - // Standard Error: 2_247 - .saturating_add(Weight::from_parts(42_752, 0).saturating_mul(p.into())) + // Minimum execution time: 11_918_000 picoseconds. + Weight::from_parts(12_471_349, 4254) + // Standard Error: 1_463 + .saturating_add(Weight::from_parts(37_475, 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 4e759e12e0..843ee85c54 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-05-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 9V74 80-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.bgeSTyDtzW +// --output=/tmp/tmp.9J8Myymcr7 // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -180,6 +180,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::RegistrationsThisBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:1 w:1) /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::BlockAtRegistration` (r:0 w:1) /// Proof: `SubtensorModule::BlockAtRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:0 w:1) @@ -194,10 +196,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1706` // Estimated: `13600` - // Minimum execution time: 355_490_000 picoseconds. - Weight::from_parts(364_739_000, 13600) - .saturating_add(T::DbWeight::get().reads(47_u64)) - .saturating_add(T::DbWeight::get().writes(39_u64)) + // Minimum execution time: 379_290_000 picoseconds. + Weight::from_parts(392_680_000, 13600) + .saturating_add(T::DbWeight::get().reads(48_u64)) + .saturating_add(T::DbWeight::get().writes(40_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -237,8 +239,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `188782` // Estimated: `10327372` - // Minimum execution time: 14_846_685_000 picoseconds. - Weight::from_parts(15_166_549_000, 10327372) + // Minimum execution time: 16_933_861_000 picoseconds. + Weight::from_parts(17_413_920_000, 10327372) .saturating_add(T::DbWeight::get().reads(4112_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -304,10 +306,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2560` + // Measured: `2589` // Estimated: `8727` - // Minimum execution time: 431_592_000 picoseconds. - Weight::from_parts(453_283_000, 8727) + // Minimum execution time: 458_107_000 picoseconds. + Weight::from_parts(467_471_000, 8727) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(18_u64)) } @@ -321,8 +323,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `791` // Estimated: `6731` - // Minimum execution time: 34_354_000 picoseconds. - Weight::from_parts(34_836_000, 6731) + // Minimum execution time: 33_469_000 picoseconds. + Weight::from_parts(34_381_000, 6731) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -336,8 +338,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `764` // Estimated: `6704` - // Minimum execution time: 30_417_000 picoseconds. - Weight::from_parts(31_620_000, 6704) + // Minimum execution time: 28_742_000 picoseconds. + Weight::from_parts(29_884_000, 6704) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -423,6 +425,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::RegistrationsThisBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:1 w:1) /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::BlockAtRegistration` (r:0 w:1) /// Proof: `SubtensorModule::BlockAtRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:0 w:1) @@ -437,10 +441,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1639` // Estimated: `13600` - // Minimum execution time: 364_917_000 picoseconds. - Weight::from_parts(368_714_000, 13600) - .saturating_add(T::DbWeight::get().reads(47_u64)) - .saturating_add(T::DbWeight::get().writes(39_u64)) + // Minimum execution time: 364_929_000 picoseconds. + Weight::from_parts(383_277_000, 13600) + .saturating_add(T::DbWeight::get().reads(48_u64)) + .saturating_add(T::DbWeight::get().writes(40_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -488,10 +492,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: `1415` - // Estimated: `4880` - // Minimum execution time: 100_830_000 picoseconds. - Weight::from_parts(102_322_000, 4880) + // Measured: `1444` + // Estimated: `4909` + // Minimum execution time: 104_294_000 picoseconds. + Weight::from_parts(105_847_000, 4909) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -609,8 +613,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1459` // Estimated: `9874` - // Minimum execution time: 268_496_000 picoseconds. - Weight::from_parts(273_143_000, 9874) + // Minimum execution time: 273_434_000 picoseconds. + Weight::from_parts(278_502_000, 9874) .saturating_add(T::DbWeight::get().reads(42_u64)) .saturating_add(T::DbWeight::get().writes(47_u64)) } @@ -638,8 +642,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1061` // Estimated: `4526` - // Minimum execution time: 60_835_000 picoseconds. - Weight::from_parts(62_007_000, 4526) + // Minimum execution time: 60_789_000 picoseconds. + Weight::from_parts(61_771_000, 4526) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -683,8 +687,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1579` // Estimated: `7519` - // Minimum execution time: 107_622_000 picoseconds. - Weight::from_parts(109_516_000, 7519) + // Minimum execution time: 110_934_000 picoseconds. + Weight::from_parts(113_167_000, 7519) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -694,8 +698,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_260_000 picoseconds. - Weight::from_parts(5_611_000, 0) + // Minimum execution time: 4_177_000 picoseconds. + Weight::from_parts(4_557_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -712,8 +716,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `938` // Estimated: `4403` - // Minimum execution time: 46_848_000 picoseconds. - Weight::from_parts(47_770_000, 4403) + // Minimum execution time: 46_349_000 picoseconds. + Weight::from_parts(47_149_000, 4403) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -729,8 +733,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 45_235_000 picoseconds. - Weight::from_parts(46_999_000, 4159) + // Minimum execution time: 43_664_000 picoseconds. + Weight::from_parts(45_567_000, 4159) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -768,10 +772,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_coldkey_announced() -> Weight { // Proof Size summary in bytes: - // Measured: `2117` - // Estimated: `13007` - // Minimum execution time: 267_614_000 picoseconds. - Weight::from_parts(273_394_000, 13007) + // Measured: `2150` + // Estimated: `13040` + // Minimum execution time: 280_094_000 picoseconds. + Weight::from_parts(283_179_000, 13040) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -815,8 +819,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2210` // Estimated: `13100` - // Minimum execution time: 289_935_000 picoseconds. - Weight::from_parts(294_274_000, 13100) + // Minimum execution time: 305_261_000 picoseconds. + Weight::from_parts(310_759_000, 13100) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } @@ -828,8 +832,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_412_000 picoseconds. - Weight::from_parts(23_364_000, 4130) + // Minimum execution time: 20_461_000 picoseconds. + Weight::from_parts(21_442_000, 4130) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -841,8 +845,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_325_000 picoseconds. - Weight::from_parts(19_206_000, 4078) + // Minimum execution time: 16_835_000 picoseconds. + Weight::from_parts(17_155_000, 4078) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -854,8 +858,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_376_000 picoseconds. - Weight::from_parts(8_697_000, 0) + // Minimum execution time: 7_030_000 picoseconds. + Weight::from_parts(7_451_000, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -898,8 +902,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2084` // Estimated: `8024` - // Minimum execution time: 396_345_000 picoseconds. - Weight::from_parts(408_599_000, 8024) + // Minimum execution time: 423_025_000 picoseconds. + Weight::from_parts(429_425_000, 8024) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -925,14 +929,18 @@ 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: `AlphaAssets::AlphaRecycled` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaRecycled` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AlphaAssets::TotalAlphaIssuance` (r:1 w:1) + /// Proof: `AlphaAssets::TotalAlphaIssuance` (`max_values`: None, `max_size`: None, mode: `Measured`) fn recycle_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1860` - // Estimated: `5325` - // Minimum execution time: 166_603_000 picoseconds. - Weight::from_parts(168_788_000, 5325) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) + // Measured: `1863` + // Estimated: `5328` + // Minimum execution time: 183_551_000 picoseconds. + Weight::from_parts(186_456_000, 5328) + .saturating_add(T::DbWeight::get().reads(13_u64)) + .saturating_add(T::DbWeight::get().writes(6_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -956,14 +964,16 @@ 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: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) fn burn_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1860` - // Estimated: `5325` - // Minimum execution time: 164_650_000 picoseconds. - Weight::from_parts(166_603_000, 5325) - .saturating_add(T::DbWeight::get().reads(11_u64)) - .saturating_add(T::DbWeight::get().writes(3_u64)) + // Measured: `1863` + // Estimated: `5328` + // Minimum execution time: 178_975_000 picoseconds. + Weight::from_parts(180_717_000, 5328) + .saturating_add(T::DbWeight::get().reads(12_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -979,10 +989,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn start_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1079` - // Estimated: `4544` - // Minimum execution time: 38_783_000 picoseconds. - Weight::from_parts(40_136_000, 4544) + // Measured: `1108` + // Estimated: `4573` + // Minimum execution time: 38_898_000 picoseconds. + Weight::from_parts(39_738_000, 4573) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1048,10 +1058,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2560` + // Measured: `2589` // Estimated: `8727` - // Minimum execution time: 465_225_000 picoseconds. - Weight::from_parts(485_933_000, 8727) + // Minimum execution time: 499_388_000 picoseconds. + Weight::from_parts(514_470_000, 8727) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(18_u64)) } @@ -1087,8 +1097,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2002` // Estimated: `7942` - // Minimum execution time: 205_998_000 picoseconds. - Weight::from_parts(208_783_000, 7942) + // Minimum execution time: 221_137_000 picoseconds. + Weight::from_parts(224_893_000, 7942) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -1142,6 +1152,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `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: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) @@ -1150,12 +1162,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2536` - // Estimated: `10951` - // Minimum execution time: 412_326_000 picoseconds. - Weight::from_parts(433_846_000, 10951) - .saturating_add(T::DbWeight::get().reads(34_u64)) - .saturating_add(T::DbWeight::get().writes(14_u64)) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 441_933_000 picoseconds. + Weight::from_parts(456_735_000, 10954) + .saturating_add(T::DbWeight::get().reads(35_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } /// Storage: `SubtensorModule::SubnetMechanism` (r:2 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1205,6 +1217,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `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: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) @@ -1213,12 +1227,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2536` - // Estimated: `10951` - // Minimum execution time: 445_979_000 picoseconds. - Weight::from_parts(451_159_000, 10951) - .saturating_add(T::DbWeight::get().reads(33_u64)) - .saturating_add(T::DbWeight::get().writes(14_u64)) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 477_556_000 picoseconds. + Weight::from_parts(493_910_000, 10954) + .saturating_add(T::DbWeight::get().reads(34_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1270,6 +1284,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) @@ -1282,12 +1298,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2923` - // Estimated: `11338` - // Minimum execution time: 641_075_000 picoseconds. - Weight::from_parts(664_801_000, 11338) - .saturating_add(T::DbWeight::get().reads(48_u64)) - .saturating_add(T::DbWeight::get().writes(25_u64)) + // Measured: `2942` + // Estimated: `11357` + // Minimum execution time: 689_609_000 picoseconds. + Weight::from_parts(707_155_000, 11357) + .saturating_add(T::DbWeight::get().reads(49_u64)) + .saturating_add(T::DbWeight::get().writes(26_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1325,8 +1341,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1996` // Estimated: `7936` - // Minimum execution time: 240_382_000 picoseconds. - Weight::from_parts(243_919_000, 7936) + // Minimum execution time: 251_182_000 picoseconds. + Weight::from_parts(256_639_000, 7936) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1380,6 +1396,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) @@ -1392,12 +1410,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2785` - // Estimated: `11200` - // Minimum execution time: 591_602_000 picoseconds. - Weight::from_parts(613_634_000, 11200) - .saturating_add(T::DbWeight::get().reads(48_u64)) - .saturating_add(T::DbWeight::get().writes(25_u64)) + // Measured: `2788` + // Estimated: `11203` + // Minimum execution time: 636_781_000 picoseconds. + Weight::from_parts(655_549_000, 11203) + .saturating_add(T::DbWeight::get().reads(49_u64)) + .saturating_add(T::DbWeight::get().writes(26_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1423,10 +1441,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::WeightsSetRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1084` - // Estimated: `4549` - // Minimum execution time: 122_971_000 picoseconds. - Weight::from_parts(124_314_000, 4549) + // Measured: `1112` + // Estimated: `4577` + // Minimum execution time: 130_773_000 picoseconds. + Weight::from_parts(136_132_000, 4577) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1466,8 +1484,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1416` // Estimated: `7356` - // Minimum execution time: 100_659_000 picoseconds. - Weight::from_parts(101_972_000, 7356) + // Minimum execution time: 102_912_000 picoseconds. + Weight::from_parts(121_159_000, 7356) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1483,8 +1501,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `793` // Estimated: `4258` - // Minimum execution time: 27_622_000 picoseconds. - Weight::from_parts(29_025_000, 4258) + // Minimum execution time: 26_389_000 picoseconds. + Weight::from_parts(27_781_000, 4258) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1502,8 +1520,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `886` // Estimated: `4351` - // Minimum execution time: 34_876_000 picoseconds. - Weight::from_parts(35_297_000, 4351) + // Minimum execution time: 33_520_000 picoseconds. + Weight::from_parts(34_351_000, 4351) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1621,8 +1639,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1343` // Estimated: `9758` - // Minimum execution time: 263_716_000 picoseconds. - Weight::from_parts(267_293_000, 9758) + // Minimum execution time: 270_830_000 picoseconds. + Weight::from_parts(279_373_000, 9758) .saturating_add(T::DbWeight::get().reads(41_u64)) .saturating_add(T::DbWeight::get().writes(46_u64)) } @@ -1636,8 +1654,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `762` // Estimated: `6702` - // Minimum execution time: 33_633_000 picoseconds. - Weight::from_parts(34_445_000, 6702) + // Minimum execution time: 32_648_000 picoseconds. + Weight::from_parts(33_960_000, 6702) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1651,8 +1669,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `842` // Estimated: `6782` - // Minimum execution time: 30_758_000 picoseconds. - Weight::from_parts(31_870_000, 6782) + // Minimum execution time: 29_654_000 picoseconds. + Weight::from_parts(31_146_000, 6782) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1664,8 +1682,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_412_000 picoseconds. - Weight::from_parts(17_964_000, 4060) + // Minimum execution time: 15_783_000 picoseconds. + Weight::from_parts(16_294_000, 4060) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1739,8 +1757,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3026` // Estimated: `28766` - // Minimum execution time: 1_118_497_000 picoseconds. - Weight::from_parts(1_127_995_000, 28766) + // Minimum execution time: 1_180_004_000 picoseconds. + Weight::from_parts(1_195_206_000, 28766) .saturating_add(T::DbWeight::get().reads(166_u64)) .saturating_add(T::DbWeight::get().writes(95_u64)) } @@ -1754,8 +1772,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `745` // Estimated: `4210` - // Minimum execution time: 23_785_000 picoseconds. - Weight::from_parts(24_536_000, 4210) + // Minimum execution time: 22_654_000 picoseconds. + Weight::from_parts(23_435_000, 4210) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1769,8 +1787,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `740` // Estimated: `9155` - // Minimum execution time: 27_242_000 picoseconds. - Weight::from_parts(27_693_000, 9155) + // Minimum execution time: 24_656_000 picoseconds. + Weight::from_parts(25_738_000, 9155) .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -1823,6 +1841,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:4 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RootClaimable` (r:1 w:0) @@ -1837,12 +1857,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unstake_all_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `2614` + // Measured: `2617` // Estimated: `11306` - // Minimum execution time: 545_167_000 picoseconds. - Weight::from_parts(569_493_000, 11306) - .saturating_add(T::DbWeight::get().reads(49_u64)) - .saturating_add(T::DbWeight::get().writes(26_u64)) + // Minimum execution time: 580_948_000 picoseconds. + Weight::from_parts(602_139_000, 11306) + .saturating_add(T::DbWeight::get().reads(50_u64)) + .saturating_add(T::DbWeight::get().writes(27_u64)) } /// Storage: `SubtensorModule::Alpha` (r:1 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1892,6 +1912,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `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: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) @@ -1900,12 +1922,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_full_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2536` - // Estimated: `10951` - // Minimum execution time: 468_592_000 picoseconds. - Weight::from_parts(490_254_000, 10951) - .saturating_add(T::DbWeight::get().reads(33_u64)) - .saturating_add(T::DbWeight::get().writes(14_u64)) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 500_910_000 picoseconds. + Weight::from_parts(505_727_000, 10954) + .saturating_add(T::DbWeight::get().reads(34_u64)) + .saturating_add(T::DbWeight::get().writes(15_u64)) } /// Storage: `Crowdloan::CurrentCrowdloanId` (r:1 w:0) /// Proof: `Crowdloan::CurrentCrowdloanId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -2040,10 +2062,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1762 + k * (44 ±0)` // Estimated: `10183 + k * (2579 ±0)` - // Minimum execution time: 468_092_000 picoseconds. - Weight::from_parts(285_158_564, 10183) - // Standard Error: 22_583 - .saturating_add(Weight::from_parts(45_494_972, 0).saturating_mul(k.into())) + // Minimum execution time: 487_811_000 picoseconds. + Weight::from_parts(236_166_098, 10183) + // Standard Error: 37_524 + .saturating_add(Weight::from_parts(49_627_016, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(52_u64)) @@ -2073,10 +2095,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1447 + k * (53 ±0)` // Estimated: `6148 + k * (2514 ±0)` - // Minimum execution time: 92_805_000 picoseconds. - Weight::from_parts(131_135_086, 6148) - // Standard Error: 6_682 - .saturating_add(Weight::from_parts(1_630_520, 0).saturating_mul(k.into())) + // Minimum execution time: 94_149_000 picoseconds. + Weight::from_parts(89_099_704, 6148) + // Standard Error: 6_179 + .saturating_add(Weight::from_parts(1_635_207, 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)) @@ -2091,8 +2113,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `649` // Estimated: `9064` - // Minimum execution time: 27_632_000 picoseconds. - Weight::from_parts(29_085_000, 9064) + // Minimum execution time: 24_676_000 picoseconds. + Weight::from_parts(25_979_000, 9064) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2120,8 +2142,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1060` // Estimated: `4525` - // Minimum execution time: 73_969_000 picoseconds. - Weight::from_parts(76_133_000, 4525) + // Minimum execution time: 73_199_000 picoseconds. + Weight::from_parts(74_390_000, 4525) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2137,8 +2159,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `799` // Estimated: `4264` - // Minimum execution time: 33_843_000 picoseconds. - Weight::from_parts(34_686_000, 4264) + // Minimum execution time: 31_967_000 picoseconds. + Weight::from_parts(32_889_000, 4264) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2154,8 +2176,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_483_000 picoseconds. - Weight::from_parts(17_994_000, 3941) + // Minimum execution time: 15_593_000 picoseconds. + Weight::from_parts(16_365_000, 3941) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2185,8 +2207,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1908` // Estimated: `7848` - // Minimum execution time: 132_329_000 picoseconds. - Weight::from_parts(134_352_000, 7848) + // Minimum execution time: 137_734_000 picoseconds. + Weight::from_parts(139_396_000, 7848) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2196,8 +2218,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_595_000 picoseconds. - Weight::from_parts(2_805_000, 0) + // Minimum execution time: 2_013_000 picoseconds. + Weight::from_parts(2_253_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -2206,8 +2228,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_180_000 picoseconds. - Weight::from_parts(5_821_000, 0) + // Minimum execution time: 4_467_000 picoseconds. + Weight::from_parts(5_107_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2220,17 +2242,11 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `852` // Estimated: `4317` - // Minimum execution time: 27_352_000 picoseconds. - Weight::from_parts(28_503_000, 4317) + // Minimum execution time: 24_486_000 picoseconds. + Weight::from_parts(25_578_000, 4317) .saturating_add(T::DbWeight::get().reads(2_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::LastRateLimitedBlock` (r:1 w:1) - /// Proof: `SubtensorModule::LastRateLimitedBlock` (`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::SubnetMechanism` (r:1 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) @@ -2287,17 +2303,19 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:0 w:1) /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `2617` + // Measured: `2592` // Estimated: `8727` - // Minimum execution time: 595_879_000 picoseconds. - Weight::from_parts(616_657_000, 8727) - .saturating_add(T::DbWeight::get().reads(36_u64)) + // Minimum execution time: 642_089_000 picoseconds. + Weight::from_parts(658_153_000, 8727) + .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } /// Storage: `SubtensorModule::PendingChildKeyCooldown` (r:0 w:1) @@ -2306,8 +2324,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_575_000 picoseconds. - Weight::from_parts(2_725_000, 0) + // Minimum execution time: 1_953_000 picoseconds. + Weight::from_parts(2_224_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) @@ -2330,8 +2348,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1463` // Estimated: `4928` - // Minimum execution time: 90_731_000 picoseconds. - Weight::from_parts(92_755_000, 4928) + // Minimum execution time: 97_274_000 picoseconds. + Weight::from_parts(98_896_000, 4928) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2347,8 +2365,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 70_652_000 picoseconds. - Weight::from_parts(72_135_000, 6918) + // Minimum execution time: 75_352_000 picoseconds. + Weight::from_parts(76_473_000, 6918) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2366,8 +2384,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `7242` - // Minimum execution time: 93_155_000 picoseconds. - Weight::from_parts(94_457_000, 7242) + // Minimum execution time: 98_986_000 picoseconds. + Weight::from_parts(99_987_000, 7242) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2457,6 +2475,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::RegistrationsThisBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:1 w:1) /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::BlockAtRegistration` (r:0 w:1) /// Proof: `SubtensorModule::BlockAtRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:0 w:1) @@ -2471,10 +2491,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1706` // Estimated: `13600` - // Minimum execution time: 355_490_000 picoseconds. - Weight::from_parts(364_739_000, 13600) - .saturating_add(RocksDbWeight::get().reads(47_u64)) - .saturating_add(RocksDbWeight::get().writes(39_u64)) + // Minimum execution time: 379_290_000 picoseconds. + Weight::from_parts(392_680_000, 13600) + .saturating_add(RocksDbWeight::get().reads(48_u64)) + .saturating_add(RocksDbWeight::get().writes(40_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) /// Proof: `SubtensorModule::CommitRevealWeightsEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2514,8 +2534,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `188782` // Estimated: `10327372` - // Minimum execution time: 14_846_685_000 picoseconds. - Weight::from_parts(15_166_549_000, 10327372) + // Minimum execution time: 16_933_861_000 picoseconds. + Weight::from_parts(17_413_920_000, 10327372) .saturating_add(RocksDbWeight::get().reads(4112_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2581,10 +2601,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2560` + // Measured: `2589` // Estimated: `8727` - // Minimum execution time: 431_592_000 picoseconds. - Weight::from_parts(453_283_000, 8727) + // Minimum execution time: 458_107_000 picoseconds. + Weight::from_parts(467_471_000, 8727) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(18_u64)) } @@ -2598,8 +2618,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `791` // Estimated: `6731` - // Minimum execution time: 34_354_000 picoseconds. - Weight::from_parts(34_836_000, 6731) + // Minimum execution time: 33_469_000 picoseconds. + Weight::from_parts(34_381_000, 6731) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2613,8 +2633,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `764` // Estimated: `6704` - // Minimum execution time: 30_417_000 picoseconds. - Weight::from_parts(31_620_000, 6704) + // Minimum execution time: 28_742_000 picoseconds. + Weight::from_parts(29_884_000, 6704) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2700,6 +2720,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::RegistrationsThisBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:1 w:1) /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::BlockAtRegistration` (r:0 w:1) /// Proof: `SubtensorModule::BlockAtRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:0 w:1) @@ -2714,10 +2736,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1639` // Estimated: `13600` - // Minimum execution time: 364_917_000 picoseconds. - Weight::from_parts(368_714_000, 13600) - .saturating_add(RocksDbWeight::get().reads(47_u64)) - .saturating_add(RocksDbWeight::get().writes(39_u64)) + // Minimum execution time: 364_929_000 picoseconds. + Weight::from_parts(383_277_000, 13600) + .saturating_add(RocksDbWeight::get().reads(48_u64)) + .saturating_add(RocksDbWeight::get().writes(40_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2765,10 +2787,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: `1415` - // Estimated: `4880` - // Minimum execution time: 100_830_000 picoseconds. - Weight::from_parts(102_322_000, 4880) + // Measured: `1444` + // Estimated: `4909` + // Minimum execution time: 104_294_000 picoseconds. + Weight::from_parts(105_847_000, 4909) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -2886,8 +2908,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1459` // Estimated: `9874` - // Minimum execution time: 268_496_000 picoseconds. - Weight::from_parts(273_143_000, 9874) + // Minimum execution time: 273_434_000 picoseconds. + Weight::from_parts(278_502_000, 9874) .saturating_add(RocksDbWeight::get().reads(42_u64)) .saturating_add(RocksDbWeight::get().writes(47_u64)) } @@ -2915,8 +2937,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1061` // Estimated: `4526` - // Minimum execution time: 60_835_000 picoseconds. - Weight::from_parts(62_007_000, 4526) + // Minimum execution time: 60_789_000 picoseconds. + Weight::from_parts(61_771_000, 4526) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2960,8 +2982,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1579` // Estimated: `7519` - // Minimum execution time: 107_622_000 picoseconds. - Weight::from_parts(109_516_000, 7519) + // Minimum execution time: 110_934_000 picoseconds. + Weight::from_parts(113_167_000, 7519) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2971,8 +2993,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_260_000 picoseconds. - Weight::from_parts(5_611_000, 0) + // Minimum execution time: 4_177_000 picoseconds. + Weight::from_parts(4_557_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2989,8 +3011,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `938` // Estimated: `4403` - // Minimum execution time: 46_848_000 picoseconds. - Weight::from_parts(47_770_000, 4403) + // Minimum execution time: 46_349_000 picoseconds. + Weight::from_parts(47_149_000, 4403) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3006,8 +3028,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 45_235_000 picoseconds. - Weight::from_parts(46_999_000, 4159) + // Minimum execution time: 43_664_000 picoseconds. + Weight::from_parts(45_567_000, 4159) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3045,10 +3067,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_coldkey_announced() -> Weight { // Proof Size summary in bytes: - // Measured: `2117` - // Estimated: `13007` - // Minimum execution time: 267_614_000 picoseconds. - Weight::from_parts(273_394_000, 13007) + // Measured: `2150` + // Estimated: `13040` + // Minimum execution time: 280_094_000 picoseconds. + Weight::from_parts(283_179_000, 13040) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -3092,8 +3114,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2210` // Estimated: `13100` - // Minimum execution time: 289_935_000 picoseconds. - Weight::from_parts(294_274_000, 13100) + // Minimum execution time: 305_261_000 picoseconds. + Weight::from_parts(310_759_000, 13100) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } @@ -3105,8 +3127,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_412_000 picoseconds. - Weight::from_parts(23_364_000, 4130) + // Minimum execution time: 20_461_000 picoseconds. + Weight::from_parts(21_442_000, 4130) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3118,8 +3140,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_325_000 picoseconds. - Weight::from_parts(19_206_000, 4078) + // Minimum execution time: 16_835_000 picoseconds. + Weight::from_parts(17_155_000, 4078) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3131,8 +3153,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_376_000 picoseconds. - Weight::from_parts(8_697_000, 0) + // Minimum execution time: 7_030_000 picoseconds. + Weight::from_parts(7_451_000, 0) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -3175,8 +3197,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2084` // Estimated: `8024` - // Minimum execution time: 396_345_000 picoseconds. - Weight::from_parts(408_599_000, 8024) + // Minimum execution time: 423_025_000 picoseconds. + Weight::from_parts(429_425_000, 8024) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3202,14 +3224,18 @@ 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: `AlphaAssets::AlphaRecycled` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaRecycled` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AlphaAssets::TotalAlphaIssuance` (r:1 w:1) + /// Proof: `AlphaAssets::TotalAlphaIssuance` (`max_values`: None, `max_size`: None, mode: `Measured`) fn recycle_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1860` - // Estimated: `5325` - // Minimum execution time: 166_603_000 picoseconds. - Weight::from_parts(168_788_000, 5325) - .saturating_add(RocksDbWeight::get().reads(11_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) + // Measured: `1863` + // Estimated: `5328` + // Minimum execution time: 183_551_000 picoseconds. + Weight::from_parts(186_456_000, 5328) + .saturating_add(RocksDbWeight::get().reads(13_u64)) + .saturating_add(RocksDbWeight::get().writes(6_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3233,14 +3259,16 @@ 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: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) fn burn_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1860` - // Estimated: `5325` - // Minimum execution time: 164_650_000 picoseconds. - Weight::from_parts(166_603_000, 5325) - .saturating_add(RocksDbWeight::get().reads(11_u64)) - .saturating_add(RocksDbWeight::get().writes(3_u64)) + // Measured: `1863` + // Estimated: `5328` + // Minimum execution time: 178_975_000 picoseconds. + Weight::from_parts(180_717_000, 5328) + .saturating_add(RocksDbWeight::get().reads(12_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3256,10 +3284,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn start_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1079` - // Estimated: `4544` - // Minimum execution time: 38_783_000 picoseconds. - Weight::from_parts(40_136_000, 4544) + // Measured: `1108` + // Estimated: `4573` + // Minimum execution time: 38_898_000 picoseconds. + Weight::from_parts(39_738_000, 4573) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3325,10 +3353,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2560` + // Measured: `2589` // Estimated: `8727` - // Minimum execution time: 465_225_000 picoseconds. - Weight::from_parts(485_933_000, 8727) + // Minimum execution time: 499_388_000 picoseconds. + Weight::from_parts(514_470_000, 8727) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(18_u64)) } @@ -3364,8 +3392,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2002` // Estimated: `7942` - // Minimum execution time: 205_998_000 picoseconds. - Weight::from_parts(208_783_000, 7942) + // Minimum execution time: 221_137_000 picoseconds. + Weight::from_parts(224_893_000, 7942) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -3419,6 +3447,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `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: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) @@ -3427,12 +3457,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2536` - // Estimated: `10951` - // Minimum execution time: 412_326_000 picoseconds. - Weight::from_parts(433_846_000, 10951) - .saturating_add(RocksDbWeight::get().reads(34_u64)) - .saturating_add(RocksDbWeight::get().writes(14_u64)) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 441_933_000 picoseconds. + Weight::from_parts(456_735_000, 10954) + .saturating_add(RocksDbWeight::get().reads(35_u64)) + .saturating_add(RocksDbWeight::get().writes(15_u64)) } /// Storage: `SubtensorModule::SubnetMechanism` (r:2 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3482,6 +3512,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `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: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) @@ -3490,12 +3522,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2536` - // Estimated: `10951` - // Minimum execution time: 445_979_000 picoseconds. - Weight::from_parts(451_159_000, 10951) - .saturating_add(RocksDbWeight::get().reads(33_u64)) - .saturating_add(RocksDbWeight::get().writes(14_u64)) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 477_556_000 picoseconds. + Weight::from_parts(493_910_000, 10954) + .saturating_add(RocksDbWeight::get().reads(34_u64)) + .saturating_add(RocksDbWeight::get().writes(15_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3547,6 +3579,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) @@ -3559,12 +3593,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2923` - // Estimated: `11338` - // Minimum execution time: 641_075_000 picoseconds. - Weight::from_parts(664_801_000, 11338) - .saturating_add(RocksDbWeight::get().reads(48_u64)) - .saturating_add(RocksDbWeight::get().writes(25_u64)) + // Measured: `2942` + // Estimated: `11357` + // Minimum execution time: 689_609_000 picoseconds. + Weight::from_parts(707_155_000, 11357) + .saturating_add(RocksDbWeight::get().reads(49_u64)) + .saturating_add(RocksDbWeight::get().writes(26_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3602,8 +3636,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1996` // Estimated: `7936` - // Minimum execution time: 240_382_000 picoseconds. - Weight::from_parts(243_919_000, 7936) + // Minimum execution time: 251_182_000 picoseconds. + Weight::from_parts(256_639_000, 7936) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3657,6 +3691,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:3 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) @@ -3669,12 +3705,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2785` - // Estimated: `11200` - // Minimum execution time: 591_602_000 picoseconds. - Weight::from_parts(613_634_000, 11200) - .saturating_add(RocksDbWeight::get().reads(48_u64)) - .saturating_add(RocksDbWeight::get().writes(25_u64)) + // Measured: `2788` + // Estimated: `11203` + // Minimum execution time: 636_781_000 picoseconds. + Weight::from_parts(655_549_000, 11203) + .saturating_add(RocksDbWeight::get().reads(49_u64)) + .saturating_add(RocksDbWeight::get().writes(26_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3700,10 +3736,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::WeightsSetRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1084` - // Estimated: `4549` - // Minimum execution time: 122_971_000 picoseconds. - Weight::from_parts(124_314_000, 4549) + // Measured: `1112` + // Estimated: `4577` + // Minimum execution time: 130_773_000 picoseconds. + Weight::from_parts(136_132_000, 4577) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3743,8 +3779,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1416` // Estimated: `7356` - // Minimum execution time: 100_659_000 picoseconds. - Weight::from_parts(101_972_000, 7356) + // Minimum execution time: 102_912_000 picoseconds. + Weight::from_parts(121_159_000, 7356) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3760,8 +3796,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `793` // Estimated: `4258` - // Minimum execution time: 27_622_000 picoseconds. - Weight::from_parts(29_025_000, 4258) + // Minimum execution time: 26_389_000 picoseconds. + Weight::from_parts(27_781_000, 4258) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3779,8 +3815,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `886` // Estimated: `4351` - // Minimum execution time: 34_876_000 picoseconds. - Weight::from_parts(35_297_000, 4351) + // Minimum execution time: 33_520_000 picoseconds. + Weight::from_parts(34_351_000, 4351) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3898,8 +3934,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1343` // Estimated: `9758` - // Minimum execution time: 263_716_000 picoseconds. - Weight::from_parts(267_293_000, 9758) + // Minimum execution time: 270_830_000 picoseconds. + Weight::from_parts(279_373_000, 9758) .saturating_add(RocksDbWeight::get().reads(41_u64)) .saturating_add(RocksDbWeight::get().writes(46_u64)) } @@ -3913,8 +3949,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `762` // Estimated: `6702` - // Minimum execution time: 33_633_000 picoseconds. - Weight::from_parts(34_445_000, 6702) + // Minimum execution time: 32_648_000 picoseconds. + Weight::from_parts(33_960_000, 6702) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3928,8 +3964,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `842` // Estimated: `6782` - // Minimum execution time: 30_758_000 picoseconds. - Weight::from_parts(31_870_000, 6782) + // Minimum execution time: 29_654_000 picoseconds. + Weight::from_parts(31_146_000, 6782) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3941,8 +3977,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_412_000 picoseconds. - Weight::from_parts(17_964_000, 4060) + // Minimum execution time: 15_783_000 picoseconds. + Weight::from_parts(16_294_000, 4060) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4016,8 +4052,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3026` // Estimated: `28766` - // Minimum execution time: 1_118_497_000 picoseconds. - Weight::from_parts(1_127_995_000, 28766) + // Minimum execution time: 1_180_004_000 picoseconds. + Weight::from_parts(1_195_206_000, 28766) .saturating_add(RocksDbWeight::get().reads(166_u64)) .saturating_add(RocksDbWeight::get().writes(95_u64)) } @@ -4031,8 +4067,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `745` // Estimated: `4210` - // Minimum execution time: 23_785_000 picoseconds. - Weight::from_parts(24_536_000, 4210) + // Minimum execution time: 22_654_000 picoseconds. + Weight::from_parts(23_435_000, 4210) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4046,8 +4082,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `740` // Estimated: `9155` - // Minimum execution time: 27_242_000 picoseconds. - Weight::from_parts(27_693_000, 9155) + // Minimum execution time: 24_656_000 picoseconds. + Weight::from_parts(25_738_000, 9155) .saturating_add(RocksDbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4100,6 +4136,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:4 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RootClaimable` (r:1 w:0) @@ -4114,12 +4152,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unstake_all_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `2614` + // Measured: `2617` // Estimated: `11306` - // Minimum execution time: 545_167_000 picoseconds. - Weight::from_parts(569_493_000, 11306) - .saturating_add(RocksDbWeight::get().reads(49_u64)) - .saturating_add(RocksDbWeight::get().writes(26_u64)) + // Minimum execution time: 580_948_000 picoseconds. + Weight::from_parts(602_139_000, 11306) + .saturating_add(RocksDbWeight::get().reads(50_u64)) + .saturating_add(RocksDbWeight::get().writes(27_u64)) } /// Storage: `SubtensorModule::Alpha` (r:1 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -4169,6 +4207,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `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: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) @@ -4177,12 +4217,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_full_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2536` - // Estimated: `10951` - // Minimum execution time: 468_592_000 picoseconds. - Weight::from_parts(490_254_000, 10951) - .saturating_add(RocksDbWeight::get().reads(33_u64)) - .saturating_add(RocksDbWeight::get().writes(14_u64)) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 500_910_000 picoseconds. + Weight::from_parts(505_727_000, 10954) + .saturating_add(RocksDbWeight::get().reads(34_u64)) + .saturating_add(RocksDbWeight::get().writes(15_u64)) } /// Storage: `Crowdloan::CurrentCrowdloanId` (r:1 w:0) /// Proof: `Crowdloan::CurrentCrowdloanId` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -4317,10 +4357,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1762 + k * (44 ±0)` // Estimated: `10183 + k * (2579 ±0)` - // Minimum execution time: 468_092_000 picoseconds. - Weight::from_parts(285_158_564, 10183) - // Standard Error: 22_583 - .saturating_add(Weight::from_parts(45_494_972, 0).saturating_mul(k.into())) + // Minimum execution time: 487_811_000 picoseconds. + Weight::from_parts(236_166_098, 10183) + // Standard Error: 37_524 + .saturating_add(Weight::from_parts(49_627_016, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(52_u64)) @@ -4350,10 +4390,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1447 + k * (53 ±0)` // Estimated: `6148 + k * (2514 ±0)` - // Minimum execution time: 92_805_000 picoseconds. - Weight::from_parts(131_135_086, 6148) - // Standard Error: 6_682 - .saturating_add(Weight::from_parts(1_630_520, 0).saturating_mul(k.into())) + // Minimum execution time: 94_149_000 picoseconds. + Weight::from_parts(89_099_704, 6148) + // Standard Error: 6_179 + .saturating_add(Weight::from_parts(1_635_207, 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)) @@ -4368,8 +4408,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `649` // Estimated: `9064` - // Minimum execution time: 27_632_000 picoseconds. - Weight::from_parts(29_085_000, 9064) + // Minimum execution time: 24_676_000 picoseconds. + Weight::from_parts(25_979_000, 9064) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4397,8 +4437,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1060` // Estimated: `4525` - // Minimum execution time: 73_969_000 picoseconds. - Weight::from_parts(76_133_000, 4525) + // Minimum execution time: 73_199_000 picoseconds. + Weight::from_parts(74_390_000, 4525) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4414,8 +4454,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `799` // Estimated: `4264` - // Minimum execution time: 33_843_000 picoseconds. - Weight::from_parts(34_686_000, 4264) + // Minimum execution time: 31_967_000 picoseconds. + Weight::from_parts(32_889_000, 4264) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4431,8 +4471,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_483_000 picoseconds. - Weight::from_parts(17_994_000, 3941) + // Minimum execution time: 15_593_000 picoseconds. + Weight::from_parts(16_365_000, 3941) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4462,8 +4502,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1908` // Estimated: `7848` - // Minimum execution time: 132_329_000 picoseconds. - Weight::from_parts(134_352_000, 7848) + // Minimum execution time: 137_734_000 picoseconds. + Weight::from_parts(139_396_000, 7848) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4473,8 +4513,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_595_000 picoseconds. - Weight::from_parts(2_805_000, 0) + // Minimum execution time: 2_013_000 picoseconds. + Weight::from_parts(2_253_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -4483,8 +4523,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_180_000 picoseconds. - Weight::from_parts(5_821_000, 0) + // Minimum execution time: 4_467_000 picoseconds. + Weight::from_parts(5_107_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4497,17 +4537,11 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `852` // Estimated: `4317` - // Minimum execution time: 27_352_000 picoseconds. - Weight::from_parts(28_503_000, 4317) + // Minimum execution time: 24_486_000 picoseconds. + Weight::from_parts(25_578_000, 4317) .saturating_add(RocksDbWeight::get().reads(2_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::LastRateLimitedBlock` (r:1 w:1) - /// Proof: `SubtensorModule::LastRateLimitedBlock` (`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::SubnetMechanism` (r:1 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) @@ -4564,17 +4598,19 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `AlphaAssets::AlphaBurned` (r:1 w:1) + /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:0 w:1) /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `2617` + // Measured: `2592` // Estimated: `8727` - // Minimum execution time: 595_879_000 picoseconds. - Weight::from_parts(616_657_000, 8727) - .saturating_add(RocksDbWeight::get().reads(36_u64)) + // Minimum execution time: 642_089_000 picoseconds. + Weight::from_parts(658_153_000, 8727) + .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } /// Storage: `SubtensorModule::PendingChildKeyCooldown` (r:0 w:1) @@ -4583,8 +4619,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_575_000 picoseconds. - Weight::from_parts(2_725_000, 0) + // Minimum execution time: 1_953_000 picoseconds. + Weight::from_parts(2_224_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) @@ -4607,8 +4643,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1463` // Estimated: `4928` - // Minimum execution time: 90_731_000 picoseconds. - Weight::from_parts(92_755_000, 4928) + // Minimum execution time: 97_274_000 picoseconds. + Weight::from_parts(98_896_000, 4928) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4624,8 +4660,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 70_652_000 picoseconds. - Weight::from_parts(72_135_000, 6918) + // Minimum execution time: 75_352_000 picoseconds. + Weight::from_parts(76_473_000, 6918) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4643,8 +4679,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `7242` - // Minimum execution time: 93_155_000 picoseconds. - Weight::from_parts(94_457_000, 7242) + // Minimum execution time: 98_986_000 picoseconds. + Weight::from_parts(99_987_000, 7242) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } diff --git a/pallets/utility/src/weights.rs b/pallets/utility/src/weights.rs index 462804199f..f84aa14518 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-05-05, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 9V74 80-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.4nwfKx4NPm +// --output=/tmp/tmp.m8O1nVKPH7 // --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_859_000 picoseconds. - Weight::from_parts(28_407_150, 3983) - // Standard Error: 6_395 - .saturating_add(Weight::from_parts(5_254_263, 0).saturating_mul(c.into())) + // Minimum execution time: 4_036_000 picoseconds. + Weight::from_parts(21_666_589, 3983) + // Standard Error: 2_677 + .saturating_add(Weight::from_parts(5_358_856, 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_828_000 picoseconds. - Weight::from_parts(15_318_000, 3983) + // Minimum execution time: 13_500_000 picoseconds. + Weight::from_parts(13_971_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_528_000 picoseconds. - Weight::from_parts(18_871_700, 3983) - // Standard Error: 1_818 - .saturating_add(Weight::from_parts(5_525_521, 0).saturating_mul(c.into())) + // Minimum execution time: 3_966_000 picoseconds. + Weight::from_parts(8_207_909, 3983) + // Standard Error: 9_805 + .saturating_add(Weight::from_parts(5_646_519, 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_562_000 picoseconds. - Weight::from_parts(6_823_000, 0) + // Minimum execution time: 5_508_000 picoseconds. + Weight::from_parts(5_889_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_939_000 picoseconds. - Weight::from_parts(12_544_904, 3983) - // Standard Error: 3_006 - .saturating_add(Weight::from_parts(5_296_996, 0).saturating_mul(c.into())) + // Minimum execution time: 4_006_000 picoseconds. + Weight::from_parts(6_706_447, 3983) + // Standard Error: 9_208 + .saturating_add(Weight::from_parts(5_367_368, 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_472_000 picoseconds. - Weight::from_parts(6_862_000, 0) + // Minimum execution time: 5_719_000 picoseconds. + Weight::from_parts(5_908_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_039_000 picoseconds. - Weight::from_parts(21_600_000, 3983) + // Minimum execution time: 19_419_000 picoseconds. + Weight::from_parts(19_869_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_859_000 picoseconds. - Weight::from_parts(28_407_150, 3983) - // Standard Error: 6_395 - .saturating_add(Weight::from_parts(5_254_263, 0).saturating_mul(c.into())) + // Minimum execution time: 4_036_000 picoseconds. + Weight::from_parts(21_666_589, 3983) + // Standard Error: 2_677 + .saturating_add(Weight::from_parts(5_358_856, 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_828_000 picoseconds. - Weight::from_parts(15_318_000, 3983) + // Minimum execution time: 13_500_000 picoseconds. + Weight::from_parts(13_971_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_528_000 picoseconds. - Weight::from_parts(18_871_700, 3983) - // Standard Error: 1_818 - .saturating_add(Weight::from_parts(5_525_521, 0).saturating_mul(c.into())) + // Minimum execution time: 3_966_000 picoseconds. + Weight::from_parts(8_207_909, 3983) + // Standard Error: 9_805 + .saturating_add(Weight::from_parts(5_646_519, 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_562_000 picoseconds. - Weight::from_parts(6_823_000, 0) + // Minimum execution time: 5_508_000 picoseconds. + Weight::from_parts(5_889_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_939_000 picoseconds. - Weight::from_parts(12_544_904, 3983) - // Standard Error: 3_006 - .saturating_add(Weight::from_parts(5_296_996, 0).saturating_mul(c.into())) + // Minimum execution time: 4_006_000 picoseconds. + Weight::from_parts(6_706_447, 3983) + // Standard Error: 9_208 + .saturating_add(Weight::from_parts(5_367_368, 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_472_000 picoseconds. - Weight::from_parts(6_862_000, 0) + // Minimum execution time: 5_719_000 picoseconds. + Weight::from_parts(5_908_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_039_000 picoseconds. - Weight::from_parts(21_600_000, 3983) + // Minimum execution time: 19_419_000 picoseconds. + Weight::from_parts(19_869_000, 3983) .saturating_add(RocksDbWeight::get().reads(2_u64)) } }