Errors/Chain errors

CanNotSetRootNetworkWeights

Check the argument values against the operation schema

View as Markdown

set_weights was called with netuid 0, the root network, where normal weight setting is not allowed. Use a non-root netuid argument; root weights are handled by a separate mechanism.

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