Skip to content

Commit 68ec4c6

Browse files
author
Samuel Dare
committed
feat: bump network max stake
1 parent 6764633 commit 68ec4c6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pallets/admin-utils/tests/mock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

124124
impl pallet_subtensor::Config for Test {

runtime/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

905906
impl pallet_subtensor::Config for Runtime {

0 commit comments

Comments
 (0)