From a63880d68fc13ca74f4e76337b952a5a8fe000a3 Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 29 Jun 2026 06:32:20 -0700 Subject: [PATCH 1/2] use StartCallNotReady --- pallets/subtensor/src/macros/errors.rs | 2 ++ pallets/subtensor/src/subnets/subnet.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pallets/subtensor/src/macros/errors.rs b/pallets/subtensor/src/macros/errors.rs index 6401b5846d..a8f759837e 100644 --- a/pallets/subtensor/src/macros/errors.rs +++ b/pallets/subtensor/src/macros/errors.rs @@ -319,5 +319,7 @@ mod errors { DynamicTempoBlockedByCommitReveal, /// The destination coldkey rejects incoming locked alpha. AccountRejectsLockedAlpha, + /// Need to wait more blocks to do the start call. + StartCallNotReady, } } diff --git a/pallets/subtensor/src/subnets/subnet.rs b/pallets/subtensor/src/subnets/subnet.rs index f304c3d836..786c701573 100644 --- a/pallets/subtensor/src/subnets/subnet.rs +++ b/pallets/subtensor/src/subnets/subnet.rs @@ -385,7 +385,7 @@ impl Pallet { ensure!( current_block_number >= registration_block_number.saturating_add(StartCallDelay::::get()), - Error::::NeedWaitingMoreBlocksToStarCall + Error::::StartCallNotReady ); let next_block_number = current_block_number.saturating_add(1); From bf519d03dfee13c84ef8e7579687d76f5d536bcf Mon Sep 17 00:00:00 2001 From: John Reed <87283488+JohnReedV@users.noreply.github.com> Date: Mon, 29 Jun 2026 06:38:47 -0700 Subject: [PATCH 2/2] bump spec --- runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index b4fb481f7f..ac4da43b3b 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -234,7 +234,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: 423, + spec_version: 424, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,