Skip to content
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

hotfix/set-root-weights #527

Merged
merged 32 commits into from
Jun 14, 2024
Merged

Conversation

JohnReedV
Copy link
Contributor

@JohnReedV JohnReedV commented Jun 13, 2024

Description

This PR hotfixes a bug that occurred when setting root weights. When checking if the caller had the minimum stake the coldkey was used rather than the hotkey.

{'code': 1010, 'message': 'Invalid Transaction', 'data': 'Transaction call is not expected'}

TODO

BUMP SPEC VERSION

@JohnReedV JohnReedV changed the title fix hotfix/set-root-weights Jun 13, 2024
@JohnReedV JohnReedV marked this pull request as ready for review June 13, 2024 00:45
@JohnReedV JohnReedV requested review from a team and removed request for sam0x17, camfairchild, distributedstatemachine, gztensor and orriin June 13, 2024 01:11
sam0x17
sam0x17 previously approved these changes Jun 13, 2024
@sam0x17 sam0x17 requested a review from a team June 13, 2024 01:31
open-junius
open-junius previously approved these changes Jun 13, 2024
sam0x17
sam0x17 previously approved these changes Jun 13, 2024
@open-junius
Copy link
Contributor

we can merge it, PR in bittensor opentensor/bittensor#2021 will fix the failed test case.

@JohnReedV JohnReedV requested a review from a team June 14, 2024 16:32
distributedstatemachine and others added 3 commits June 14, 2024 20:45
Co-authored-by: Cameron Fairchild <cameron@opentensor.ai>
Co-authored-by: Cameron Fairchild <cameron@opentensor.ai>
@camfairchild camfairchild dismissed their stale review June 14, 2024 17:00

outdated

@camfairchild camfairchild self-requested a review June 14, 2024 17:00
@distributedstatemachine distributedstatemachine merged commit b4ca34b into main Jun 14, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants