diff --git a/pallets/proxy/src/weights.rs b/pallets/proxy/src/weights.rs index 89467c708c..8fce95920c 100644 --- a/pallets/proxy/src/weights.rs +++ b/pallets/proxy/src/weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_subtensor_proxy` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-05-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.WaYr3ni8x5 +// --output=/tmp/tmp.WwgF6G3Iad // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -66,10 +66,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 26_550_000 picoseconds. - Weight::from_parts(27_859_277, 4254) - // Standard Error: 3_837 - .saturating_add(Weight::from_parts(81_447, 0).saturating_mul(p.into())) + // Minimum execution time: 25_969_000 picoseconds. + Weight::from_parts(27_017_043, 4254) + // Standard Error: 3_646 + .saturating_add(Weight::from_parts(71_894, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -92,12 +92,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 52_348_000 picoseconds. - Weight::from_parts(53_307_899, 8615) - // Standard Error: 1_258 - .saturating_add(Weight::from_parts(211_995, 0).saturating_mul(a.into())) - // Standard Error: 5_039 - .saturating_add(Weight::from_parts(42_656, 0).saturating_mul(p.into())) + // Minimum execution time: 51_617_000 picoseconds. + Weight::from_parts(52_570_925, 8615) + // Standard Error: 1_648 + .saturating_add(Weight::from_parts(210_833, 0).saturating_mul(a.into())) + // Standard Error: 6_601 + .saturating_add(Weight::from_parts(29_858, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -113,12 +113,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_849_000 picoseconds. - Weight::from_parts(25_995_666, 8615) - // Standard Error: 1_164 - .saturating_add(Weight::from_parts(196_516, 0).saturating_mul(a.into())) - // Standard Error: 4_662 - .saturating_add(Weight::from_parts(22_615, 0).saturating_mul(p.into())) + // Minimum execution time: 25_067_000 picoseconds. + Weight::from_parts(25_725_767, 8615) + // Standard Error: 1_283 + .saturating_add(Weight::from_parts(185_947, 0).saturating_mul(a.into())) + // Standard Error: 5_139 + .saturating_add(Weight::from_parts(23_996, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -132,12 +132,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_578_000 picoseconds. - Weight::from_parts(26_125_974, 8615) - // Standard Error: 1_064 - .saturating_add(Weight::from_parts(196_744, 0).saturating_mul(a.into())) - // Standard Error: 4_264 - .saturating_add(Weight::from_parts(21_717, 0).saturating_mul(p.into())) + // Minimum execution time: 24_997_000 picoseconds. + Weight::from_parts(26_074_628, 8615) + // Standard Error: 2_365 + .saturating_add(Weight::from_parts(181_218, 0).saturating_mul(a.into())) + // Standard Error: 9_472 + .saturating_add(Weight::from_parts(23_030, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -153,12 +153,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 33_473_000 picoseconds. - Weight::from_parts(33_968_741, 8615) - // Standard Error: 2_554 - .saturating_add(Weight::from_parts(197_978, 0).saturating_mul(a.into())) - // Standard Error: 10_231 - .saturating_add(Weight::from_parts(19_756, 0).saturating_mul(p.into())) + // Minimum execution time: 32_481_000 picoseconds. + Weight::from_parts(32_837_620, 8615) + // Standard Error: 1_165 + .saturating_add(Weight::from_parts(186_465, 0).saturating_mul(a.into())) + // Standard Error: 4_668 + .saturating_add(Weight::from_parts(66_402, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -169,10 +169,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_276_000 picoseconds. - Weight::from_parts(25_273_817, 4254) - // Standard Error: 2_624 - .saturating_add(Weight::from_parts(78_807, 0).saturating_mul(p.into())) + // Minimum execution time: 24_215_000 picoseconds. + Weight::from_parts(24_827_745, 4254) + // Standard Error: 2_299 + .saturating_add(Weight::from_parts(78_159, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 26_410_000 picoseconds. - Weight::from_parts(27_457_975, 4254) - // Standard Error: 2_749 - .saturating_add(Weight::from_parts(64_462, 0).saturating_mul(p.into())) + // Minimum execution time: 25_639_000 picoseconds. + Weight::from_parts(26_656_735, 4254) + // Standard Error: 2_742 + .saturating_add(Weight::from_parts(82_743, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -199,10 +199,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_919_000 picoseconds. - Weight::from_parts(27_060_574, 4254) - // Standard Error: 2_935 - .saturating_add(Weight::from_parts(46_263, 0).saturating_mul(p.into())) + // Minimum execution time: 25_608_000 picoseconds. + Weight::from_parts(26_950_505, 4254) + // Standard Error: 5_165 + .saturating_add(Weight::from_parts(74_907, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -213,10 +213,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 26_420_000 picoseconds. - Weight::from_parts(27_463_886, 4254) - // Standard Error: 2_930 - .saturating_add(Weight::from_parts(35_030, 0).saturating_mul(p.into())) + // Minimum execution time: 25_448_000 picoseconds. + Weight::from_parts(26_435_051, 4254) + // Standard Error: 2_848 + .saturating_add(Weight::from_parts(30_705, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -227,10 +227,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_977_000 picoseconds. - Weight::from_parts(26_122_998, 4254) - // Standard Error: 2_941 - .saturating_add(Weight::from_parts(52_778, 0).saturating_mul(p.into())) + // Minimum execution time: 24_597_000 picoseconds. + Weight::from_parts(25_553_393, 4254) + // Standard Error: 2_574 + .saturating_add(Weight::from_parts(46_519, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -244,8 +244,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 44_514_000 picoseconds. - Weight::from_parts(45_375_000, 8615) + // Minimum execution time: 43_913_000 picoseconds. + Weight::from_parts(45_075_000, 8615) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -258,10 +258,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_826_000 picoseconds. - Weight::from_parts(14_417_042, 4254) - // Standard Error: 2_091 - .saturating_add(Weight::from_parts(47_683, 0).saturating_mul(p.into())) + // Minimum execution time: 13_485_000 picoseconds. + Weight::from_parts(14_271_847, 4254) + // Standard Error: 1_952 + .saturating_add(Weight::from_parts(35_084, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -282,10 +282,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `637 + p * (37 ±0)` // Estimated: `4254 + p * (37 ±0)` - // Minimum execution time: 26_550_000 picoseconds. - Weight::from_parts(27_859_277, 4254) - // Standard Error: 3_837 - .saturating_add(Weight::from_parts(81_447, 0).saturating_mul(p.into())) + // Minimum execution time: 25_969_000 picoseconds. + Weight::from_parts(27_017_043, 4254) + // Standard Error: 3_646 + .saturating_add(Weight::from_parts(71_894, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -308,12 +308,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 52_348_000 picoseconds. - Weight::from_parts(53_307_899, 8615) - // Standard Error: 1_258 - .saturating_add(Weight::from_parts(211_995, 0).saturating_mul(a.into())) - // Standard Error: 5_039 - .saturating_add(Weight::from_parts(42_656, 0).saturating_mul(p.into())) + // Minimum execution time: 51_617_000 picoseconds. + Weight::from_parts(52_570_925, 8615) + // Standard Error: 1_648 + .saturating_add(Weight::from_parts(210_833, 0).saturating_mul(a.into())) + // Standard Error: 6_601 + .saturating_add(Weight::from_parts(29_858, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) .saturating_add(Weight::from_parts(0, 68).saturating_mul(a.into())) @@ -329,12 +329,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_849_000 picoseconds. - Weight::from_parts(25_995_666, 8615) - // Standard Error: 1_164 - .saturating_add(Weight::from_parts(196_516, 0).saturating_mul(a.into())) - // Standard Error: 4_662 - .saturating_add(Weight::from_parts(22_615, 0).saturating_mul(p.into())) + // Minimum execution time: 25_067_000 picoseconds. + Weight::from_parts(25_725_767, 8615) + // Standard Error: 1_283 + .saturating_add(Weight::from_parts(185_947, 0).saturating_mul(a.into())) + // Standard Error: 5_139 + .saturating_add(Weight::from_parts(23_996, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -348,12 +348,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `299 + a * (68 ±0)` // Estimated: `8615` - // Minimum execution time: 25_578_000 picoseconds. - Weight::from_parts(26_125_974, 8615) - // Standard Error: 1_064 - .saturating_add(Weight::from_parts(196_744, 0).saturating_mul(a.into())) - // Standard Error: 4_264 - .saturating_add(Weight::from_parts(21_717, 0).saturating_mul(p.into())) + // Minimum execution time: 24_997_000 picoseconds. + Weight::from_parts(26_074_628, 8615) + // Standard Error: 2_365 + .saturating_add(Weight::from_parts(181_218, 0).saturating_mul(a.into())) + // Standard Error: 9_472 + .saturating_add(Weight::from_parts(23_030, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -369,12 +369,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 33_473_000 picoseconds. - Weight::from_parts(33_968_741, 8615) - // Standard Error: 2_554 - .saturating_add(Weight::from_parts(197_978, 0).saturating_mul(a.into())) - // Standard Error: 10_231 - .saturating_add(Weight::from_parts(19_756, 0).saturating_mul(p.into())) + // Minimum execution time: 32_481_000 picoseconds. + Weight::from_parts(32_837_620, 8615) + // Standard Error: 1_165 + .saturating_add(Weight::from_parts(186_465, 0).saturating_mul(a.into())) + // Standard Error: 4_668 + .saturating_add(Weight::from_parts(66_402, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -385,10 +385,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_276_000 picoseconds. - Weight::from_parts(25_273_817, 4254) - // Standard Error: 2_624 - .saturating_add(Weight::from_parts(78_807, 0).saturating_mul(p.into())) + // Minimum execution time: 24_215_000 picoseconds. + Weight::from_parts(24_827_745, 4254) + // Standard Error: 2_299 + .saturating_add(Weight::from_parts(78_159, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -401,10 +401,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 26_410_000 picoseconds. - Weight::from_parts(27_457_975, 4254) - // Standard Error: 2_749 - .saturating_add(Weight::from_parts(64_462, 0).saturating_mul(p.into())) + // Minimum execution time: 25_639_000 picoseconds. + Weight::from_parts(26_656_735, 4254) + // Standard Error: 2_742 + .saturating_add(Weight::from_parts(82_743, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -415,10 +415,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_919_000 picoseconds. - Weight::from_parts(27_060_574, 4254) - // Standard Error: 2_935 - .saturating_add(Weight::from_parts(46_263, 0).saturating_mul(p.into())) + // Minimum execution time: 25_608_000 picoseconds. + Weight::from_parts(26_950_505, 4254) + // Standard Error: 5_165 + .saturating_add(Weight::from_parts(74_907, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -429,10 +429,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `139` // Estimated: `4254` - // Minimum execution time: 26_420_000 picoseconds. - Weight::from_parts(27_463_886, 4254) - // Standard Error: 2_930 - .saturating_add(Weight::from_parts(35_030, 0).saturating_mul(p.into())) + // Minimum execution time: 25_448_000 picoseconds. + Weight::from_parts(26_435_051, 4254) + // Standard Error: 2_848 + .saturating_add(Weight::from_parts(30_705, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -443,10 +443,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `156 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 24_977_000 picoseconds. - Weight::from_parts(26_122_998, 4254) - // Standard Error: 2_941 - .saturating_add(Weight::from_parts(52_778, 0).saturating_mul(p.into())) + // Minimum execution time: 24_597_000 picoseconds. + Weight::from_parts(25_553_393, 4254) + // Standard Error: 2_574 + .saturating_add(Weight::from_parts(46_519, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -460,8 +460,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `412` // Estimated: `8615` - // Minimum execution time: 44_514_000 picoseconds. - Weight::from_parts(45_375_000, 8615) + // Minimum execution time: 43_913_000 picoseconds. + Weight::from_parts(45_075_000, 8615) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -474,10 +474,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 13_826_000 picoseconds. - Weight::from_parts(14_417_042, 4254) - // Standard Error: 2_091 - .saturating_add(Weight::from_parts(47_683, 0).saturating_mul(p.into())) + // Minimum execution time: 13_485_000 picoseconds. + Weight::from_parts(14_271_847, 4254) + // Standard Error: 1_952 + .saturating_add(Weight::from_parts(35_084, 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/coinbase/block_step.rs b/pallets/subtensor/src/coinbase/block_step.rs index fac924ccf4..ab8d0bc5c5 100644 --- a/pallets/subtensor/src/coinbase/block_step.rs +++ b/pallets/subtensor/src/coinbase/block_step.rs @@ -3,6 +3,15 @@ use substrate_fixed::types::U96F32; use subtensor_runtime_common::NetUid; impl Pallet { + pub fn get_burn_root_prop() -> bool { + BurnRootProp::::get() + } + + pub fn set_burn_root_prop(enabled: bool) { + BurnRootProp::::put(enabled); + Self::deposit_event(Event::BurnRootPropSet { enabled }); + } + /// Executes the necessary operations for each block. pub fn block_step() -> Result<(), &'static str> { let block_number: u64 = Self::get_current_block_as_u64(); @@ -65,6 +74,14 @@ impl Pallet { } pub fn root_proportion(netuid: NetUid) -> U96F32 { + if Self::get_burn_root_prop() { + return U96F32::from_num(0.0); + } + + Self::raw_root_proportion(netuid) + } + + pub fn raw_root_proportion(netuid: NetUid) -> U96F32 { let alpha_issuance = U96F32::from_num(Self::get_alpha_issuance(netuid)); let root_tao: U96F32 = U96F32::from_num(Self::get_subnet_tao(NetUid::ROOT)); let tao_weight: U96F32 = root_tao.saturating_mul(Self::get_tao_weight()); diff --git a/pallets/subtensor/src/coinbase/run_coinbase.rs b/pallets/subtensor/src/coinbase/run_coinbase.rs index 922b3f5592..c1ad6732d5 100644 --- a/pallets/subtensor/src/coinbase/run_coinbase.rs +++ b/pallets/subtensor/src/coinbase/run_coinbase.rs @@ -252,6 +252,7 @@ impl Pallet { // --- 3. Inject ALPHA for participants. let cut_percent: U96F32 = Self::get_float_subnet_owner_cut(); + let burn_root_prop = Self::get_burn_root_prop(); for netuid_i in subnets_to_emit_to.iter() { // Get alpha_out for this block. let mut alpha_out_i: U96F32 = *alpha_out.get(netuid_i).unwrap_or(&asfloat!(0)); @@ -273,7 +274,11 @@ impl Pallet { }); // Get root proportional dividends. - let root_proportion = Self::root_proportion(*netuid_i); + let root_proportion = if burn_root_prop { + Self::raw_root_proportion(*netuid_i) + } else { + Self::root_proportion(*netuid_i) + }; log::debug!("root_proportion: {root_proportion:?}"); // Get root alpha from root prop. @@ -302,14 +307,16 @@ impl Pallet { *total = total.saturating_add(tou64!(pending_validator_alpha).into()); }); - if root_sell_flag { - // Only accumulate root alpha divs if root sell is allowed. + let root_alpha_amount = AlphaBalance::from(tou64!(root_alpha)); + + if burn_root_prop || root_sell_flag { + // Burn mode still creates root-sell pressure; the TAO proceeds are burned in root_claim_on_subnet. PendingRootAlphaDivs::::mutate(*netuid_i, |total| { - *total = total.saturating_add(tou64!(root_alpha).into()); + *total = total.saturating_add(root_alpha_amount); }); } else { // If we are not selling the root alpha, we should recycle it. - Self::recycle_subnet_alpha(*netuid_i, AlphaBalance::from(tou64!(root_alpha))); + Self::recycle_subnet_alpha(*netuid_i, root_alpha_amount); } } } @@ -680,13 +687,29 @@ impl Pallet { } // Distribute root alpha divs. + let burn_root_prop = Self::get_burn_root_prop(); let _ = RootAlphaDividendsPerSubnet::::clear_prefix(netuid, u32::MAX, None); for (hotkey, mut root_alpha) in root_alpha_dividends { + if burn_root_prop { + // Keep root yield in the root-claim path so it is sold through the pool first. + Self::increase_root_claimable_for_hotkey_and_subnet( + &hotkey, + netuid, + tou64!(root_alpha).into(), + ); + RootAlphaDividendsPerSubnet::::mutate(netuid, &hotkey, |divs| { + *divs = divs.saturating_add(tou64!(root_alpha).into()); + }); + continue; + } + // Get take prop let alpha_take: U96F32 = Self::get_hotkey_take_float(&hotkey).saturating_mul(root_alpha); + // Remove take prop from root_alpha root_alpha = root_alpha.saturating_sub(alpha_take); + // Give the validator their take. log::debug!("hotkey: {hotkey:?} alpha_take: {alpha_take:?}"); Self::increase_stake_for_hotkey_and_coldkey_on_subnet( diff --git a/pallets/subtensor/src/lib.rs b/pallets/subtensor/src/lib.rs index 98ee408fec..8c8a7a0f29 100644 --- a/pallets/subtensor/src/lib.rs +++ b/pallets/subtensor/src/lib.rs @@ -1314,6 +1314,10 @@ pub mod pallet { pub type RootProp = StorageMap<_, Identity, NetUid, U96F32, ValueQuery, DefaultRootProp>; + /// --- ITEM --> burn_root_prop | Sell root-proportional subnet yield through subnet pools and burn the TAO proceeds. + #[pallet::storage] + pub type BurnRootProp = StorageValue<_, bool, ValueQuery, DefaultFalse>; + /// --- MAP ( netuid ) --> total_volume | The total amount of TAO bought and sold since the start of the network. #[pallet::storage] pub type SubnetVolume = diff --git a/pallets/subtensor/src/macros/dispatches.rs b/pallets/subtensor/src/macros/dispatches.rs index a98578d813..7ccc1d08cb 100644 --- a/pallets/subtensor/src/macros/dispatches.rs +++ b/pallets/subtensor/src/macros/dispatches.rs @@ -2594,5 +2594,20 @@ mod dispatches { let coldkey = ensure_signed(origin)?; Self::do_move_lock(&coldkey, &destination_hotkey, netuid) } + + /// Sets whether root-proportional subnet yield is sold and burned instead of paid to root stakers. + /// + /// This is root-only. When enabled, root stakers receive zero yield from the + /// root-proportional portion on every subnet; root alpha is still sold through + /// the subnet pool and the resulting TAO is burned. + #[pallet::call_index(139)] + #[pallet::weight( + Weight::from_parts(6_000, 0).saturating_add(T::DbWeight::get().writes(1)) + )] + pub fn sudo_set_burn_root_prop(origin: OriginFor, enabled: bool) -> DispatchResult { + ensure_root(origin)?; + Self::set_burn_root_prop(enabled); + Ok(()) + } } } diff --git a/pallets/subtensor/src/macros/events.rs b/pallets/subtensor/src/macros/events.rs index cdb37bb0dd..f3798a5c55 100644 --- a/pallets/subtensor/src/macros/events.rs +++ b/pallets/subtensor/src/macros/events.rs @@ -478,6 +478,12 @@ mod events { root_claim_type: RootClaimTypeEnum, }, + /// Root-proportional subnet yield burn mode has been toggled. + BurnRootPropSet { + /// Whether root-proportional yield is sold through subnet pools and burned instead of paid to root stakers. + enabled: bool, + }, + /// Voting power tracking has been enabled for a subnet. VotingPowerTrackingEnabled { /// The subnet ID diff --git a/pallets/subtensor/src/staking/claim_root.rs b/pallets/subtensor/src/staking/claim_root.rs index 304eb37e5b..3e3590cfe3 100644 --- a/pallets/subtensor/src/staking/claim_root.rs +++ b/pallets/subtensor/src/staking/claim_root.rs @@ -52,7 +52,7 @@ impl Pallet { .unwrap_or(I96F32::saturating_from_num(0.0)); // Unlikely to happen. This is mostly for test environment sanity checks. - if u64::from(amount) > total.saturating_to_num::() { + if u64::from(amount) > total.saturating_to_num::() && !Self::get_burn_root_prop() { log::warn!("Not enough root stake. NetUID = {netuid}"); let owner = Owner::::get(hotkey); @@ -157,11 +157,14 @@ impl Pallet { return; // no-op } - let swap = match root_claim_type { - RootClaimTypeEnum::Swap => true, - RootClaimTypeEnum::Keep => false, - RootClaimTypeEnum::KeepSubnets { subnets } => !subnets.contains(&netuid), - }; + let burn_root_prop = Self::get_burn_root_prop(); + + let swap = burn_root_prop + || match root_claim_type { + RootClaimTypeEnum::Swap => true, + RootClaimTypeEnum::Keep => false, + RootClaimTypeEnum::KeepSubnets { subnets } => !subnets.contains(&netuid), + }; if swap { // Increase stake on root. Swap the alpha owed to TAO @@ -186,44 +189,60 @@ impl Pallet { }); Self::record_protocol_outflow(netuid, root_sell_tao); - // Transfer unstaked TAO from subnet account to the root subnet account - // and increase root stake. - if let Some(root_subnet_account_id) = Self::get_subnet_account_id(NetUid::ROOT) - && Self::transfer_tao_from_subnet( - netuid, - &root_subnet_account_id, - owed_tao.amount_paid_out.into(), - ) - .is_ok() - { - Self::increase_stake_for_hotkey_and_coldkey_on_subnet( + if burn_root_prop { + if let Some(subnet_account_id) = Self::get_subnet_account_id(netuid) { + if let Err(err) = + Self::burn_tao(&subnet_account_id, owed_tao.amount_paid_out.into()) + { + log::error!("Could not burn root prop TAO: {err:?}"); + return; + } + } else { + log::error!( + "Could not burn root prop TAO: subnet account does not exist for netuid {netuid}" + ); + return; + } + } else { + // Transfer unstaked TAO from subnet account to the root subnet account + // and increase root stake. + if let Some(root_subnet_account_id) = Self::get_subnet_account_id(NetUid::ROOT) + && Self::transfer_tao_from_subnet( + netuid, + &root_subnet_account_id, + owed_tao.amount_paid_out.into(), + ) + .is_ok() + { + Self::increase_stake_for_hotkey_and_coldkey_on_subnet( + hotkey, + coldkey, + NetUid::ROOT, + owed_tao.amount_paid_out.to_u64().into(), + ); + + // Increase root subnet SubnetTAO + SubnetTAO::::mutate(NetUid::ROOT, |total| { + *total = total.saturating_add(owed_tao.amount_paid_out.into()); + }); + + // Increase root SubnetAlphaOut + SubnetAlphaOut::::mutate(NetUid::ROOT, |total| { + *total = total.saturating_add(u64::from(owed_tao.amount_paid_out).into()); + }); + + // Increase Total Stake + TotalStake::::mutate(|total| { + *total = total.saturating_add(owed_tao.amount_paid_out.into()); + }); + } + + Self::add_stake_adjust_root_claimed_for_hotkey_and_coldkey( hotkey, coldkey, - NetUid::ROOT, - owed_tao.amount_paid_out.to_u64().into(), + owed_tao.amount_paid_out.into(), ); - - // Increase root subnet SubnetTAO - SubnetTAO::::mutate(NetUid::ROOT, |total| { - *total = total.saturating_add(owed_tao.amount_paid_out.into()); - }); - - // Increase root SubnetAlphaOut - SubnetAlphaOut::::mutate(NetUid::ROOT, |total| { - *total = total.saturating_add(u64::from(owed_tao.amount_paid_out).into()); - }); - - // Increase Total Stake - TotalStake::::mutate(|total| { - *total = total.saturating_add(owed_tao.amount_paid_out.into()); - }); } - - Self::add_stake_adjust_root_claimed_for_hotkey_and_coldkey( - hotkey, - coldkey, - owed_tao.amount_paid_out.into(), - ); } else /* Keep */ { diff --git a/pallets/subtensor/src/tests/claim_root.rs b/pallets/subtensor/src/tests/claim_root.rs index bd5761f376..069f74973c 100644 --- a/pallets/subtensor/src/tests/claim_root.rs +++ b/pallets/subtensor/src/tests/claim_root.rs @@ -15,12 +15,11 @@ use frame_support::pallet_prelude::Weight; use frame_support::traits::Get; use frame_support::{assert_err, assert_noop, assert_ok}; use sp_core::{H256, U256}; -use sp_runtime::DispatchError; +use sp_runtime::{DispatchError, traits::AccountIdConversion}; use std::collections::BTreeSet; use substrate_fixed::types::{I96F32, U64F64}; use subtensor_runtime_common::{AlphaBalance, NetUid, TaoBalance, Token}; use subtensor_swap_interface::SwapHandler; - #[test] fn test_claim_root_set_claim_type() { new_test_ext(1).execute_with(|| { @@ -2056,3 +2055,164 @@ fn test_claim_root_with_moved_stake() { assert_abs_diff_eq!(bob_stake_diff2, estimated_stake as u64, epsilon = 100u64,); }); } + +// SKIP_WASM_BUILD=1 RUST_LOG=debug cargo test --package pallet-subtensor --lib -- tests::claim_root::test_burn_root_prop_sells_root_yield_then_burns_tao --exact --show-output --nocapture +#[test] +fn test_burn_root_prop_sells_root_yield_then_burns_tao() { + new_test_ext(1).execute_with(|| { + let owner_coldkey = U256::from(1001); + let other_coldkey = U256::from(10010); + let hotkey = U256::from(1002); + let coldkey = U256::from(1003); + let netuid = add_dynamic_network(&hotkey, &owner_coldkey); + + SubtensorModule::set_tao_weight(u64::MAX); // Set TAO weight to 1.0 + SubnetMechanism::::insert(netuid, 1); + + let tao_reserve = TaoBalance::from(50_000_000_000_u64); + let alpha_in = AlphaBalance::from(100_000_000_000_u64); + SubnetTAO::::insert(netuid, tao_reserve); + SubnetAlphaIn::::insert(netuid, alpha_in); + + let root_stake = 2_000_000u64; + mock_increase_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &coldkey, + NetUid::ROOT, + root_stake.into(), + ); + mock_increase_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &other_coldkey, + NetUid::ROOT, + (9 * root_stake).into(), + ); + + let initial_total_hotkey_alpha = 10_000_000u64; + mock_increase_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &owner_coldkey, + netuid, + initial_total_hotkey_alpha.into(), + ); + + assert_noop!( + SubtensorModule::sudo_set_burn_root_prop(RuntimeOrigin::signed(coldkey), true), + DispatchError::BadOrigin + ); + assert!(!crate::BurnRootProp::::get()); + + assert_ok!(SubtensorModule::sudo_set_burn_root_prop( + RuntimeOrigin::root(), + true, + )); + assert!(crate::BurnRootProp::::get()); + + // Public/stored root prop is zeroed while burn mode is enabled. + assert_eq!( + SubtensorModule::root_proportion(netuid), + substrate_fixed::types::U96F32::from_num(0.0) + ); + SubtensorModule::update_root_prop(); + assert_eq!( + crate::RootProp::::get(netuid), + substrate_fixed::types::U96F32::from_num(0.0) + ); + + let owner_stake_before = SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &owner_coldkey, + netuid, + ); + let root_stake_before = SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &coldkey, + NetUid::ROOT, + ); + let coldkey_subnet_stake_before = + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet(&hotkey, &coldkey, netuid); + let root_subnet_tao_before = SubnetTAO::::get(NetUid::ROOT); + let total_stake_before = crate::TotalStake::::get(); + + let burn_account: U256 = + ::BurnAccountId::get().into_account_truncating(); + let burn_balance_before = SubtensorModule::get_coldkey_balance(&burn_account); + + // Distribute pending root alpha. Burn mode must not pay validator take here; + // it should create root claimable that will be sold and burned on claim. + let pending_root_alpha = 10_000_000u64; + SubtensorModule::distribute_emission( + netuid, + AlphaBalance::ZERO, + AlphaBalance::ZERO, + pending_root_alpha.into(), + AlphaBalance::ZERO, + ); + + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &owner_coldkey, + netuid, + ), + owner_stake_before + ); + assert!( + crate::RootAlphaDividendsPerSubnet::::get(netuid, hotkey) > AlphaBalance::ZERO + ); + let owed_before = + SubtensorModule::get_root_owed_for_hotkey_coldkey(&hotkey, &coldkey, netuid); + assert!(owed_before > 0); + + // Even with claim type Keep, burn mode must force root yield to sell + // through the subnet pool and burn the TAO proceeds instead of staking/paying. + assert_ok!(SubtensorModule::set_root_claim_type( + RuntimeOrigin::signed(coldkey), + RootClaimTypeEnum::Keep + )); + assert_eq!(RootClaimType::::get(coldkey), RootClaimTypeEnum::Keep); + + let subnet_tao_before_claim = SubnetTAO::::get(netuid); + let root_sell_tao_before = crate::SubnetRootSellTao::::get(netuid); + assert_ok!(SubtensorModule::claim_root( + RuntimeOrigin::signed(coldkey), + BTreeSet::from([netuid]) + )); + + let root_sell_tao = + crate::SubnetRootSellTao::::get(netuid).saturating_sub(root_sell_tao_before); + assert!(root_sell_tao > TaoBalance::ZERO); + assert_eq!( + subnet_tao_before_claim.saturating_sub(SubnetTAO::::get(netuid)), + root_sell_tao + ); + assert_eq!( + SubtensorModule::get_coldkey_balance(&burn_account).saturating_sub(burn_balance_before), + root_sell_tao.into() + ); + + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &hotkey, + &coldkey, + NetUid::ROOT, + ), + root_stake_before + ); + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet(&hotkey, &coldkey, netuid,), + coldkey_subnet_stake_before + ); + + // Base swap claims send sold TAO into root stake/accounting. Burn mode must not. + assert!(SubnetTAO::::get(NetUid::ROOT) <= root_subnet_tao_before); + assert_eq!( + total_stake_before.saturating_sub(crate::TotalStake::::get()), + root_sell_tao + ); + assert_eq!( + SubtensorModule::get_root_owed_for_hotkey_coldkey(&hotkey, &coldkey, netuid), + 0 + ); + }); +} diff --git a/pallets/subtensor/src/weights.rs b/pallets/subtensor/src/weights.rs index 03fee56829..47cb9c068b 100644 --- a/pallets/subtensor/src/weights.rs +++ b/pallets/subtensor/src/weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_subtensor` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-05-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 9V74 80-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.4w3qE893EF +// --output=/tmp/tmp.x62sZN5jH7 // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -196,8 +196,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1716` // Estimated: `13600` - // Minimum execution time: 356_574_000 picoseconds. - Weight::from_parts(362_715_000, 13600) + // Minimum execution time: 360_980_000 picoseconds. + Weight::from_parts(363_834_000, 13600) .saturating_add(T::DbWeight::get().reads(48_u64)) .saturating_add(T::DbWeight::get().writes(40_u64)) } @@ -237,10 +237,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `188792` - // Estimated: `10327382` - // Minimum execution time: 15_273_144_000 picoseconds. - Weight::from_parts(15_604_439_000, 10327382) + // Measured: `188782` + // Estimated: `10327372` + // Minimum execution time: 15_235_625_000 picoseconds. + Weight::from_parts(15_608_065_000, 10327372) .saturating_add(T::DbWeight::get().reads(4112_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -306,10 +306,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2599` + // Measured: `2589` // Estimated: `8727` - // Minimum execution time: 435_739_000 picoseconds. - Weight::from_parts(439_516_000, 8727) + // Minimum execution time: 437_242_000 picoseconds. + Weight::from_parts(453_834_000, 8727) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(18_u64)) } @@ -321,10 +321,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn serve_axon() -> Weight { // Proof Size summary in bytes: - // Measured: `801` - // Estimated: `6741` - // Minimum execution time: 33_603_000 picoseconds. - Weight::from_parts(34_534_000, 6741) + // Measured: `791` + // Estimated: `6731` + // Minimum execution time: 34_104_000 picoseconds. + Weight::from_parts(35_076_000, 6731) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -336,10 +336,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn serve_prometheus() -> Weight { // Proof Size summary in bytes: - // Measured: `774` - // Estimated: `6714` - // Minimum execution time: 30_206_000 picoseconds. - Weight::from_parts(30_586_000, 6714) + // Measured: `764` + // Estimated: `6704` + // Minimum execution time: 30_077_000 picoseconds. + Weight::from_parts(30_989_000, 6704) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -441,8 +441,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1649` // Estimated: `13600` - // Minimum execution time: 349_238_000 picoseconds. - Weight::from_parts(369_776_000, 13600) + // Minimum execution time: 373_683_000 picoseconds. + Weight::from_parts(376_809_000, 13600) .saturating_add(T::DbWeight::get().reads(48_u64)) .saturating_add(T::DbWeight::get().writes(40_u64)) } @@ -492,10 +492,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) fn root_register() -> Weight { // Proof Size summary in bytes: - // Measured: `1445` - // Estimated: `4910` - // Minimum execution time: 99_725_000 picoseconds. - Weight::from_parts(101_969_000, 4910) + // Measured: `1444` + // Estimated: `4909` + // Minimum execution time: 100_919_000 picoseconds. + Weight::from_parts(103_335_000, 4909) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -615,8 +615,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1459` // Estimated: `9874` - // Minimum execution time: 270_822_000 picoseconds. - Weight::from_parts(277_174_000, 9874) + // Minimum execution time: 269_978_000 picoseconds. + Weight::from_parts(273_545_000, 9874) .saturating_add(T::DbWeight::get().reads(42_u64)) .saturating_add(T::DbWeight::get().writes(48_u64)) } @@ -642,10 +642,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1071` - // Estimated: `4536` - // Minimum execution time: 60_101_000 picoseconds. - Weight::from_parts(61_574_000, 4536) + // Measured: `1061` + // Estimated: `4526` + // Minimum execution time: 60_774_000 picoseconds. + Weight::from_parts(61_927_000, 4526) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -687,10 +687,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reveal_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1589` - // Estimated: `7529` - // Minimum execution time: 106_016_000 picoseconds. - Weight::from_parts(108_191_000, 7529) + // Measured: `1579` + // Estimated: `7519` + // Minimum execution time: 107_792_000 picoseconds. + Weight::from_parts(109_586_000, 7519) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -700,8 +700,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_320_000 picoseconds. - Weight::from_parts(5_671_000, 0) + // Minimum execution time: 5_290_000 picoseconds. + Weight::from_parts(5_721_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -716,10 +716,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TransactionKeyLastBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_childkey_take() -> Weight { // Proof Size summary in bytes: - // Measured: `948` - // Estimated: `4413` - // Minimum execution time: 46_306_000 picoseconds. - Weight::from_parts(46_907_000, 4413) + // Measured: `938` + // Estimated: `4403` + // Minimum execution time: 46_488_000 picoseconds. + Weight::from_parts(47_350_000, 4403) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -735,8 +735,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 44_943_000 picoseconds. - Weight::from_parts(46_216_000, 4159) + // Minimum execution time: 45_396_000 picoseconds. + Weight::from_parts(46_828_000, 4159) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -774,10 +774,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_coldkey_announced() -> Weight { // Proof Size summary in bytes: - // Measured: `2175` - // Estimated: `13065` - // Minimum execution time: 270_411_000 picoseconds. - Weight::from_parts(273_768_000, 13065) + // Measured: `2150` + // Estimated: `13040` + // Minimum execution time: 271_611_000 picoseconds. + Weight::from_parts(273_435_000, 13040) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -819,10 +819,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_coldkey() -> Weight { // Proof Size summary in bytes: - // Measured: `2231` - // Estimated: `13121` - // Minimum execution time: 294_487_000 picoseconds. - Weight::from_parts(300_989_000, 13121) + // Measured: `2210` + // Estimated: `13100` + // Minimum execution time: 296_087_000 picoseconds. + Weight::from_parts(299_413_000, 13100) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } @@ -834,8 +834,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_451_000 picoseconds. - Weight::from_parts(22_933_000, 4130) + // Minimum execution time: 22_111_000 picoseconds. + Weight::from_parts(22_823_000, 4130) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -847,8 +847,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_194_000 picoseconds. - Weight::from_parts(19_235_000, 4078) + // Minimum execution time: 18_565_000 picoseconds. + Weight::from_parts(19_056_000, 4078) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -861,7 +861,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 8_486_000 picoseconds. - Weight::from_parts(8_846_000, 0) + Weight::from_parts(8_826_000, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -902,10 +902,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_reveal_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `2094` - // Estimated: `8034` - // Minimum execution time: 400_944_000 picoseconds. - Weight::from_parts(408_848_000, 8034) + // Measured: `2084` + // Estimated: `8024` + // Minimum execution time: 408_699_000 picoseconds. + Weight::from_parts(419_189_000, 8024) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -937,10 +937,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `AlphaAssets::TotalAlphaIssuance` (`max_values`: None, `max_size`: None, mode: `Measured`) fn recycle_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1873` - // Estimated: `5338` - // Minimum execution time: 173_391_000 picoseconds. - Weight::from_parts(174_965_000, 5338) + // Measured: `1863` + // Estimated: `5328` + // Minimum execution time: 178_045_000 picoseconds. + Weight::from_parts(180_399_000, 5328) .saturating_add(T::DbWeight::get().reads(13_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -970,10 +970,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) fn burn_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1873` - // Estimated: `5338` - // Minimum execution time: 169_094_000 picoseconds. - Weight::from_parts(170_977_000, 5338) + // Measured: `1863` + // Estimated: `5328` + // Minimum execution time: 176_372_000 picoseconds. + Weight::from_parts(178_245_000, 5328) .saturating_add(T::DbWeight::get().reads(12_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -991,10 +991,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn start_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1118` - // Estimated: `4583` - // Minimum execution time: 38_582_000 picoseconds. - Weight::from_parts(39_323_000, 4583) + // Measured: `1108` + // Estimated: `4573` + // Minimum execution time: 38_301_000 picoseconds. + Weight::from_parts(39_484_000, 4573) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1060,10 +1060,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2599` + // Measured: `2589` // Estimated: `8727` - // Minimum execution time: 471_916_000 picoseconds. - Weight::from_parts(492_534_000, 8727) + // Minimum execution time: 481_686_000 picoseconds. + Weight::from_parts(502_826_000, 8727) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(18_u64)) } @@ -1097,10 +1097,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn move_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2027` - // Estimated: `7967` - // Minimum execution time: 210_781_000 picoseconds. - Weight::from_parts(214_729_000, 7967) + // Measured: `2002` + // Estimated: `7942` + // Minimum execution time: 211_418_000 picoseconds. + Weight::from_parts(214_463_000, 7942) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -1164,10 +1164,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2564` - // Estimated: `10979` - // Minimum execution time: 420_992_000 picoseconds. - Weight::from_parts(440_537_000, 10979) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 424_639_000 picoseconds. + Weight::from_parts(434_648_000, 10954) .saturating_add(T::DbWeight::get().reads(35_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -1229,10 +1229,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2564` - // Estimated: `10979` - // Minimum execution time: 454_935_000 picoseconds. - Weight::from_parts(476_194_000, 10979) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 457_902_000 picoseconds. + Weight::from_parts(480_153_000, 10954) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -1300,10 +1300,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2978` - // Estimated: `11393` - // Minimum execution time: 659_494_000 picoseconds. - Weight::from_parts(683_398_000, 11393) + // Measured: `2942` + // Estimated: `11357` + // Minimum execution time: 659_371_000 picoseconds. + Weight::from_parts(682_956_000, 11357) .saturating_add(T::DbWeight::get().reads(49_u64)) .saturating_add(T::DbWeight::get().writes(26_u64)) } @@ -1341,10 +1341,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2021` - // Estimated: `7961` - // Minimum execution time: 240_076_000 picoseconds. - Weight::from_parts(243_041_000, 7961) + // Measured: `1996` + // Estimated: `7936` + // Minimum execution time: 239_531_000 picoseconds. + Weight::from_parts(244_390_000, 7936) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1412,10 +1412,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2824` - // Estimated: `11239` - // Minimum execution time: 604_913_000 picoseconds. - Weight::from_parts(627_404_000, 11239) + // Measured: `2788` + // Estimated: `11203` + // Minimum execution time: 605_570_000 picoseconds. + Weight::from_parts(628_203_000, 11203) .saturating_add(T::DbWeight::get().reads(49_u64)) .saturating_add(T::DbWeight::get().writes(26_u64)) } @@ -1443,10 +1443,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::WeightsSetRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1122` - // Estimated: `4587` - // Minimum execution time: 124_180_000 picoseconds. - Weight::from_parts(126_024_000, 4587) + // Measured: `1112` + // Estimated: `4577` + // Minimum execution time: 127_320_000 picoseconds. + Weight::from_parts(128_452_000, 4577) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1484,10 +1484,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_set_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1426` - // Estimated: `7366` - // Minimum execution time: 99_064_000 picoseconds. - Weight::from_parts(100_797_000, 7366) + // Measured: `1416` + // Estimated: `7356` + // Minimum execution time: 100_188_000 picoseconds. + Weight::from_parts(101_461_000, 7356) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1503,8 +1503,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `793` // Estimated: `4258` - // Minimum execution time: 27_892_000 picoseconds. - Weight::from_parts(29_104_000, 4258) + // Minimum execution time: 27_993_000 picoseconds. + Weight::from_parts(28_644_000, 4258) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1522,8 +1522,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `886` // Estimated: `4351` - // Minimum execution time: 34_955_000 picoseconds. - Weight::from_parts(35_636_000, 4351) + // Minimum execution time: 35_167_000 picoseconds. + Weight::from_parts(36_309_000, 4351) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1643,8 +1643,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1343` // Estimated: `9758` - // Minimum execution time: 265_694_000 picoseconds. - Weight::from_parts(271_955_000, 9758) + // Minimum execution time: 267_132_000 picoseconds. + Weight::from_parts(273_555_000, 9758) .saturating_add(T::DbWeight::get().reads(41_u64)) .saturating_add(T::DbWeight::get().writes(47_u64)) } @@ -1656,10 +1656,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn serve_axon_tls() -> Weight { // Proof Size summary in bytes: - // Measured: `772` - // Estimated: `6712` - // Minimum execution time: 33_513_000 picoseconds. - Weight::from_parts(34_363_000, 6712) + // Measured: `762` + // Estimated: `6702` + // Minimum execution time: 33_253_000 picoseconds. + Weight::from_parts(34_334_000, 6702) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1671,10 +1671,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::IdentitiesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_identity() -> Weight { // Proof Size summary in bytes: - // Measured: `852` - // Estimated: `6792` - // Minimum execution time: 30_677_000 picoseconds. - Weight::from_parts(32_190_000, 6792) + // Measured: `842` + // Estimated: `6782` + // Minimum execution time: 30_838_000 picoseconds. + Weight::from_parts(31_640_000, 6782) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1686,8 +1686,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_733_000 picoseconds. - Weight::from_parts(18_354_000, 4060) + // Minimum execution time: 17_704_000 picoseconds. + Weight::from_parts(18_174_000, 4060) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1761,8 +1761,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3026` // Estimated: `28766` - // Minimum execution time: 1_133_333_000 picoseconds. - Weight::from_parts(1_143_512_000, 28766) + // Minimum execution time: 1_146_389_000 picoseconds. + Weight::from_parts(1_157_089_000, 28766) .saturating_add(T::DbWeight::get().reads(166_u64)) .saturating_add(T::DbWeight::get().writes(95_u64)) } @@ -1776,8 +1776,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `745` // Estimated: `4210` - // Minimum execution time: 23_985_000 picoseconds. - Weight::from_parts(24_835_000, 4210) + // Minimum execution time: 23_875_000 picoseconds. + Weight::from_parts(24_637_000, 4210) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1791,8 +1791,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `740` // Estimated: `9155` - // Minimum execution time: 26_810_000 picoseconds. - Weight::from_parts(27_371_000, 9155) + // Minimum execution time: 26_370_000 picoseconds. + Weight::from_parts(27_101_000, 9155) .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -1861,10 +1861,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unstake_all_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `2642` + // Measured: `2617` // Estimated: `11306` - // Minimum execution time: 562_454_000 picoseconds. - Weight::from_parts(571_821_000, 11306) + // Minimum execution time: 568_832_000 picoseconds. + Weight::from_parts(588_007_000, 11306) .saturating_add(T::DbWeight::get().reads(50_u64)) .saturating_add(T::DbWeight::get().writes(27_u64)) } @@ -1926,10 +1926,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_full_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2564` - // Estimated: `10979` - // Minimum execution time: 479_209_000 picoseconds. - Weight::from_parts(485_020_000, 10979) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 482_639_000 picoseconds. + Weight::from_parts(506_293_000, 10954) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -2068,10 +2068,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1762 + k * (44 ±0)` // Estimated: `10183 + k * (2579 ±0)` - // Minimum execution time: 472_747_000 picoseconds. - Weight::from_parts(310_064_795, 10183) - // Standard Error: 49_391 - .saturating_add(Weight::from_parts(45_675_968, 0).saturating_mul(k.into())) + // Minimum execution time: 476_848_000 picoseconds. + Weight::from_parts(298_586_627, 10183) + // Standard Error: 36_848 + .saturating_add(Weight::from_parts(45_631_078, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(53_u64)) @@ -2101,10 +2101,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1468 + k * (53 ±0)` // Estimated: `6148 + k * (2514 ±0)` - // Minimum execution time: 93_393_000 picoseconds. - Weight::from_parts(108_331_864, 6148) - // Standard Error: 6_240 - .saturating_add(Weight::from_parts(1_507_109, 0).saturating_mul(k.into())) + // Minimum execution time: 127_110_000 picoseconds. + Weight::from_parts(133_384_459, 6148) + // Standard Error: 6_097 + .saturating_add(Weight::from_parts(1_681_002, 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)) @@ -2117,10 +2117,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TokenSymbol` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_symbol() -> Weight { // Proof Size summary in bytes: - // Measured: `659` - // Estimated: `9074` - // Minimum execution time: 26_269_000 picoseconds. - Weight::from_parts(27_120_000, 9074) + // Measured: `649` + // Estimated: `9064` + // Minimum execution time: 27_222_000 picoseconds. + Weight::from_parts(28_324_000, 9064) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2146,10 +2146,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn commit_timelocked_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1070` - // Estimated: `4535` - // Minimum execution time: 72_374_000 picoseconds. - Weight::from_parts(73_256_000, 4535) + // Measured: `1060` + // Estimated: `4525` + // Minimum execution time: 73_348_000 picoseconds. + Weight::from_parts(74_501_000, 4525) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2163,10 +2163,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::AutoStakeDestinationColdkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_coldkey_auto_stake_hotkey() -> Weight { // Proof Size summary in bytes: - // Measured: `809` - // Estimated: `4274` - // Minimum execution time: 32_811_000 picoseconds. - Weight::from_parts(33_332_000, 4274) + // Measured: `799` + // Estimated: `4264` + // Minimum execution time: 33_543_000 picoseconds. + Weight::from_parts(34_035_000, 4264) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2182,8 +2182,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_442_000 picoseconds. - Weight::from_parts(18_325_000, 3941) + // Minimum execution time: 17_603_000 picoseconds. + Weight::from_parts(18_034_000, 3941) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2209,13 +2209,15 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::RootClaimed` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RootClaimableThreshold` (r:1 w:0) /// Proof: `SubtensorModule::RootClaimableThreshold` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::BurnRootProp` (r:1 w:0) + /// Proof: `SubtensorModule::BurnRootProp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn claim_root() -> Weight { // Proof Size summary in bytes: - // Measured: `1929` - // Estimated: `7869` - // Minimum execution time: 132_877_000 picoseconds. - Weight::from_parts(134_610_000, 7869) - .saturating_add(T::DbWeight::get().reads(16_u64)) + // Measured: `1908` + // Estimated: `7848` + // Minimum execution time: 133_292_000 picoseconds. + Weight::from_parts(135_557_000, 7848) + .saturating_add(T::DbWeight::get().reads(17_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } /// Storage: `SubtensorModule::NumRootClaim` (r:0 w:1) @@ -2224,8 +2226,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_615_000 picoseconds. - Weight::from_parts(2_836_000, 0) + // Minimum execution time: 2_705_000 picoseconds. + Weight::from_parts(2_926_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -2234,8 +2236,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_220_000 picoseconds. - Weight::from_parts(5_911_000, 0) + // Minimum execution time: 5_170_000 picoseconds. + Weight::from_parts(5_691_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2246,10 +2248,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::AutoParentDelegationEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_auto_parent_delegation_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `862` - // Estimated: `4327` - // Minimum execution time: 25_918_000 picoseconds. - Weight::from_parts(26_880_000, 4327) + // Measured: `852` + // Estimated: `4317` + // Minimum execution time: 26_640_000 picoseconds. + Weight::from_parts(27_362_000, 4317) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2317,10 +2319,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `2602` + // Measured: `2592` // Estimated: `8727` - // Minimum execution time: 593_733_000 picoseconds. - Weight::from_parts(617_797_000, 8727) + // Minimum execution time: 602_169_000 picoseconds. + Weight::from_parts(623_989_000, 8727) .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } @@ -2330,8 +2332,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_816_000 picoseconds. - Weight::from_parts(2_966_000, 0) + // Minimum execution time: 2_875_000 picoseconds. + Weight::from_parts(3_016_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) @@ -2354,8 +2356,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1463` // Estimated: `4928` - // Minimum execution time: 91_761_000 picoseconds. - Weight::from_parts(93_133_000, 4928) + // Minimum execution time: 91_683_000 picoseconds. + Weight::from_parts(93_107_000, 4928) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2371,8 +2373,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 72_464_000 picoseconds. - Weight::from_parts(73_697_000, 6918) + // Minimum execution time: 70_593_000 picoseconds. + Weight::from_parts(72_246_000, 6918) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2390,8 +2392,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `7242` - // Minimum execution time: 94_536_000 picoseconds. - Weight::from_parts(96_199_000, 7242) + // Minimum execution time: 92_866_000 picoseconds. + Weight::from_parts(94_739_000, 7242) .saturating_add(T::DbWeight::get().reads(8_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2497,8 +2499,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1716` // Estimated: `13600` - // Minimum execution time: 356_574_000 picoseconds. - Weight::from_parts(362_715_000, 13600) + // Minimum execution time: 360_980_000 picoseconds. + Weight::from_parts(363_834_000, 13600) .saturating_add(RocksDbWeight::get().reads(48_u64)) .saturating_add(RocksDbWeight::get().writes(40_u64)) } @@ -2538,10 +2540,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `188792` - // Estimated: `10327382` - // Minimum execution time: 15_273_144_000 picoseconds. - Weight::from_parts(15_604_439_000, 10327382) + // Measured: `188782` + // Estimated: `10327372` + // Minimum execution time: 15_235_625_000 picoseconds. + Weight::from_parts(15_608_065_000, 10327372) .saturating_add(RocksDbWeight::get().reads(4112_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2607,10 +2609,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2599` + // Measured: `2589` // Estimated: `8727` - // Minimum execution time: 435_739_000 picoseconds. - Weight::from_parts(439_516_000, 8727) + // Minimum execution time: 437_242_000 picoseconds. + Weight::from_parts(453_834_000, 8727) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(18_u64)) } @@ -2622,10 +2624,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn serve_axon() -> Weight { // Proof Size summary in bytes: - // Measured: `801` - // Estimated: `6741` - // Minimum execution time: 33_603_000 picoseconds. - Weight::from_parts(34_534_000, 6741) + // Measured: `791` + // Estimated: `6731` + // Minimum execution time: 34_104_000 picoseconds. + Weight::from_parts(35_076_000, 6731) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2637,10 +2639,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn serve_prometheus() -> Weight { // Proof Size summary in bytes: - // Measured: `774` - // Estimated: `6714` - // Minimum execution time: 30_206_000 picoseconds. - Weight::from_parts(30_586_000, 6714) + // Measured: `764` + // Estimated: `6704` + // Minimum execution time: 30_077_000 picoseconds. + Weight::from_parts(30_989_000, 6704) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2742,8 +2744,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1649` // Estimated: `13600` - // Minimum execution time: 349_238_000 picoseconds. - Weight::from_parts(369_776_000, 13600) + // Minimum execution time: 373_683_000 picoseconds. + Weight::from_parts(376_809_000, 13600) .saturating_add(RocksDbWeight::get().reads(48_u64)) .saturating_add(RocksDbWeight::get().writes(40_u64)) } @@ -2793,10 +2795,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) fn root_register() -> Weight { // Proof Size summary in bytes: - // Measured: `1445` - // Estimated: `4910` - // Minimum execution time: 99_725_000 picoseconds. - Weight::from_parts(101_969_000, 4910) + // Measured: `1444` + // Estimated: `4909` + // Minimum execution time: 100_919_000 picoseconds. + Weight::from_parts(103_335_000, 4909) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -2916,8 +2918,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1459` // Estimated: `9874` - // Minimum execution time: 270_822_000 picoseconds. - Weight::from_parts(277_174_000, 9874) + // Minimum execution time: 269_978_000 picoseconds. + Weight::from_parts(273_545_000, 9874) .saturating_add(RocksDbWeight::get().reads(42_u64)) .saturating_add(RocksDbWeight::get().writes(48_u64)) } @@ -2943,10 +2945,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1071` - // Estimated: `4536` - // Minimum execution time: 60_101_000 picoseconds. - Weight::from_parts(61_574_000, 4536) + // Measured: `1061` + // Estimated: `4526` + // Minimum execution time: 60_774_000 picoseconds. + Weight::from_parts(61_927_000, 4526) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2988,10 +2990,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn reveal_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1589` - // Estimated: `7529` - // Minimum execution time: 106_016_000 picoseconds. - Weight::from_parts(108_191_000, 7529) + // Measured: `1579` + // Estimated: `7519` + // Minimum execution time: 107_792_000 picoseconds. + Weight::from_parts(109_586_000, 7519) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3001,8 +3003,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_320_000 picoseconds. - Weight::from_parts(5_671_000, 0) + // Minimum execution time: 5_290_000 picoseconds. + Weight::from_parts(5_721_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -3017,10 +3019,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TransactionKeyLastBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_childkey_take() -> Weight { // Proof Size summary in bytes: - // Measured: `948` - // Estimated: `4413` - // Minimum execution time: 46_306_000 picoseconds. - Weight::from_parts(46_907_000, 4413) + // Measured: `938` + // Estimated: `4403` + // Minimum execution time: 46_488_000 picoseconds. + Weight::from_parts(47_350_000, 4403) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3036,8 +3038,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 44_943_000 picoseconds. - Weight::from_parts(46_216_000, 4159) + // Minimum execution time: 45_396_000 picoseconds. + Weight::from_parts(46_828_000, 4159) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3075,10 +3077,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_coldkey_announced() -> Weight { // Proof Size summary in bytes: - // Measured: `2175` - // Estimated: `13065` - // Minimum execution time: 270_411_000 picoseconds. - Weight::from_parts(273_768_000, 13065) + // Measured: `2150` + // Estimated: `13040` + // Minimum execution time: 271_611_000 picoseconds. + Weight::from_parts(273_435_000, 13040) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -3120,10 +3122,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_coldkey() -> Weight { // Proof Size summary in bytes: - // Measured: `2231` - // Estimated: `13121` - // Minimum execution time: 294_487_000 picoseconds. - Weight::from_parts(300_989_000, 13121) + // Measured: `2210` + // Estimated: `13100` + // Minimum execution time: 296_087_000 picoseconds. + Weight::from_parts(299_413_000, 13100) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } @@ -3135,8 +3137,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_451_000 picoseconds. - Weight::from_parts(22_933_000, 4130) + // Minimum execution time: 22_111_000 picoseconds. + Weight::from_parts(22_823_000, 4130) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3148,8 +3150,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_194_000 picoseconds. - Weight::from_parts(19_235_000, 4078) + // Minimum execution time: 18_565_000 picoseconds. + Weight::from_parts(19_056_000, 4078) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3162,7 +3164,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 8_486_000 picoseconds. - Weight::from_parts(8_846_000, 0) + Weight::from_parts(8_826_000, 0) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -3203,10 +3205,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_reveal_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `2094` - // Estimated: `8034` - // Minimum execution time: 400_944_000 picoseconds. - Weight::from_parts(408_848_000, 8034) + // Measured: `2084` + // Estimated: `8024` + // Minimum execution time: 408_699_000 picoseconds. + Weight::from_parts(419_189_000, 8024) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3238,10 +3240,10 @@ impl WeightInfo for () { /// Proof: `AlphaAssets::TotalAlphaIssuance` (`max_values`: None, `max_size`: None, mode: `Measured`) fn recycle_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1873` - // Estimated: `5338` - // Minimum execution time: 173_391_000 picoseconds. - Weight::from_parts(174_965_000, 5338) + // Measured: `1863` + // Estimated: `5328` + // Minimum execution time: 178_045_000 picoseconds. + Weight::from_parts(180_399_000, 5328) .saturating_add(RocksDbWeight::get().reads(13_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3271,10 +3273,10 @@ impl WeightInfo for () { /// Proof: `AlphaAssets::AlphaBurned` (`max_values`: None, `max_size`: None, mode: `Measured`) fn burn_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1873` - // Estimated: `5338` - // Minimum execution time: 169_094_000 picoseconds. - Weight::from_parts(170_977_000, 5338) + // Measured: `1863` + // Estimated: `5328` + // Minimum execution time: 176_372_000 picoseconds. + Weight::from_parts(178_245_000, 5328) .saturating_add(RocksDbWeight::get().reads(12_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -3292,10 +3294,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn start_call() -> Weight { // Proof Size summary in bytes: - // Measured: `1118` - // Estimated: `4583` - // Minimum execution time: 38_582_000 picoseconds. - Weight::from_parts(39_323_000, 4583) + // Measured: `1108` + // Estimated: `4573` + // Minimum execution time: 38_301_000 picoseconds. + Weight::from_parts(39_484_000, 4573) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3361,10 +3363,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2599` + // Measured: `2589` // Estimated: `8727` - // Minimum execution time: 471_916_000 picoseconds. - Weight::from_parts(492_534_000, 8727) + // Minimum execution time: 481_686_000 picoseconds. + Weight::from_parts(502_826_000, 8727) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(18_u64)) } @@ -3398,10 +3400,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn move_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2027` - // Estimated: `7967` - // Minimum execution time: 210_781_000 picoseconds. - Weight::from_parts(214_729_000, 7967) + // Measured: `2002` + // Estimated: `7942` + // Minimum execution time: 211_418_000 picoseconds. + Weight::from_parts(214_463_000, 7942) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -3465,10 +3467,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2564` - // Estimated: `10979` - // Minimum execution time: 420_992_000 picoseconds. - Weight::from_parts(440_537_000, 10979) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 424_639_000 picoseconds. + Weight::from_parts(434_648_000, 10954) .saturating_add(RocksDbWeight::get().reads(35_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -3530,10 +3532,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2564` - // Estimated: `10979` - // Minimum execution time: 454_935_000 picoseconds. - Weight::from_parts(476_194_000, 10979) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 457_902_000 picoseconds. + Weight::from_parts(480_153_000, 10954) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -3601,10 +3603,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2978` - // Estimated: `11393` - // Minimum execution time: 659_494_000 picoseconds. - Weight::from_parts(683_398_000, 11393) + // Measured: `2942` + // Estimated: `11357` + // Minimum execution time: 659_371_000 picoseconds. + Weight::from_parts(682_956_000, 11357) .saturating_add(RocksDbWeight::get().reads(49_u64)) .saturating_add(RocksDbWeight::get().writes(26_u64)) } @@ -3642,10 +3644,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn transfer_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2021` - // Estimated: `7961` - // Minimum execution time: 240_076_000 picoseconds. - Weight::from_parts(243_041_000, 7961) + // Measured: `1996` + // Estimated: `7936` + // Minimum execution time: 239_531_000 picoseconds. + Weight::from_parts(244_390_000, 7936) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3713,10 +3715,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2824` - // Estimated: `11239` - // Minimum execution time: 604_913_000 picoseconds. - Weight::from_parts(627_404_000, 11239) + // Measured: `2788` + // Estimated: `11203` + // Minimum execution time: 605_570_000 picoseconds. + Weight::from_parts(628_203_000, 11203) .saturating_add(RocksDbWeight::get().reads(49_u64)) .saturating_add(RocksDbWeight::get().writes(26_u64)) } @@ -3744,10 +3746,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::WeightsSetRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_commit_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1122` - // Estimated: `4587` - // Minimum execution time: 124_180_000 picoseconds. - Weight::from_parts(126_024_000, 4587) + // Measured: `1112` + // Estimated: `4577` + // Minimum execution time: 127_320_000 picoseconds. + Weight::from_parts(128_452_000, 4577) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3785,10 +3787,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Weights` (`max_values`: None, `max_size`: None, mode: `Measured`) fn batch_set_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1426` - // Estimated: `7366` - // Minimum execution time: 99_064_000 picoseconds. - Weight::from_parts(100_797_000, 7366) + // Measured: `1416` + // Estimated: `7356` + // Minimum execution time: 100_188_000 picoseconds. + Weight::from_parts(101_461_000, 7356) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3804,8 +3806,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `793` // Estimated: `4258` - // Minimum execution time: 27_892_000 picoseconds. - Weight::from_parts(29_104_000, 4258) + // Minimum execution time: 27_993_000 picoseconds. + Weight::from_parts(28_644_000, 4258) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3823,8 +3825,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `886` // Estimated: `4351` - // Minimum execution time: 34_955_000 picoseconds. - Weight::from_parts(35_636_000, 4351) + // Minimum execution time: 35_167_000 picoseconds. + Weight::from_parts(36_309_000, 4351) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3944,8 +3946,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1343` // Estimated: `9758` - // Minimum execution time: 265_694_000 picoseconds. - Weight::from_parts(271_955_000, 9758) + // Minimum execution time: 267_132_000 picoseconds. + Weight::from_parts(273_555_000, 9758) .saturating_add(RocksDbWeight::get().reads(41_u64)) .saturating_add(RocksDbWeight::get().writes(47_u64)) } @@ -3957,10 +3959,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ServingRateLimit` (`max_values`: None, `max_size`: None, mode: `Measured`) fn serve_axon_tls() -> Weight { // Proof Size summary in bytes: - // Measured: `772` - // Estimated: `6712` - // Minimum execution time: 33_513_000 picoseconds. - Weight::from_parts(34_363_000, 6712) + // Measured: `762` + // Estimated: `6702` + // Minimum execution time: 33_253_000 picoseconds. + Weight::from_parts(34_334_000, 6702) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3972,10 +3974,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::IdentitiesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_identity() -> Weight { // Proof Size summary in bytes: - // Measured: `852` - // Estimated: `6792` - // Minimum execution time: 30_677_000 picoseconds. - Weight::from_parts(32_190_000, 6792) + // Measured: `842` + // Estimated: `6782` + // Minimum execution time: 30_838_000 picoseconds. + Weight::from_parts(31_640_000, 6782) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3987,8 +3989,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_733_000 picoseconds. - Weight::from_parts(18_354_000, 4060) + // Minimum execution time: 17_704_000 picoseconds. + Weight::from_parts(18_174_000, 4060) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4062,8 +4064,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3026` // Estimated: `28766` - // Minimum execution time: 1_133_333_000 picoseconds. - Weight::from_parts(1_143_512_000, 28766) + // Minimum execution time: 1_146_389_000 picoseconds. + Weight::from_parts(1_157_089_000, 28766) .saturating_add(RocksDbWeight::get().reads(166_u64)) .saturating_add(RocksDbWeight::get().writes(95_u64)) } @@ -4077,8 +4079,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `745` // Estimated: `4210` - // Minimum execution time: 23_985_000 picoseconds. - Weight::from_parts(24_835_000, 4210) + // Minimum execution time: 23_875_000 picoseconds. + Weight::from_parts(24_637_000, 4210) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -4092,8 +4094,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `740` // Estimated: `9155` - // Minimum execution time: 26_810_000 picoseconds. - Weight::from_parts(27_371_000, 9155) + // Minimum execution time: 26_370_000 picoseconds. + Weight::from_parts(27_101_000, 9155) .saturating_add(RocksDbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4162,10 +4164,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn unstake_all_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `2642` + // Measured: `2617` // Estimated: `11306` - // Minimum execution time: 562_454_000 picoseconds. - Weight::from_parts(571_821_000, 11306) + // Minimum execution time: 568_832_000 picoseconds. + Weight::from_parts(588_007_000, 11306) .saturating_add(RocksDbWeight::get().reads(50_u64)) .saturating_add(RocksDbWeight::get().writes(27_u64)) } @@ -4227,10 +4229,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_full_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2564` - // Estimated: `10979` - // Minimum execution time: 479_209_000 picoseconds. - Weight::from_parts(485_020_000, 10979) + // Measured: `2539` + // Estimated: `10954` + // Minimum execution time: 482_639_000 picoseconds. + Weight::from_parts(506_293_000, 10954) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -4369,10 +4371,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1762 + k * (44 ±0)` // Estimated: `10183 + k * (2579 ±0)` - // Minimum execution time: 472_747_000 picoseconds. - Weight::from_parts(310_064_795, 10183) - // Standard Error: 49_391 - .saturating_add(Weight::from_parts(45_675_968, 0).saturating_mul(k.into())) + // Minimum execution time: 476_848_000 picoseconds. + Weight::from_parts(298_586_627, 10183) + // Standard Error: 36_848 + .saturating_add(Weight::from_parts(45_631_078, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(53_u64)) @@ -4402,10 +4404,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1468 + k * (53 ±0)` // Estimated: `6148 + k * (2514 ±0)` - // Minimum execution time: 93_393_000 picoseconds. - Weight::from_parts(108_331_864, 6148) - // Standard Error: 6_240 - .saturating_add(Weight::from_parts(1_507_109, 0).saturating_mul(k.into())) + // Minimum execution time: 127_110_000 picoseconds. + Weight::from_parts(133_384_459, 6148) + // Standard Error: 6_097 + .saturating_add(Weight::from_parts(1_681_002, 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)) @@ -4418,10 +4420,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TokenSymbol` (`max_values`: None, `max_size`: None, mode: `Measured`) fn update_symbol() -> Weight { // Proof Size summary in bytes: - // Measured: `659` - // Estimated: `9074` - // Minimum execution time: 26_269_000 picoseconds. - Weight::from_parts(27_120_000, 9074) + // Measured: `649` + // Estimated: `9064` + // Minimum execution time: 27_222_000 picoseconds. + Weight::from_parts(28_324_000, 9064) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4447,10 +4449,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubnetworkN` (`max_values`: None, `max_size`: None, mode: `Measured`) fn commit_timelocked_weights() -> Weight { // Proof Size summary in bytes: - // Measured: `1070` - // Estimated: `4535` - // Minimum execution time: 72_374_000 picoseconds. - Weight::from_parts(73_256_000, 4535) + // Measured: `1060` + // Estimated: `4525` + // Minimum execution time: 73_348_000 picoseconds. + Weight::from_parts(74_501_000, 4525) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4464,10 +4466,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::AutoStakeDestinationColdkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_coldkey_auto_stake_hotkey() -> Weight { // Proof Size summary in bytes: - // Measured: `809` - // Estimated: `4274` - // Minimum execution time: 32_811_000 picoseconds. - Weight::from_parts(33_332_000, 4274) + // Measured: `799` + // Estimated: `4264` + // Minimum execution time: 33_543_000 picoseconds. + Weight::from_parts(34_035_000, 4264) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4483,8 +4485,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_442_000 picoseconds. - Weight::from_parts(18_325_000, 3941) + // Minimum execution time: 17_603_000 picoseconds. + Weight::from_parts(18_034_000, 3941) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4510,13 +4512,15 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::RootClaimed` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RootClaimableThreshold` (r:1 w:0) /// Proof: `SubtensorModule::RootClaimableThreshold` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::BurnRootProp` (r:1 w:0) + /// Proof: `SubtensorModule::BurnRootProp` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn claim_root() -> Weight { // Proof Size summary in bytes: - // Measured: `1929` - // Estimated: `7869` - // Minimum execution time: 132_877_000 picoseconds. - Weight::from_parts(134_610_000, 7869) - .saturating_add(RocksDbWeight::get().reads(16_u64)) + // Measured: `1908` + // Estimated: `7848` + // Minimum execution time: 133_292_000 picoseconds. + Weight::from_parts(135_557_000, 7848) + .saturating_add(RocksDbWeight::get().reads(17_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } /// Storage: `SubtensorModule::NumRootClaim` (r:0 w:1) @@ -4525,8 +4529,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_615_000 picoseconds. - Weight::from_parts(2_836_000, 0) + // Minimum execution time: 2_705_000 picoseconds. + Weight::from_parts(2_926_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -4535,8 +4539,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_220_000 picoseconds. - Weight::from_parts(5_911_000, 0) + // Minimum execution time: 5_170_000 picoseconds. + Weight::from_parts(5_691_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4547,10 +4551,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::AutoParentDelegationEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) fn set_auto_parent_delegation_enabled() -> Weight { // Proof Size summary in bytes: - // Measured: `862` - // Estimated: `4327` - // Minimum execution time: 25_918_000 picoseconds. - Weight::from_parts(26_880_000, 4327) + // Measured: `852` + // Estimated: `4317` + // Minimum execution time: 26_640_000 picoseconds. + Weight::from_parts(27_362_000, 4317) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4618,10 +4622,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `2602` + // Measured: `2592` // Estimated: `8727` - // Minimum execution time: 593_733_000 picoseconds. - Weight::from_parts(617_797_000, 8727) + // Minimum execution time: 602_169_000 picoseconds. + Weight::from_parts(623_989_000, 8727) .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } @@ -4631,8 +4635,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_816_000 picoseconds. - Weight::from_parts(2_966_000, 0) + // Minimum execution time: 2_875_000 picoseconds. + Weight::from_parts(3_016_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) @@ -4655,8 +4659,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1463` // Estimated: `4928` - // Minimum execution time: 91_761_000 picoseconds. - Weight::from_parts(93_133_000, 4928) + // Minimum execution time: 91_683_000 picoseconds. + Weight::from_parts(93_107_000, 4928) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4672,8 +4676,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `978` // Estimated: `6918` - // Minimum execution time: 72_464_000 picoseconds. - Weight::from_parts(73_697_000, 6918) + // Minimum execution time: 70_593_000 picoseconds. + Weight::from_parts(72_246_000, 6918) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4691,8 +4695,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1302` // Estimated: `7242` - // Minimum execution time: 94_536_000 picoseconds. - Weight::from_parts(96_199_000, 7242) + // Minimum execution time: 92_866_000 picoseconds. + Weight::from_parts(94_739_000, 7242) .saturating_add(RocksDbWeight::get().reads(8_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } diff --git a/pallets/utility/src/weights.rs b/pallets/utility/src/weights.rs index 0b042493ce..1e88a56baf 100644 --- a/pallets/utility/src/weights.rs +++ b/pallets/utility/src/weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_subtensor_utility` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-05-13, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` //! WORST CASE MAP SIZE: `1000000` //! HOSTNAME: `runnervmeorf1`, CPU: `AMD EPYC 7763 64-Core Processor` //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024` @@ -22,7 +22,7 @@ // --no-storage-info // --no-min-squares // --no-median-slopes -// --output=/tmp/tmp.LRxxLzrZiM +// --output=/tmp/tmp.cqTGG4k34D // --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: 5_280_000 picoseconds. - Weight::from_parts(18_094_409, 3983) - // Standard Error: 2_019 - .saturating_add(Weight::from_parts(5_861_620, 0).saturating_mul(c.into())) + // Minimum execution time: 4_879_000 picoseconds. + Weight::from_parts(16_305_907, 3983) + // Standard Error: 2_117 + .saturating_add(Weight::from_parts(5_599_112, 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: 15_590_000 picoseconds. - Weight::from_parts(16_231_000, 3983) + // Minimum execution time: 14_918_000 picoseconds. + Weight::from_parts(15_419_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: 5_169_000 picoseconds. - Weight::from_parts(6_561_860, 3983) - // Standard Error: 3_426 - .saturating_add(Weight::from_parts(6_086_426, 0).saturating_mul(c.into())) + // Minimum execution time: 4_899_000 picoseconds. + Weight::from_parts(21_919_381, 3983) + // Standard Error: 2_421 + .saturating_add(Weight::from_parts(5_788_376, 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: 7_064_000 picoseconds. - Weight::from_parts(7_354_000, 0) + // Minimum execution time: 6_612_000 picoseconds. + Weight::from_parts(7_083_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: 5_159_000 picoseconds. - Weight::from_parts(20_505_126, 3983) - // Standard Error: 2_329 - .saturating_add(Weight::from_parts(5_891_068, 0).saturating_mul(c.into())) + // Minimum execution time: 4_759_000 picoseconds. + Weight::from_parts(11_867_704, 3983) + // Standard Error: 2_613 + .saturating_add(Weight::from_parts(5_617_108, 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_993_000 picoseconds. - Weight::from_parts(7_474_000, 0) + // Minimum execution time: 6_753_000 picoseconds. + Weight::from_parts(7_013_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -127,8 +127,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 21_922_000 picoseconds. - Weight::from_parts(22_883_000, 3983) + // Minimum execution time: 21_200_000 picoseconds. + Weight::from_parts(21_921_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: 5_280_000 picoseconds. - Weight::from_parts(18_094_409, 3983) - // Standard Error: 2_019 - .saturating_add(Weight::from_parts(5_861_620, 0).saturating_mul(c.into())) + // Minimum execution time: 4_879_000 picoseconds. + Weight::from_parts(16_305_907, 3983) + // Standard Error: 2_117 + .saturating_add(Weight::from_parts(5_599_112, 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: 15_590_000 picoseconds. - Weight::from_parts(16_231_000, 3983) + // Minimum execution time: 14_918_000 picoseconds. + Weight::from_parts(15_419_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: 5_169_000 picoseconds. - Weight::from_parts(6_561_860, 3983) - // Standard Error: 3_426 - .saturating_add(Weight::from_parts(6_086_426, 0).saturating_mul(c.into())) + // Minimum execution time: 4_899_000 picoseconds. + Weight::from_parts(21_919_381, 3983) + // Standard Error: 2_421 + .saturating_add(Weight::from_parts(5_788_376, 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: 7_064_000 picoseconds. - Weight::from_parts(7_354_000, 0) + // Minimum execution time: 6_612_000 picoseconds. + Weight::from_parts(7_083_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: 5_159_000 picoseconds. - Weight::from_parts(20_505_126, 3983) - // Standard Error: 2_329 - .saturating_add(Weight::from_parts(5_891_068, 0).saturating_mul(c.into())) + // Minimum execution time: 4_759_000 picoseconds. + Weight::from_parts(11_867_704, 3983) + // Standard Error: 2_613 + .saturating_add(Weight::from_parts(5_617_108, 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_993_000 picoseconds. - Weight::from_parts(7_474_000, 0) + // Minimum execution time: 6_753_000 picoseconds. + Weight::from_parts(7_013_000, 0) } /// Storage: `SafeMode::EnteredUntil` (r:1 w:0) /// Proof: `SafeMode::EnteredUntil` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`) @@ -214,8 +214,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `518` // Estimated: `3983` - // Minimum execution time: 21_922_000 picoseconds. - Weight::from_parts(22_883_000, 3983) + // Minimum execution time: 21_200_000 picoseconds. + Weight::from_parts(21_921_000, 3983) .saturating_add(RocksDbWeight::get().reads(2_u64)) } }