Errors/Chain errors

EmissionWeightIndexOutOfRange

Check the argument values against the operation schema

View as Markdown

sudo_set_subnet_emission_weights named a slot index outside the five-slot emission weight vector. Valid indices are 0 = burn, 1 = recycle, 2 = owner, 3 = validator, 4 = miner; later slots (e.g. gamma buys) are reserved for a future runtime.

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

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

Remediation

Check the argument values against the operation schema

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