Errors/Chain errors
BasketHasNoWeights
Check the argument values against the operation schema
Retired on current runtimes: a basket deposit into a fund with no holdings is held as the fund's root (TAO cash) slot instead of erroring, and root weight vectors no longer exist. Seeing this error means the chain is running an older runtime.
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.