UidsLengthExceedUidsInSubNet

Error Re-added v151 → v212, v216 → v219, v233 → v315, v320 → current 7.31

The caller is attempting to set weights with more UIDs than allowed.

Encountered by: validatorsdevelopers

Why This Error Exists

Weight arrays cannot exceed the number of neurons on the subnet.

From Chain Metadata

The caller is attempting to set weights with more UIDs than allowed.

What This Means

The caller is attempting to set weights with more UIDs than allowed.

Common Causes

  • Weight array larger than subnet size
  • Including more UIDs than exist

How to Fix

  • Reduce weight array to subnet size
  • Check SubnetworkN for current neuron count
  • Only include existing UIDs

Storage to Check

Thrown By

Version History

v151 block 3,157,274 Added
v216 block 4,510,996 Re-added
v233 block 4,920,350 Re-added
v320 block 6,523,566 Re-added Current

Runtime Info

Pallet Index
7
Error Index
31
Error Code
7.31
Runtime Version
v393