This error was removed in v315

This error is no longer present in the current runtime. Existed from v151 to v315. Shown here for historical reference.

SubNetworkDoesNotExist

Error Removed v151 → v315 (removed) 7.0

The subnet does not exist.

From Chain Metadata

The subnet does not exist.

What This Means

The subnet does not exist.

Common Causes

  • Typo in the netuid parameter (e.g., 12 vs 21)
  • The subnet was dissolved or doesn't exist yet
  • Using testnet netuids on mainnet or vice versa

How to Fix

  • Query SubtensorModule.NetworksAdded(netuid) - returns true only for valid subnets
  • Valid mainnet netuids are typically 0-52 (but verify current list)
  • For subnet 0 (root network), you need minimum stake - check SubtensorModule.MinStakeForRoot

Storage to Check

Runtime Info

Pallet Index
7
Error Index
0
Error Code
7.0
Removed In
v315