File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -854,6 +854,12 @@ pub const INITIAL_SUBNET_TEMPO: u16 = 99;
854854#[ cfg( feature = "fast-blocks" ) ]
855855pub const INITIAL_SUBNET_TEMPO : u16 = 10 ;
856856
857+ #[ cfg( not( feature = "fast-blocks" ) ) ]
858+ pub const INITIAL_CHILDKEY_TAKE_RATELIMIT : u64 = 216000 ; // 30 days at 12 seconds per block
859+
860+ #[ cfg( feature = "fast-blocks" ) ]
861+ pub const INITIAL_CHILDKEY_TAKE_RATELIMIT : u64 = 5 ;
862+
857863// Configure the pallet subtensor.
858864parameter_types ! {
859865 pub const SubtensorInitialRho : u16 = 10 ;
@@ -889,7 +895,7 @@ parameter_types! {
889895 pub const SubtensorInitialMaxBurn : u64 = 100_000_000_000 ; // 100 tao
890896 pub const SubtensorInitialTxRateLimit : u64 = 1000 ;
891897 pub const SubtensorInitialTxDelegateTakeRateLimit : u64 = 216000 ; // 30 days at 12 seconds per block
892- pub const SubtensorInitialTxChildKeyTakeRateLimit : u64 = 216000 ; // 30 days at 12 seconds per block
898+ pub const SubtensorInitialTxChildKeyTakeRateLimit : u64 = INITIAL_CHILDKEY_TAKE_RATELIMIT ;
893899 pub const SubtensorInitialRAORecycledForRegistration : u64 = 0 ; // 0 rao
894900 pub const SubtensorInitialSenateRequiredStakePercentage : u64 = 1 ; // 1 percent of total stake
895901 pub const SubtensorInitialNetworkImmunity : u64 = 7 * 7200 ;
You can’t perform that action at this time.
0 commit comments