UidsLengthExceedUidsInSubNet

Error v151 → v212, v216 → v219, v233 → v315, v320 → v393, v401 → current 7.32

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 Shape modified
v233 block 4,920,350 Shape modified
v320 block 6,523,566 Shape modified
v401 block 8,036,576 Shape modified Current

Runtime Info

Pallet Index
7
Error Index
32
Error Code
7.32
Runtime Version
v411