MinAllowedUidsGreaterThanCurrentUids

Error v320 → current 19.6

Cannot set min_allowed_uids higher than the current number of registered neurons.

Encountered by: subnet owners

Why This Error Exists

The minimum UID count sets a floor for subnet size. Setting it above current registration would create an impossible constraint where the subnet is both valid and invalid.

From Chain Metadata

The minimum allowed UIDs must be less than the current number of UIDs in the subnet.

What This Means

Cannot set min_allowed_uids higher than the current number of registered neurons.

Common Causes

  • Trying to set a minimum that exceeds current registration
  • Not checking current neuron count before setting minimum

How to Fix

  • Query SubtensorModule.SubnetworkN for current neuron count
  • Set min_allowed_uids <= current neuron count
  • Wait for more neurons to register first

Storage to Check

SubtensorModule.SubnetworkN (removed)SubtensorModule.MinAllowedUids (removed)

Runtime Info

Pallet Index
19
Error Index
6
Error Code
19.6
Runtime Version
v393