MinAllowedUidsGreaterThanMaxAllowedUids

Error v320 → current 19.7

The min_allowed_uids cannot be greater than max_allowed_uids.

Encountered by: subnet owners

Why This Error Exists

Min and max allowed UIDs define the valid range for subnet size. Having minimum exceed maximum creates a logically impossible constraint.

From Chain Metadata

The minimum allowed UIDs must be less than the maximum allowed UIDs.

What This Means

The min_allowed_uids cannot be greater than max_allowed_uids.

Common Causes

  • Setting minimum higher than maximum
  • Updating one bound without considering the other

How to Fix

  • Ensure min_allowed_uids <= max_allowed_uids
  • Update both bounds together if needed
  • Query current bounds before making changes

Storage to Check

SubtensorModule.MinAllowedUids (removed)SubtensorModule.MaxAllowedUids (removed)

Runtime Info

Pallet Index
19
Error Index
7
Error Code
19.7
Runtime Version
v393