DuplicateUids

Error v101 → v120, v121 → v127, v133 → v141, v142 → v150, v151 → v212, v216 → v219, v233 → v315, v320 → current 7.17

The caller is attempting to set weights with duplicate UIDs.

Encountered by: validatorsdevelopers

Why This Error Exists

Weight vectors must have unique UIDs. Each neuron should only receive one weight value.

From Chain Metadata

The caller is attempting to set weights with duplicate UIDs in the weight matrix.

What This Means

The caller is attempting to set weights with duplicate UIDs.

Common Causes

  • Same UID appears multiple times in weight array
  • Duplicate entries in uid vector

How to Fix

  • Remove duplicate UIDs from the weight array
  • Ensure each UID appears only once
  • Deduplicate before submitting

Thrown By

Version History

v101 block 1 Added
v121 block 518,345 Shape modified
v133 block 1,404,224 Shape modified
v142 block 2,543,779 Shape modified
v151 block 3,157,274 Shape modified
v216 block 4,510,996 Shape modified
v233 block 4,920,350 Shape modified
v320 block 6,523,566 Shape modified Current

Runtime Info

Pallet Index
7
Error Index
17
Error Code
7.17
Runtime Version
v411