Errors/Chain errors

BasketHasNoWeights

Check the argument values against the operation schema

View as Markdown

Retired on current runtimes: a basket deposit into a validator with no usable root weight vector is now held as the fund's root (TAO cash) slot instead of erroring. Seeing this error means the chain is running an older runtime — have the validator set root weights with btcli weights set-root (or set_root_weights) first.

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

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

Remediation

Check the argument values against the operation schema

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