WeightVecNotEqualSize
Error Re-added v101 → v120, v121 → v127, v133 → v141, v142 → v150, v151 → v212, v216 → v219, v233 → v315, v320 → current 7.16The caller is attempting to set weight keys and values but these vectors have different size.
Encountered by: validatorsdevelopers
Why This Error Exists
Weight setting requires parallel arrays of equal length: one UID per weight.
From Chain Metadata
The caller is attempting to set the weight keys and values but these vectors have different size.
What This Means
The caller is attempting to set weight keys and values but these vectors have different size.
Common Causes
- UID array and weight array have different lengths
- Mismatched input vectors
How to Fix
- Ensure uid[] and weights[] arrays have same length
- Each UID must have exactly one weight value
Thrown By
Version History
v101 block 1 Added
v121 block 518,345 Re-added
v133 block 1,404,224 Re-added
v142 block 2,543,779 Re-added
v151 block 3,157,274 Re-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
- 16
- Error Code
- 7.16
- Runtime Version
- v393