From b90743bca1dc5021309bd9ec5b20270ac5e17550 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Mon, 4 May 2026 10:40:06 -0400 Subject: [PATCH 1/6] Fix coldkey swap for inactive locks, add transactional test --- pallets/subtensor/src/staking/lock.rs | 22 +++-- pallets/subtensor/src/tests/locks.rs | 124 ++++++++++++++++++++++++++ 2 files changed, 141 insertions(+), 5 deletions(-) diff --git a/pallets/subtensor/src/staking/lock.rs b/pallets/subtensor/src/staking/lock.rs index c0e8dde608..887f72348e 100644 --- a/pallets/subtensor/src/staking/lock.rs +++ b/pallets/subtensor/src/staking/lock.rs @@ -429,21 +429,33 @@ impl Pallet { /// /// The hotkey and netuid remain the same, only the coldkey changes. /// - /// The new coldkey is guaranteed to have no active locks (checked in ensure_no_active_locks), - /// so we can simply transfer the locks "as is" without rolling them forward and the - /// HotkeyLock map does not change (because it only contains totals, not individual coldkey locks). + /// Because unlocked_mass decays over time, both source and destination lock state must be + /// rolled forward to the current block before the transfer is applied. The HotkeyLock map + /// does not change because it only contains subnet-wide hotkey totals, not per-coldkey locks. pub fn swap_coldkey_locks(old_coldkey: &T::AccountId, new_coldkey: &T::AccountId) { + let now = Self::get_current_block_as_u64(); let mut locks_to_transfer: Vec<(NetUid, T::AccountId, LockState)> = Vec::new(); // Gather locks for old coldkey for ((netuid, hotkey), lock) in Lock::::iter_prefix((old_coldkey,)) { - locks_to_transfer.push((netuid, hotkey, lock)); + locks_to_transfer.push((netuid, hotkey, Self::roll_forward_lock(lock, now))); } // Remove locks for old coldkey and insert for new for (netuid, hotkey, lock) in locks_to_transfer { Lock::::remove((old_coldkey.clone(), netuid, hotkey.clone())); - Self::insert_lock_state(new_coldkey, netuid, &hotkey, lock); + + if let Some((new_hotkey, new_lock)) = + Lock::::iter_prefix((new_coldkey, netuid)).next() + { + let mut new_lock_rolled = Self::roll_forward_lock(new_lock, now); + new_lock_rolled.unlocked_mass = new_lock_rolled + .unlocked_mass + .saturating_add(lock.unlocked_mass); + Self::insert_lock_state(new_coldkey, netuid, &new_hotkey, new_lock_rolled); + } else { + Self::insert_lock_state(new_coldkey, netuid, &hotkey, lock); + } } } diff --git a/pallets/subtensor/src/tests/locks.rs b/pallets/subtensor/src/tests/locks.rs index f92c00493a..ee8f30f3f3 100644 --- a/pallets/subtensor/src/tests/locks.rs +++ b/pallets/subtensor/src/tests/locks.rs @@ -1321,6 +1321,130 @@ fn test_coldkey_swap_lock_blocks_unstake() { }); } +#[test] +// When both coldkeys already have unlocked-only lock state on the same subnet, the destination +// hotkey key should be preserved and unlocked_mass should be accumulated onto that record. +fn test_coldkey_swap_adds_unlocked_mass_into_existing_destination_lock() { + new_test_ext(1).execute_with(|| { + let old_coldkey = U256::from(1); + let new_coldkey = U256::from(10); + let old_hotkey = U256::from(2); + let new_hotkey = U256::from(20); + let netuid = subtensor_runtime_common::NetUid::from(1); + let old_unlocked = AlphaBalance::from(4_000u64); + let new_unlocked = AlphaBalance::from(6_000u64); + + // Seed unlocked-only lock rows on both coldkeys so the helper has to merge into + // the destination record instead of creating a second lock entry on the subnet. + SubtensorModule::insert_lock_state( + &old_coldkey, + netuid, + &old_hotkey, + LockState { + locked_mass: AlphaBalance::ZERO, + unlocked_mass: old_unlocked, + conviction: U64F64::from_num(0), + last_update: SubtensorModule::get_current_block_as_u64(), + }, + ); + SubtensorModule::insert_lock_state( + &new_coldkey, + netuid, + &new_hotkey, + LockState { + locked_mass: AlphaBalance::ZERO, + unlocked_mass: new_unlocked, + conviction: U64F64::from_num(0), + last_update: SubtensorModule::get_current_block_as_u64(), + }, + ); + + SubtensorModule::swap_coldkey_locks(&old_coldkey, &new_coldkey); + + assert!( + Lock::::iter_prefix((old_coldkey, netuid)) + .next() + .is_none() + ); + assert!(Lock::::get((new_coldkey, netuid, old_hotkey)).is_none()); + + let merged_lock = Lock::::get((new_coldkey, netuid, new_hotkey)) + .expect("destination lock should remain under its original hotkey key"); + assert_eq!(merged_lock.locked_mass, AlphaBalance::ZERO); + assert_eq!(merged_lock.unlocked_mass, old_unlocked + new_unlocked); + assert_eq!(Lock::::iter_prefix((new_coldkey, netuid)).count(), 1); + }); +} + +#[test] +// The public coldkey swap extrinsic runs inside a storage layer, so a late failure rolls back the earlier writes. +fn test_failed_coldkey_swap_extrinsic_rolls_back_state_changes() { + new_test_ext(1).execute_with(|| { + let old_coldkey = U256::from(1); + let old_hotkey = U256::from(2); + let new_coldkey = U256::from(3); + let blocked_hotkey = U256::from(4); + let netuid = setup_subnet_with_stake(old_coldkey, old_hotkey, 100_000_000_000); + + let original_stake = SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &old_hotkey, + &old_coldkey, + netuid, + ); + assert!(!original_stake.is_zero()); + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &old_hotkey, + &new_coldkey, + netuid + ), + AlphaBalance::ZERO + ); + + // Seed a lock directly on the destination coldkey so the swap reaches ActiveLockExists + // without tripping the earlier "already associated" guard. + SubtensorModule::insert_lock_state( + &new_coldkey, + netuid, + &blocked_hotkey, + LockState { + locked_mass: 1u64.into(), + unlocked_mass: AlphaBalance::ZERO, + conviction: U64F64::from_num(0), + last_update: SubtensorModule::get_current_block_as_u64(), + }, + ); + + assert_noop!( + SubtensorModule::swap_coldkey( + RuntimeOrigin::root(), + old_coldkey, + new_coldkey, + TaoBalance::ZERO, + ), + Error::::ActiveLockExists + ); + + // The failed extrinsic should roll back the earlier stake transfer. + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &old_hotkey, + &old_coldkey, + netuid + ), + original_stake + ); + assert_eq!( + SubtensorModule::get_stake_for_hotkey_and_coldkey_on_subnet( + &old_hotkey, + &new_coldkey, + netuid + ), + AlphaBalance::ZERO + ); + }); +} + // ========================================================================= // GROUP 12: Hotkey swap interaction // ========================================================================= From 47305bda817297e167ab4a27f86820abce7d0d92 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Mon, 4 May 2026 10:59:42 -0400 Subject: [PATCH 2/6] Fix coldkey swap for existing lock mass and conviction on old coldkey --- pallets/subtensor/src/staking/lock.rs | 5 +++ pallets/subtensor/src/tests/locks.rs | 60 +++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/pallets/subtensor/src/staking/lock.rs b/pallets/subtensor/src/staking/lock.rs index 887f72348e..bde7f7eee9 100644 --- a/pallets/subtensor/src/staking/lock.rs +++ b/pallets/subtensor/src/staking/lock.rs @@ -449,6 +449,11 @@ impl Pallet { Lock::::iter_prefix((new_coldkey, netuid)).next() { let mut new_lock_rolled = Self::roll_forward_lock(new_lock, now); + + // The new coldkey does not have active locks, ensure_no_active_locks guarantees + // that, so overwrite the mass and conviction with old coldkey's. + new_lock_rolled.locked_mass = lock.locked_mass; + new_lock_rolled.conviction = lock.conviction; new_lock_rolled.unlocked_mass = new_lock_rolled .unlocked_mass .saturating_add(lock.unlocked_mass); diff --git a/pallets/subtensor/src/tests/locks.rs b/pallets/subtensor/src/tests/locks.rs index ee8f30f3f3..e705b6380e 100644 --- a/pallets/subtensor/src/tests/locks.rs +++ b/pallets/subtensor/src/tests/locks.rs @@ -1376,6 +1376,66 @@ fn test_coldkey_swap_adds_unlocked_mass_into_existing_destination_lock() { }); } +#[test] +// When the destination already has a lock row on the subnet, the destination hotkey key should +// be preserved, but locked_mass and conviction should be overwritten by the source lock. +fn test_coldkey_swap_overwrites_destination_locked_mass_and_conviction() { + new_test_ext(1).execute_with(|| { + let old_coldkey = U256::from(1); + let new_coldkey = U256::from(10); + let old_hotkey = U256::from(2); + let new_hotkey = U256::from(20); + let netuid = subtensor_runtime_common::NetUid::from(1); + + let old_locked = AlphaBalance::from(7_000u64); + let old_unlocked = AlphaBalance::from(4_000u64); + let old_conviction = U64F64::from_num(77); + + let new_locked = AlphaBalance::from(999u64); + let new_unlocked = AlphaBalance::from(6_000u64); + let new_conviction = U64F64::from_num(11); + + SubtensorModule::insert_lock_state( + &old_coldkey, + netuid, + &old_hotkey, + LockState { + locked_mass: old_locked, + unlocked_mass: old_unlocked, + conviction: old_conviction, + last_update: SubtensorModule::get_current_block_as_u64(), + }, + ); + SubtensorModule::insert_lock_state( + &new_coldkey, + netuid, + &new_hotkey, + LockState { + locked_mass: new_locked, + unlocked_mass: new_unlocked, + conviction: new_conviction, + last_update: SubtensorModule::get_current_block_as_u64(), + }, + ); + + SubtensorModule::swap_coldkey_locks(&old_coldkey, &new_coldkey); + + assert!( + Lock::::iter_prefix((old_coldkey, netuid)) + .next() + .is_none() + ); + assert!(Lock::::get((new_coldkey, netuid, old_hotkey)).is_none()); + + let merged_lock = Lock::::get((new_coldkey, netuid, new_hotkey)) + .expect("destination lock should remain under its original hotkey key"); + assert_eq!(merged_lock.locked_mass, old_locked); + assert_eq!(merged_lock.conviction, old_conviction); + assert_eq!(merged_lock.unlocked_mass, old_unlocked + new_unlocked); + assert_eq!(Lock::::iter_prefix((new_coldkey, netuid)).count(), 1); + }); +} + #[test] // The public coldkey swap extrinsic runs inside a storage layer, so a late failure rolls back the earlier writes. fn test_failed_coldkey_swap_extrinsic_rolls_back_state_changes() { From 21b4d1a7cab2d8614d4739a5fb0d2890b184d095 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Mon, 4 May 2026 12:42:02 -0400 Subject: [PATCH 3/6] Auto-lock owner's cut --- .../subtensor/src/coinbase/run_coinbase.rs | 3 + pallets/subtensor/src/staking/lock.rs | 18 ++++ pallets/subtensor/src/tests/locks.rs | 91 ++++++++++++++++++- 3 files changed, 111 insertions(+), 1 deletion(-) diff --git a/pallets/subtensor/src/coinbase/run_coinbase.rs b/pallets/subtensor/src/coinbase/run_coinbase.rs index a6026b0556..2f9ff25757 100644 --- a/pallets/subtensor/src/coinbase/run_coinbase.rs +++ b/pallets/subtensor/src/coinbase/run_coinbase.rs @@ -575,6 +575,9 @@ impl Pallet { if let Some(lease_id) = SubnetUidToLeaseId::::get(netuid) { Self::distribute_leased_network_dividends(lease_id, owner_cut); } + + // Auto-lock owner's cut + Self::auto_lock_owner_cut(netuid, owner_cut); } // Distribute mining incentives. diff --git a/pallets/subtensor/src/staking/lock.rs b/pallets/subtensor/src/staking/lock.rs index bde7f7eee9..ac281a3fc9 100644 --- a/pallets/subtensor/src/staking/lock.rs +++ b/pallets/subtensor/src/staking/lock.rs @@ -592,4 +592,22 @@ impl Pallet { None => Err(Error::::NoExistingLock.into()), } } + + pub fn auto_lock_owner_cut(netuid: NetUid, amount: AlphaBalance) { + let subnet_owner_coldkey = Self::get_subnet_owner(netuid); + + // Determine the lock hotkey. If no locks exist, assign subnet owner's hotkey, otherwise + // auto-lock to existing lock hotkey + let lock_hotkey = if let Some((existing_hotkey, _existing)) = + Lock::::iter_prefix((&subnet_owner_coldkey, netuid)).next() + { + existing_hotkey + } else { + SubnetOwnerHotkey::::get(netuid) + }; + + // Ignore the result. It may only fail if amount is zero, which is OK to ignore because nothing + // needs to happen in that case + let _ = Self::do_lock_stake(&subnet_owner_coldkey, netuid, &lock_hotkey, amount); + } } diff --git a/pallets/subtensor/src/tests/locks.rs b/pallets/subtensor/src/tests/locks.rs index e705b6380e..85a1b28a0c 100644 --- a/pallets/subtensor/src/tests/locks.rs +++ b/pallets/subtensor/src/tests/locks.rs @@ -9,7 +9,7 @@ use frame_support::weights::Weight; use frame_support::{assert_noop, assert_ok}; use sp_core::U256; use substrate_fixed::types::U64F64; -use subtensor_runtime_common::{AlphaBalance, TaoBalance}; +use subtensor_runtime_common::{AlphaBalance, NetUidStorageIndex, TaoBalance}; use subtensor_swap_interface::SwapHandler; use super::mock::*; @@ -1967,6 +1967,95 @@ fn test_emissions_do_not_break_lock_invariant() { }); } +#[test] +fn test_epoch_distribution_auto_locks_owner_cut() { + new_test_ext(1).execute_with(|| { + let subnet_owner_coldkey = U256::from(1001); + let subnet_owner_hotkey = U256::from(1002); + let validator_coldkey = U256::from(1); + let validator_hotkey = U256::from(2); + let miner_coldkey = U256::from(5); + let miner_hotkey = U256::from(6); + let netuid = add_dynamic_network(&subnet_owner_hotkey, &subnet_owner_coldkey); + let subnet_tempo = 10; + let stake = 100_000_000_000u64; + + SubtensorModule::set_tempo(netuid, subnet_tempo); + SubtensorModule::set_ck_burn(0); + setup_reserves(netuid, (stake * 10_000).into(), (stake * 10_000).into()); + + register_ok_neuron(netuid, validator_hotkey, validator_coldkey, 0); + register_ok_neuron(netuid, miner_hotkey, miner_coldkey, 1); + + add_balance_to_coldkey_account( + &validator_coldkey, + TaoBalance::from(stake) + ExistentialDeposit::get(), + ); + + assert_ok!(SubtensorModule::add_stake( + RuntimeOrigin::signed(validator_coldkey), + validator_hotkey, + netuid, + stake.into() + )); + + SubtensorModule::set_weights_set_rate_limit(netuid, 0); + SubtensorModule::set_max_allowed_validators(netuid, 1); + step_block(subnet_tempo); + SubnetOwnerCut::::set(u16::MAX / 10); + + let owner_uid = + SubtensorModule::get_uid_for_net_and_hotkey(netuid, &subnet_owner_hotkey).unwrap(); + let validator_uid = + SubtensorModule::get_uid_for_net_and_hotkey(netuid, &validator_hotkey).unwrap(); + let miner_uid = SubtensorModule::get_uid_for_net_and_hotkey(netuid, &miner_hotkey).unwrap(); + let uid_count = [ + owner_uid as usize, + validator_uid as usize, + miner_uid as usize, + ] + .into_iter() + .max() + .unwrap() + + 1; + + // Setup YUMA so that the next epoch produces non-zero subnet emissions. + Weights::::insert( + NetUidStorageIndex::from(netuid), + validator_uid, + vec![(miner_uid, 0xFFFF)], + ); + BlockAtRegistration::::set(netuid, owner_uid, 1); + BlockAtRegistration::::set(netuid, validator_uid, 1); + BlockAtRegistration::::set(netuid, miner_uid, 1); + LastUpdate::::set(NetUidStorageIndex::from(netuid), vec![2; uid_count]); + Kappa::::set(netuid, u16::MAX / 5); + ActivityCutoff::::set(netuid, u16::MAX); + let mut validator_permit = vec![false; uid_count]; + validator_permit[validator_uid as usize] = true; + ValidatorPermit::::insert(netuid, validator_permit); + + let owner_stake_before = get_alpha(&subnet_owner_hotkey, &subnet_owner_coldkey, netuid); + assert!( + Lock::::iter_prefix((subnet_owner_coldkey, netuid)) + .next() + .is_none() + ); + + // Advance to the next epoch so owner cut is distributed and auto-locked. + step_block(subnet_tempo); + + let owner_stake_after = get_alpha(&subnet_owner_hotkey, &subnet_owner_coldkey, netuid); + let owner_cut_locked = owner_stake_after - owner_stake_before; + assert!(owner_cut_locked > AlphaBalance::ZERO); + + let owner_lock = Lock::::get((subnet_owner_coldkey, netuid, subnet_owner_hotkey)) + .expect("owner cut should be auto-locked to the subnet owner's hotkey"); + assert_eq!(owner_lock.locked_mass, owner_cut_locked); + assert_eq!(owner_lock.unlocked_mass, AlphaBalance::ZERO); + }); +} + // ========================================================================= // GROUP 18: Neuron replacement // ========================================================================= From b3ffb0df2eedd22f9c8e3fb1d5d3d816a0f66c4d Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Mon, 4 May 2026 12:54:56 -0400 Subject: [PATCH 4/6] Initial alpha distribution locked --- pallets/subtensor/src/subnets/subnet.rs | 3 ++ pallets/subtensor/src/tests/locks.rs | 40 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/pallets/subtensor/src/subnets/subnet.rs b/pallets/subtensor/src/subnets/subnet.rs index 0d439c21f1..84b01e0df7 100644 --- a/pallets/subtensor/src/subnets/subnet.rs +++ b/pallets/subtensor/src/subnets/subnet.rs @@ -261,6 +261,9 @@ impl Pallet { netuid_to_register, owner_alpha_stake, ); + + // Also lock the initial owner's distribution + Self::do_lock_stake(&coldkey, netuid_to_register, &hotkey, owner_alpha_stake)?; } if total_pool_tao > TaoBalance::ZERO { diff --git a/pallets/subtensor/src/tests/locks.rs b/pallets/subtensor/src/tests/locks.rs index 85a1b28a0c..421c0e3aef 100644 --- a/pallets/subtensor/src/tests/locks.rs +++ b/pallets/subtensor/src/tests/locks.rs @@ -2685,3 +2685,43 @@ fn test_unlock_decay_allows_relock_then_blocks_unstake() { ); }); } + +// ========================================================================= +// GROUP 21: Subnet registration +// ========================================================================= + +#[test] +fn test_register_network_locks_initial_owner_distribution() { + new_test_ext(0).execute_with(|| { + NetworkMinLockCost::::set(TaoBalance::from(1_000u64)); + NetworkLastLockCost::::set(TaoBalance::from(2_000u64)); + + let coldkey = U256::from(9001); + let hotkey = U256::from(9002); + let netuid = SubtensorModule::get_next_netuid(); + let lock_cost: TaoBalance = SubtensorModule::get_network_lock_cost().into(); + + add_balance_to_coldkey_account(&coldkey, lock_cost); + + assert_ok!(SubtensorModule::register_network( + RuntimeOrigin::signed(coldkey), + hotkey, + )); + + assert!(SubtensorModule::if_subnet_exist(netuid)); + assert_eq!(SubnetOwner::::get(netuid), coldkey); + assert_eq!(SubnetOwnerHotkey::::get(netuid), hotkey); + + let owner_alpha = get_alpha(&hotkey, &coldkey, netuid); + assert!(owner_alpha > AlphaBalance::ZERO); + + let lock = Lock::::get((coldkey, netuid, hotkey)) + .expect("initial owner distribution should be locked on registration"); + assert_eq!(lock.locked_mass, owner_alpha); + assert_eq!(lock.unlocked_mass, AlphaBalance::ZERO); + + let hotkey_lock = HotkeyLock::::get(netuid, hotkey) + .expect("hotkey aggregate lock should be created on registration"); + assert_eq!(hotkey_lock.locked_mass, owner_alpha); + }); +} From 0f0c9ff2f4ffb1cf9145a22ef9e8446b8237d55f Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Mon, 4 May 2026 13:07:18 -0400 Subject: [PATCH 5/6] clippy --- pallets/subtensor/src/subnets/subnet.rs | 2 +- pallets/subtensor/src/tests/locks.rs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pallets/subtensor/src/subnets/subnet.rs b/pallets/subtensor/src/subnets/subnet.rs index 84b01e0df7..d504d017f7 100644 --- a/pallets/subtensor/src/subnets/subnet.rs +++ b/pallets/subtensor/src/subnets/subnet.rs @@ -263,7 +263,7 @@ impl Pallet { ); // Also lock the initial owner's distribution - Self::do_lock_stake(&coldkey, netuid_to_register, &hotkey, owner_alpha_stake)?; + Self::do_lock_stake(&coldkey, netuid_to_register, hotkey, owner_alpha_stake)?; } if total_pool_tao > TaoBalance::ZERO { diff --git a/pallets/subtensor/src/tests/locks.rs b/pallets/subtensor/src/tests/locks.rs index 421c0e3aef..369628825a 100644 --- a/pallets/subtensor/src/tests/locks.rs +++ b/pallets/subtensor/src/tests/locks.rs @@ -1,7 +1,8 @@ #![allow( + clippy::arithmetic_side_effects, clippy::expect_used, - clippy::unwrap_used, - clippy::arithmetic_side_effects + clippy::indexing_slicing, + clippy::unwrap_used )] use approx::assert_abs_diff_eq; From 637732266691206c6c061aa69bf0d80b848974de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 5 May 2026 02:23:02 +0000 Subject: [PATCH 6/6] auto-update benchmark weights --- pallets/admin-utils/src/weights.rs | 458 ++++++------ pallets/proxy/src/weights.rs | 220 +++--- pallets/subtensor/src/weights.rs | 1078 +++++++++++++++++----------- 3 files changed, 978 insertions(+), 778 deletions(-) diff --git a/pallets/admin-utils/src/weights.rs b/pallets/admin-utils/src/weights.rs index fe25023e6a..e01e97237b 100644 --- a/pallets/admin-utils/src/weights.rs +++ b/pallets/admin-utils/src/weights.rs @@ -2,7 +2,7 @@ //! Autogenerated weights for `pallet_admin_utils` //! //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0 -//! DATE: 2026-04-22, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-04, 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.7rTcxn9z8w +// --output=/tmp/tmp.bzwIs210x3 // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -103,10 +103,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_938_000 picoseconds. - Weight::from_parts(4_750_164, 0) - // Standard Error: 832 - .saturating_add(Weight::from_parts(25_112, 0).saturating_mul(a.into())) + // Minimum execution time: 4_107_000 picoseconds. + Weight::from_parts(4_669_529, 0) + // Standard Error: 694 + .saturating_add(Weight::from_parts(28_939, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `Grandpa::PendingChange` (r:1 w:1) @@ -116,10 +116,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `174` // Estimated: `2779` - // Minimum execution time: 7_043_000 picoseconds. - Weight::from_parts(7_618_299, 2779) - // Standard Error: 1_813 - .saturating_add(Weight::from_parts(44_821, 0).saturating_mul(a.into())) + // Minimum execution time: 7_354_000 picoseconds. + Weight::from_parts(7_977_975, 2779) + // Standard Error: 897 + .saturating_add(Weight::from_parts(19_089, 0).saturating_mul(a.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -129,8 +129,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_340_000 picoseconds. - Weight::from_parts(5_710_000, 0) + // Minimum execution time: 5_460_000 picoseconds. + Weight::from_parts(5_660_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -143,8 +143,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `627` // Estimated: `4092` - // Minimum execution time: 21_159_000 picoseconds. - Weight::from_parts(21_711_000, 4092) + // Minimum execution time: 21_369_000 picoseconds. + Weight::from_parts(21_761_000, 4092) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -160,8 +160,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_819_000 picoseconds. - Weight::from_parts(27_381_000, 4225) + // Minimum execution time: 26_941_000 picoseconds. + Weight::from_parts(27_481_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -177,8 +177,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_519_000 picoseconds. - Weight::from_parts(27_401_000, 4225) + // Minimum execution time: 26_770_000 picoseconds. + Weight::from_parts(28_022_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -190,8 +190,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `609` // Estimated: `4074` - // Minimum execution time: 16_441_000 picoseconds. - Weight::from_parts(17_213_000, 4074) + // Minimum execution time: 16_942_000 picoseconds. + Weight::from_parts(17_423_000, 4074) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -207,8 +207,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_560_000 picoseconds. - Weight::from_parts(27_391_000, 4225) + // Minimum execution time: 27_061_000 picoseconds. + Weight::from_parts(27_863_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -224,8 +224,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_689_000 picoseconds. - Weight::from_parts(27_392_000, 4225) + // Minimum execution time: 26_761_000 picoseconds. + Weight::from_parts(27_592_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -241,8 +241,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_770_000 picoseconds. - Weight::from_parts(27_561_000, 4225) + // Minimum execution time: 26_731_000 picoseconds. + Weight::from_parts(27_391_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -260,8 +260,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 28_162_000 picoseconds. - Weight::from_parts(29_204_000, 4225) + // Minimum execution time: 28_133_000 picoseconds. + Weight::from_parts(29_195_000, 4225) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -277,8 +277,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 25_948_000 picoseconds. - Weight::from_parts(27_382_000, 4225) + // Minimum execution time: 26_921_000 picoseconds. + Weight::from_parts(27_752_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -290,8 +290,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `609` // Estimated: `4074` - // Minimum execution time: 15_449_000 picoseconds. - Weight::from_parts(17_012_000, 4074) + // Minimum execution time: 16_871_000 picoseconds. + Weight::from_parts(17_273_000, 4074) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -307,8 +307,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_359_000 picoseconds. - Weight::from_parts(27_441_000, 4225) + // Minimum execution time: 26_489_000 picoseconds. + Weight::from_parts(27_502_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -326,8 +326,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `822` // Estimated: `4287` - // Minimum execution time: 28_634_000 picoseconds. - Weight::from_parts(29_545_000, 4287) + // Minimum execution time: 29_044_000 picoseconds. + Weight::from_parts(29_806_000, 4287) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -343,8 +343,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 22_021_000 picoseconds. - Weight::from_parts(24_115_000, 4225) + // Minimum execution time: 24_015_000 picoseconds. + Weight::from_parts(24_687_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -356,8 +356,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `609` // Estimated: `4074` - // Minimum execution time: 15_288_000 picoseconds. - Weight::from_parts(17_032_000, 4074) + // Minimum execution time: 16_671_000 picoseconds. + Weight::from_parts(17_192_000, 4074) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -377,8 +377,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 27_912_000 picoseconds. - Weight::from_parts(30_777_000, 4225) + // Minimum execution time: 30_287_000 picoseconds. + Weight::from_parts(30_909_000, 4225) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -400,8 +400,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `795` // Estimated: `4260` - // Minimum execution time: 30_908_000 picoseconds. - Weight::from_parts(33_974_000, 4260) + // Minimum execution time: 33_323_000 picoseconds. + Weight::from_parts(34_174_000, 4260) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -417,8 +417,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 24_856_000 picoseconds. - Weight::from_parts(27_331_000, 4225) + // Minimum execution time: 26_830_000 picoseconds. + Weight::from_parts(27_822_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -434,8 +434,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_810_000 picoseconds. - Weight::from_parts(27_291_000, 4225) + // Minimum execution time: 26_620_000 picoseconds. + Weight::from_parts(27_331_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -451,8 +451,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 24_686_000 picoseconds. - Weight::from_parts(26_189_000, 4225) + // Minimum execution time: 26_721_000 picoseconds. + Weight::from_parts(27_672_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -470,8 +470,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `787` // Estimated: `4252` - // Minimum execution time: 27_231_000 picoseconds. - Weight::from_parts(30_688_000, 4252) + // Minimum execution time: 30_026_000 picoseconds. + Weight::from_parts(30_938_000, 4252) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -489,8 +489,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `762` // Estimated: `4227` - // Minimum execution time: 29_936_000 picoseconds. - Weight::from_parts(30_777_000, 4227) + // Minimum execution time: 29_987_000 picoseconds. + Weight::from_parts(31_009_000, 4227) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -500,8 +500,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_823_000 picoseconds. - Weight::from_parts(7_163_000, 0) + // Minimum execution time: 6_712_000 picoseconds. + Weight::from_parts(7_083_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:1) @@ -514,8 +514,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_500_000 picoseconds. - Weight::from_parts(27_261_000, 4225) + // Minimum execution time: 26_389_000 picoseconds. + Weight::from_parts(27_351_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -531,8 +531,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 27_140_000 picoseconds. - Weight::from_parts(27_842_000, 4225) + // Minimum execution time: 27_111_000 picoseconds. + Weight::from_parts(27_852_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -548,8 +548,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_379_000 picoseconds. - Weight::from_parts(27_342_000, 4225) + // Minimum execution time: 26_490_000 picoseconds. + Weight::from_parts(27_582_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -559,8 +559,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_671_000 picoseconds. - Weight::from_parts(6_031_000, 0) + // Minimum execution time: 6_071_000 picoseconds. + Weight::from_parts(6_272_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::TxRateLimit` (r:0 w:1) @@ -569,19 +569,16 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_230_000 picoseconds. - Weight::from_parts(5_590_000, 0) + // Minimum execution time: 5_330_000 picoseconds. + Weight::from_parts(5_651_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - /// Storage: `SubtensorModule::TotalIssuance` (r:0 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn sudo_set_total_issuance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_318_000 picoseconds. - Weight::from_parts(5_318_000, 0) - .saturating_add(T::DbWeight::get().writes(0_u64)) + // Minimum execution time: 5_841_000 picoseconds. + Weight::from_parts(6_101_000, 0) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -591,8 +588,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `609` // Estimated: `4074` - // Minimum execution time: 16_431_000 picoseconds. - Weight::from_parts(17_062_000, 4074) + // Minimum execution time: 16_622_000 picoseconds. + Weight::from_parts(17_112_000, 4074) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -602,8 +599,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_500_000 picoseconds. - Weight::from_parts(5_761_000, 0) + // Minimum execution time: 5_490_000 picoseconds. + Weight::from_parts(5_721_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NominatorMinRequiredStake` (r:1 w:1) @@ -618,8 +615,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `912` // Estimated: `6852` - // Minimum execution time: 28_793_000 picoseconds. - Weight::from_parts(29_446_000, 6852) + // Minimum execution time: 28_945_000 picoseconds. + Weight::from_parts(29_506_000, 6852) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -629,8 +626,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_430_000 picoseconds. - Weight::from_parts(5_690_000, 0) + // Minimum execution time: 5_360_000 picoseconds. + Weight::from_parts(5_631_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::MinDelegateTake` (r:0 w:1) @@ -639,8 +636,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_430_000 picoseconds. - Weight::from_parts(5_631_000, 0) + // Minimum execution time: 5_420_000 picoseconds. + Weight::from_parts(5_661_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -653,8 +650,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 18_134_000 picoseconds. - Weight::from_parts(18_766_000, 4122) + // Minimum execution time: 18_154_000 picoseconds. + Weight::from_parts(18_965_000, 4122) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -670,8 +667,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `804` // Estimated: `4269` - // Minimum execution time: 26_770_000 picoseconds. - Weight::from_parts(27_562_000, 4269) + // Minimum execution time: 26_549_000 picoseconds. + Weight::from_parts(27_282_000, 4269) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -681,7 +678,7 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_350_000 picoseconds. + // Minimum execution time: 5_470_000 picoseconds. Weight::from_parts(5_761_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -691,8 +688,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_330_000 picoseconds. - Weight::from_parts(5_750_000, 0) + // Minimum execution time: 5_320_000 picoseconds. + Weight::from_parts(5_571_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::DissolveNetworkScheduleDuration` (r:0 w:1) @@ -701,8 +698,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_421_000 picoseconds. - Weight::from_parts(5_791_000, 0) + // Minimum execution time: 5_340_000 picoseconds. + Weight::from_parts(5_651_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -715,8 +712,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 20_879_000 picoseconds. - Weight::from_parts(21_460_000, 4122) + // Minimum execution time: 20_618_000 picoseconds. + Weight::from_parts(21_260_000, 4122) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -726,8 +723,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 6_201_000 picoseconds. - Weight::from_parts(6_542_000, 3507) + // Minimum execution time: 6_071_000 picoseconds. + Weight::from_parts(6_342_000, 3507) .saturating_add(T::DbWeight::get().reads(1_u64)) } /// Storage: `SubtensorModule::SubnetMovingAlpha` (r:0 w:1) @@ -736,8 +733,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_795_000 picoseconds. - Weight::from_parts(3_036_000, 0) + // Minimum execution time: 2_765_000 picoseconds. + Weight::from_parts(2_945_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::EMAPriceHalvingBlocks` (r:0 w:1) @@ -746,8 +743,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_857_000 picoseconds. - Weight::from_parts(4_238_000, 0) + // Minimum execution time: 4_008_000 picoseconds. + Weight::from_parts(4_188_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -762,8 +759,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 23_674_000 picoseconds. - Weight::from_parts(24_256_000, 4225) + // Minimum execution time: 23_985_000 picoseconds. + Weight::from_parts(24_706_000, 4225) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -777,8 +774,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 21_120_000 picoseconds. - Weight::from_parts(21_711_000, 4122) + // Minimum execution time: 20_799_000 picoseconds. + Weight::from_parts(21_410_000, 4122) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -792,8 +789,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 22_642_000 picoseconds. - Weight::from_parts(23_324_000, 4122) + // Minimum execution time: 22_873_000 picoseconds. + Weight::from_parts(23_705_000, 4122) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -807,8 +804,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `702` // Estimated: `4167` - // Minimum execution time: 22_252_000 picoseconds. - Weight::from_parts(22_733_000, 4167) + // Minimum execution time: 25_538_000 picoseconds. + Weight::from_parts(26_420_000, 4167) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -822,8 +819,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 17_633_000 picoseconds. - Weight::from_parts(18_094_000, 4122) + // Minimum execution time: 17_713_000 picoseconds. + Weight::from_parts(18_284_000, 4122) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -834,7 +831,7 @@ impl WeightInfo for SubstrateWeight { // Measured: `0` // Estimated: `0` // Minimum execution time: 5_300_000 picoseconds. - Weight::from_parts(5_690_000, 0) + Weight::from_parts(5_611_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::OwnerHyperparamRateLimit` (r:0 w:1) @@ -843,8 +840,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_070_000 picoseconds. - Weight::from_parts(5_570_000, 0) + // Minimum execution time: 5_390_000 picoseconds. + Weight::from_parts(5_651_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -857,8 +854,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 16_751_000 picoseconds. - Weight::from_parts(18_124_000, 4122) + // Minimum execution time: 17_874_000 picoseconds. + Weight::from_parts(18_214_000, 4122) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -878,8 +875,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_660_000 picoseconds. - Weight::from_parts(28_844_000, 4225) + // Minimum execution time: 28_153_000 picoseconds. + Weight::from_parts(28_744_000, 4225) .saturating_add(T::DbWeight::get().reads(6_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -889,8 +886,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_132_000 picoseconds. - Weight::from_parts(7_053_000, 0) + // Minimum execution time: 6_803_000 picoseconds. + Weight::from_parts(7_233_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } } @@ -904,10 +901,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_938_000 picoseconds. - Weight::from_parts(4_750_164, 0) - // Standard Error: 832 - .saturating_add(Weight::from_parts(25_112, 0).saturating_mul(a.into())) + // Minimum execution time: 4_107_000 picoseconds. + Weight::from_parts(4_669_529, 0) + // Standard Error: 694 + .saturating_add(Weight::from_parts(28_939, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `Grandpa::PendingChange` (r:1 w:1) @@ -917,10 +914,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `174` // Estimated: `2779` - // Minimum execution time: 7_043_000 picoseconds. - Weight::from_parts(7_618_299, 2779) - // Standard Error: 1_813 - .saturating_add(Weight::from_parts(44_821, 0).saturating_mul(a.into())) + // Minimum execution time: 7_354_000 picoseconds. + Weight::from_parts(7_977_975, 2779) + // Standard Error: 897 + .saturating_add(Weight::from_parts(19_089, 0).saturating_mul(a.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -930,8 +927,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_340_000 picoseconds. - Weight::from_parts(5_710_000, 0) + // Minimum execution time: 5_460_000 picoseconds. + Weight::from_parts(5_660_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -944,8 +941,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `627` // Estimated: `4092` - // Minimum execution time: 21_159_000 picoseconds. - Weight::from_parts(21_711_000, 4092) + // Minimum execution time: 21_369_000 picoseconds. + Weight::from_parts(21_761_000, 4092) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -961,8 +958,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_819_000 picoseconds. - Weight::from_parts(27_381_000, 4225) + // Minimum execution time: 26_941_000 picoseconds. + Weight::from_parts(27_481_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -978,8 +975,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_519_000 picoseconds. - Weight::from_parts(27_401_000, 4225) + // Minimum execution time: 26_770_000 picoseconds. + Weight::from_parts(28_022_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -991,8 +988,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `609` // Estimated: `4074` - // Minimum execution time: 16_441_000 picoseconds. - Weight::from_parts(17_213_000, 4074) + // Minimum execution time: 16_942_000 picoseconds. + Weight::from_parts(17_423_000, 4074) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1008,8 +1005,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_560_000 picoseconds. - Weight::from_parts(27_391_000, 4225) + // Minimum execution time: 27_061_000 picoseconds. + Weight::from_parts(27_863_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1025,8 +1022,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_689_000 picoseconds. - Weight::from_parts(27_392_000, 4225) + // Minimum execution time: 26_761_000 picoseconds. + Weight::from_parts(27_592_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1042,8 +1039,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_770_000 picoseconds. - Weight::from_parts(27_561_000, 4225) + // Minimum execution time: 26_731_000 picoseconds. + Weight::from_parts(27_391_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1061,8 +1058,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 28_162_000 picoseconds. - Weight::from_parts(29_204_000, 4225) + // Minimum execution time: 28_133_000 picoseconds. + Weight::from_parts(29_195_000, 4225) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1078,8 +1075,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 25_948_000 picoseconds. - Weight::from_parts(27_382_000, 4225) + // Minimum execution time: 26_921_000 picoseconds. + Weight::from_parts(27_752_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1091,8 +1088,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `609` // Estimated: `4074` - // Minimum execution time: 15_449_000 picoseconds. - Weight::from_parts(17_012_000, 4074) + // Minimum execution time: 16_871_000 picoseconds. + Weight::from_parts(17_273_000, 4074) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1108,8 +1105,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_359_000 picoseconds. - Weight::from_parts(27_441_000, 4225) + // Minimum execution time: 26_489_000 picoseconds. + Weight::from_parts(27_502_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1127,8 +1124,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `822` // Estimated: `4287` - // Minimum execution time: 28_634_000 picoseconds. - Weight::from_parts(29_545_000, 4287) + // Minimum execution time: 29_044_000 picoseconds. + Weight::from_parts(29_806_000, 4287) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1144,8 +1141,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 22_021_000 picoseconds. - Weight::from_parts(24_115_000, 4225) + // Minimum execution time: 24_015_000 picoseconds. + Weight::from_parts(24_687_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1157,8 +1154,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `609` // Estimated: `4074` - // Minimum execution time: 15_288_000 picoseconds. - Weight::from_parts(17_032_000, 4074) + // Minimum execution time: 16_671_000 picoseconds. + Weight::from_parts(17_192_000, 4074) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1178,8 +1175,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 27_912_000 picoseconds. - Weight::from_parts(30_777_000, 4225) + // Minimum execution time: 30_287_000 picoseconds. + Weight::from_parts(30_909_000, 4225) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1201,8 +1198,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `795` // Estimated: `4260` - // Minimum execution time: 30_908_000 picoseconds. - Weight::from_parts(33_974_000, 4260) + // Minimum execution time: 33_323_000 picoseconds. + Weight::from_parts(34_174_000, 4260) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1218,8 +1215,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 24_856_000 picoseconds. - Weight::from_parts(27_331_000, 4225) + // Minimum execution time: 26_830_000 picoseconds. + Weight::from_parts(27_822_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1235,8 +1232,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_810_000 picoseconds. - Weight::from_parts(27_291_000, 4225) + // Minimum execution time: 26_620_000 picoseconds. + Weight::from_parts(27_331_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1252,8 +1249,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 24_686_000 picoseconds. - Weight::from_parts(26_189_000, 4225) + // Minimum execution time: 26_721_000 picoseconds. + Weight::from_parts(27_672_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1271,8 +1268,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `787` // Estimated: `4252` - // Minimum execution time: 27_231_000 picoseconds. - Weight::from_parts(30_688_000, 4252) + // Minimum execution time: 30_026_000 picoseconds. + Weight::from_parts(30_938_000, 4252) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1290,8 +1287,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `762` // Estimated: `4227` - // Minimum execution time: 29_936_000 picoseconds. - Weight::from_parts(30_777_000, 4227) + // Minimum execution time: 29_987_000 picoseconds. + Weight::from_parts(31_009_000, 4227) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1301,8 +1298,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_823_000 picoseconds. - Weight::from_parts(7_163_000, 0) + // Minimum execution time: 6_712_000 picoseconds. + Weight::from_parts(7_083_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:1) @@ -1315,8 +1312,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_500_000 picoseconds. - Weight::from_parts(27_261_000, 4225) + // Minimum execution time: 26_389_000 picoseconds. + Weight::from_parts(27_351_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1332,8 +1329,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 27_140_000 picoseconds. - Weight::from_parts(27_842_000, 4225) + // Minimum execution time: 27_111_000 picoseconds. + Weight::from_parts(27_852_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1349,8 +1346,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_379_000 picoseconds. - Weight::from_parts(27_342_000, 4225) + // Minimum execution time: 26_490_000 picoseconds. + Weight::from_parts(27_582_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1360,8 +1357,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_671_000 picoseconds. - Weight::from_parts(6_031_000, 0) + // Minimum execution time: 6_071_000 picoseconds. + Weight::from_parts(6_272_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::TxRateLimit` (r:0 w:1) @@ -1370,19 +1367,16 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_230_000 picoseconds. - Weight::from_parts(5_590_000, 0) + // Minimum execution time: 5_330_000 picoseconds. + Weight::from_parts(5_651_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - /// Storage: `SubtensorModule::TotalIssuance` (r:0 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) fn sudo_set_total_issuance() -> Weight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_318_000 picoseconds. - Weight::from_parts(5_318_000, 0) - .saturating_add(RocksDbWeight::get().writes(0_u64)) + // Minimum execution time: 5_841_000 picoseconds. + Weight::from_parts(6_101_000, 0) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1392,8 +1386,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `609` // Estimated: `4074` - // Minimum execution time: 16_431_000 picoseconds. - Weight::from_parts(17_062_000, 4074) + // Minimum execution time: 16_622_000 picoseconds. + Weight::from_parts(17_112_000, 4074) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1403,8 +1397,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_500_000 picoseconds. - Weight::from_parts(5_761_000, 0) + // Minimum execution time: 5_490_000 picoseconds. + Weight::from_parts(5_721_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::NominatorMinRequiredStake` (r:1 w:1) @@ -1419,8 +1413,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `912` // Estimated: `6852` - // Minimum execution time: 28_793_000 picoseconds. - Weight::from_parts(29_446_000, 6852) + // Minimum execution time: 28_945_000 picoseconds. + Weight::from_parts(29_506_000, 6852) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1430,8 +1424,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_430_000 picoseconds. - Weight::from_parts(5_690_000, 0) + // Minimum execution time: 5_360_000 picoseconds. + Weight::from_parts(5_631_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::MinDelegateTake` (r:0 w:1) @@ -1440,8 +1434,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_430_000 picoseconds. - Weight::from_parts(5_631_000, 0) + // Minimum execution time: 5_420_000 picoseconds. + Weight::from_parts(5_661_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -1454,8 +1448,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 18_134_000 picoseconds. - Weight::from_parts(18_766_000, 4122) + // Minimum execution time: 18_154_000 picoseconds. + Weight::from_parts(18_965_000, 4122) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1471,8 +1465,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `804` // Estimated: `4269` - // Minimum execution time: 26_770_000 picoseconds. - Weight::from_parts(27_562_000, 4269) + // Minimum execution time: 26_549_000 picoseconds. + Weight::from_parts(27_282_000, 4269) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1482,7 +1476,7 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_350_000 picoseconds. + // Minimum execution time: 5_470_000 picoseconds. Weight::from_parts(5_761_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1492,8 +1486,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_330_000 picoseconds. - Weight::from_parts(5_750_000, 0) + // Minimum execution time: 5_320_000 picoseconds. + Weight::from_parts(5_571_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::DissolveNetworkScheduleDuration` (r:0 w:1) @@ -1502,8 +1496,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_421_000 picoseconds. - Weight::from_parts(5_791_000, 0) + // Minimum execution time: 5_340_000 picoseconds. + Weight::from_parts(5_651_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -1516,8 +1510,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 20_879_000 picoseconds. - Weight::from_parts(21_460_000, 4122) + // Minimum execution time: 20_618_000 picoseconds. + Weight::from_parts(21_260_000, 4122) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1527,8 +1521,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `42` // Estimated: `3507` - // Minimum execution time: 6_201_000 picoseconds. - Weight::from_parts(6_542_000, 3507) + // Minimum execution time: 6_071_000 picoseconds. + Weight::from_parts(6_342_000, 3507) .saturating_add(RocksDbWeight::get().reads(1_u64)) } /// Storage: `SubtensorModule::SubnetMovingAlpha` (r:0 w:1) @@ -1537,8 +1531,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_795_000 picoseconds. - Weight::from_parts(3_036_000, 0) + // Minimum execution time: 2_765_000 picoseconds. + Weight::from_parts(2_945_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::EMAPriceHalvingBlocks` (r:0 w:1) @@ -1547,8 +1541,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 3_857_000 picoseconds. - Weight::from_parts(4_238_000, 0) + // Minimum execution time: 4_008_000 picoseconds. + Weight::from_parts(4_188_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -1563,8 +1557,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 23_674_000 picoseconds. - Weight::from_parts(24_256_000, 4225) + // Minimum execution time: 23_985_000 picoseconds. + Weight::from_parts(24_706_000, 4225) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1578,8 +1572,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 21_120_000 picoseconds. - Weight::from_parts(21_711_000, 4122) + // Minimum execution time: 20_799_000 picoseconds. + Weight::from_parts(21_410_000, 4122) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1593,8 +1587,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 22_642_000 picoseconds. - Weight::from_parts(23_324_000, 4122) + // Minimum execution time: 22_873_000 picoseconds. + Weight::from_parts(23_705_000, 4122) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1608,8 +1602,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `702` // Estimated: `4167` - // Minimum execution time: 22_252_000 picoseconds. - Weight::from_parts(22_733_000, 4167) + // Minimum execution time: 25_538_000 picoseconds. + Weight::from_parts(26_420_000, 4167) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -1623,8 +1617,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 17_633_000 picoseconds. - Weight::from_parts(18_094_000, 4122) + // Minimum execution time: 17_713_000 picoseconds. + Weight::from_parts(18_284_000, 4122) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1635,7 +1629,7 @@ impl WeightInfo for () { // Measured: `0` // Estimated: `0` // Minimum execution time: 5_300_000 picoseconds. - Weight::from_parts(5_690_000, 0) + Weight::from_parts(5_611_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::OwnerHyperparamRateLimit` (r:0 w:1) @@ -1644,8 +1638,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_070_000 picoseconds. - Weight::from_parts(5_570_000, 0) + // Minimum execution time: 5_390_000 picoseconds. + Weight::from_parts(5_651_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Tempo` (r:1 w:0) @@ -1658,8 +1652,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `657` // Estimated: `4122` - // Minimum execution time: 16_751_000 picoseconds. - Weight::from_parts(18_124_000, 4122) + // Minimum execution time: 17_874_000 picoseconds. + Weight::from_parts(18_214_000, 4122) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1679,8 +1673,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `760` // Estimated: `4225` - // Minimum execution time: 26_660_000 picoseconds. - Weight::from_parts(28_844_000, 4225) + // Minimum execution time: 28_153_000 picoseconds. + Weight::from_parts(28_744_000, 4225) .saturating_add(RocksDbWeight::get().reads(6_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -1690,8 +1684,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 6_132_000 picoseconds. - Weight::from_parts(7_053_000, 0) + // Minimum execution time: 6_803_000 picoseconds. + Weight::from_parts(7_233_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } } diff --git a/pallets/proxy/src/weights.rs b/pallets/proxy/src/weights.rs index 47a25c45f5..a3c4f86593 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-04-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-04, 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.08ToYZtPAe +// --output=/tmp/tmp.9knXnirNE8 // --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_560_000 picoseconds. - Weight::from_parts(27_869_569, 4254) - // Standard Error: 3_626 - .saturating_add(Weight::from_parts(70_793, 0).saturating_mul(p.into())) + // Minimum execution time: 26_350_000 picoseconds. + Weight::from_parts(27_408_803, 4254) + // Standard Error: 3_640 + .saturating_add(Weight::from_parts(65_542, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -92,12 +92,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 51_907_000 picoseconds. - Weight::from_parts(52_690_790, 8615) - // Standard Error: 2_165 - .saturating_add(Weight::from_parts(218_079, 0).saturating_mul(a.into())) - // Standard Error: 8_673 - .saturating_add(Weight::from_parts(46_409, 0).saturating_mul(p.into())) + // Minimum execution time: 51_918_000 picoseconds. + Weight::from_parts(52_350_307, 8615) + // Standard Error: 1_900 + .saturating_add(Weight::from_parts(216_569, 0).saturating_mul(a.into())) + // Standard Error: 7_612 + .saturating_add(Weight::from_parts(48_719, 0).saturating_mul(p.into())) .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_337_000 picoseconds. - Weight::from_parts(25_516_899, 8615) - // Standard Error: 1_227 - .saturating_add(Weight::from_parts(192_126, 0).saturating_mul(a.into())) - // Standard Error: 4_914 - .saturating_add(Weight::from_parts(27_993, 0).saturating_mul(p.into())) + // Minimum execution time: 25_298_000 picoseconds. + Weight::from_parts(25_519_010, 8615) + // Standard Error: 1_285 + .saturating_add(Weight::from_parts(199_662, 0).saturating_mul(a.into())) + // Standard Error: 5_148 + .saturating_add(Weight::from_parts(12_673, 0).saturating_mul(p.into())) .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_608_000 picoseconds. - Weight::from_parts(25_592_264, 8615) - // Standard Error: 1_278 - .saturating_add(Weight::from_parts(194_773, 0).saturating_mul(a.into())) - // Standard Error: 5_118 - .saturating_add(Weight::from_parts(27_733, 0).saturating_mul(p.into())) + // Minimum execution time: 25_387_000 picoseconds. + Weight::from_parts(25_517_797, 8615) + // Standard Error: 1_246 + .saturating_add(Weight::from_parts(193_411, 0).saturating_mul(a.into())) + // Standard Error: 4_993 + .saturating_add(Weight::from_parts(29_999, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -153,12 +153,12 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 32_841_000 picoseconds. - Weight::from_parts(33_193_276, 8615) - // Standard Error: 1_207 - .saturating_add(Weight::from_parts(192_805, 0).saturating_mul(a.into())) - // Standard Error: 4_837 - .saturating_add(Weight::from_parts(51_762, 0).saturating_mul(p.into())) + // Minimum execution time: 32_732_000 picoseconds. + Weight::from_parts(33_019_988, 8615) + // Standard Error: 1_111 + .saturating_add(Weight::from_parts(194_225, 0).saturating_mul(a.into())) + // Standard Error: 4_452 + .saturating_add(Weight::from_parts(51_072, 0).saturating_mul(p.into())) .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_095_000 picoseconds. - Weight::from_parts(25_053_001, 4254) - // Standard Error: 2_305 - .saturating_add(Weight::from_parts(75_973, 0).saturating_mul(p.into())) + // Minimum execution time: 24_486_000 picoseconds. + Weight::from_parts(25_216_335, 4254) + // Standard Error: 2_643 + .saturating_add(Weight::from_parts(67_253, 0).saturating_mul(p.into())) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -185,10 +185,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_798_000 picoseconds. - Weight::from_parts(27_240_177, 4254) - // Standard Error: 2_932 - .saturating_add(Weight::from_parts(72_608, 0).saturating_mul(p.into())) + // Minimum execution time: 25_999_000 picoseconds. + Weight::from_parts(27_109_216, 4254) + // Standard Error: 2_754 + .saturating_add(Weight::from_parts(71_289, 0).saturating_mul(p.into())) .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: 26_068_000 picoseconds. - Weight::from_parts(27_127_469, 4254) - // Standard Error: 2_928 - .saturating_add(Weight::from_parts(48_389, 0).saturating_mul(p.into())) + // Minimum execution time: 25_848_000 picoseconds. + Weight::from_parts(26_822_162, 4254) + // Standard Error: 4_056 + .saturating_add(Weight::from_parts(57_793, 0).saturating_mul(p.into())) .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_259_000 picoseconds. - Weight::from_parts(27_221_067, 4254) - // Standard Error: 3_076 - .saturating_add(Weight::from_parts(39_552, 0).saturating_mul(p.into())) + // Minimum execution time: 26_069_000 picoseconds. + Weight::from_parts(27_224_850, 4254) + // Standard Error: 2_890 + .saturating_add(Weight::from_parts(26_102, 0).saturating_mul(p.into())) .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: 25_227_000 picoseconds. - Weight::from_parts(26_491_429, 4254) - // Standard Error: 2_471 - .saturating_add(Weight::from_parts(38_289, 0).saturating_mul(p.into())) + // Minimum execution time: 24_847_000 picoseconds. + Weight::from_parts(25_942_688, 4254) + // Standard Error: 3_765 + .saturating_add(Weight::from_parts(50_048, 0).saturating_mul(p.into())) .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: 45_114_000 picoseconds. - Weight::from_parts(45_896_000, 8615) + // Minimum execution time: 44_584_000 picoseconds. + Weight::from_parts(45_826_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_736_000 picoseconds. - Weight::from_parts(14_464_226, 4254) - // Standard Error: 1_660 - .saturating_add(Weight::from_parts(40_246, 0).saturating_mul(p.into())) + // Minimum execution time: 13_766_000 picoseconds. + Weight::from_parts(14_373_774, 4254) + // Standard Error: 2_247 + .saturating_add(Weight::from_parts(42_752, 0).saturating_mul(p.into())) .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_560_000 picoseconds. - Weight::from_parts(27_869_569, 4254) - // Standard Error: 3_626 - .saturating_add(Weight::from_parts(70_793, 0).saturating_mul(p.into())) + // Minimum execution time: 26_350_000 picoseconds. + Weight::from_parts(27_408_803, 4254) + // Standard Error: 3_640 + .saturating_add(Weight::from_parts(65_542, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) .saturating_add(Weight::from_parts(0, 37).saturating_mul(p.into())) @@ -308,12 +308,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `894 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615 + a * (68 ±0) + p * (37 ±0)` - // Minimum execution time: 51_907_000 picoseconds. - Weight::from_parts(52_690_790, 8615) - // Standard Error: 2_165 - .saturating_add(Weight::from_parts(218_079, 0).saturating_mul(a.into())) - // Standard Error: 8_673 - .saturating_add(Weight::from_parts(46_409, 0).saturating_mul(p.into())) + // Minimum execution time: 51_918_000 picoseconds. + Weight::from_parts(52_350_307, 8615) + // Standard Error: 1_900 + .saturating_add(Weight::from_parts(216_569, 0).saturating_mul(a.into())) + // Standard Error: 7_612 + .saturating_add(Weight::from_parts(48_719, 0).saturating_mul(p.into())) .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_337_000 picoseconds. - Weight::from_parts(25_516_899, 8615) - // Standard Error: 1_227 - .saturating_add(Weight::from_parts(192_126, 0).saturating_mul(a.into())) - // Standard Error: 4_914 - .saturating_add(Weight::from_parts(27_993, 0).saturating_mul(p.into())) + // Minimum execution time: 25_298_000 picoseconds. + Weight::from_parts(25_519_010, 8615) + // Standard Error: 1_285 + .saturating_add(Weight::from_parts(199_662, 0).saturating_mul(a.into())) + // Standard Error: 5_148 + .saturating_add(Weight::from_parts(12_673, 0).saturating_mul(p.into())) .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_608_000 picoseconds. - Weight::from_parts(25_592_264, 8615) - // Standard Error: 1_278 - .saturating_add(Weight::from_parts(194_773, 0).saturating_mul(a.into())) - // Standard Error: 5_118 - .saturating_add(Weight::from_parts(27_733, 0).saturating_mul(p.into())) + // Minimum execution time: 25_387_000 picoseconds. + Weight::from_parts(25_517_797, 8615) + // Standard Error: 1_246 + .saturating_add(Weight::from_parts(193_411, 0).saturating_mul(a.into())) + // Standard Error: 4_993 + .saturating_add(Weight::from_parts(29_999, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -369,12 +369,12 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `308 + a * (68 ±0) + p * (37 ±0)` // Estimated: `8615` - // Minimum execution time: 32_841_000 picoseconds. - Weight::from_parts(33_193_276, 8615) - // Standard Error: 1_207 - .saturating_add(Weight::from_parts(192_805, 0).saturating_mul(a.into())) - // Standard Error: 4_837 - .saturating_add(Weight::from_parts(51_762, 0).saturating_mul(p.into())) + // Minimum execution time: 32_732_000 picoseconds. + Weight::from_parts(33_019_988, 8615) + // Standard Error: 1_111 + .saturating_add(Weight::from_parts(194_225, 0).saturating_mul(a.into())) + // Standard Error: 4_452 + .saturating_add(Weight::from_parts(51_072, 0).saturating_mul(p.into())) .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_095_000 picoseconds. - Weight::from_parts(25_053_001, 4254) - // Standard Error: 2_305 - .saturating_add(Weight::from_parts(75_973, 0).saturating_mul(p.into())) + // Minimum execution time: 24_486_000 picoseconds. + Weight::from_parts(25_216_335, 4254) + // Standard Error: 2_643 + .saturating_add(Weight::from_parts(67_253, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -401,10 +401,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `119 + p * (37 ±0)` // Estimated: `4254` - // Minimum execution time: 25_798_000 picoseconds. - Weight::from_parts(27_240_177, 4254) - // Standard Error: 2_932 - .saturating_add(Weight::from_parts(72_608, 0).saturating_mul(p.into())) + // Minimum execution time: 25_999_000 picoseconds. + Weight::from_parts(27_109_216, 4254) + // Standard Error: 2_754 + .saturating_add(Weight::from_parts(71_289, 0).saturating_mul(p.into())) .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: 26_068_000 picoseconds. - Weight::from_parts(27_127_469, 4254) - // Standard Error: 2_928 - .saturating_add(Weight::from_parts(48_389, 0).saturating_mul(p.into())) + // Minimum execution time: 25_848_000 picoseconds. + Weight::from_parts(26_822_162, 4254) + // Standard Error: 4_056 + .saturating_add(Weight::from_parts(57_793, 0).saturating_mul(p.into())) .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_259_000 picoseconds. - Weight::from_parts(27_221_067, 4254) - // Standard Error: 3_076 - .saturating_add(Weight::from_parts(39_552, 0).saturating_mul(p.into())) + // Minimum execution time: 26_069_000 picoseconds. + Weight::from_parts(27_224_850, 4254) + // Standard Error: 2_890 + .saturating_add(Weight::from_parts(26_102, 0).saturating_mul(p.into())) .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: 25_227_000 picoseconds. - Weight::from_parts(26_491_429, 4254) - // Standard Error: 2_471 - .saturating_add(Weight::from_parts(38_289, 0).saturating_mul(p.into())) + // Minimum execution time: 24_847_000 picoseconds. + Weight::from_parts(25_942_688, 4254) + // Standard Error: 3_765 + .saturating_add(Weight::from_parts(50_048, 0).saturating_mul(p.into())) .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: 45_114_000 picoseconds. - Weight::from_parts(45_896_000, 8615) + // Minimum execution time: 44_584_000 picoseconds. + Weight::from_parts(45_826_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_736_000 picoseconds. - Weight::from_parts(14_464_226, 4254) - // Standard Error: 1_660 - .saturating_add(Weight::from_parts(40_246, 0).saturating_mul(p.into())) + // Minimum execution time: 13_766_000 picoseconds. + Weight::from_parts(14_373_774, 4254) + // Standard Error: 2_247 + .saturating_add(Weight::from_parts(42_752, 0).saturating_mul(p.into())) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } diff --git a/pallets/subtensor/src/weights.rs b/pallets/subtensor/src/weights.rs index f06c9fc825..4e759e12e0 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-04-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` +//! DATE: 2026-05-04, 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.VTK2WpuoML +// --output=/tmp/tmp.bgeSTyDtzW // --template=/home/runner/work/subtensor/subtensor/.maintain/frame-weight-template.hbs #![cfg_attr(rustfmt, rustfmt_skip)] @@ -106,7 +106,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Burn` (r:1 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:1) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -192,10 +192,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Swap::CurrentTick` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` + // Measured: `1706` // Estimated: `13600` - // Minimum execution time: 348_900_000 picoseconds. - Weight::from_parts(371_883_000, 13600) + // Minimum execution time: 355_490_000 picoseconds. + Weight::from_parts(364_739_000, 13600) .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(39_u64)) } @@ -237,15 +237,15 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `188782` // Estimated: `10327372` - // Minimum execution time: 15_197_206_000 picoseconds. - Weight::from_parts(15_388_724_000, 10327372) + // Minimum execution time: 14_846_685_000 picoseconds. + Weight::from_parts(15_166_549_000, 10327372) .saturating_add(T::DbWeight::get().reads(4112_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } - /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) - /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) + /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) @@ -264,7 +264,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Swap::FeeRate` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) /// Storage: `Swap::CurrentLiquidity` (r:1 w:0) /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -288,22 +288,28 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:0 w:1) /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2307` - // Estimated: `8556` - // Minimum execution time: 332_138_000 picoseconds. - Weight::from_parts(340_254_000, 8556) - .saturating_add(T::DbWeight::get().reads(28_u64)) - .saturating_add(T::DbWeight::get().writes(16_u64)) + // Measured: `2560` + // Estimated: `8727` + // Minimum execution time: 431_592_000 picoseconds. + Weight::from_parts(453_283_000, 8727) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(18_u64)) } /// Storage: `SubtensorModule::IsNetworkMember` (r:2 w:0) /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -315,8 +321,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `791` // Estimated: `6731` - // Minimum execution time: 34_624_000 picoseconds. - Weight::from_parts(35_666_000, 6731) + // Minimum execution time: 34_354_000 picoseconds. + Weight::from_parts(34_836_000, 6731) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -330,8 +336,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `764` // Estimated: `6704` - // Minimum execution time: 30_797_000 picoseconds. - Weight::from_parts(31_860_000, 6704) + // Minimum execution time: 30_417_000 picoseconds. + Weight::from_parts(31_620_000, 6704) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -343,7 +349,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Burn` (r:1 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:1) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -431,8 +437,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1639` // Estimated: `13600` - // Minimum execution time: 341_517_000 picoseconds. - Weight::from_parts(343_359_000, 13600) + // Minimum execution time: 364_917_000 picoseconds. + Weight::from_parts(368_714_000, 13600) .saturating_add(T::DbWeight::get().reads(47_u64)) .saturating_add(T::DbWeight::get().writes(39_u64)) } @@ -484,8 +490,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1415` // Estimated: `4880` - // Minimum execution time: 102_561_000 picoseconds. - Weight::from_parts(104_435_000, 4880) + // Minimum execution time: 100_830_000 picoseconds. + Weight::from_parts(102_322_000, 4880) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(16_u64)) } @@ -511,7 +517,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::BlockEmission` (r:1 w:0) /// Proof: `SubtensorModule::BlockEmission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:1) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -565,8 +571,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Burn` (r:0 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:0 w:1) - /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetLocked` (r:0 w:1) /// Proof: `SubtensorModule::SubnetLocked` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworkRegisteredAt` (r:0 w:1) @@ -605,8 +609,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1459` // Estimated: `9874` - // Minimum execution time: 253_543_000 picoseconds. - Weight::from_parts(259_162_000, 9874) + // Minimum execution time: 268_496_000 picoseconds. + Weight::from_parts(273_143_000, 9874) .saturating_add(T::DbWeight::get().reads(42_u64)) .saturating_add(T::DbWeight::get().writes(47_u64)) } @@ -634,8 +638,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1061` // Estimated: `4526` - // Minimum execution time: 61_785_000 picoseconds. - Weight::from_parts(62_667_000, 4526) + // Minimum execution time: 60_835_000 picoseconds. + Weight::from_parts(62_007_000, 4526) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -679,8 +683,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1579` // Estimated: `7519` - // Minimum execution time: 109_063_000 picoseconds. - Weight::from_parts(110_616_000, 7519) + // Minimum execution time: 107_622_000 picoseconds. + Weight::from_parts(109_516_000, 7519) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -690,8 +694,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_340_000 picoseconds. - Weight::from_parts(5_541_000, 0) + // Minimum execution time: 5_260_000 picoseconds. + Weight::from_parts(5_611_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -708,8 +712,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `938` // Estimated: `4403` - // Minimum execution time: 47_128_000 picoseconds. - Weight::from_parts(47_769_000, 4403) + // Minimum execution time: 46_848_000 picoseconds. + Weight::from_parts(47_770_000, 4403) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -725,8 +729,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(43_812_000, 4159) + // Minimum execution time: 45_235_000 picoseconds. + Weight::from_parts(46_999_000, 4159) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -756,16 +760,18 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:2 w:2) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::LastRateLimitedBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_coldkey_announced() -> Weight { // Proof Size summary in bytes: - // Measured: `1815` - // Estimated: `12705` - // Minimum execution time: 254_054_000 picoseconds. - Weight::from_parts(256_498_000, 12705) + // Measured: `2117` + // Estimated: `13007` + // Minimum execution time: 267_614_000 picoseconds. + Weight::from_parts(273_394_000, 13007) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(15_u64)) } @@ -797,6 +803,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:2 w:2) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:0 w:1) /// Proof: `SubtensorModule::ColdkeySwapAnnouncements` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ColdkeySwapDisputes` (r:0 w:1) @@ -805,10 +813,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: `1908` - // Estimated: `12798` - // Minimum execution time: 276_024_000 picoseconds. - Weight::from_parts(279_571_000, 12798) + // Measured: `2210` + // Estimated: `13100` + // Minimum execution time: 289_935_000 picoseconds. + Weight::from_parts(294_274_000, 13100) .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(19_u64)) } @@ -820,8 +828,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_051_000 picoseconds. - Weight::from_parts(22_531_000, 4130) + // Minimum execution time: 22_412_000 picoseconds. + Weight::from_parts(23_364_000, 4130) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -833,8 +841,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_605_000 picoseconds. - Weight::from_parts(19_015_000, 4078) + // Minimum execution time: 18_325_000 picoseconds. + Weight::from_parts(19_206_000, 4078) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -846,8 +854,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_426_000 picoseconds. - Weight::from_parts(8_766_000, 0) + // Minimum execution time: 8_376_000 picoseconds. + Weight::from_parts(8_697_000, 0) .saturating_add(T::DbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -890,8 +898,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2084` // Estimated: `8024` - // Minimum execution time: 411_286_000 picoseconds. - Weight::from_parts(430_662_000, 8024) + // Minimum execution time: 396_345_000 picoseconds. + Weight::from_parts(408_599_000, 8024) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -913,12 +921,16 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn recycle_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1424` - // Estimated: `4889` - // Minimum execution time: 126_435_000 picoseconds. - Weight::from_parts(128_039_000, 4889) + // Measured: `1860` + // Estimated: `5325` + // Minimum execution time: 166_603_000 picoseconds. + Weight::from_parts(168_788_000, 5325) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -940,12 +952,16 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:0) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn burn_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1424` - // Estimated: `4889` - // Minimum execution time: 126_171_000 picoseconds. - Weight::from_parts(128_965_000, 4889) + // Measured: `1860` + // Estimated: `5325` + // Minimum execution time: 164_650_000 picoseconds. + Weight::from_parts(166_603_000, 5325) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -965,8 +981,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1079` // Estimated: `4544` - // Minimum execution time: 38_992_000 picoseconds. - Weight::from_parts(39_714_000, 4544) + // Minimum execution time: 38_783_000 picoseconds. + Weight::from_parts(40_136_000, 4544) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -992,7 +1008,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1016,22 +1032,28 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:0 w:1) /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2307` - // Estimated: `8556` - // Minimum execution time: 367_735_000 picoseconds. - Weight::from_parts(372_424_000, 8556) - .saturating_add(T::DbWeight::get().reads(28_u64)) - .saturating_add(T::DbWeight::get().writes(16_u64)) + // Measured: `2560` + // Estimated: `8727` + // Minimum execution time: 465_225_000 picoseconds. + Weight::from_parts(485_933_000, 8727) + .saturating_add(T::DbWeight::get().reads(33_u64)) + .saturating_add(T::DbWeight::get().writes(18_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1065,8 +1087,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `2002` // Estimated: `7942` - // Minimum execution time: 215_561_000 picoseconds. - Weight::from_parts(218_267_000, 7942) + // Minimum execution time: 205_998_000 picoseconds. + Weight::from_parts(208_783_000, 7942) .saturating_add(T::DbWeight::get().reads(19_u64)) .saturating_add(T::DbWeight::get().writes(7_u64)) } @@ -1106,6 +1128,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) @@ -1114,21 +1140,21 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:1 w:1) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2211` - // Estimated: `10626` - // Minimum execution time: 347_237_000 picoseconds. - Weight::from_parts(367_354_000, 10626) - .saturating_add(T::DbWeight::get().reads(32_u64)) + // Measured: `2536` + // Estimated: `10951` + // Minimum execution time: 412_326_000 picoseconds. + Weight::from_parts(433_846_000, 10951) + .saturating_add(T::DbWeight::get().reads(34_u64)) .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `SubtensorModule::SubnetMechanism` (r:2 w:0) @@ -1165,6 +1191,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) @@ -1173,21 +1203,21 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:1 w:1) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2211` - // Estimated: `10626` - // Minimum execution time: 387_646_000 picoseconds. - Weight::from_parts(403_169_000, 10626) - .saturating_add(T::DbWeight::get().reads(31_u64)) + // Measured: `2536` + // Estimated: `10951` + // Minimum execution time: 445_979_000 picoseconds. + Weight::from_parts(451_159_000, 10951) + .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) @@ -1226,6 +1256,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:3 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:2 w:2) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:2 w:2) @@ -1234,22 +1268,26 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:2 w:2) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:3 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) - /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2494` - // Estimated: `8556` - // Minimum execution time: 461_377_000 picoseconds. - Weight::from_parts(477_951_000, 8556) - .saturating_add(T::DbWeight::get().reads(42_u64)) - .saturating_add(T::DbWeight::get().writes(23_u64)) + // Measured: `2923` + // Estimated: `11338` + // Minimum execution time: 641_075_000 picoseconds. + Weight::from_parts(664_801_000, 11338) + .saturating_add(T::DbWeight::get().reads(48_u64)) + .saturating_add(T::DbWeight::get().writes(25_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1271,8 +1309,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TransferToggle` (r:1 w:0) /// Proof: `SubtensorModule::TransferToggle` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:1) + /// Storage: `SubtensorModule::StakingHotkeys` (r:2 w:1) /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Swap::SwapV3Initialized` (r:1 w:0) @@ -1283,10 +1323,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: `1829` - // Estimated: `7769` - // Minimum execution time: 209_670_000 picoseconds. - Weight::from_parts(212_276_000, 7769) + // Measured: `1996` + // Estimated: `7936` + // Minimum execution time: 240_382_000 picoseconds. + Weight::from_parts(243_919_000, 7936) .saturating_add(T::DbWeight::get().reads(18_u64)) .saturating_add(T::DbWeight::get().writes(6_u64)) } @@ -1326,6 +1366,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Swap::FeeRate` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) /// Storage: `Swap::CurrentLiquidity` (r:1 w:0) /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:3 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:2 w:2) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:2 w:2) @@ -1334,22 +1378,26 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:2 w:2) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:3 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) - /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2421` - // Estimated: `8556` - // Minimum execution time: 402_808_000 picoseconds. - Weight::from_parts(420_035_000, 8556) - .saturating_add(T::DbWeight::get().reads(42_u64)) - .saturating_add(T::DbWeight::get().writes(23_u64)) + // Measured: `2785` + // Estimated: `11200` + // Minimum execution time: 591_602_000 picoseconds. + Weight::from_parts(613_634_000, 11200) + .saturating_add(T::DbWeight::get().reads(48_u64)) + .saturating_add(T::DbWeight::get().writes(25_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1377,8 +1425,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1084` // Estimated: `4549` - // Minimum execution time: 125_634_000 picoseconds. - Weight::from_parts(128_289_000, 4549) + // Minimum execution time: 122_971_000 picoseconds. + Weight::from_parts(124_314_000, 4549) .saturating_add(T::DbWeight::get().reads(11_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1418,8 +1466,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1416` // Estimated: `7356` - // Minimum execution time: 100_718_000 picoseconds. - Weight::from_parts(101_739_000, 7356) + // Minimum execution time: 100_659_000 picoseconds. + Weight::from_parts(101_972_000, 7356) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1435,8 +1483,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `793` // Estimated: `4258` - // Minimum execution time: 28_653_000 picoseconds. - Weight::from_parts(29_064_000, 4258) + // Minimum execution time: 27_622_000 picoseconds. + Weight::from_parts(29_025_000, 4258) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1454,8 +1502,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `886` // Estimated: `4351` - // Minimum execution time: 35_276_000 picoseconds. - Weight::from_parts(36_067_000, 4351) + // Minimum execution time: 34_876_000 picoseconds. + Weight::from_parts(35_297_000, 4351) .saturating_add(T::DbWeight::get().reads(5_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -1501,6 +1549,8 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::ActivityCutoff` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RegistrationsThisInterval` (r:1 w:1) /// Proof: `SubtensorModule::RegistrationsThisInterval` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:1 w:1) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:1) @@ -1533,8 +1583,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Burn` (r:0 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:0 w:1) - /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetLocked` (r:0 w:1) /// Proof: `SubtensorModule::SubnetLocked` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworkRegisteredAt` (r:0 w:1) @@ -1573,8 +1621,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1343` // Estimated: `9758` - // Minimum execution time: 247_121_000 picoseconds. - Weight::from_parts(250_386_000, 9758) + // Minimum execution time: 263_716_000 picoseconds. + Weight::from_parts(267_293_000, 9758) .saturating_add(T::DbWeight::get().reads(41_u64)) .saturating_add(T::DbWeight::get().writes(46_u64)) } @@ -1588,8 +1636,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `762` // Estimated: `6702` - // Minimum execution time: 33_723_000 picoseconds. - Weight::from_parts(34_675_000, 6702) + // Minimum execution time: 33_633_000 picoseconds. + Weight::from_parts(34_445_000, 6702) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1603,8 +1651,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `842` // Estimated: `6782` - // Minimum execution time: 30_918_000 picoseconds. - Weight::from_parts(31_589_000, 6782) + // Minimum execution time: 30_758_000 picoseconds. + Weight::from_parts(31_870_000, 6782) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1616,8 +1664,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_742_000 picoseconds. - Weight::from_parts(18_184_000, 4060) + // Minimum execution time: 17_412_000 picoseconds. + Weight::from_parts(17_964_000, 4060) .saturating_add(T::DbWeight::get().reads(1_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -1639,10 +1687,12 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:9 w:8) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::OwnedHotkeys` (r:1 w:1) - /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:6 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:5 w:0) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::OwnedHotkeys` (r:1 w:1) + /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ChildKeys` (r:10 w:10) /// Proof: `SubtensorModule::ChildKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ParentKeys` (r:10 w:10) @@ -1689,8 +1739,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `3026` // Estimated: `28766` - // Minimum execution time: 1_148_871_000 picoseconds. - Weight::from_parts(1_162_857_000, 28766) + // Minimum execution time: 1_118_497_000 picoseconds. + Weight::from_parts(1_127_995_000, 28766) .saturating_add(T::DbWeight::get().reads(166_u64)) .saturating_add(T::DbWeight::get().writes(95_u64)) } @@ -1704,8 +1754,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `745` // Estimated: `4210` - // Minimum execution time: 23_784_000 picoseconds. - Weight::from_parts(24_406_000, 4210) + // Minimum execution time: 23_785_000 picoseconds. + Weight::from_parts(24_536_000, 4210) .saturating_add(T::DbWeight::get().reads(3_u64)) .saturating_add(T::DbWeight::get().writes(3_u64)) } @@ -1719,8 +1769,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `740` // Estimated: `9155` - // Minimum execution time: 26_539_000 picoseconds. - Weight::from_parts(27_602_000, 9155) + // Minimum execution time: 27_242_000 picoseconds. + Weight::from_parts(27_693_000, 9155) .saturating_add(T::DbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -1759,6 +1809,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Swap::FeeRate` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) /// Storage: `Swap::CurrentLiquidity` (r:1 w:0) /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:2 w:2) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:2 w:2) @@ -1767,12 +1821,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:2 w:2) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:4 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) - /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RootClaimable` (r:1 w:0) /// Proof: `SubtensorModule::RootClaimable` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingColdkeys` (r:1 w:1) @@ -1785,11 +1837,11 @@ 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: `2372` - // Estimated: `10787` - // Minimum execution time: 414_015_000 picoseconds. - Weight::from_parts(427_445_000, 10787) - .saturating_add(T::DbWeight::get().reads(47_u64)) + // Measured: `2614` + // Estimated: `11306` + // Minimum execution time: 545_167_000 picoseconds. + Weight::from_parts(569_493_000, 11306) + .saturating_add(T::DbWeight::get().reads(49_u64)) .saturating_add(T::DbWeight::get().writes(26_u64)) } /// Storage: `SubtensorModule::Alpha` (r:1 w:0) @@ -1826,6 +1878,10 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) @@ -1834,21 +1890,21 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:1 w:1) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_full_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2211` - // Estimated: `10626` - // Minimum execution time: 412_223_000 picoseconds. - Weight::from_parts(430_190_000, 10626) - .saturating_add(T::DbWeight::get().reads(31_u64)) + // Measured: `2536` + // Estimated: `10951` + // Minimum execution time: 468_592_000 picoseconds. + Weight::from_parts(490_254_000, 10951) + .saturating_add(T::DbWeight::get().reads(33_u64)) .saturating_add(T::DbWeight::get().writes(14_u64)) } /// Storage: `Crowdloan::CurrentCrowdloanId` (r:1 w:0) @@ -1857,7 +1913,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Crowdloan::Crowdloans` (`max_values`: None, `max_size`: Some(282), added: 2757, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::NextSubnetLeaseId` (r:1 w:1) /// Proof: `SubtensorModule::NextSubnetLeaseId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:502 w:502) + /// Storage: `System::Account` (r:503 w:503) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:1) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -1939,8 +1995,6 @@ impl WeightInfo for SubstrateWeight { /// Proof: `Crowdloan::Contributions` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Burn` (r:0 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:0 w:1) - /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetUidToLeaseId` (r:0 w:1) /// Proof: `SubtensorModule::SubnetUidToLeaseId` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetLocked` (r:0 w:1) @@ -1986,10 +2040,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1762 + k * (44 ±0)` // Estimated: `10183 + k * (2579 ±0)` - // Minimum execution time: 460_608_000 picoseconds. - Weight::from_parts(288_591_956, 10183) - // Standard Error: 49_874 - .saturating_add(Weight::from_parts(46_601_875, 0).saturating_mul(k.into())) + // Minimum execution time: 468_092_000 picoseconds. + Weight::from_parts(285_158_564, 10183) + // Standard Error: 22_583 + .saturating_add(Weight::from_parts(45_494_972, 0).saturating_mul(k.into())) .saturating_add(T::DbWeight::get().reads(51_u64)) .saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(T::DbWeight::get().writes(52_u64)) @@ -2019,10 +2073,10 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1447 + k * (53 ±0)` // Estimated: `6148 + k * (2514 ±0)` - // Minimum execution time: 91_881_000 picoseconds. - Weight::from_parts(76_151_337, 6148) - // Standard Error: 6_935 - .saturating_add(Weight::from_parts(1_611_715, 0).saturating_mul(k.into())) + // Minimum execution time: 92_805_000 picoseconds. + Weight::from_parts(131_135_086, 6148) + // Standard Error: 6_682 + .saturating_add(Weight::from_parts(1_630_520, 0).saturating_mul(k.into())) .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)) @@ -2037,8 +2091,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `649` // Estimated: `9064` - // Minimum execution time: 28_173_000 picoseconds. - Weight::from_parts(29_054_000, 9064) + // Minimum execution time: 27_632_000 picoseconds. + Weight::from_parts(29_085_000, 9064) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2066,8 +2120,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1060` // Estimated: `4525` - // Minimum execution time: 74_899_000 picoseconds. - Weight::from_parts(76_262_000, 4525) + // Minimum execution time: 73_969_000 picoseconds. + Weight::from_parts(76_133_000, 4525) .saturating_add(T::DbWeight::get().reads(10_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2083,8 +2137,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `799` // Estimated: `4264` - // Minimum execution time: 33_833_000 picoseconds. - Weight::from_parts(34_534_000, 4264) + // Minimum execution time: 33_843_000 picoseconds. + Weight::from_parts(34_686_000, 4264) .saturating_add(T::DbWeight::get().reads(4_u64)) .saturating_add(T::DbWeight::get().writes(2_u64)) } @@ -2100,8 +2154,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_713_000 picoseconds. - Weight::from_parts(18_294_000, 3941) + // Minimum execution time: 17_483_000 picoseconds. + Weight::from_parts(17_994_000, 3941) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2131,8 +2185,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `1908` // Estimated: `7848` - // Minimum execution time: 134_892_000 picoseconds. - Weight::from_parts(137_416_000, 7848) + // Minimum execution time: 132_329_000 picoseconds. + Weight::from_parts(134_352_000, 7848) .saturating_add(T::DbWeight::get().reads(16_u64)) .saturating_add(T::DbWeight::get().writes(4_u64)) } @@ -2142,8 +2196,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_734_000 picoseconds. - Weight::from_parts(2_865_000, 0) + // Minimum execution time: 2_595_000 picoseconds. + Weight::from_parts(2_805_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -2152,8 +2206,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_290_000 picoseconds. - Weight::from_parts(5_831_000, 0) + // Minimum execution time: 5_180_000 picoseconds. + Weight::from_parts(5_821_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2166,8 +2220,8 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `852` // Estimated: `4317` - // Minimum execution time: 26_740_000 picoseconds. - Weight::from_parts(27_722_000, 4317) + // Minimum execution time: 27_352_000 picoseconds. + Weight::from_parts(28_503_000, 4317) .saturating_add(T::DbWeight::get().reads(2_u64)) .saturating_add(T::DbWeight::get().writes(1_u64)) } @@ -2199,7 +2253,7 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2223,22 +2277,28 @@ impl WeightInfo for SubstrateWeight { /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:0 w:1) /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `2365` - // Estimated: `8556` - // Minimum execution time: 534_433_000 picoseconds. - Weight::from_parts(534_433_000, 8556) - .saturating_add(T::DbWeight::get().reads(31_u64)) - .saturating_add(T::DbWeight::get().writes(17_u64)) + // Measured: `2617` + // Estimated: `8727` + // Minimum execution time: 595_879_000 picoseconds. + Weight::from_parts(616_657_000, 8727) + .saturating_add(T::DbWeight::get().reads(36_u64)) + .saturating_add(T::DbWeight::get().writes(19_u64)) } /// Storage: `SubtensorModule::PendingChildKeyCooldown` (r:0 w:1) /// Proof: `SubtensorModule::PendingChildKeyCooldown` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -2246,28 +2306,71 @@ impl WeightInfo for SubstrateWeight { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_745_000 picoseconds. - Weight::from_parts(2_956_000, 0) + // Minimum execution time: 2_575_000 picoseconds. + Weight::from_parts(2_725_000, 0) .saturating_add(T::DbWeight::get().writes(1_u64)) } - - fn lock_stake() -> Weight { - Weight::from_parts(81_532_000, 4317) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - } - - fn unlock_stake() -> Weight { - Weight::from_parts(81_532_000, 4317) - .saturating_add(T::DbWeight::get().reads(8_u64)) - .saturating_add(T::DbWeight::get().writes(2_u64)) - } - - fn move_lock() -> Weight { - Weight::from_parts(77_234_000, 4317) - .saturating_add(T::DbWeight::get().reads(7_u64)) - .saturating_add(T::DbWeight::get().writes(4_u64)) - } + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Alpha` (r:1 w:0) + /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AlphaV2` (r:1 w:0) + /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:1 w:0) + /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) + /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:0) + /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn lock_stake() -> Weight { + // Proof Size summary in bytes: + // Measured: `1463` + // Estimated: `4928` + // Minimum execution time: 90_731_000 picoseconds. + Weight::from_parts(92_755_000, 4928) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `SubtensorModule::Lock` (r:2 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn unlock_stake() -> Weight { + // Proof Size summary in bytes: + // Measured: `978` + // Estimated: `6918` + // Minimum execution time: 70_652_000 picoseconds. + Weight::from_parts(72_135_000, 6918) + .saturating_add(T::DbWeight::get().reads(5_u64)) + .saturating_add(T::DbWeight::get().writes(2_u64)) + } + /// Storage: `SubtensorModule::Lock` (r:2 w:2) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Owner` (r:2 w:0) + /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:2 w:2) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn move_lock() -> Weight { + // Proof Size summary in bytes: + // Measured: `1302` + // Estimated: `7242` + // Minimum execution time: 93_155_000 picoseconds. + Weight::from_parts(94_457_000, 7242) + .saturating_add(T::DbWeight::get().reads(8_u64)) + .saturating_add(T::DbWeight::get().writes(4_u64)) + } } // For backwards compatibility and tests. @@ -2280,7 +2383,7 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Burn` (r:1 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:1) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2366,10 +2469,10 @@ impl WeightInfo for () { /// Proof: `Swap::CurrentTick` (`max_values`: None, `max_size`: Some(14), added: 2489, mode: `MaxEncodedLen`) fn register() -> Weight { // Proof Size summary in bytes: - // Measured: `1629` + // Measured: `1706` // Estimated: `13600` - // Minimum execution time: 348_900_000 picoseconds. - Weight::from_parts(371_883_000, 13600) + // Minimum execution time: 355_490_000 picoseconds. + Weight::from_parts(364_739_000, 13600) .saturating_add(RocksDbWeight::get().reads(47_u64)) .saturating_add(RocksDbWeight::get().writes(39_u64)) } @@ -2411,15 +2514,15 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `188782` // Estimated: `10327372` - // Minimum execution time: 15_197_206_000 picoseconds. - Weight::from_parts(15_388_724_000, 10327372) + // Minimum execution time: 14_846_685_000 picoseconds. + Weight::from_parts(15_166_549_000, 10327372) .saturating_add(RocksDbWeight::get().reads(4112_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } - /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) - /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) + /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) @@ -2438,7 +2541,7 @@ impl WeightInfo for () { /// Proof: `Swap::FeeRate` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) /// Storage: `Swap::CurrentLiquidity` (r:1 w:0) /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2462,22 +2565,28 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:0 w:1) /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2307` - // Estimated: `8556` - // Minimum execution time: 399_660_000 picoseconds. - Weight::from_parts(399_660_000, 8556) - .saturating_add(RocksDbWeight::get().reads(28_u64)) - .saturating_add(RocksDbWeight::get().writes(16_u64)) + // Measured: `2560` + // Estimated: `8727` + // Minimum execution time: 431_592_000 picoseconds. + Weight::from_parts(453_283_000, 8727) + .saturating_add(RocksDbWeight::get().reads(33_u64)) + .saturating_add(RocksDbWeight::get().writes(18_u64)) } /// Storage: `SubtensorModule::IsNetworkMember` (r:2 w:0) /// Proof: `SubtensorModule::IsNetworkMember` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2489,8 +2598,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `791` // Estimated: `6731` - // Minimum execution time: 34_624_000 picoseconds. - Weight::from_parts(35_666_000, 6731) + // Minimum execution time: 34_354_000 picoseconds. + Weight::from_parts(34_836_000, 6731) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2504,8 +2613,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `764` // Estimated: `6704` - // Minimum execution time: 30_797_000 picoseconds. - Weight::from_parts(31_860_000, 6704) + // Minimum execution time: 30_417_000 picoseconds. + Weight::from_parts(31_620_000, 6704) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -2517,7 +2626,7 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Uids` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Burn` (r:1 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:1) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2605,8 +2714,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1639` // Estimated: `13600` - // Minimum execution time: 385_433_000 picoseconds. - Weight::from_parts(385_433_000, 13600) + // Minimum execution time: 364_917_000 picoseconds. + Weight::from_parts(368_714_000, 13600) .saturating_add(RocksDbWeight::get().reads(47_u64)) .saturating_add(RocksDbWeight::get().writes(39_u64)) } @@ -2658,8 +2767,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1415` // Estimated: `4880` - // Minimum execution time: 102_561_000 picoseconds. - Weight::from_parts(104_435_000, 4880) + // Minimum execution time: 100_830_000 picoseconds. + Weight::from_parts(102_322_000, 4880) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(16_u64)) } @@ -2685,7 +2794,7 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::BlockEmission` (r:1 w:0) /// Proof: `SubtensorModule::BlockEmission` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:1) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2739,8 +2848,6 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Burn` (r:0 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:0 w:1) - /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetLocked` (r:0 w:1) /// Proof: `SubtensorModule::SubnetLocked` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworkRegisteredAt` (r:0 w:1) @@ -2777,12 +2884,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::MaxAllowedUids` (`max_values`: None, `max_size`: None, mode: `Measured`) fn register_network() -> Weight { // Proof Size summary in bytes: - // Measured: `1676` - // Estimated: `10091` - // Minimum execution time: 259_162_000 picoseconds. - Weight::from_parts(259_162_000, 10091) + // Measured: `1459` + // Estimated: `9874` + // Minimum execution time: 268_496_000 picoseconds. + Weight::from_parts(273_143_000, 9874) .saturating_add(RocksDbWeight::get().reads(42_u64)) - .saturating_add(RocksDbWeight::get().writes(46_u64)) + .saturating_add(RocksDbWeight::get().writes(47_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -2808,8 +2915,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1061` // Estimated: `4526` - // Minimum execution time: 61_785_000 picoseconds. - Weight::from_parts(62_667_000, 4526) + // Minimum execution time: 60_835_000 picoseconds. + Weight::from_parts(62_007_000, 4526) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2853,8 +2960,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1579` // Estimated: `7519` - // Minimum execution time: 109_063_000 picoseconds. - Weight::from_parts(110_616_000, 7519) + // Minimum execution time: 107_622_000 picoseconds. + Weight::from_parts(109_516_000, 7519) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2864,8 +2971,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_340_000 picoseconds. - Weight::from_parts(5_541_000, 0) + // Minimum execution time: 5_260_000 picoseconds. + Weight::from_parts(5_611_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -2882,8 +2989,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `938` // Estimated: `4403` - // Minimum execution time: 47_128_000 picoseconds. - Weight::from_parts(47_769_000, 4403) + // Minimum execution time: 46_848_000 picoseconds. + Weight::from_parts(47_770_000, 4403) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -2899,8 +3006,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `694` // Estimated: `4159` - // Minimum execution time: 43_000_000 picoseconds. - Weight::from_parts(43_812_000, 4159) + // Minimum execution time: 45_235_000 picoseconds. + Weight::from_parts(46_999_000, 4159) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -2930,16 +3037,18 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:2 w:2) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `System::Account` (r:2 w:2) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::LastRateLimitedBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastRateLimitedBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_coldkey_announced() -> Weight { // Proof Size summary in bytes: - // Measured: `1815` - // Estimated: `12705` - // Minimum execution time: 254_054_000 picoseconds. - Weight::from_parts(256_498_000, 12705) + // Measured: `2117` + // Estimated: `13007` + // Minimum execution time: 267_614_000 picoseconds. + Weight::from_parts(273_394_000, 13007) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(15_u64)) } @@ -2971,6 +3080,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:2 w:2) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ColdkeySwapAnnouncements` (r:0 w:1) /// Proof: `SubtensorModule::ColdkeySwapAnnouncements` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ColdkeySwapDisputes` (r:0 w:1) @@ -2979,10 +3090,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: `1908` - // Estimated: `12798` - // Minimum execution time: 276_024_000 picoseconds. - Weight::from_parts(279_571_000, 12798) + // Measured: `2210` + // Estimated: `13100` + // Minimum execution time: 289_935_000 picoseconds. + Weight::from_parts(294_274_000, 13100) .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(19_u64)) } @@ -2994,8 +3105,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `665` // Estimated: `4130` - // Minimum execution time: 22_051_000 picoseconds. - Weight::from_parts(22_531_000, 4130) + // Minimum execution time: 22_412_000 picoseconds. + Weight::from_parts(23_364_000, 4130) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3007,8 +3118,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `613` // Estimated: `4078` - // Minimum execution time: 18_605_000 picoseconds. - Weight::from_parts(19_015_000, 4078) + // Minimum execution time: 18_325_000 picoseconds. + Weight::from_parts(19_206_000, 4078) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3020,8 +3131,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 8_426_000 picoseconds. - Weight::from_parts(8_766_000, 0) + // Minimum execution time: 8_376_000 picoseconds. + Weight::from_parts(8_697_000, 0) .saturating_add(RocksDbWeight::get().writes(2_u64)) } /// Storage: `SubtensorModule::CommitRevealWeightsEnabled` (r:1 w:0) @@ -3064,8 +3175,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2084` // Estimated: `8024` - // Minimum execution time: 411_286_000 picoseconds. - Weight::from_parts(430_662_000, 8024) + // Minimum execution time: 396_345_000 picoseconds. + Weight::from_parts(408_599_000, 8024) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3087,12 +3198,16 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn recycle_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1424` - // Estimated: `4889` - // Minimum execution time: 126_435_000 picoseconds. - Weight::from_parts(128_039_000, 4889) + // Measured: `1860` + // Estimated: `5325` + // Minimum execution time: 166_603_000 picoseconds. + Weight::from_parts(168_788_000, 5325) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -3114,12 +3229,16 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:0) /// Proof: `SubtensorModule::SubnetAlphaOut` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn burn_alpha() -> Weight { // Proof Size summary in bytes: - // Measured: `1424` - // Estimated: `4889` - // Minimum execution time: 126_171_000 picoseconds. - Weight::from_parts(128_965_000, 4889) + // Measured: `1860` + // Estimated: `5325` + // Minimum execution time: 164_650_000 picoseconds. + Weight::from_parts(166_603_000, 5325) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3139,8 +3258,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1079` // Estimated: `4544` - // Minimum execution time: 38_992_000 picoseconds. - Weight::from_parts(39_714_000, 4544) + // Minimum execution time: 38_783_000 picoseconds. + Weight::from_parts(40_136_000, 4544) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3166,7 +3285,7 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3190,22 +3309,28 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:0 w:1) /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2307` - // Estimated: `8556` - // Minimum execution time: 444_193_000 picoseconds. - Weight::from_parts(444_193_000, 8556) - .saturating_add(RocksDbWeight::get().reads(31_u64)) - .saturating_add(RocksDbWeight::get().writes(17_u64)) + // Measured: `2560` + // Estimated: `8727` + // Minimum execution time: 465_225_000 picoseconds. + Weight::from_parts(485_933_000, 8727) + .saturating_add(RocksDbWeight::get().reads(33_u64)) + .saturating_add(RocksDbWeight::get().writes(18_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3239,8 +3364,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `2002` // Estimated: `7942` - // Minimum execution time: 215_561_000 picoseconds. - Weight::from_parts(218_267_000, 7942) + // Minimum execution time: 205_998_000 picoseconds. + Weight::from_parts(208_783_000, 7942) .saturating_add(RocksDbWeight::get().reads(19_u64)) .saturating_add(RocksDbWeight::get().writes(7_u64)) } @@ -3280,6 +3405,10 @@ impl WeightInfo for () { /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) @@ -3288,21 +3417,21 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:1 w:1) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2211` - // Estimated: `10626` - // Minimum execution time: 347_237_000 picoseconds. - Weight::from_parts(367_354_000, 10626) - .saturating_add(RocksDbWeight::get().reads(32_u64)) + // Measured: `2536` + // Estimated: `10951` + // Minimum execution time: 412_326_000 picoseconds. + Weight::from_parts(433_846_000, 10951) + .saturating_add(RocksDbWeight::get().reads(34_u64)) .saturating_add(RocksDbWeight::get().writes(14_u64)) } /// Storage: `SubtensorModule::SubnetMechanism` (r:2 w:0) @@ -3339,6 +3468,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) @@ -3347,21 +3480,21 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:1 w:1) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2211` - // Estimated: `10626` - // Minimum execution time: 387_646_000 picoseconds. - Weight::from_parts(403_169_000, 10626) - .saturating_add(RocksDbWeight::get().reads(31_u64)) + // Measured: `2536` + // Estimated: `10951` + // Minimum execution time: 445_979_000 picoseconds. + Weight::from_parts(451_159_000, 10951) + .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(14_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) @@ -3400,6 +3533,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:3 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:2 w:2) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:2 w:2) @@ -3408,22 +3545,26 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:2 w:2) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:3 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) - /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2494` - // Estimated: `8556` - // Minimum execution time: 461_377_000 picoseconds. - Weight::from_parts(477_951_000, 8556) - .saturating_add(RocksDbWeight::get().reads(42_u64)) - .saturating_add(RocksDbWeight::get().writes(23_u64)) + // Measured: `2923` + // Estimated: `11338` + // Minimum execution time: 641_075_000 picoseconds. + Weight::from_parts(664_801_000, 11338) + .saturating_add(RocksDbWeight::get().reads(48_u64)) + .saturating_add(RocksDbWeight::get().writes(25_u64)) } /// Storage: `SubtensorModule::Alpha` (r:2 w:0) /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3445,8 +3586,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::TransferToggle` (r:1 w:0) /// Proof: `SubtensorModule::TransferToggle` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:1) + /// Storage: `SubtensorModule::StakingHotkeys` (r:2 w:1) /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetMechanism` (r:1 w:0) /// Proof: `SubtensorModule::SubnetMechanism` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `Swap::SwapV3Initialized` (r:1 w:0) @@ -3457,10 +3600,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: `1829` - // Estimated: `7769` - // Minimum execution time: 209_670_000 picoseconds. - Weight::from_parts(212_276_000, 7769) + // Measured: `1996` + // Estimated: `7936` + // Minimum execution time: 240_382_000 picoseconds. + Weight::from_parts(243_919_000, 7936) .saturating_add(RocksDbWeight::get().reads(18_u64)) .saturating_add(RocksDbWeight::get().writes(6_u64)) } @@ -3500,6 +3643,10 @@ impl WeightInfo for () { /// Proof: `Swap::FeeRate` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) /// Storage: `Swap::CurrentLiquidity` (r:1 w:0) /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:3 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:2 w:2) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:2 w:2) @@ -3508,22 +3655,26 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:2 w:2) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:3 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) - /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn swap_stake() -> Weight { // Proof Size summary in bytes: - // Measured: `2421` - // Estimated: `8556` - // Minimum execution time: 402_808_000 picoseconds. - Weight::from_parts(420_035_000, 8556) - .saturating_add(RocksDbWeight::get().reads(42_u64)) - .saturating_add(RocksDbWeight::get().writes(23_u64)) + // Measured: `2785` + // Estimated: `11200` + // Minimum execution time: 591_602_000 picoseconds. + Weight::from_parts(613_634_000, 11200) + .saturating_add(RocksDbWeight::get().reads(48_u64)) + .saturating_add(RocksDbWeight::get().writes(25_u64)) } /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -3551,8 +3702,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1084` // Estimated: `4549` - // Minimum execution time: 125_634_000 picoseconds. - Weight::from_parts(128_289_000, 4549) + // Minimum execution time: 122_971_000 picoseconds. + Weight::from_parts(124_314_000, 4549) .saturating_add(RocksDbWeight::get().reads(11_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3592,8 +3743,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1416` // Estimated: `7356` - // Minimum execution time: 100_718_000 picoseconds. - Weight::from_parts(101_739_000, 7356) + // Minimum execution time: 100_659_000 picoseconds. + Weight::from_parts(101_972_000, 7356) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3609,8 +3760,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `793` // Estimated: `4258` - // Minimum execution time: 28_653_000 picoseconds. - Weight::from_parts(29_064_000, 4258) + // Minimum execution time: 27_622_000 picoseconds. + Weight::from_parts(29_025_000, 4258) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3628,8 +3779,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `886` // Estimated: `4351` - // Minimum execution time: 35_276_000 picoseconds. - Weight::from_parts(36_067_000, 4351) + // Minimum execution time: 34_876_000 picoseconds. + Weight::from_parts(35_297_000, 4351) .saturating_add(RocksDbWeight::get().reads(5_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -3675,6 +3826,8 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::ActivityCutoff` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RegistrationsThisInterval` (r:1 w:1) /// Proof: `SubtensorModule::RegistrationsThisInterval` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:1 w:1) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::OwnedHotkeys` (r:1 w:1) /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:1) @@ -3707,8 +3860,6 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Keys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Burn` (r:0 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:0 w:1) - /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetLocked` (r:0 w:1) /// Proof: `SubtensorModule::SubnetLocked` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworkRegisteredAt` (r:0 w:1) @@ -3747,8 +3898,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1343` // Estimated: `9758` - // Minimum execution time: 247_121_000 picoseconds. - Weight::from_parts(250_386_000, 9758) + // Minimum execution time: 263_716_000 picoseconds. + Weight::from_parts(267_293_000, 9758) .saturating_add(RocksDbWeight::get().reads(41_u64)) .saturating_add(RocksDbWeight::get().writes(46_u64)) } @@ -3762,8 +3913,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `762` // Estimated: `6702` - // Minimum execution time: 33_723_000 picoseconds. - Weight::from_parts(34_675_000, 6702) + // Minimum execution time: 33_633_000 picoseconds. + Weight::from_parts(34_445_000, 6702) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3777,8 +3928,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `842` // Estimated: `6782` - // Minimum execution time: 30_918_000 picoseconds. - Weight::from_parts(31_589_000, 6782) + // Minimum execution time: 30_758_000 picoseconds. + Weight::from_parts(31_870_000, 6782) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3790,8 +3941,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `595` // Estimated: `4060` - // Minimum execution time: 17_742_000 picoseconds. - Weight::from_parts(18_184_000, 4060) + // Minimum execution time: 17_412_000 picoseconds. + Weight::from_parts(17_964_000, 4060) .saturating_add(RocksDbWeight::get().reads(1_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -3813,10 +3964,12 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:9 w:8) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::OwnedHotkeys` (r:1 w:1) - /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::NetworksAdded` (r:6 w:0) /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:5 w:0) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::OwnedHotkeys` (r:1 w:1) + /// Proof: `SubtensorModule::OwnedHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ChildKeys` (r:10 w:10) /// Proof: `SubtensorModule::ChildKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::ParentKeys` (r:10 w:10) @@ -3863,9 +4016,9 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `3026` // Estimated: `28766` - // Minimum execution time: 1_148_985_000 picoseconds. - Weight::from_parts(1_154_584_000, 28766) - .saturating_add(RocksDbWeight::get().reads(161_u64)) + // Minimum execution time: 1_118_497_000 picoseconds. + Weight::from_parts(1_127_995_000, 28766) + .saturating_add(RocksDbWeight::get().reads(166_u64)) .saturating_add(RocksDbWeight::get().writes(95_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:1) @@ -3878,8 +4031,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `745` // Estimated: `4210` - // Minimum execution time: 23_784_000 picoseconds. - Weight::from_parts(24_406_000, 4210) + // Minimum execution time: 23_785_000 picoseconds. + Weight::from_parts(24_536_000, 4210) .saturating_add(RocksDbWeight::get().reads(3_u64)) .saturating_add(RocksDbWeight::get().writes(3_u64)) } @@ -3893,8 +4046,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `740` // Estimated: `9155` - // Minimum execution time: 26_539_000 picoseconds. - Weight::from_parts(27_602_000, 9155) + // Minimum execution time: 27_242_000 picoseconds. + Weight::from_parts(27_693_000, 9155) .saturating_add(RocksDbWeight::get().reads(6_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -3933,6 +4086,10 @@ impl WeightInfo for () { /// Proof: `Swap::FeeRate` (`max_values`: None, `max_size`: Some(12), added: 2487, mode: `MaxEncodedLen`) /// Storage: `Swap::CurrentLiquidity` (r:1 w:0) /// Proof: `Swap::CurrentLiquidity` (`max_values`: None, `max_size`: Some(18), added: 2493, mode: `MaxEncodedLen`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:2 w:2) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:2 w:2) @@ -3941,12 +4098,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:2 w:2) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:4 w:3) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:2 w:2) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) - /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::RootClaimable` (r:1 w:0) /// Proof: `SubtensorModule::RootClaimable` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingColdkeys` (r:1 w:1) @@ -3959,11 +4114,11 @@ 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: `2372` - // Estimated: `10787` - // Minimum execution time: 414_015_000 picoseconds. - Weight::from_parts(427_445_000, 10787) - .saturating_add(RocksDbWeight::get().reads(47_u64)) + // Measured: `2614` + // Estimated: `11306` + // Minimum execution time: 545_167_000 picoseconds. + Weight::from_parts(569_493_000, 11306) + .saturating_add(RocksDbWeight::get().reads(49_u64)) .saturating_add(RocksDbWeight::get().writes(26_u64)) } /// Storage: `SubtensorModule::Alpha` (r:1 w:0) @@ -4000,6 +4155,10 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:0) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaIn` (r:1 w:1) /// Proof: `SubtensorModule::SubnetAlphaIn` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetAlphaOut` (r:1 w:1) @@ -4008,21 +4167,21 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::TotalStake` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetVolume` (r:1 w:1) /// Proof: `SubtensorModule::SubnetVolume` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `System::Account` (r:2 w:2) + /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) - /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::StakeThreshold` (r:1 w:0) /// Proof: `SubtensorModule::StakeThreshold` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn remove_stake_full_limit() -> Weight { // Proof Size summary in bytes: - // Measured: `2211` - // Estimated: `10626` - // Minimum execution time: 412_223_000 picoseconds. - Weight::from_parts(430_190_000, 10626) - .saturating_add(RocksDbWeight::get().reads(31_u64)) + // Measured: `2536` + // Estimated: `10951` + // Minimum execution time: 468_592_000 picoseconds. + Weight::from_parts(490_254_000, 10951) + .saturating_add(RocksDbWeight::get().reads(33_u64)) .saturating_add(RocksDbWeight::get().writes(14_u64)) } /// Storage: `Crowdloan::CurrentCrowdloanId` (r:1 w:0) @@ -4031,7 +4190,7 @@ impl WeightInfo for () { /// Proof: `Crowdloan::Crowdloans` (`max_values`: None, `max_size`: Some(282), added: 2757, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::NextSubnetLeaseId` (r:1 w:1) /// Proof: `SubtensorModule::NextSubnetLeaseId` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:502 w:502) + /// Storage: `System::Account` (r:503 w:503) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:1) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -4113,8 +4272,6 @@ impl WeightInfo for () { /// Proof: `Crowdloan::Contributions` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Burn` (r:0 w:1) /// Proof: `SubtensorModule::Burn` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::RAORecycledForRegistration` (r:0 w:1) - /// Proof: `SubtensorModule::RAORecycledForRegistration` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetUidToLeaseId` (r:0 w:1) /// Proof: `SubtensorModule::SubnetUidToLeaseId` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetLocked` (r:0 w:1) @@ -4160,10 +4317,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1762 + k * (44 ±0)` // Estimated: `10183 + k * (2579 ±0)` - // Minimum execution time: 460_608_000 picoseconds. - Weight::from_parts(288_591_956, 10183) - // Standard Error: 49_874 - .saturating_add(Weight::from_parts(46_601_875, 0).saturating_mul(k.into())) + // Minimum execution time: 468_092_000 picoseconds. + Weight::from_parts(285_158_564, 10183) + // Standard Error: 22_583 + .saturating_add(Weight::from_parts(45_494_972, 0).saturating_mul(k.into())) .saturating_add(RocksDbWeight::get().reads(51_u64)) .saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(k.into()))) .saturating_add(RocksDbWeight::get().writes(52_u64)) @@ -4193,10 +4350,10 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1447 + k * (53 ±0)` // Estimated: `6148 + k * (2514 ±0)` - // Minimum execution time: 91_881_000 picoseconds. - Weight::from_parts(76_151_337, 6148) - // Standard Error: 6_935 - .saturating_add(Weight::from_parts(1_611_715, 0).saturating_mul(k.into())) + // Minimum execution time: 92_805_000 picoseconds. + Weight::from_parts(131_135_086, 6148) + // Standard Error: 6_682 + .saturating_add(Weight::from_parts(1_630_520, 0).saturating_mul(k.into())) .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)) @@ -4211,8 +4368,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `649` // Estimated: `9064` - // Minimum execution time: 28_173_000 picoseconds. - Weight::from_parts(29_054_000, 9064) + // Minimum execution time: 27_632_000 picoseconds. + Weight::from_parts(29_085_000, 9064) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4240,8 +4397,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1060` // Estimated: `4525` - // Minimum execution time: 74_899_000 picoseconds. - Weight::from_parts(76_262_000, 4525) + // Minimum execution time: 73_969_000 picoseconds. + Weight::from_parts(76_133_000, 4525) .saturating_add(RocksDbWeight::get().reads(10_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4257,8 +4414,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `799` // Estimated: `4264` - // Minimum execution time: 33_833_000 picoseconds. - Weight::from_parts(34_534_000, 4264) + // Minimum execution time: 33_843_000 picoseconds. + Weight::from_parts(34_686_000, 4264) .saturating_add(RocksDbWeight::get().reads(4_u64)) .saturating_add(RocksDbWeight::get().writes(2_u64)) } @@ -4274,8 +4431,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `476` // Estimated: `3941` - // Minimum execution time: 17_713_000 picoseconds. - Weight::from_parts(18_294_000, 3941) + // Minimum execution time: 17_483_000 picoseconds. + Weight::from_parts(17_994_000, 3941) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4305,8 +4462,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `1908` // Estimated: `7848` - // Minimum execution time: 134_892_000 picoseconds. - Weight::from_parts(137_416_000, 7848) + // Minimum execution time: 132_329_000 picoseconds. + Weight::from_parts(134_352_000, 7848) .saturating_add(RocksDbWeight::get().reads(16_u64)) .saturating_add(RocksDbWeight::get().writes(4_u64)) } @@ -4316,8 +4473,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_734_000 picoseconds. - Weight::from_parts(2_865_000, 0) + // Minimum execution time: 2_595_000 picoseconds. + Weight::from_parts(2_805_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::RootClaimableThreshold` (r:0 w:1) @@ -4326,8 +4483,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 5_290_000 picoseconds. - Weight::from_parts(5_831_000, 0) + // Minimum execution time: 5_180_000 picoseconds. + Weight::from_parts(5_821_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } /// Storage: `SubtensorModule::Owner` (r:1 w:0) @@ -4340,8 +4497,8 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `852` // Estimated: `4317` - // Minimum execution time: 26_740_000 picoseconds. - Weight::from_parts(27_722_000, 4317) + // Minimum execution time: 27_352_000 picoseconds. + Weight::from_parts(28_503_000, 4317) .saturating_add(RocksDbWeight::get().reads(2_u64)) .saturating_add(RocksDbWeight::get().writes(1_u64)) } @@ -4373,7 +4530,7 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubtokenEnabled` (r:1 w:0) /// Proof: `SubtensorModule::SubtokenEnabled` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `System::Account` (r:1 w:1) + /// Storage: `System::Account` (r:3 w:3) /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(104), added: 2579, mode: `MaxEncodedLen`) /// Storage: `SubtensorModule::Owner` (r:1 w:0) /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) @@ -4397,22 +4554,28 @@ impl WeightInfo for () { /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::AlphaV2` (r:1 w:1) /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) - /// Storage: `SubtensorModule::TotalIssuance` (r:1 w:1) - /// Proof: `SubtensorModule::TotalIssuance` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::SubnetTaoFlow` (r:1 w:1) /// Proof: `SubtensorModule::SubnetTaoFlow` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:2 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::StakingOperationRateLimiter` (r:0 w:1) /// Proof: `SubtensorModule::StakingOperationRateLimiter` (`max_values`: None, `max_size`: None, mode: `Measured`) /// Storage: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (r:0 w:1) /// Proof: `SubtensorModule::LastColdkeyHotkeyStakeBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) fn add_stake_burn() -> Weight { // Proof Size summary in bytes: - // Measured: `2365` - // Estimated: `8556` - // Minimum execution time: 471_702_000 picoseconds. - Weight::from_parts(484_481_000, 8556) - .saturating_add(RocksDbWeight::get().reads(34_u64)) - .saturating_add(RocksDbWeight::get().writes(18_u64)) + // Measured: `2617` + // Estimated: `8727` + // Minimum execution time: 595_879_000 picoseconds. + Weight::from_parts(616_657_000, 8727) + .saturating_add(RocksDbWeight::get().reads(36_u64)) + .saturating_add(RocksDbWeight::get().writes(19_u64)) } /// Storage: `SubtensorModule::PendingChildKeyCooldown` (r:0 w:1) /// Proof: `SubtensorModule::PendingChildKeyCooldown` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) @@ -4420,26 +4583,69 @@ impl WeightInfo for () { // Proof Size summary in bytes: // Measured: `0` // Estimated: `0` - // Minimum execution time: 2_745_000 picoseconds. - Weight::from_parts(2_956_000, 0) + // Minimum execution time: 2_575_000 picoseconds. + Weight::from_parts(2_725_000, 0) .saturating_add(RocksDbWeight::get().writes(1_u64)) } - - fn lock_stake() -> Weight { - Weight::from_parts(81_532_000, 4317) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - } - - fn unlock_stake() -> Weight { - Weight::from_parts(81_532_000, 4317) - .saturating_add(RocksDbWeight::get().reads(8_u64)) - .saturating_add(RocksDbWeight::get().writes(2_u64)) - } - - fn move_lock() -> Weight { - Weight::from_parts(77_234_000, 4317) - .saturating_add(RocksDbWeight::get().reads(7_u64)) - .saturating_add(RocksDbWeight::get().writes(4_u64)) - } + /// Storage: `SubtensorModule::StakingHotkeys` (r:1 w:0) + /// Proof: `SubtensorModule::StakingHotkeys` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Alpha` (r:1 w:0) + /// Proof: `SubtensorModule::Alpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::AlphaV2` (r:1 w:0) + /// Proof: `SubtensorModule::AlphaV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyAlpha` (r:1 w:0) + /// Proof: `SubtensorModule::TotalHotkeyAlpha` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeyShares` (r:1 w:0) + /// Proof: `SubtensorModule::TotalHotkeyShares` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::TotalHotkeySharesV2` (r:1 w:0) + /// Proof: `SubtensorModule::TotalHotkeySharesV2` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Lock` (r:1 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn lock_stake() -> Weight { + // Proof Size summary in bytes: + // Measured: `1463` + // Estimated: `4928` + // Minimum execution time: 90_731_000 picoseconds. + Weight::from_parts(92_755_000, 4928) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + } + /// Storage: `SubtensorModule::Lock` (r:2 w:1) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:1 w:1) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn unlock_stake() -> Weight { + // Proof Size summary in bytes: + // Measured: `978` + // Estimated: `6918` + // Minimum execution time: 70_652_000 picoseconds. + Weight::from_parts(72_135_000, 6918) + .saturating_add(RocksDbWeight::get().reads(5_u64)) + .saturating_add(RocksDbWeight::get().writes(2_u64)) + } + /// Storage: `SubtensorModule::Lock` (r:2 w:2) + /// Proof: `SubtensorModule::Lock` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::Owner` (r:2 w:0) + /// Proof: `SubtensorModule::Owner` (`max_values`: None, `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::MaturityRate` (r:1 w:0) + /// Proof: `SubtensorModule::MaturityRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::UnlockRate` (r:1 w:0) + /// Proof: `SubtensorModule::UnlockRate` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) + /// Storage: `SubtensorModule::HotkeyLock` (r:2 w:2) + /// Proof: `SubtensorModule::HotkeyLock` (`max_values`: None, `max_size`: None, mode: `Measured`) + fn move_lock() -> Weight { + // Proof Size summary in bytes: + // Measured: `1302` + // Estimated: `7242` + // Minimum execution time: 93_155_000 picoseconds. + Weight::from_parts(94_457_000, 7242) + .saturating_add(RocksDbWeight::get().reads(8_u64)) + .saturating_add(RocksDbWeight::get().writes(4_u64)) + } }