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); 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,