-
Notifications
You must be signed in to change notification settings - Fork 608
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
Fix: Fix valset pref unbonding bugs #5967
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
fe7290f
Add helper to get existing delegations along with valset pref
ValarDragon fcdc961
Lay out more of the logic nuance
ValarDragon 58792cc
Add pseudo-code needed
ValarDragon 2f8dea8
algorithm v1
stackman27 f4c0dab
added algorithm docs
stackman27 144f0d1
fixed all test
stackman27 41cd2f6
removed unwanted files
stackman27 7403e06
remove more code
stackman27 fbd4ba4
added more tests
stackman27 2f5caca
update changelog
devbot-wizard d3cec49
Merge branch 'main' into dev/valset-pref-unbond-issues
stackman27 90e9fb2
added test and addressed feedback
stackman27 b317a0e
Update x/valset-pref/validator_set.go
czarcas7ic b1ece1b
Update x/valset-pref/validator_set.go
czarcas7ic 53a14d9
Update x/valset-pref/README.md
czarcas7ic 5d54956
Merge branch 'main' into dev/valset-pref-unbond-issues
czarcas7ic 11bc176
Minor cleanup
ValarDragon 3799111
re-use validator gets
ValarDragon dcfc806
Refactor
ValarDragon d9891dd
Highlight bug
ValarDragon 5ac4023
fixed the issue
stackman27 25cdc5f
added comments
stackman27 20f7c29
Merge branch 'main' into dev/valset-pref-unbond-issues
stackman27 e27f258
update changelog
devbot-wizard 54b4dec
fixed the issue
stackman27 77a9655
fixed go test
stackman27 324a281
fixed test
stackman27 365b721
Merge branch 'main' into dev/valset-pref-unbond-issues
p0mvn 31e9008
lint
p0mvn 1c48875
Merge branch 'main' into dev/valset-pref-unbond-issues
p0mvn 9e98292
Finish ValSet Pref Unbonding (#6630)
mattverse eedd243
Merge branch 'main' into dev/valset-pref-unbond-issues
czarcas7ic ce280e8
feat: unbond with rebalanced val set weights (#6685)
czarcas7ic 30af740
Merge branch 'main' into dev/valset-pref-unbond-issues
czarcas7ic 246d95e
Update x/valset-pref/validator_set.go
ValarDragon 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait... is this the code for valset preference? I think this is fundamentally wrong. This needs to be based on the token amount, not the number of shares