-
Notifications
You must be signed in to change notification settings - Fork 421
Add new logic for unstake_all extrinsics
#2897
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
Merged
Merged
Changes from 25 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
9fbb88c
add `unstake_all_extrinsic`s
3413106
add extrinsic calls in Subtensor classes
eaf3073
remove `allow_partial_unstaking` from `unstake_all`
2eeb2db
Merge branch 'staging' into feat/roman/unstake_all
basfroman b14fee3
Merge branch 'staging' into feat/roman/unstake_all
648bf17
fix loging message format
9e143b8
add unstake_all to SubtensorApi
054b4fa
add `unstaking_all_limit_extrinsic` to extrinsic sub-package
9860c86
update subtensor.unstake_all logic (safety/unsafety)
792e669
Merge branch 'staging' into feat/roman/unstake_all
basfroman fdc9f58
docstrings + TODOs
5d007fd
Merge branch 'staging' into feat/roman/unstake_all
basfroman fb6cca4
Merge branch 'staging' into feat/roman/unstake_all
basfroman f020bb7
Merge branch 'staging' into feat/roman/unstake_all
2be2ae6
update unstake_all_extrinsic regarding chain's changes.
b78d442
update unstake_all calls.
234d467
Optional
43a8719
update docstrings
1b00d57
add e2e tests (3 scenarios)
d710dd9
add unit tests for subtensor calls
ab3c9df
remove raise error argument from call
558f545
add extrinsics unit tests
1ca7ba0
improved docstrings examples
6529507
fix flaky behavior in test
c432f86
fix flaky behavior in test
9c0ddde
Merge branch 'staging' into feat/roman/unstake_all
basfroman 445ea9f
Merge branch 'staging' into feat/roman/unstake_all
basfroman b60c5ad
weird, but ruff
edeb75d
Merge branch 'staging' into feat/roman/unstake_all
basfroman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.