From 2642cb0b428e0d63f69c9cf4c9ba92862bd010f5 Mon Sep 17 00:00:00 2001 From: Greg Zaitsev Date: Wed, 22 May 2024 17:54:34 -0400 Subject: [PATCH] Limit dynamic tempos to stay at 360 blocks --- runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index a0fddee8f..4295d8390 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -788,8 +788,8 @@ parameter_types! { pub const SubtensorInitialScalingLawPower: u16 = 50; // 0.5 pub const SubtensorInitialMaxAllowedValidators: u16 = 128; pub const SubtensorInitialTempo: u16 = 99; - pub const SubtensorMinTempo: u16 = 1; - pub const SubtensorMaxTempo: u16 = 720; + pub const SubtensorMinTempo: u16 = 360; + pub const SubtensorMaxTempo: u16 = 360; pub const SubtensorInitialDifficulty: u64 = 10_000_000; pub const SubtensorInitialAdjustmentInterval: u16 = 100; pub const SubtensorInitialAdjustmentAlpha: u64 = 0; // no weight to previous value.