Errors/Chain errors

WeightVecNotEqualSize

Check the argument values against the operation schema

View as Markdown

The uids and values vectors passed to a weight-setting call have different lengths, so they cannot be paired. Check the call arguments; both vectors must have exactly one value per UID.

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 WeightVecNotEqualSize.