File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
pallets/subtensor/src/utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ impl<T: Config> Pallet<T> {
39
39
/// Get the rate limit for a specific transaction type
40
40
pub fn get_rate_limit ( tx_type : & TransactionType ) -> u64 {
41
41
match tx_type {
42
- TransactionType :: SetChildren => 7200 , // Cannot set children twice within a day
42
+ TransactionType :: SetChildren => 150 , // 30 minutes
43
43
TransactionType :: SetChildkeyTake => TxChildkeyTakeRateLimit :: < T > :: get ( ) ,
44
44
TransactionType :: Unknown => 0 , // Default to no limit for unknown types (no limit)
45
45
TransactionType :: RegisterNetwork => NetworkRateLimit :: < T > :: get ( ) ,
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
220
220
// `spec_version`, and `authoring_version` are the same between Wasm and native.
221
221
// This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use
222
222
// the compatible custom types.
223
- spec_version : 215 ,
223
+ spec_version : 216 ,
224
224
impl_version : 1 ,
225
225
apis : RUNTIME_API_VERSIONS ,
226
226
transaction_version : 1 ,
You can’t perform that action at this time.
0 commit comments