Errors/Chain errors

EmissionWeightIndexDuplicated

Check the argument values against the operation schema

View as Markdown

sudo_set_subnet_emission_weights listed the same slot index twice in uids. Give each slot at most once per call.

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

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

Remediation

Check the argument values against the operation schema

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