Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pallets/subtensor/src/macros/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}
2 changes: 1 addition & 1 deletion pallets/subtensor/src/subnets/subnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ impl<T: Config> Pallet<T> {
ensure!(
current_block_number
>= registration_block_number.saturating_add(StartCallDelay::<T>::get()),
Error::<T>::NeedWaitingMoreBlocksToStarCall
Error::<T>::StartCallNotReady
Comment thread
JohnReedV marked this conversation as resolved.
);
let next_block_number = current_block_number.saturating_add(1);

Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading