@@ -133,8 +133,9 @@ parameter_types! {
133133 pub const InitialFoundationDistribution : u64 = 0 ;
134134 pub const InitialDefaultDelegateTake : u16 = 11_796 ; // 18%, same as in production
135135 pub const InitialMinDelegateTake : u16 = 5_898 ; // 9%;
136- pub const InitialDefaultChildKeyTake : u16 = 11_796 ; // 18%, same as in production
136+ pub const InitialDefaultChildKeyTake : u16 = 0 ; // 0 %
137137 pub const InitialMinChildKeyTake : u16 = 0 ; // 0 %;
138+ pub const InitialMaxChildKeyTake : u16 = 11_796 ; // 18 %;
138139 pub const InitialWeightsVersionKey : u16 = 0 ;
139140 pub const InitialServingRateLimit : u64 = 0 ; // No limit.
140141 pub const InitialTxRateLimit : u64 = 0 ; // Disable rate limit for testing
@@ -172,7 +173,7 @@ parameter_types! {
172173 pub const InitialAlphaLow : u16 = 45875 ; // Represents 0.7 as per the production default
173174 pub const InitialLiquidAlphaOn : bool = false ; // Default value for LiquidAlphaOn
174175 pub const InitialHotkeyEmissionTempo : u64 = 0 ; // Defaults to draining every block.
175- pub const InitialNetworkMaxStake : u64 = 500_000_000_000_000 ; // 500,000 TAO
176+ pub const InitialNetworkMaxStake : u64 = u64 :: MAX ; // Maximum possible value for u64
176177
177178}
178179
@@ -367,6 +368,7 @@ impl pallet_subtensor::Config for Test {
367368 type InitialMinDelegateTake = InitialMinDelegateTake ;
368369 type InitialDefaultChildKeyTake = InitialDefaultChildKeyTake ;
369370 type InitialMinChildKeyTake = InitialMinChildKeyTake ;
371+ type InitialMaxChildKeyTake = InitialMaxChildKeyTake ;
370372 type InitialTxChildKeyTakeRateLimit = InitialTxChildKeyTakeRateLimit ;
371373 type InitialWeightsVersionKey = InitialWeightsVersionKey ;
372374 type InitialMaxDifficulty = InitialMaxDifficulty ;
0 commit comments