-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support root weights #2021
base: staging
Are you sure you want to change the base?
support root weights #2021
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is already covered by another merged PR as well
bittensor/subtensor.py
Outdated
@@ -874,18 +874,19 @@ def _do_set_weights( | |||
def make_substrate_call_with_retry(): | |||
call = self.substrate.compose_call( | |||
call_module="SubtensorModule", | |||
call_function="set_weights", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not the correct place to implement this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments regarding Cortex Code Style standard.
Overall LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please go over the tests again and make sure that 1) that feature doesnt already have a dedicated test and 2) you assert results in the test.
setup_wallet, | ||
sudo_call_set_network_limit, | ||
sudo_call_set_weight_limit, | ||
sudo_call_set_min_stake, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these sudo_call
's need to be replaced with Btcli commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All of these
sudo_call
's need to be replaced with Btcli commands.
It would be very helpful if you could leave a link to a similar test case that has already been implemented
The PR is a part of #1932