Errors/Chain errors

WeightVecLengthIsLow

Check the argument values against the operation schema

View as Markdown

The weight submission has fewer entries than the subnet's minimum (setting only a self-weight is the one exception). Compare the vector length against the MinAllowedWeights (min_allowed_weights hyperparameter) for the netuid.

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

Remediation

Check the argument values against the operation schema

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