opentensor / subtensor

Bittensor Blockchain Layer
The Unlicense
146 stars 150 forks source link

The caller is attempting to set weight to at least one UID that does not exist in the metagraph #560

Open vali-ray opened 3 months ago

vali-ray commented 3 months ago

Describe the bug

When I am trying to boost weights i got this error False {'type': 'Module', 'name': 'UidVecContainInvalidOne', 'docs': ['The caller is attempting to set weight to at least one UID that does not exist in the metagraph.']} ❌ 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 ...WARNING:bittensor: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.']} 2024-06-21 20:48:50.851 | 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

btclli root boost

Expected behavior

set weights

Screenshots

Снимок экрана 2024-06-21 в 20 13 22

Environment

ubuntu

Additional context

No response

ppolewicz commented 3 months ago

As in https://github.com/opentensor/bittensor/issues/2058 - subnet 30 doesn't exist, this is likely why you see it. The error message... could be better :)