MaxAllowedUidsGreaterThanDefaultMaxAllowedUids

Error v326 → current 19.9

Cannot set max_allowed_uids above the network-wide default maximum.

Encountered by: subnet owners

Why This Error Exists

The network has a global maximum for subnet size. Individual subnets cannot exceed this to prevent any single subnet from growing too large and consuming excessive resources.

From Chain Metadata

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

What This Means

Cannot set max_allowed_uids above the network-wide default maximum.

Common Causes

  • Trying to make a subnet larger than the global maximum allows
  • Not checking the default max before setting subnet max

How to Fix

  • Query the default max_allowed_uids parameter
  • Set max_allowed_uids <= default maximum
  • Request increase to default max if larger subnets are needed

Storage to Check

SubtensorModule.MaxAllowedUids (removed)

Runtime Info

Pallet Index
19
Error Index
9
Error Code
19.9
Runtime Version
v393