MaxWeightExceeded

Error Re-added v101 → v117, v118 → v120, v121 → v127, v133 → v141, v142 → v148, v149 → v150, v151 → v212, v216 → v219, v233 → v315, v320 → current 7.26

Weight value exceeds the maximum limit (currently u16::MAX).

Encountered by: validatorsdevelopers

Why This Error Exists

Weight values are stored as u16 and cannot exceed 65535.

From Chain Metadata

The dispatch is attempting to set weights on chain with weight value exceeding the MaxWeightLimit (max_weight_limit subnet hyperparameter).

What This Means

Weight value exceeds the maximum limit (currently u16::MAX).

Common Causes

  • Individual weight value too high
  • Weight exceeds u16 maximum (65535)

How to Fix

  • Cap weight values at u16::MAX (65535)
  • Normalize weights to fit within limits

Thrown By

Version History

v101 block 1 Added
v118 block 222,600 Re-added
v121 block 518,345 Re-added
v133 block 1,404,224 Re-added
v142 block 2,543,779 Re-added
v149 block 3,014,339 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
26
Error Code
7.26
Runtime Version
v393