File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
pallets/admin-utils/tests Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ parameter_types! {
118118 pub const InitialAlphaLow : u16 = 45875 ; // Represents 0.7 as per the production default
119119 pub const InitialLiquidAlphaOn : bool = false ; // Default value for LiquidAlphaOn
120120 pub const InitialHotkeyEmissionTempo : u64 = 1 ;
121- pub const InitialNetworkMaxStake : u64 = 500_000_000_000_000 ; // 500_000 TAO
121+ pub const InitialNetworkMaxStake : u64 = u64 :: MAX ; // Maximum possible value for u64, this make the make stake infinity
122122}
123123
124124impl pallet_subtensor:: Config for Test {
Original file line number Diff line number Diff line change @@ -899,7 +899,8 @@ parameter_types! {
899899 pub const InitialAlphaLow : u16 = 45875 ; // Represents 0.7 as per the production default
900900 pub const InitialLiquidAlphaOn : bool = false ; // Default value for LiquidAlphaOn
901901 pub const SubtensorInitialHotkeyEmissionTempo : u64 = 7200 ; // Drain every day.
902- pub const SubtensorInitialNetworkMaxStake : u64 = 500_000_000_000_000 ; // 500_000 TAO
902+ pub const SubtensorInitialNetworkMaxStake : u64 = u64 :: MAX ; // Maximum possible value for u64, this make the make stake infinity
903+
903904}
904905
905906impl pallet_subtensor:: Config for Runtime {
You can’t perform that action at this time.
0 commit comments