This error was removed in v127
This error is no longer present in the current runtime. Existed from v123 to v127. Shown here for historical reference.
WrongProposalWeight
Error Removed v123 → v127 (removed) 10.8The dispatch weight provided when closing the proposal does not match the actual weight of the proposed call . This parameter is used for resource accounting.
Encountered by: validatorsdevelopers
Why This Error Exists
The weight parameter on close ensures accurate resource accounting. It must match the actual dispatch weight of the proposed call.
From Chain Metadata
The given weight bound for the proposal was too low.
What This Means
The dispatch weight provided when closing the proposal does not match the actual weight of the proposed call. This parameter is used for resource accounting.
Common Causes
- Weight parameter does not match the actual weight of the proposal call
- Using cached or outdated weight info
- Weight calculation changed between submission and close
How to Fix
- Recalculate the proposal call weight using the current runtime
- Query the proposal and compute its dispatch weight
- Use runtime API call to get the correct weight for the call
Storage to Check
Runtime Info
- Pallet Index
- 10
- Error Index
- 8
- Error Code
- 10.8
- Removed In
- v127