Skip to content

Commit ac1b1c8

Browse files
committed
add prod_or_fast
1 parent bd774ad commit ac1b1c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,8 +1046,8 @@ parameter_types! {
10461046
pub const InitialAlphaLow: u16 = 45875; // Represents 0.7 as per the production default
10471047
pub const InitialLiquidAlphaOn: bool = false; // Default value for LiquidAlphaOn
10481048
pub const InitialYuma3On: bool = false; // Default value for Yuma3On
1049-
pub const InitialColdkeySwapAnnouncementDelay: BlockNumber = 5 * 24 * 60 * 60 / 12; // 5 days
1050-
pub const InitialColdkeySwapReannouncementDelay: BlockNumber = 24 * 60 * 60 / 12; // 1 day
1049+
pub const InitialColdkeySwapAnnouncementDelay: BlockNumber = prod_or_fast!(* 24 * 60 * 60 / 12, 50); // 5 days
1050+
pub const InitialColdkeySwapReannouncementDelay: BlockNumber = prod_or_fast!(24 * 60 * 60 / 12, 10); // 1 day
10511051
pub const InitialDissolveNetworkScheduleDuration: BlockNumber = 5 * 24 * 60 * 60 / 12; // 5 days
10521052
pub const SubtensorInitialTaoWeight: u64 = 971_718_665_099_567_868; // 0.05267697438728329% tao weight.
10531053
pub const InitialEmaPriceHalvingPeriod: u64 = 201_600_u64; // 4 weeks

0 commit comments

Comments
 (0)