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

Root commands #3

Merged
merged 33 commits into from
Aug 9, 2024
Merged

Root commands #3

merged 33 commits into from
Aug 9, 2024

Conversation

thewhaleking
Copy link
Contributor

@thewhaleking thewhaleking commented Aug 2, 2024

Also improves config functions.

@thewhaleking thewhaleking linked an issue Aug 2, 2024 that may be closed by this pull request
7 tasks
@thewhaleking thewhaleking mentioned this pull request Aug 5, 2024
7 tasks
Base automatically changed from experimental/thewhaleking/typer to main August 5, 2024 19:03
@thewhaleking thewhaleking requested a review from a team August 9, 2024 10:16
@thewhaleking thewhaleking marked this pull request as ready for review August 9, 2024 10:16
gus-opentensor
gus-opentensor previously approved these changes Aug 9, 2024
@thewhaleking thewhaleking merged commit 0f27e30 into main Aug 9, 2024
2 checks passed
@thewhaleking thewhaleking deleted the feat/thewhaleking/rootcommands branch August 9, 2024 11:35
thewhaleking added a commit that referenced this pull request Aug 9, 2024
* `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 added a commit that referenced this pull request Aug 13, 2024
* `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

* [WIP] Initial Commit for stake commands.

* `stake show` command working.

* Root commands (#3)

* `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.

* `stake show` command working.

* `stake get-children` command

* `stake set-children` command

* Added commands to stake_app

* Exception handling and printing.

* Close subtensor.

* Added TODOs

* Fixed the list options in CLI. Began adding stake command.

* Update requirements.txt to use SSH instead of HTTPS for easier cloning

* Fixed interactive prompting and mypy issues.

* Fixed interactive prompting and mypy issues.

* Removed _take_extrinsic logic to the subtensor.sign_and_send_extrinsic method. Added the actual logic for doing the `root set-weights` command to its respective CLI command.

* Mypy

* `stake add` command

* Fixed vecu8

* `stake show` command

* PR Feedback — added docstrings.
thewhaleking added a commit that referenced this pull request Aug 14, 2024
* `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.
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
2 participants