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

stake commands #4

Merged
merged 54 commits into from
Aug 13, 2024
Merged

stake commands #4

merged 54 commits into from
Aug 13, 2024

Conversation

thewhaleking
Copy link
Contributor

@thewhaleking thewhaleking commented Aug 9, 2024

Also includes improvements/fixes related to MyPy for the previously-committed commands.

This does not include the stake revoke-children command that @opendansor is adding.

thewhaleking and others added 3 commits August 9, 2024 16:25
* `root list` working

* Fixed help output

* Fixed help output

* Fixed the way config for network/chain is handled.

* [WIP] Check-in. Pausing on setting weights until I determine whether we're doing the metagraph approach still.

* Root get-weights

* Circular import temp fix.

* Added root boost command. Not finished as I need to confirm the use of metagraph on it.

* Ruff

* Root boost and root set-weights.

* Code cleanup.

* Code cleanup.

* Feedback from PR #1

* Feedback from PR #1. Docstrings mostly.

* Final PR #1 suggestions I will be implementing.

* In the arena, trying things.

* Boost and Slash created with new logic to parse old weights. Confirming this logic is correct in Discord.

* Senate vote added

* Added `root senate` command.

* Root register command.

* Root proposals

* Root `set-take`

* Root `set-delegate`

* Root `undelegate-stake`

* Docstring.

* [WIP] Check-in

* [WIP] Check-in

* Root `my-delegates`

* Root `list-delegates`

* Root `nominate`, made extrinsics more general for signing and such.

* Ruff and Mypy

* Ruff and Mypy

* Corrected type registry change.
@thewhaleking thewhaleking mentioned this pull request Aug 9, 2024
7 tasks
@thewhaleking thewhaleking linked an issue Aug 13, 2024 that may be closed by this pull request
7 tasks
@thewhaleking thewhaleking requested a review from a team August 13, 2024 19:59
@thewhaleking thewhaleking marked this pull request as ready for review August 13, 2024 19:59
src/utils.py Outdated Show resolved Hide resolved
src/subtensor_interface.py Outdated Show resolved Hide resolved
src/commands/stake.py Show resolved Hide resolved
cli.py Show resolved Hide resolved
@thewhaleking thewhaleking merged commit a0e02ec into main Aug 13, 2024
2 checks passed
@thewhaleking thewhaleking deleted the feat/thewhaleking/stake-commands branch August 13, 2024 21:06
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.

Port BTCLI Commands
3 participants