diff --git a/pallets/proxy/src/weights.rs b/pallets/proxy/src/weights.rs index 01c74167c6..47a25c45f5 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-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-04-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervm35a4x`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.9EbSf4VvRZ +// --output=/tmp/tmp.08ToYZtPAe // --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: 25_647_000 picoseconds. - Weight::from_parts(26_843_168, 4254) - // Standard Error: 3_436 - .saturating_add(Weight::from_parts(63_244, 0).saturating_mul(p.into())) + // Minimum execution time: 26_560_000 picoseconds. + Weight::from_parts(27_869_569, 4254) + // Standard Error: 3_626 + .saturating_add(Weight::from_parts(70_793, 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,10 +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: 49_944_000 picoseconds. - Weight::from_parts(52_503_282, 8615) - // Standard Error: 2_497 - .saturating_add(Weight::from_parts(216_567, 0).saturating_mul(a.into())) + // Minimum execution time: 51_907_000 picoseconds. + Weight::from_parts(52_690_790, 8615) + // Standard Error: 2_165 + .saturating_add(Weight::from_parts(218_079, 0).saturating_mul(a.into())) + // Standard Error: 8_673 + .saturating_add(Weight::from_parts(46_409, 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())) @@ -111,12 +113,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 24_506_000 picoseconds. - Weight::from_parts(24_531_799, 8615) - // Standard Error: 1_117 - .saturating_add(Weight::from_parts(191_518, 0).saturating_mul(a.into())) - // Standard Error: 4_477 - .saturating_add(Weight::from_parts(47_993, 0).saturating_mul(p.into())) + // Minimum execution time: 25_337_000 picoseconds. + Weight::from_parts(25_516_899, 8615) + // Standard Error: 1_227 + .saturating_add(Weight::from_parts(192_126, 0).saturating_mul(a.into())) + // Standard Error: 4_914 + .saturating_add(Weight::from_parts(27_993, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -130,12 +132,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 24_646_000 picoseconds. - Weight::from_parts(25_377_466, 8615) - // Standard Error: 1_170 - .saturating_add(Weight::from_parts(191_897, 0).saturating_mul(a.into())) - // Standard Error: 4_688 - .saturating_add(Weight::from_parts(10_603, 0).saturating_mul(p.into())) + // Minimum execution time: 25_608_000 picoseconds. + Weight::from_parts(25_592_264, 8615) + // Standard Error: 1_278 + .saturating_add(Weight::from_parts(194_773, 0).saturating_mul(a.into())) + // Standard Error: 5_118 + .saturating_add(Weight::from_parts(27_733, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -151,12 +153,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 31_980_000 picoseconds. - Weight::from_parts(32_625_067, 8615) - // Standard Error: 1_191 - .saturating_add(Weight::from_parts(194_396, 0).saturating_mul(a.into())) - // Standard Error: 4_771 - .saturating_add(Weight::from_parts(32_404, 0).saturating_mul(p.into())) + // Minimum execution time: 32_841_000 picoseconds. + Weight::from_parts(33_193_276, 8615) + // Standard Error: 1_207 + .saturating_add(Weight::from_parts(192_805, 0).saturating_mul(a.into())) + // Standard Error: 4_837 + .saturating_add(Weight::from_parts(51_762, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -167,10 +169,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 23_393_000 picoseconds. - Weight::from_parts(24_228_885, 4254) - // Standard Error: 2_353 - .saturating_add(Weight::from_parts(59_058, 0).saturating_mul(p.into())) + // Minimum execution time: 24_095_000 picoseconds. + Weight::from_parts(25_053_001, 4254) + // Standard Error: 2_305 + .saturating_add(Weight::from_parts(75_973, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -183,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_886_000 picoseconds. - Weight::from_parts(26_026_566, 4254) - // Standard Error: 2_820 - .saturating_add(Weight::from_parts(61_530, 0).saturating_mul(p.into())) + // Minimum execution time: 25_798_000 picoseconds. + Weight::from_parts(27_240_177, 4254) + // Standard Error: 2_932 + .saturating_add(Weight::from_parts(72_608, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -197,10 +199,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_566_000 picoseconds. - Weight::from_parts(25_878_725, 4254) - // Standard Error: 3_203 - .saturating_add(Weight::from_parts(47_554, 0).saturating_mul(p.into())) + // Minimum execution time: 26_068_000 picoseconds. + Weight::from_parts(27_127_469, 4254) + // Standard Error: 2_928 + .saturating_add(Weight::from_parts(48_389, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -211,10 +213,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 25_177_000 picoseconds. - Weight::from_parts(26_179_682, 4254) - // Standard Error: 2_818 - .saturating_add(Weight::from_parts(21_434, 0).saturating_mul(p.into())) + // Minimum execution time: 26_259_000 picoseconds. + Weight::from_parts(27_221_067, 4254) + // Standard Error: 3_076 + .saturating_add(Weight::from_parts(39_552, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -225,10 +227,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_286_000 picoseconds. - Weight::from_parts(25_243_103, 4254) - // Standard Error: 2_546 - .saturating_add(Weight::from_parts(40_266, 0).saturating_mul(p.into())) + // Minimum execution time: 25_227_000 picoseconds. + Weight::from_parts(26_491_429, 4254) + // Standard Error: 2_471 + .saturating_add(Weight::from_parts(38_289, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -242,8 +244,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 42_890_000 picoseconds. - Weight::from_parts(43_922_000, 8615) + // Minimum execution time: 45_114_000 picoseconds. + Weight::from_parts(45_896_000, 8615) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -256,10 +258,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_245_000 picoseconds. - Weight::from_parts(13_801_801, 4254) - // Standard Error: 1_780 - .saturating_add(Weight::from_parts(50_093, 0).saturating_mul(p.into())) + // Minimum execution time: 13_736_000 picoseconds. + Weight::from_parts(14_464_226, 4254) + // Standard Error: 1_660 + .saturating_add(Weight::from_parts(40_246, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -280,10 +282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 25_647_000 picoseconds. - Weight::from_parts(26_843_168, 4254) - // Standard Error: 3_436 - .saturating_add(Weight::from_parts(63_244, 0).saturating_mul(p.into())) + // Minimum execution time: 26_560_000 picoseconds. + Weight::from_parts(27_869_569, 4254) + // Standard Error: 3_626 + .saturating_add(Weight::from_parts(70_793, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -306,10 +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: 49_944_000 picoseconds. - Weight::from_parts(52_503_282, 8615) - // Standard Error: 2_497 - .saturating_add(Weight::from_parts(216_567, 0).saturating_mul(a.into())) + // Minimum execution time: 51_907_000 picoseconds. + Weight::from_parts(52_690_790, 8615) + // Standard Error: 2_165 + .saturating_add(Weight::from_parts(218_079, 0).saturating_mul(a.into())) + // Standard Error: 8_673 + .saturating_add(Weight::from_parts(46_409, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -325,12 +329,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 24_506_000 picoseconds. - Weight::from_parts(24_531_799, 8615) - // Standard Error: 1_117 - .saturating_add(Weight::from_parts(191_518, 0).saturating_mul(a.into())) - // Standard Error: 4_477 - .saturating_add(Weight::from_parts(47_993, 0).saturating_mul(p.into())) + // Minimum execution time: 25_337_000 picoseconds. + Weight::from_parts(25_516_899, 8615) + // Standard Error: 1_227 + .saturating_add(Weight::from_parts(192_126, 0).saturating_mul(a.into())) + // Standard Error: 4_914 + .saturating_add(Weight::from_parts(27_993, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -344,12 +348,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 24_646_000 picoseconds. - Weight::from_parts(25_377_466, 8615) - // Standard Error: 1_170 - .saturating_add(Weight::from_parts(191_897, 0).saturating_mul(a.into())) - // Standard Error: 4_688 - .saturating_add(Weight::from_parts(10_603, 0).saturating_mul(p.into())) + // Minimum execution time: 25_608_000 picoseconds. + Weight::from_parts(25_592_264, 8615) + // Standard Error: 1_278 + .saturating_add(Weight::from_parts(194_773, 0).saturating_mul(a.into())) + // Standard Error: 5_118 + .saturating_add(Weight::from_parts(27_733, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -365,12 +369,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 31_980_000 picoseconds. - Weight::from_parts(32_625_067, 8615) - // Standard Error: 1_191 - .saturating_add(Weight::from_parts(194_396, 0).saturating_mul(a.into())) - // Standard Error: 4_771 - .saturating_add(Weight::from_parts(32_404, 0).saturating_mul(p.into())) + // Minimum execution time: 32_841_000 picoseconds. + Weight::from_parts(33_193_276, 8615) + // Standard Error: 1_207 + .saturating_add(Weight::from_parts(192_805, 0).saturating_mul(a.into())) + // Standard Error: 4_837 + .saturating_add(Weight::from_parts(51_762, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -381,10 +385,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 23_393_000 picoseconds. - Weight::from_parts(24_228_885, 4254) - // Standard Error: 2_353 - .saturating_add(Weight::from_parts(59_058, 0).saturating_mul(p.into())) + // Minimum execution time: 24_095_000 picoseconds. + Weight::from_parts(25_053_001, 4254) + // Standard Error: 2_305 + .saturating_add(Weight::from_parts(75_973, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -397,10 +401,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_886_000 picoseconds. - Weight::from_parts(26_026_566, 4254) - // Standard Error: 2_820 - .saturating_add(Weight::from_parts(61_530, 0).saturating_mul(p.into())) + // Minimum execution time: 25_798_000 picoseconds. + Weight::from_parts(27_240_177, 4254) + // Standard Error: 2_932 + .saturating_add(Weight::from_parts(72_608, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -411,10 +415,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_566_000 picoseconds. - Weight::from_parts(25_878_725, 4254) - // Standard Error: 3_203 - .saturating_add(Weight::from_parts(47_554, 0).saturating_mul(p.into())) + // Minimum execution time: 26_068_000 picoseconds. + Weight::from_parts(27_127_469, 4254) + // Standard Error: 2_928 + .saturating_add(Weight::from_parts(48_389, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -425,10 +429,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 25_177_000 picoseconds. - Weight::from_parts(26_179_682, 4254) - // Standard Error: 2_818 - .saturating_add(Weight::from_parts(21_434, 0).saturating_mul(p.into())) + // Minimum execution time: 26_259_000 picoseconds. + Weight::from_parts(27_221_067, 4254) + // Standard Error: 3_076 + .saturating_add(Weight::from_parts(39_552, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -439,10 +443,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_286_000 picoseconds. - Weight::from_parts(25_243_103, 4254) - // Standard Error: 2_546 - .saturating_add(Weight::from_parts(40_266, 0).saturating_mul(p.into())) + // Minimum execution time: 25_227_000 picoseconds. + Weight::from_parts(26_491_429, 4254) + // Standard Error: 2_471 + .saturating_add(Weight::from_parts(38_289, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -456,8 +460,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 42_890_000 picoseconds. - Weight::from_parts(43_922_000, 8615) + // Minimum execution time: 45_114_000 picoseconds. + Weight::from_parts(45_896_000, 8615) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -470,10 +474,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_245_000 picoseconds. - Weight::from_parts(13_801_801, 4254) - // Standard Error: 1_780 - .saturating_add(Weight::from_parts(50_093, 0).saturating_mul(p.into())) + // Minimum execution time: 13_736_000 picoseconds. + Weight::from_parts(14_464_226, 4254) + // Standard Error: 1_660 + .saturating_add(Weight::from_parts(40_246, 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/benchmarks.rs b/pallets/subtensor/src/benchmarks.rs index c79505a85d..6d31ad70c7 100644 --- a/pallets/subtensor/src/benchmarks.rs +++ b/pallets/subtensor/src/benchmarks.rs @@ -913,6 +913,61 @@ mod pallet_benchmarks { ); } + #[benchmark] + fn remove_stake() { + let netuid = NetUid::from(1); + let tempo: u16 = 1; + let seed: u32 = 1; + + Subtensor::::increase_total_stake(1_000_000_000_000_u64.into()); + + Subtensor::::init_new_network(netuid, tempo); + Subtensor::::set_network_registration_allowed(netuid, true); + SubtokenEnabled::::insert(netuid, true); + + Subtensor::::set_max_allowed_uids(netuid, 4096); + assert_eq!(Subtensor::::get_max_allowed_uids(netuid), 4096); + + let coldkey: T::AccountId = account("Test", 0, seed); + let hotkey: T::AccountId = account("Alice", 0, seed); + Subtensor::::set_burn(netuid, benchmark_registration_burn()); + + let tao_reserve = TaoBalance::from(1_000_000_000_000_u64); + let alpha_in = AlphaBalance::from(100_000_000_000_000_u64); + set_reserves::(netuid, tao_reserve, alpha_in); + + let wallet_bal = 1000000u32.into(); + Subtensor::::add_balance_to_coldkey_account(&coldkey.clone(), wallet_bal); + + assert_ok!(Subtensor::::burned_register( + RawOrigin::Signed(coldkey.clone()).into(), + netuid, + hotkey.clone() + )); + + let staked_amt = TaoBalance::from(100_000_000_000_u64); + Subtensor::::add_balance_to_coldkey_account(&coldkey.clone(), staked_amt); + + assert_ok!(Subtensor::::add_stake( + RawOrigin::Signed(coldkey.clone()).into(), + hotkey.clone(), + netuid, + staked_amt + )); + + let amount_unstaked = AlphaBalance::from(30_000_000_000_u64); + + StakingOperationRateLimiter::::remove((hotkey.clone(), coldkey.clone(), netuid)); + + #[extrinsic_call] + _( + RawOrigin::Signed(coldkey.clone()), + hotkey.clone(), + netuid, + amount_unstaked, + ); + } + #[benchmark] fn remove_stake_limit() { let netuid = NetUid::from(1); diff --git a/pallets/subtensor/src/macros/dispatches.rs b/pallets/subtensor/src/macros/dispatches.rs index b098b58425..d7e6936e48 100644 --- a/pallets/subtensor/src/macros/dispatches.rs +++ b/pallets/subtensor/src/macros/dispatches.rs @@ -736,9 +736,7 @@ mod dispatches { /// - Thrown if there is not enough stake on the hotkey to withdwraw this amount. /// #[pallet::call_index(3)] - #[pallet::weight((Weight::from_parts(196_800_000, 0) - .saturating_add(T::DbWeight::get().reads(19)) - .saturating_add(T::DbWeight::get().writes(10)), DispatchClass::Normal, Pays::Yes))] + #[pallet::weight(::WeightInfo::remove_stake())] pub fn remove_stake( origin: OriginFor, hotkey: T::AccountId, diff --git a/pallets/subtensor/src/weights.rs b/pallets/subtensor/src/weights.rs index d6c63175f0..ec654139a9 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-04-08, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-04-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervm727z3`, CPU: `AMD EPYC 9V74 80-Core Processor` +//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.caw6C0JGm3 +// --output=/tmp/tmp.VTK2WpuoML // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -60,6 +60,7 @@ pub trait WeightInfo { fn start_call() -> Weight; fn add_stake_limit() -> Weight; fn move_stake() -> Weight; + fn remove_stake() -> Weight; fn remove_stake_limit() -> Weight; fn swap_stake_limit() -> Weight; fn transfer_stake() -> Weight; @@ -86,9 +87,9 @@ pub trait WeightInfo { fn claim_root() -> Weight; fn sudo_set_num_root_claims() -> Weight; fn sudo_set_root_claim_threshold() -> Weight; + fn set_auto_parent_delegation_enabled() -> Weight; fn add_stake_burn() -> Weight; fn set_pending_childkey_cooldown() -> Weight; - fn set_auto_parent_delegation_enabled() -> Weight; } /// Weights for `pallet_subtensor` using the Substrate node and recommended hardware. @@ -190,8 +191,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1629` // Estimated: `13600` - // Minimum execution time: 348_026_000 picoseconds. - Weight::from_parts(354_034_000, 13600) + // Minimum execution time: 348_900_000 picoseconds. + Weight::from_parts(371_883_000, 13600) .saturating_add(T::DbWeight::get().reads(46_u64)) .saturating_add(T::DbWeight::get().writes(38_u64)) } @@ -233,8 +234,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `188782` // Estimated: `10327372` - // Minimum execution time: 16_089_221_000 picoseconds. - Weight::from_parts(16_473_771_000, 10327372) + // Minimum execution time: 15_197_206_000 picoseconds. + Weight::from_parts(15_388_724_000, 10327372) .saturating_add(T::DbWeight::get().reads(4112_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -296,8 +297,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2307` // Estimated: `8556` - // Minimum execution time: 338_691_000 picoseconds. - Weight::from_parts(346_814_000, 8556) + // Minimum execution time: 332_138_000 picoseconds. + Weight::from_parts(340_254_000, 8556) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -311,8 +312,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `791` // Estimated: `6731` - // Minimum execution time: 32_479_000 picoseconds. - Weight::from_parts(33_721_000, 6731) + // Minimum execution time: 34_624_000 picoseconds. + Weight::from_parts(35_666_000, 6731) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -326,8 +327,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `764` // Estimated: `6704` - // Minimum execution time: 29_264_000 picoseconds. - Weight::from_parts(30_095_000, 6704) + // Minimum execution time: 30_797_000 picoseconds. + Weight::from_parts(31_860_000, 6704) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -427,8 +428,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1639` // Estimated: `13600` - // Minimum execution time: 341_145_000 picoseconds. - Weight::from_parts(345_863_000, 13600) + // Minimum execution time: 341_517_000 picoseconds. + Weight::from_parts(343_359_000, 13600) .saturating_add(T::DbWeight::get().reads(46_u64)) .saturating_add(T::DbWeight::get().writes(38_u64)) } @@ -480,8 +481,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1415` // Estimated: `4880` - // Minimum execution time: 100_752_000 picoseconds. - Weight::from_parts(102_565_000, 4880) + // Minimum execution time: 102_561_000 picoseconds. + Weight::from_parts(104_435_000, 4880) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -551,18 +552,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ValidatorTrust` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ValidatorPermit` (r:1 w:1) /// Proof: `SubtensorModule::ValidatorPermit` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RegisteredSubnetCounter` (r:1 w:1) + /// Proof: `SubtensorModule::RegisteredSubnetCounter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TokenSymbol` (r:3 w:1) /// Proof: `SubtensorModule::TokenSymbol` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::Alpha` (r:1 w:0) - /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) - /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) - /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalStake` (r:1 w:1) /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:1 w:1) @@ -607,12 +600,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaxAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_network() -> Weight { // Proof Size summary in bytes: - // Measured: `1676` - // Estimated: `10091` - // Minimum execution time: 289_917_000 picoseconds. - Weight::from_parts(293_954_000, 10091) - .saturating_add(T::DbWeight::get().reads(45_u64)) - .saturating_add(T::DbWeight::get().writes(49_u64)) + // Measured: `1459` + // Estimated: `9874` + // Minimum execution time: 253_543_000 picoseconds. + Weight::from_parts(259_162_000, 9874) + .saturating_add(T::DbWeight::get().reads(41_u64)) + .saturating_add(T::DbWeight::get().writes(47_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -638,8 +631,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1061` // Estimated: `4526` - // Minimum execution time: 59_199_000 picoseconds. - Weight::from_parts(60_772_000, 4526) + // Minimum execution time: 61_785_000 picoseconds. + Weight::from_parts(62_667_000, 4526) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -683,8 +676,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1579` // Estimated: `7519` - // Minimum execution time: 107_763_000 picoseconds. - Weight::from_parts(109_746_000, 7519) + // Minimum execution time: 109_063_000 picoseconds. + Weight::from_parts(110_616_000, 7519) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -694,8 +687,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_126_000 picoseconds. - Weight::from_parts(4_407_000, 0) + // Minimum execution time: 5_340_000 picoseconds. + Weight::from_parts(5_541_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -712,8 +705,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `938` // Estimated: `4403` - // Minimum execution time: 45_358_000 picoseconds. - Weight::from_parts(46_140_000, 4403) + // Minimum execution time: 47_128_000 picoseconds. + Weight::from_parts(47_769_000, 4403) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -729,8 +722,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 39_469_000 picoseconds. - Weight::from_parts(40_962_000, 4159) + // Minimum execution time: 43_000_000 picoseconds. + Weight::from_parts(43_812_000, 4159) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -768,8 +761,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1815` // Estimated: `12705` - // Minimum execution time: 260_764_000 picoseconds. - Weight::from_parts(265_261_000, 12705) + // Minimum execution time: 254_054_000 picoseconds. + Weight::from_parts(256_498_000, 12705) .saturating_add(T::DbWeight::get().reads(31_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -811,8 +804,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1908` // Estimated: `12798` - // Minimum execution time: 281_736_000 picoseconds. - Weight::from_parts(286_753_000, 12798) + // Minimum execution time: 276_024_000 picoseconds. + Weight::from_parts(279_571_000, 12798) .saturating_add(T::DbWeight::get().reads(31_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } @@ -824,8 +817,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 19_950_000 picoseconds. - Weight::from_parts(20_701_000, 4130) + // Minimum execution time: 22_051_000 picoseconds. + Weight::from_parts(22_531_000, 4130) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -837,8 +830,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 16_415_000 picoseconds. - Weight::from_parts(17_096_000, 4078) + // Minimum execution time: 18_605_000 picoseconds. + Weight::from_parts(19_015_000, 4078) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -850,8 +843,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_790_000 picoseconds. - Weight::from_parts(7_151_000, 0) + // Minimum execution time: 8_426_000 picoseconds. + Weight::from_parts(8_766_000, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -894,8 +887,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2084` // Estimated: `8024` - // Minimum execution time: 426_724_000 picoseconds. - Weight::from_parts(431_712_000, 8024) + // Minimum execution time: 411_286_000 picoseconds. + Weight::from_parts(430_662_000, 8024) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -921,8 +914,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1424` // Estimated: `4889` - // Minimum execution time: 128_484_000 picoseconds. - Weight::from_parts(130_548_000, 4889) + // Minimum execution time: 126_435_000 picoseconds. + Weight::from_parts(128_039_000, 4889) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -948,8 +941,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1424` // Estimated: `4889` - // Minimum execution time: 126_171_000 picoseconds. - Weight::from_parts(128_965_000, 4889) + // Minimum execution time: 124_402_000 picoseconds. + Weight::from_parts(126_175_000, 4889) .saturating_add(T::DbWeight::get().reads(9_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -969,8 +962,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1079` // Estimated: `4544` - // Minimum execution time: 37_957_000 picoseconds. - Weight::from_parts(38_939_000, 4544) + // Minimum execution time: 38_992_000 picoseconds. + Weight::from_parts(39_714_000, 4544) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1032,8 +1025,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2307` // Estimated: `8556` - // Minimum execution time: 376_539_000 picoseconds. - Weight::from_parts(383_750_000, 8556) + // Minimum execution time: 367_735_000 picoseconds. + Weight::from_parts(372_424_000, 8556) .saturating_add(T::DbWeight::get().reads(27_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -1069,11 +1062,72 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2002` // Estimated: `7942` - // Minimum execution time: 222_486_000 picoseconds. - Weight::from_parts(223_918_000, 7942) + // Minimum execution time: 215_561_000 picoseconds. + Weight::from_parts(218_267_000, 7942) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } + /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) + /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Alpha` (r:1 w:0) + /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) + /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:2 w:1) + /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) + /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:1) + /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::NetworksAdded` (r:3 w:0) + /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:1 w:0) + /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetMechanism` (r:2 w:0) + /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetTAO` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetTAO` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetTaoProvided` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetTaoProvided` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Swap::SwapV3Initialized` (r:1 w:0) + /// Proof: `Swap::SwapV3Initialized` (`max_values`: None, `max_size`: Some(11), added: 2486, mode: `MaxEncodedLen`) + /// Storage: `Swap::AlphaSqrtPrice` (r:1 w:1) + /// Proof: `Swap::AlphaSqrtPrice` (`max_values`: None, `max_size`: Some(26), added: 2501, mode: `MaxEncodedLen`) + /// Storage: `Swap::CurrentTick` (r:1 w:1) + /// Proof: `Swap::CurrentTick` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Swap::TickIndexBitmapWords` (r:3 w:0) + /// Proof: `Swap::TickIndexBitmapWords` (`max_values`: None, `max_size`: Some(47), added: 2522, mode: `MaxEncodedLen`) + /// Storage: `Swap::FeeRate` (r:1 w:0) + /// Proof: `Swap::FeeRate` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) + /// Storage: `Swap::CurrentLiquidity` (r:1 w:0) + /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) + /// Storage: `SubtensorModule::Owner` (r:1 w:0) + /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalStake` (r:1 w:1) + /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetVolume` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetVolume` (`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: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) + /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) + /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn remove_stake() -> Weight { + // Proof Size summary in bytes: + // Measured: `2211` + // Estimated: `10626` + // Minimum execution time: 347_237_000 picoseconds. + Weight::from_parts(367_354_000, 10626) + .saturating_add(T::DbWeight::get().reads(31_u64)) + .saturating_add(T::DbWeight::get().writes(13_u64)) + } /// Storage: `SubtensorModule::SubnetMechanism` (r:2 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTAO` (r:1 w:1) @@ -1128,8 +1182,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2211` // Estimated: `10626` - // Minimum execution time: 387_646_000 picoseconds. - Weight::from_parts(403_169_000, 10626) + // Minimum execution time: 382_592_000 picoseconds. + Weight::from_parts(390_318_000, 10626) .saturating_add(T::DbWeight::get().reads(30_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1189,8 +1243,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2494` // Estimated: `8556` - // Minimum execution time: 461_377_000 picoseconds. - Weight::from_parts(477_951_000, 8556) + // Minimum execution time: 458_343_000 picoseconds. + Weight::from_parts(467_711_000, 8556) .saturating_add(T::DbWeight::get().reads(40_u64)) .saturating_add(T::DbWeight::get().writes(22_u64)) } @@ -1228,8 +1282,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1829` // Estimated: `7769` - // Minimum execution time: 215_726_000 picoseconds. - Weight::from_parts(219_552_000, 7769) + // Minimum execution time: 209_670_000 picoseconds. + Weight::from_parts(212_276_000, 7769) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1289,8 +1343,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2421` // Estimated: `8556` - // Minimum execution time: 402_808_000 picoseconds. - Weight::from_parts(420_035_000, 8556) + // Minimum execution time: 398_613_000 picoseconds. + Weight::from_parts(418_119_000, 8556) .saturating_add(T::DbWeight::get().reads(40_u64)) .saturating_add(T::DbWeight::get().writes(22_u64)) } @@ -1320,8 +1374,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1084` // Estimated: `4549` - // Minimum execution time: 125_589_000 picoseconds. - Weight::from_parts(141_484_000, 4549) + // Minimum execution time: 125_634_000 picoseconds. + Weight::from_parts(128_289_000, 4549) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1361,8 +1415,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1416` // Estimated: `7356` - // Minimum execution time: 99_310_000 picoseconds. - Weight::from_parts(101_193_000, 7356) + // Minimum execution time: 100_718_000 picoseconds. + Weight::from_parts(101_739_000, 7356) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1378,8 +1432,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `793` // Estimated: `4258` - // Minimum execution time: 25_499_000 picoseconds. - Weight::from_parts(26_330_000, 4258) + // Minimum execution time: 28_653_000 picoseconds. + Weight::from_parts(29_064_000, 4258) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1397,8 +1451,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `886` // Estimated: `4351` - // Minimum execution time: 32_540_000 picoseconds. - Weight::from_parts(33_501_000, 4351) + // Minimum execution time: 35_276_000 picoseconds. + Weight::from_parts(36_067_000, 4351) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1466,18 +1520,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ValidatorTrust` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ValidatorPermit` (r:1 w:1) /// Proof: `SubtensorModule::ValidatorPermit` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RegisteredSubnetCounter` (r:1 w:1) + /// Proof: `SubtensorModule::RegisteredSubnetCounter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TokenSymbol` (r:3 w:1) /// Proof: `SubtensorModule::TokenSymbol` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::Alpha` (r:1 w:0) - /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) - /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) - /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalStake` (r:1 w:1) /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:1 w:1) @@ -1522,12 +1568,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::MaxAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_network_with_identity() -> Weight { // Proof Size summary in bytes: - // Measured: `1560` - // Estimated: `9975` - // Minimum execution time: 279_983_000 picoseconds. - Weight::from_parts(284_690_000, 9975) - .saturating_add(T::DbWeight::get().reads(44_u64)) - .saturating_add(T::DbWeight::get().writes(48_u64)) + // Measured: `1343` + // Estimated: `9758` + // Minimum execution time: 247_121_000 picoseconds. + Weight::from_parts(250_386_000, 9758) + .saturating_add(T::DbWeight::get().reads(40_u64)) + .saturating_add(T::DbWeight::get().writes(46_u64)) } /// Storage: `SubtensorModule::IsNetworkMember` (r:2 w:0) /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1539,8 +1585,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `762` // Estimated: `6702` - // Minimum execution time: 31_257_000 picoseconds. - Weight::from_parts(32_769_000, 6702) + // Minimum execution time: 33_723_000 picoseconds. + Weight::from_parts(34_675_000, 6702) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1554,8 +1600,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `842` // Estimated: `6782` - // Minimum execution time: 28_703_000 picoseconds. - Weight::from_parts(30_106_000, 6782) + // Minimum execution time: 30_918_000 picoseconds. + Weight::from_parts(31_589_000, 6782) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1567,8 +1613,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 15_634_000 picoseconds. - Weight::from_parts(16_254_000, 4060) + // Minimum execution time: 17_742_000 picoseconds. + Weight::from_parts(18_184_000, 4060) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1580,6 +1626,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TxRateLimit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::IsNetworkMember` (r:6 w:10) /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RootClaimable` (r:2 w:2) + /// Proof: `SubtensorModule::RootClaimable` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:9 w:8) + /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Alpha` (r:9 w:0) @@ -1606,8 +1656,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::AlphaDividendsPerSubnet` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::VotingPower` (r:5 w:0) /// Proof: `SubtensorModule::VotingPower` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RootClaimable` (r:2 w:2) - /// Proof: `SubtensorModule::RootClaimable` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AutoParentDelegationEnabled` (r:1 w:0) + /// Proof: `SubtensorModule::AutoParentDelegationEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Uids` (r:4 w:8) /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Prometheus` (r:4 w:0) @@ -1622,8 +1672,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LoadedEmission` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NeuronCertificates` (r:4 w:0) /// Proof: `SubtensorModule::NeuronCertificates` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:8 w:8) - /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeyShares` (r:8 w:0) /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:8 w:8) @@ -1638,9 +1686,9 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3026` // Estimated: `28766` - // Minimum execution time: 1_148_985_000 picoseconds. - Weight::from_parts(1_154_584_000, 28766) - .saturating_add(T::DbWeight::get().reads(159_u64)) + // Minimum execution time: 1_148_871_000 picoseconds. + Weight::from_parts(1_162_857_000, 28766) + .saturating_add(T::DbWeight::get().reads(161_u64)) .saturating_add(T::DbWeight::get().writes(95_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:1) @@ -1653,8 +1701,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `745` // Estimated: `4210` - // Minimum execution time: 21_963_000 picoseconds. - Weight::from_parts(22_504_000, 4210) + // Minimum execution time: 23_784_000 picoseconds. + Weight::from_parts(24_406_000, 4210) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1668,8 +1716,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `740` // Estimated: `9155` - // Minimum execution time: 24_397_000 picoseconds. - Weight::from_parts(25_138_000, 9155) + // Minimum execution time: 26_539_000 picoseconds. + Weight::from_parts(27_602_000, 9155) .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -1736,8 +1784,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2372` // Estimated: `10787` - // Minimum execution time: 414_015_000 picoseconds. - Weight::from_parts(427_445_000, 10787) + // Minimum execution time: 406_817_000 picoseconds. + Weight::from_parts(417_768_000, 10787) .saturating_add(T::DbWeight::get().reads(44_u64)) .saturating_add(T::DbWeight::get().writes(24_u64)) } @@ -1795,8 +1843,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2211` // Estimated: `10626` - // Minimum execution time: 412_223_000 picoseconds. - Weight::from_parts(430_190_000, 10626) + // Minimum execution time: 416_295_000 picoseconds. + Weight::from_parts(436_563_000, 10626) .saturating_add(T::DbWeight::get().reads(30_u64)) .saturating_add(T::DbWeight::get().writes(13_u64)) } @@ -1872,18 +1920,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ValidatorTrust` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ValidatorPermit` (r:1 w:1) /// Proof: `SubtensorModule::ValidatorPermit` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RegisteredSubnetCounter` (r:1 w:1) + /// Proof: `SubtensorModule::RegisteredSubnetCounter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TokenSymbol` (r:3 w:1) /// Proof: `SubtensorModule::TokenSymbol` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::Alpha` (r:1 w:0) - /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) - /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) - /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalStake` (r:1 w:1) /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:1 w:1) @@ -1941,15 +1981,15 @@ impl WeightInfo for SubstrateWeight { /// The range of component `k` is `[2, 500]`. fn register_leased_network(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1979 + k * (44 ±0)` - // Estimated: `10400 + k * (2579 ±0)` - // Minimum execution time: 488_338_000 picoseconds. - Weight::from_parts(286_320_370, 10400) - // Standard Error: 33_372 - .saturating_add(Weight::from_parts(47_145_967, 0).saturating_mul(k.into())) - .saturating_add(T::DbWeight::get().reads(54_u64)) + // Measured: `1762 + k * (44 ±0)` + // Estimated: `10183 + k * (2579 ±0)` + // Minimum execution time: 460_608_000 picoseconds. + Weight::from_parts(288_591_956, 10183) + // Standard Error: 49_874 + .saturating_add(Weight::from_parts(46_601_875, 0).saturating_mul(k.into())) + .saturating_add(T::DbWeight::get().reads(50_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) - .saturating_add(T::DbWeight::get().writes(54_u64)) + .saturating_add(T::DbWeight::get().writes(52_u64)) .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 2579).saturating_mul(k.into())) } @@ -1976,10 +2016,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1447 + k * (53 ±0)` // Estimated: `6148 + k * (2514 ±0)` - // Minimum execution time: 112_219_000 picoseconds. - Weight::from_parts(130_541_041, 6148) - // Standard Error: 7_186 - .saturating_add(Weight::from_parts(1_496_294, 0).saturating_mul(k.into())) + // Minimum execution time: 91_881_000 picoseconds. + Weight::from_parts(76_151_337, 6148) + // Standard Error: 6_935 + .saturating_add(Weight::from_parts(1_611_715, 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)) @@ -1994,8 +2034,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `649` // Estimated: `9064` - // Minimum execution time: 24_617_000 picoseconds. - Weight::from_parts(25_379_000, 9064) + // Minimum execution time: 28_173_000 picoseconds. + Weight::from_parts(29_054_000, 9064) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2023,8 +2063,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1060` // Estimated: `4525` - // Minimum execution time: 72_058_000 picoseconds. - Weight::from_parts(73_902_000, 4525) + // Minimum execution time: 74_899_000 picoseconds. + Weight::from_parts(76_262_000, 4525) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2040,8 +2080,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `799` // Estimated: `4264` - // Minimum execution time: 31_788_000 picoseconds. - Weight::from_parts(32_469_000, 4264) + // Minimum execution time: 33_833_000 picoseconds. + Weight::from_parts(34_534_000, 4264) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2057,8 +2097,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 15_574_000 picoseconds. - Weight::from_parts(15_894_000, 3941) + // Minimum execution time: 17_713_000 picoseconds. + Weight::from_parts(18_294_000, 3941) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2088,8 +2128,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1908` // Estimated: `7848` - // Minimum execution time: 137_608_000 picoseconds. - Weight::from_parts(140_011_000, 7848) + // Minimum execution time: 134_892_000 picoseconds. + Weight::from_parts(137_416_000, 7848) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2099,8 +2139,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_983_000 picoseconds. - Weight::from_parts(2_173_000, 0) + // Minimum execution time: 2_734_000 picoseconds. + Weight::from_parts(2_865_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -2109,8 +2149,23 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_336_000 picoseconds. - Weight::from_parts(4_737_000, 0) + // Minimum execution time: 5_290_000 picoseconds. + Weight::from_parts(5_831_000, 0) + .saturating_add(T::DbWeight::get().writes(1_u64)) + } + /// Storage: `SubtensorModule::Owner` (r:1 w:0) + /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Uids` (r:1 w:0) + /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AutoParentDelegationEnabled` (r:0 w:1) + /// Proof: `SubtensorModule::AutoParentDelegationEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn set_auto_parent_delegation_enabled() -> Weight { + // Proof Size summary in bytes: + // Measured: `852` + // Estimated: `4317` + // Minimum execution time: 26_740_000 picoseconds. + Weight::from_parts(27_722_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) @@ -2177,8 +2232,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2365` // Estimated: `8556` - // Minimum execution time: 471_702_000 picoseconds. - Weight::from_parts(484_481_000, 8556) + // Minimum execution time: 458_073_000 picoseconds. + Weight::from_parts(469_234_000, 8556) .saturating_add(T::DbWeight::get().reads(30_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -2188,26 +2243,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_013_000 picoseconds. - Weight::from_parts(2_243_000, 0) + // Minimum execution time: 2_745_000 picoseconds. + Weight::from_parts(2_956_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - - /// Storage: `SubtensorModule::Owner` (r:1 w:0) - /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::Uids` (r:1 w:0) - /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AutoParentDelegationEnabled` (r:0 w:1) - /// Proof: `SubtensorModule::AutoParentDelegationEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn set_auto_parent_delegation_enabled() -> Weight { - // Proof Size summary in bytes: - // Measured: `852` - // Estimated: `4317` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 4317) - .saturating_add(T::DbWeight::get().reads(2_u64)) - .saturating_add(T::DbWeight::get().writes(1_u64)) - } } // For backwards compatibility and tests. @@ -2308,8 +2347,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1629` // Estimated: `13600` - // Minimum execution time: 348_026_000 picoseconds. - Weight::from_parts(354_034_000, 13600) + // Minimum execution time: 348_900_000 picoseconds. + Weight::from_parts(371_883_000, 13600) .saturating_add(RocksDbWeight::get().reads(46_u64)) .saturating_add(RocksDbWeight::get().writes(38_u64)) } @@ -2351,8 +2390,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `188782` // Estimated: `10327372` - // Minimum execution time: 16_089_221_000 picoseconds. - Weight::from_parts(16_473_771_000, 10327372) + // Minimum execution time: 15_197_206_000 picoseconds. + Weight::from_parts(15_388_724_000, 10327372) .saturating_add(RocksDbWeight::get().reads(4112_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2414,8 +2453,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2307` // Estimated: `8556` - // Minimum execution time: 338_691_000 picoseconds. - Weight::from_parts(346_814_000, 8556) + // Minimum execution time: 332_138_000 picoseconds. + Weight::from_parts(340_254_000, 8556) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -2429,8 +2468,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `791` // Estimated: `6731` - // Minimum execution time: 32_479_000 picoseconds. - Weight::from_parts(33_721_000, 6731) + // Minimum execution time: 34_624_000 picoseconds. + Weight::from_parts(35_666_000, 6731) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2444,8 +2483,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `764` // Estimated: `6704` - // Minimum execution time: 29_264_000 picoseconds. - Weight::from_parts(30_095_000, 6704) + // Minimum execution time: 30_797_000 picoseconds. + Weight::from_parts(31_860_000, 6704) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2545,8 +2584,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1639` // Estimated: `13600` - // Minimum execution time: 341_145_000 picoseconds. - Weight::from_parts(345_863_000, 13600) + // Minimum execution time: 341_517_000 picoseconds. + Weight::from_parts(343_359_000, 13600) .saturating_add(RocksDbWeight::get().reads(46_u64)) .saturating_add(RocksDbWeight::get().writes(38_u64)) } @@ -2598,8 +2637,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1415` // Estimated: `4880` - // Minimum execution time: 100_752_000 picoseconds. - Weight::from_parts(102_565_000, 4880) + // Minimum execution time: 102_561_000 picoseconds. + Weight::from_parts(104_435_000, 4880) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -2669,18 +2708,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ValidatorTrust` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ValidatorPermit` (r:1 w:1) /// Proof: `SubtensorModule::ValidatorPermit` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RegisteredSubnetCounter` (r:1 w:1) + /// Proof: `SubtensorModule::RegisteredSubnetCounter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TokenSymbol` (r:3 w:1) /// Proof: `SubtensorModule::TokenSymbol` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::Alpha` (r:1 w:0) - /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) - /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) - /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalStake` (r:1 w:1) /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:1 w:1) @@ -2725,12 +2756,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaxAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_network() -> Weight { // Proof Size summary in bytes: - // Measured: `1676` - // Estimated: `10091` - // Minimum execution time: 289_917_000 picoseconds. - Weight::from_parts(293_954_000, 10091) - .saturating_add(RocksDbWeight::get().reads(45_u64)) - .saturating_add(RocksDbWeight::get().writes(49_u64)) + // Measured: `1459` + // Estimated: `9874` + // Minimum execution time: 253_543_000 picoseconds. + Weight::from_parts(259_162_000, 9874) + .saturating_add(RocksDbWeight::get().reads(41_u64)) + .saturating_add(RocksDbWeight::get().writes(47_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2756,8 +2787,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1061` // Estimated: `4526` - // Minimum execution time: 59_199_000 picoseconds. - Weight::from_parts(60_772_000, 4526) + // Minimum execution time: 61_785_000 picoseconds. + Weight::from_parts(62_667_000, 4526) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2801,8 +2832,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1579` // Estimated: `7519` - // Minimum execution time: 107_763_000 picoseconds. - Weight::from_parts(109_746_000, 7519) + // Minimum execution time: 109_063_000 picoseconds. + Weight::from_parts(110_616_000, 7519) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2812,8 +2843,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_126_000 picoseconds. - Weight::from_parts(4_407_000, 0) + // Minimum execution time: 5_340_000 picoseconds. + Weight::from_parts(5_541_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2830,8 +2861,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `938` // Estimated: `4403` - // Minimum execution time: 45_358_000 picoseconds. - Weight::from_parts(46_140_000, 4403) + // Minimum execution time: 47_128_000 picoseconds. + Weight::from_parts(47_769_000, 4403) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2847,8 +2878,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 39_469_000 picoseconds. - Weight::from_parts(40_962_000, 4159) + // Minimum execution time: 43_000_000 picoseconds. + Weight::from_parts(43_812_000, 4159) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2886,8 +2917,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1815` // Estimated: `12705` - // Minimum execution time: 260_764_000 picoseconds. - Weight::from_parts(265_261_000, 12705) + // Minimum execution time: 254_054_000 picoseconds. + Weight::from_parts(256_498_000, 12705) .saturating_add(RocksDbWeight::get().reads(31_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -2929,8 +2960,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1908` // Estimated: `12798` - // Minimum execution time: 281_736_000 picoseconds. - Weight::from_parts(286_753_000, 12798) + // Minimum execution time: 276_024_000 picoseconds. + Weight::from_parts(279_571_000, 12798) .saturating_add(RocksDbWeight::get().reads(31_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } @@ -2942,8 +2973,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 19_950_000 picoseconds. - Weight::from_parts(20_701_000, 4130) + // Minimum execution time: 22_051_000 picoseconds. + Weight::from_parts(22_531_000, 4130) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2955,8 +2986,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 16_415_000 picoseconds. - Weight::from_parts(17_096_000, 4078) + // Minimum execution time: 18_605_000 picoseconds. + Weight::from_parts(19_015_000, 4078) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2968,8 +2999,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_790_000 picoseconds. - Weight::from_parts(7_151_000, 0) + // Minimum execution time: 8_426_000 picoseconds. + Weight::from_parts(8_766_000, 0) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -3012,8 +3043,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2084` // Estimated: `8024` - // Minimum execution time: 426_724_000 picoseconds. - Weight::from_parts(431_712_000, 8024) + // Minimum execution time: 411_286_000 picoseconds. + Weight::from_parts(430_662_000, 8024) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3039,8 +3070,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1424` // Estimated: `4889` - // Minimum execution time: 128_484_000 picoseconds. - Weight::from_parts(130_548_000, 4889) + // Minimum execution time: 126_435_000 picoseconds. + Weight::from_parts(128_039_000, 4889) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -3066,8 +3097,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1424` // Estimated: `4889` - // Minimum execution time: 126_171_000 picoseconds. - Weight::from_parts(128_965_000, 4889) + // Minimum execution time: 124_402_000 picoseconds. + Weight::from_parts(126_175_000, 4889) .saturating_add(RocksDbWeight::get().reads(9_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3087,8 +3118,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1079` // Estimated: `4544` - // Minimum execution time: 37_957_000 picoseconds. - Weight::from_parts(38_939_000, 4544) + // Minimum execution time: 38_992_000 picoseconds. + Weight::from_parts(39_714_000, 4544) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3150,8 +3181,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2307` // Estimated: `8556` - // Minimum execution time: 376_539_000 picoseconds. - Weight::from_parts(383_750_000, 8556) + // Minimum execution time: 367_735_000 picoseconds. + Weight::from_parts(372_424_000, 8556) .saturating_add(RocksDbWeight::get().reads(27_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -3187,11 +3218,72 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2002` // Estimated: `7942` - // Minimum execution time: 222_486_000 picoseconds. - Weight::from_parts(223_918_000, 7942) + // Minimum execution time: 215_561_000 picoseconds. + Weight::from_parts(218_267_000, 7942) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } + /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) + /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Alpha` (r:1 w:0) + /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) + /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:2 w:1) + /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) + /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:1) + /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::NetworksAdded` (r:3 w:0) + /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:1 w:0) + /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetMechanism` (r:2 w:0) + /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetTAO` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetTAO` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetTaoProvided` (r:1 w:0) + /// Proof: `SubtensorModule::SubnetTaoProvided` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `Swap::SwapV3Initialized` (r:1 w:0) + /// Proof: `Swap::SwapV3Initialized` (`max_values`: None, `max_size`: Some(11), added: 2486, mode: `MaxEncodedLen`) + /// Storage: `Swap::AlphaSqrtPrice` (r:1 w:1) + /// Proof: `Swap::AlphaSqrtPrice` (`max_values`: None, `max_size`: Some(26), added: 2501, mode: `MaxEncodedLen`) + /// Storage: `Swap::CurrentTick` (r:1 w:1) + /// Proof: `Swap::CurrentTick` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) + /// Storage: `Swap::TickIndexBitmapWords` (r:3 w:0) + /// Proof: `Swap::TickIndexBitmapWords` (`max_values`: None, `max_size`: Some(47), added: 2522, mode: `MaxEncodedLen`) + /// Storage: `Swap::FeeRate` (r:1 w:0) + /// Proof: `Swap::FeeRate` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) + /// Storage: `Swap::CurrentLiquidity` (r:1 w:0) + /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) + /// Storage: `SubtensorModule::Owner` (r:1 w:0) + /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalStake` (r:1 w:1) + /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubnetVolume` (r:1 w:1) + /// Proof: `SubtensorModule::SubnetVolume` (`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: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) + /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) + /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) + /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn remove_stake() -> Weight { + // Proof Size summary in bytes: + // Measured: `2211` + // Estimated: `10626` + // Minimum execution time: 347_237_000 picoseconds. + Weight::from_parts(367_354_000, 10626) + .saturating_add(RocksDbWeight::get().reads(31_u64)) + .saturating_add(RocksDbWeight::get().writes(13_u64)) + } /// Storage: `SubtensorModule::SubnetMechanism` (r:2 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTAO` (r:1 w:1) @@ -3246,8 +3338,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2211` // Estimated: `10626` - // Minimum execution time: 387_646_000 picoseconds. - Weight::from_parts(403_169_000, 10626) + // Minimum execution time: 382_592_000 picoseconds. + Weight::from_parts(390_318_000, 10626) .saturating_add(RocksDbWeight::get().reads(30_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -3307,8 +3399,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2494` // Estimated: `8556` - // Minimum execution time: 461_377_000 picoseconds. - Weight::from_parts(477_951_000, 8556) + // Minimum execution time: 458_343_000 picoseconds. + Weight::from_parts(467_711_000, 8556) .saturating_add(RocksDbWeight::get().reads(40_u64)) .saturating_add(RocksDbWeight::get().writes(22_u64)) } @@ -3346,8 +3438,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1829` // Estimated: `7769` - // Minimum execution time: 215_726_000 picoseconds. - Weight::from_parts(219_552_000, 7769) + // Minimum execution time: 209_670_000 picoseconds. + Weight::from_parts(212_276_000, 7769) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3407,8 +3499,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2421` // Estimated: `8556` - // Minimum execution time: 402_808_000 picoseconds. - Weight::from_parts(420_035_000, 8556) + // Minimum execution time: 398_613_000 picoseconds. + Weight::from_parts(418_119_000, 8556) .saturating_add(RocksDbWeight::get().reads(40_u64)) .saturating_add(RocksDbWeight::get().writes(22_u64)) } @@ -3438,8 +3530,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1084` // Estimated: `4549` - // Minimum execution time: 125_589_000 picoseconds. - Weight::from_parts(141_484_000, 4549) + // Minimum execution time: 125_634_000 picoseconds. + Weight::from_parts(128_289_000, 4549) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3479,8 +3571,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1416` // Estimated: `7356` - // Minimum execution time: 99_310_000 picoseconds. - Weight::from_parts(101_193_000, 7356) + // Minimum execution time: 100_718_000 picoseconds. + Weight::from_parts(101_739_000, 7356) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3496,8 +3588,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `793` // Estimated: `4258` - // Minimum execution time: 25_499_000 picoseconds. - Weight::from_parts(26_330_000, 4258) + // Minimum execution time: 28_653_000 picoseconds. + Weight::from_parts(29_064_000, 4258) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3515,8 +3607,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `886` // Estimated: `4351` - // Minimum execution time: 32_540_000 picoseconds. - Weight::from_parts(33_501_000, 4351) + // Minimum execution time: 35_276_000 picoseconds. + Weight::from_parts(36_067_000, 4351) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3584,18 +3676,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ValidatorTrust` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ValidatorPermit` (r:1 w:1) /// Proof: `SubtensorModule::ValidatorPermit` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RegisteredSubnetCounter` (r:1 w:1) + /// Proof: `SubtensorModule::RegisteredSubnetCounter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TokenSymbol` (r:3 w:1) /// Proof: `SubtensorModule::TokenSymbol` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::Alpha` (r:1 w:0) - /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) - /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) - /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalStake` (r:1 w:1) /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:1 w:1) @@ -3640,12 +3724,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaxAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_network_with_identity() -> Weight { // Proof Size summary in bytes: - // Measured: `1560` - // Estimated: `9975` - // Minimum execution time: 279_983_000 picoseconds. - Weight::from_parts(284_690_000, 9975) - .saturating_add(RocksDbWeight::get().reads(44_u64)) - .saturating_add(RocksDbWeight::get().writes(48_u64)) + // Measured: `1343` + // Estimated: `9758` + // Minimum execution time: 247_121_000 picoseconds. + Weight::from_parts(250_386_000, 9758) + .saturating_add(RocksDbWeight::get().reads(40_u64)) + .saturating_add(RocksDbWeight::get().writes(46_u64)) } /// Storage: `SubtensorModule::IsNetworkMember` (r:2 w:0) /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3657,8 +3741,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `762` // Estimated: `6702` - // Minimum execution time: 31_257_000 picoseconds. - Weight::from_parts(32_769_000, 6702) + // Minimum execution time: 33_723_000 picoseconds. + Weight::from_parts(34_675_000, 6702) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3672,8 +3756,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `842` // Estimated: `6782` - // Minimum execution time: 28_703_000 picoseconds. - Weight::from_parts(30_106_000, 6782) + // Minimum execution time: 30_918_000 picoseconds. + Weight::from_parts(31_589_000, 6782) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3685,8 +3769,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 15_634_000 picoseconds. - Weight::from_parts(16_254_000, 4060) + // Minimum execution time: 17_742_000 picoseconds. + Weight::from_parts(18_184_000, 4060) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3698,6 +3782,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TxRateLimit` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::IsNetworkMember` (r:6 w:10) /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RootClaimable` (r:2 w:2) + /// Proof: `SubtensorModule::RootClaimable` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:9 w:8) + /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Alpha` (r:9 w:0) @@ -3724,8 +3812,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::AlphaDividendsPerSubnet` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::VotingPower` (r:5 w:0) /// Proof: `SubtensorModule::VotingPower` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RootClaimable` (r:2 w:2) - /// Proof: `SubtensorModule::RootClaimable` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AutoParentDelegationEnabled` (r:1 w:0) + /// Proof: `SubtensorModule::AutoParentDelegationEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Uids` (r:4 w:8) /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Prometheus` (r:4 w:0) @@ -3740,8 +3828,6 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LoadedEmission` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NeuronCertificates` (r:4 w:0) /// Proof: `SubtensorModule::NeuronCertificates` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:8 w:8) - /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeyShares` (r:8 w:0) /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:8 w:8) @@ -3756,9 +3842,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3026` // Estimated: `28766` - // Minimum execution time: 1_148_985_000 picoseconds. - Weight::from_parts(1_154_584_000, 28766) - .saturating_add(RocksDbWeight::get().reads(159_u64)) + // Minimum execution time: 1_148_871_000 picoseconds. + Weight::from_parts(1_162_857_000, 28766) + .saturating_add(RocksDbWeight::get().reads(161_u64)) .saturating_add(RocksDbWeight::get().writes(95_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:1) @@ -3771,8 +3857,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `745` // Estimated: `4210` - // Minimum execution time: 21_963_000 picoseconds. - Weight::from_parts(22_504_000, 4210) + // Minimum execution time: 23_784_000 picoseconds. + Weight::from_parts(24_406_000, 4210) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3786,8 +3872,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `740` // Estimated: `9155` - // Minimum execution time: 24_397_000 picoseconds. - Weight::from_parts(25_138_000, 9155) + // Minimum execution time: 26_539_000 picoseconds. + Weight::from_parts(27_602_000, 9155) .saturating_add(RocksDbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -3854,8 +3940,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2372` // Estimated: `10787` - // Minimum execution time: 414_015_000 picoseconds. - Weight::from_parts(427_445_000, 10787) + // Minimum execution time: 406_817_000 picoseconds. + Weight::from_parts(417_768_000, 10787) .saturating_add(RocksDbWeight::get().reads(44_u64)) .saturating_add(RocksDbWeight::get().writes(24_u64)) } @@ -3913,8 +3999,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2211` // Estimated: `10626` - // Minimum execution time: 412_223_000 picoseconds. - Weight::from_parts(430_190_000, 10626) + // Minimum execution time: 416_295_000 picoseconds. + Weight::from_parts(436_563_000, 10626) .saturating_add(RocksDbWeight::get().reads(30_u64)) .saturating_add(RocksDbWeight::get().writes(13_u64)) } @@ -3990,18 +4076,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ValidatorTrust` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ValidatorPermit` (r:1 w:1) /// Proof: `SubtensorModule::ValidatorPermit` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::RegisteredSubnetCounter` (r:1 w:1) + /// Proof: `SubtensorModule::RegisteredSubnetCounter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TokenSymbol` (r:3 w:1) /// Proof: `SubtensorModule::TokenSymbol` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::Alpha` (r:1 w:0) - /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) - /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) - /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:1) - /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TotalStake` (r:1 w:1) /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Keys` (r:1 w:1) @@ -4059,15 +4137,15 @@ impl WeightInfo for () { /// The range of component `k` is `[2, 500]`. fn register_leased_network(k: u32, ) -> Weight { // Proof Size summary in bytes: - // Measured: `1979 + k * (44 ±0)` - // Estimated: `10400 + k * (2579 ±0)` - // Minimum execution time: 488_338_000 picoseconds. - Weight::from_parts(286_320_370, 10400) - // Standard Error: 33_372 - .saturating_add(Weight::from_parts(47_145_967, 0).saturating_mul(k.into())) - .saturating_add(RocksDbWeight::get().reads(54_u64)) + // Measured: `1762 + k * (44 ±0)` + // Estimated: `10183 + k * (2579 ±0)` + // Minimum execution time: 460_608_000 picoseconds. + Weight::from_parts(288_591_956, 10183) + // Standard Error: 49_874 + .saturating_add(Weight::from_parts(46_601_875, 0).saturating_mul(k.into())) + .saturating_add(RocksDbWeight::get().reads(50_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(k.into()))) - .saturating_add(RocksDbWeight::get().writes(54_u64)) + .saturating_add(RocksDbWeight::get().writes(52_u64)) .saturating_add(RocksDbWeight::get().writes((2_u64).saturating_mul(k.into()))) .saturating_add(Weight::from_parts(0, 2579).saturating_mul(k.into())) } @@ -4094,10 +4172,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1447 + k * (53 ±0)` // Estimated: `6148 + k * (2514 ±0)` - // Minimum execution time: 112_219_000 picoseconds. - Weight::from_parts(130_541_041, 6148) - // Standard Error: 7_186 - .saturating_add(Weight::from_parts(1_496_294, 0).saturating_mul(k.into())) + // Minimum execution time: 91_881_000 picoseconds. + Weight::from_parts(76_151_337, 6148) + // Standard Error: 6_935 + .saturating_add(Weight::from_parts(1_611_715, 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)) @@ -4112,8 +4190,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `649` // Estimated: `9064` - // Minimum execution time: 24_617_000 picoseconds. - Weight::from_parts(25_379_000, 9064) + // Minimum execution time: 28_173_000 picoseconds. + Weight::from_parts(29_054_000, 9064) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4141,8 +4219,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1060` // Estimated: `4525` - // Minimum execution time: 72_058_000 picoseconds. - Weight::from_parts(73_902_000, 4525) + // Minimum execution time: 74_899_000 picoseconds. + Weight::from_parts(76_262_000, 4525) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4158,8 +4236,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `799` // Estimated: `4264` - // Minimum execution time: 31_788_000 picoseconds. - Weight::from_parts(32_469_000, 4264) + // Minimum execution time: 33_833_000 picoseconds. + Weight::from_parts(34_534_000, 4264) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4175,8 +4253,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 15_574_000 picoseconds. - Weight::from_parts(15_894_000, 3941) + // Minimum execution time: 17_713_000 picoseconds. + Weight::from_parts(18_294_000, 3941) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4206,8 +4284,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1908` // Estimated: `7848` - // Minimum execution time: 137_608_000 picoseconds. - Weight::from_parts(140_011_000, 7848) + // Minimum execution time: 134_892_000 picoseconds. + Weight::from_parts(137_416_000, 7848) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4217,8 +4295,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 1_983_000 picoseconds. - Weight::from_parts(2_173_000, 0) + // Minimum execution time: 2_734_000 picoseconds. + Weight::from_parts(2_865_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -4227,8 +4305,23 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 4_336_000 picoseconds. - Weight::from_parts(4_737_000, 0) + // Minimum execution time: 5_290_000 picoseconds. + Weight::from_parts(5_831_000, 0) + .saturating_add(RocksDbWeight::get().writes(1_u64)) + } + /// Storage: `SubtensorModule::Owner` (r:1 w:0) + /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Uids` (r:1 w:0) + /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AutoParentDelegationEnabled` (r:0 w:1) + /// Proof: `SubtensorModule::AutoParentDelegationEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn set_auto_parent_delegation_enabled() -> Weight { + // Proof Size summary in bytes: + // Measured: `852` + // Estimated: `4317` + // Minimum execution time: 26_740_000 picoseconds. + Weight::from_parts(27_722_000, 4317) + .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::SubnetOwner` (r:1 w:0) @@ -4295,8 +4388,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2365` // Estimated: `8556` - // Minimum execution time: 471_702_000 picoseconds. - Weight::from_parts(484_481_000, 8556) + // Minimum execution time: 458_073_000 picoseconds. + Weight::from_parts(469_234_000, 8556) .saturating_add(RocksDbWeight::get().reads(30_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -4306,24 +4399,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_013_000 picoseconds. - Weight::from_parts(2_243_000, 0) + // Minimum execution time: 2_745_000 picoseconds. + Weight::from_parts(2_956_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - - /// Storage: `SubtensorModule::Owner` (r:1 w:0) - /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::Uids` (r:1 w:0) - /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::AutoParentDelegationEnabled` (r:0 w:1) - /// Proof: `SubtensorModule::AutoParentDelegationEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) - fn set_auto_parent_delegation_enabled() -> Weight { - // Proof Size summary in bytes: - // Measured: `852` - // Estimated: `4317` - // Minimum execution time: 19_000_000 picoseconds. - Weight::from_parts(20_000_000, 4317) - .saturating_add(RocksDbWeight::get().reads(2_u64)) - .saturating_add(RocksDbWeight::get().writes(1_u64)) - } } diff --git a/pallets/transaction-fee/src/tests/mod.rs b/pallets/transaction-fee/src/tests/mod.rs index 6644e014d8..6e4fbda9d9 100644 --- a/pallets/transaction-fee/src/tests/mod.rs +++ b/pallets/transaction-fee/src/tests/mod.rs @@ -603,7 +603,7 @@ fn test_remove_stake_edge_alpha() { ); // For-set Alpha balance to low, but enough to pay tx fees at the current Alpha price - let new_current_stake = AlphaBalance::from(1_000_000); + let new_current_stake = AlphaBalance::from(2_000_000); SubtensorModule::decrease_stake_for_hotkey_and_coldkey_on_subnet( &sn.hotkeys[0], &sn.coldkey, diff --git a/pallets/utility/src/weights.rs b/pallets/utility/src/weights.rs index f87d58b55e..f5234ee528 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-04-10, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-04-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` -//! HOSTNAME: `runnervm35a4x`, CPU: `AMD EPYC 7763 64-Core Processor` +//! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` // Executed Command: @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.NYSHYuTETx +// --output=/tmp/tmp.KdzJkvj7lA // --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_808_000 picoseconds. - Weight::from_parts(17_572_558, 3983) - // Standard Error: 2_156 - .saturating_add(Weight::from_parts(5_233_749, 0).saturating_mul(c.into())) + // Minimum execution time: 5_069_000 picoseconds. + Weight::from_parts(17_591_644, 3983) + // Standard Error: 2_161 + .saturating_add(Weight::from_parts(5_615_733, 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_547_000 picoseconds. - Weight::from_parts(15_328_000, 3983) + // Minimum execution time: 15_228_000 picoseconds. + Weight::from_parts(15_679_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_718_000 picoseconds. - Weight::from_parts(19_169_854, 3983) - // Standard Error: 2_362 - .saturating_add(Weight::from_parts(5_450_969, 0).saturating_mul(c.into())) + // Minimum execution time: 5_110_000 picoseconds. + Weight::from_parts(17_036_214, 3983) + // Standard Error: 2_084 + .saturating_add(Weight::from_parts(5_820_595, 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_512_000 picoseconds. - Weight::from_parts(6_762_000, 0) + // Minimum execution time: 6_962_000 picoseconds. + Weight::from_parts(7_233_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_829_000 picoseconds. - Weight::from_parts(18_257_650, 3983) - // Standard Error: 1_968 - .saturating_add(Weight::from_parts(5_226_981, 0).saturating_mul(c.into())) + // Minimum execution time: 5_019_000 picoseconds. + Weight::from_parts(16_701_377, 3983) + // Standard Error: 2_713 + .saturating_add(Weight::from_parts(5_639_027, 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_372_000 picoseconds. - Weight::from_parts(6_753_000, 0) + // Minimum execution time: 6_943_000 picoseconds. + Weight::from_parts(7_243_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: 20_689_000 picoseconds. - Weight::from_parts(21_119_000, 3983) + // Minimum execution time: 21_730_000 picoseconds. + Weight::from_parts(22_171_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_808_000 picoseconds. - Weight::from_parts(17_572_558, 3983) - // Standard Error: 2_156 - .saturating_add(Weight::from_parts(5_233_749, 0).saturating_mul(c.into())) + // Minimum execution time: 5_069_000 picoseconds. + Weight::from_parts(17_591_644, 3983) + // Standard Error: 2_161 + .saturating_add(Weight::from_parts(5_615_733, 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_547_000 picoseconds. - Weight::from_parts(15_328_000, 3983) + // Minimum execution time: 15_228_000 picoseconds. + Weight::from_parts(15_679_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_718_000 picoseconds. - Weight::from_parts(19_169_854, 3983) - // Standard Error: 2_362 - .saturating_add(Weight::from_parts(5_450_969, 0).saturating_mul(c.into())) + // Minimum execution time: 5_110_000 picoseconds. + Weight::from_parts(17_036_214, 3983) + // Standard Error: 2_084 + .saturating_add(Weight::from_parts(5_820_595, 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_512_000 picoseconds. - Weight::from_parts(6_762_000, 0) + // Minimum execution time: 6_962_000 picoseconds. + Weight::from_parts(7_233_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_829_000 picoseconds. - Weight::from_parts(18_257_650, 3983) - // Standard Error: 1_968 - .saturating_add(Weight::from_parts(5_226_981, 0).saturating_mul(c.into())) + // Minimum execution time: 5_019_000 picoseconds. + Weight::from_parts(16_701_377, 3983) + // Standard Error: 2_713 + .saturating_add(Weight::from_parts(5_639_027, 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_372_000 picoseconds. - Weight::from_parts(6_753_000, 0) + // Minimum execution time: 6_943_000 picoseconds. + Weight::from_parts(7_243_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: 20_689_000 picoseconds. - Weight::from_parts(21_119_000, 3983) + // Minimum execution time: 21_730_000 picoseconds. + Weight::from_parts(22_171_000, 3983) .saturating_add(RocksDbWeight::get().reads(2_u64)) } } diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 7c4112837d..0b8e3c982d 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: 401, + spec_version: 402, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,