diff --git a/pallets/subtensor/src/utils/rate_limiting.rs b/pallets/subtensor/src/utils/rate_limiting.rs index cc3ebc5a3c..8b30f9665b 100644 --- a/pallets/subtensor/src/utils/rate_limiting.rs +++ b/pallets/subtensor/src/utils/rate_limiting.rs @@ -39,7 +39,7 @@ impl Pallet { /// Get the rate limit for a specific transaction type pub fn get_rate_limit(tx_type: &TransactionType) -> u64 { match tx_type { - TransactionType::SetChildren => 7200, // Cannot set children twice within a day + TransactionType::SetChildren => 150, // 30 minutes TransactionType::SetChildkeyTake => TxChildkeyTakeRateLimit::::get(), TransactionType::Unknown => 0, // Default to no limit for unknown types (no limit) TransactionType::RegisterNetwork => NetworkRateLimit::::get(), diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 2316cb5f4f..24d36b179b 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -220,7 +220,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 215, + spec_version: 216, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,