Skip to content

Commit

Permalink
no dyn tempos
Browse files Browse the repository at this point in the history
  • Loading branch information
camfairchild committed Oct 29, 2024
1 parent 9383cb8 commit cd292e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pallets/subtensor/src/coinbase/block_step.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ impl<T: Config> Pallet<T> {
// TODO(const) make this better.
// Per const: remove dynamic tempos for now, just make the min and the max value always
// 300 blocks. (not 360)
if block_number.saturating_add(1) % 300 == 0 {
// adjust every hour.
Self::adjust_tempos();
}
// if block_number.saturating_add(1) % 300 == 0 {
// // adjust every hour.
// Self::adjust_tempos();
//}
// --- 4. Anneal global weight
Self::adjust_global_weight(block_number);
// Return ok.
Expand Down

0 comments on commit cd292e3

Please sign in to comment.