-
Notifications
You must be signed in to change notification settings - Fork 319
Follow-up for dynamic tempo - removing deprecated activity cutoff #2774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devnet-ready
Are you sure you want to change the base?
Changes from all commits
48036ef
e9e29f0
43287c5
5a0443a
f96c396
1eda8d9
ae90b99
cbca24a
5381d5e
b6f8f93
0d66c42
85e28cf
7ce5cd0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,7 +50,6 @@ pub trait WeightInfo { | |
| fn sudo_set_difficulty() -> Weight; | ||
| fn sudo_set_adjustment_interval() -> Weight; | ||
| fn sudo_set_target_registrations_per_interval() -> Weight; | ||
| fn sudo_set_activity_cutoff() -> Weight; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [HIGH] Remove the stale generated weight implementations too Deleting this trait item leaves two generated |
||
| fn sudo_set_rho() -> Weight; | ||
| fn sudo_set_kappa() -> Weight; | ||
| fn sudo_set_min_allowed_uids() -> Weight; | ||
|
|
@@ -361,29 +360,6 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> { | |
| /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::MinActivityCutoff` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::MinActivityCutoff` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::ActivityCutoff` (r:0 w:1) | ||
| /// Proof: `SubtensorModule::ActivityCutoff` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| fn sudo_set_activity_cutoff() -> Weight { | ||
| // Proof Size summary in bytes: | ||
| // Measured: `918` | ||
| // Estimated: `4383` | ||
| // Minimum execution time: 34_023_000 picoseconds. | ||
| Weight::from_parts(35_165_000, 4383) | ||
| .saturating_add(T::DbWeight::get().reads(6_u64)) | ||
| .saturating_add(T::DbWeight::get().writes(1_u64)) | ||
| } | ||
| /// Storage: `SubtensorModule::Tempo` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::Rho` (r:0 w:1) | ||
| /// Proof: `SubtensorModule::Rho` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| fn sudo_set_rho() -> Weight { | ||
|
|
@@ -1327,29 +1303,6 @@ impl WeightInfo for () { | |
| /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::MinActivityCutoff` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::MinActivityCutoff` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::ActivityCutoff` (r:0 w:1) | ||
| /// Proof: `SubtensorModule::ActivityCutoff` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| fn sudo_set_activity_cutoff() -> Weight { | ||
| // Proof Size summary in bytes: | ||
| // Measured: `918` | ||
| // Estimated: `4383` | ||
| // Minimum execution time: 34_023_000 picoseconds. | ||
| Weight::from_parts(35_165_000, 4383) | ||
| .saturating_add(RocksDbWeight::get().reads(6_u64)) | ||
| .saturating_add(RocksDbWeight::get().writes(1_u64)) | ||
| } | ||
| /// Storage: `SubtensorModule::Tempo` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::Tempo` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::PendingEpochAt` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::PendingEpochAt` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::LastEpochBlock` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::LastEpochBlock` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::AdminFreezeWindow` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::AdminFreezeWindow` (`max_values`: Some(1), `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::NetworksAdded` (r:1 w:0) | ||
| /// Proof: `SubtensorModule::NetworksAdded` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| /// Storage: `SubtensorModule::Rho` (r:0 w:1) | ||
| /// Proof: `SubtensorModule::Rho` (`max_values`: None, `max_size`: None, mode: `Measured`) | ||
| fn sudo_set_rho() -> Weight { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.