Errors/Chain errors

DuplicateUids

Check the argument values against the operation schema

View as Markdown

The uids vector passed to set_weights (or a reveal) contains the same UID more than once. Deduplicate the uids/values pairs before submitting; each target neuron may appear only once per weight vector.

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