bittensor icon indicating copy to clipboard operation
bittensor copied to clipboard

unclear UidVecContainInvalidOne error on setting root weights

Open ppolewicz opened this issue 1 year ago • 0 comments

Describe the bug

Revolt | TAO-Validator.com tried setting weights when sn30 didn't exist and this is what he got

❌ Failed: {'type': 'Module', 'name': 'UidVecContainInvalidOne', 'docs': ['The 
caller is attempting to set weight to at least one UID that does not exist in 
the metagraph.']}
⠋ 📡 Setting root weights on finney ...2024-06-23 15:34:50.100 |     WARNING      | Set weights -  - Failed: {'type': 'Module', 'name': 'UidVecContainInvalidOne', 'docs': ['The caller is attempting to set weight to at least one UID that does not exist in the metagraph.']}

To Reproduce

try to set root weights to inexisting subnet

Expected behavior

a clear error which would say something like "you are trying to set weights on sn30 which doesn't exist"

Screenshots

No response

Environment

linux

Additional context

No response

ppolewicz avatar Jun 23 '24 23:06 ppolewicz