WeightVecLengthIsLow

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

The dispatch is attempting to set weights on chain with fewer elements than allowed.

Encountered by: validatorsdevelopers

Why This Error Exists

Subnets may require minimum weight vector lengths to ensure broad participation.

From Chain Metadata

The dispatch is attempting to set weights on chain with fewer elements than are allowed.

What This Means

The dispatch is attempting to set weights on chain with fewer elements than allowed.

Common Causes

  • Weight array too small
  • Minimum weight entries required
  • Not enough UIDs in weight vector

How to Fix

  • Include more UIDs in weight array
  • Check minimum weight vector length
  • Set weights for more neurons

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
19
Error Code
7.19
Runtime Version
v393