Errors/Chain errors

EmissionWeightsDoNotSumToOne

Check the argument values against the operation schema

View as Markdown

After merging your update into the subnet's current emission weight vector, the five shares do not sum to exactly u64::MAX (1.0). Omitted slots keep their current value, so raising one slot requires lowering another in the same call. btcli subnets emission set-value/increase/decrease renormalise the other slots for you; with the raw call, pass a full [0, 0, owner, validator, miner] vector whose parts total 18446744073709551615.

Declared by the SubtensorModule pallet; it classifies to the semantic code invalid_argument.

Declared at pallets/subtensor/src/macros/errors.rs#L430.

Remediation

Check the argument values against the operation schema

The same explanation is available in the terminal: btcli explain EmissionWeightsDoNotSumToOne.