Skip to content

Commit 3d58527

Browse files
author
Roman
committed
Merge branch 'devnet-ready' into feat/roman/improve-localnet-workflow
2 parents f7be5c6 + f17472f commit 3d58527

File tree

23 files changed

+945
-958
lines changed

23 files changed

+945
-958
lines changed

pallets/admin-utils/src/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2638,7 +2638,7 @@ fn test_trim_to_max_allowed_uids() {
26382638
NetUid::from(42),
26392639
new_max_n
26402640
),
2641-
pallet_subtensor::Error::<Test>::MechanismDoesNotExist
2641+
pallet_subtensor::Error::<Test>::SubnetNotExists
26422642
);
26432643

26442644
// New max n less than lower bound

pallets/subtensor/src/coinbase/root.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ impl<T: Config> Pallet<T> {
369369
// 1. --- The network exists?
370370
ensure!(
371371
Self::if_subnet_exist(netuid) && netuid != NetUid::ROOT,
372-
Error::<T>::MechanismDoesNotExist
372+
Error::<T>::SubnetNotExists
373373
);
374374

375375
// 2. --- Perform the cleanup before removing the network.

0 commit comments

Comments
 (0)