opentensor / subtensor

Bittensor Blockchain Layer
The Unlicense
123 stars 131 forks source link

'netuid is not the root network' on staging #440

Open konradmolinski opened 2 months ago

konradmolinski commented 2 months ago

Describe the bug

The issue is deeply discussed on community discord: https://discord.com/channels/799672011265015819/1240229792348110920 In short: boosting or setting weights via btcli doesn't works on local environment.

To Reproduce

Follow all the steps up to the last one in these docs https://github.com/opentensor/bittensor-subnet-template/blob/main/docs/running_on_staging.md

Expected behavior

The weights are set for subnet 1

Screenshots

image

Environment

MacOS, Ubuntu

Additional context

No response

camfairchild commented 1 month ago

This is a bug with the current https://github.com/opentensor/bittensor package being broken by a breaking change on the development branch of subtensor.

See: https://github.com/opentensor/subtensor/pull/335 Changes the set_weights call for setting root weights to use set_root_weights

konradmolinski commented 1 month ago

@camfairchild not sure if I get it - is it resolved?

distributedstatemachine commented 1 month ago

@konradmolinski you can fix it by using the main branch of the subtensor repo

vali-ray commented 3 weeks ago

Hey i got some typical bug when i try run btcli root boost --netuid --increase 0.2 --wallet.name coldkey --wallet.hotkey hotkey Снимок экрана 2024-06-22 в 08 00 01