UidVecContainInvalidOne

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

The caller is attempting to set weight to at least one UID that does not exist.

Encountered by: validatorsdevelopers

Why This Error Exists

Weight arrays must only reference currently registered UIDs on the subnet.

From Chain Metadata

The caller is attempting to set weight to at least one UID that does not exist in the metagraph.

What This Means

The caller is attempting to set weight to at least one UID that does not exist.

Common Causes

  • UID not registered on subnet
  • UID was deregistered
  • Invalid UID in weight array

How to Fix

  • Verify all UIDs exist on the subnet
  • Remove invalid UIDs from weight array
  • Refresh UID list before setting weights

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
18
Error Code
7.18
Runtime Version
v393