-
Notifications
You must be signed in to change notification settings - Fork 244
Root claim #2053
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
Open
shamil-gadelshin
wants to merge
49
commits into
devnet-ready
Choose a base branch
from
root-claim2
base: devnet-ready
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Root claim #2053
Changes from 36 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
2f7ea4b
Add root claim infrastructure
shamil-gadelshin c579597
Alter coinbase.rs
shamil-gadelshin 6c614fe
Alter tests
shamil-gadelshin e04c8e9
Remove comments
shamil-gadelshin f607993
Change TaoDividendsPerSubnet -> AlphaDividendsPerSubnet
shamil-gadelshin 8877c40
Fix: PendingAlphaSwapped only needs to increase for non-subsidized su…
gztensor e7605df
Update tests
shamil-gadelshin c48a9c4
Update coinbase.rs
shamil-gadelshin 9fa484a
Cargo fmt
shamil-gadelshin 7f5dba4
Remove TaoDividendsPerSubnet
shamil-gadelshin 28e2f74
Remove PendingAlphaSwapped
shamil-gadelshin eb32237
Rename RootDebt -> RootClaimed
shamil-gadelshin 2e613b0
Fix RootClaimable map
shamil-gadelshin b125673
Add root claim tests.
shamil-gadelshin 0151f49
Add basic test with drain_emissions
shamil-gadelshin 83b2b36
Update tests.
shamil-gadelshin c482f2f
Update tests
shamil-gadelshin 55c1b1d
Simplify tests
shamil-gadelshin a11d7a9
Add disproportional stake test
shamil-gadelshin e3cc8e1
Add test with removed stake.
shamil-gadelshin dd44dd8
Fix existing tests
shamil-gadelshin 0b13d2e
Update tests
shamil-gadelshin 8d1140d
Fix swap claim root
shamil-gadelshin 65bb4f0
Add basic run_coinbase test
shamil-gadelshin 1accdfa
Fix block indices to claim
shamil-gadelshin c09bcb3
Optimize RootClaimable
shamil-gadelshin fc161b3
Update benchmarks
shamil-gadelshin b39d51c
Add coldkey to the new map.
shamil-gadelshin 57bcae3
Add root staking maps migration.
shamil-gadelshin cc7a1df
Add run_coinbase test for root claim.
shamil-gadelshin 78e45af
Refactor root claim code.
shamil-gadelshin dcaa3f7
Merge branch 'devnet-ready' into root-claim2
shamil-gadelshin d0b2dac
Fix merge issues
shamil-gadelshin 0f82356
Remove obsolete code
shamil-gadelshin 239df82
Fix typo
shamil-gadelshin 69e222b
Add sudo_set_num_root_claims extrinsic
shamil-gadelshin c5d9f31
Update claim_root benchmark.
shamil-gadelshin 99345b1
Refactor code
shamil-gadelshin cc324ec
Add migration
shamil-gadelshin 8d63857
Merge branch 'devnet-ready' into root-claim2
shamil-gadelshin 1f1c7e7
Fix merge conflicts
shamil-gadelshin 3d3ef0d
Update pallets/subtensor/src/staking/claim_root.rs
shamil-gadelshin ab5a274
Handle case for stake mismatch.
shamil-gadelshin db3a0f0
Add proxy type.
shamil-gadelshin c213dd0
Add swap_coldkey support for root claim
shamil-gadelshin d6203c0
Add swap_hotkey support for root claim
shamil-gadelshin 7a2ebae
Remove PendingRootDivs map
shamil-gadelshin b0e346e
Claim all during network deregistration.
shamil-gadelshin d68d3aa
Modify default claim root key number
shamil-gadelshin 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
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.