-
Notifications
You must be signed in to change notification settings - Fork 16
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
[LUM-583] - Handle re-delegate assets from a disabled validator #29
Conversation
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.
Implementation looks ok to me but I think we should keep things a bit more simple for now.
See my comments to be discussed (cc @Segfaultd).
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.
Almost there but I made comments critical to the implementation regarding the bonded amount state we keep in the store.
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.
LGTM - a few cosmetic comments
…elegateToActiveValidators and helper functions
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.
Still LGTM !
I spotted one potential critical mistake though.
* rc/v1.5: (58 commits) Fix consensus module registration Migrate consensus params and properly register keeper Add format for import ordering Add new NewMsgServerImpl for beam module Add RegisterMsgServer for RegisterServices in x/airdrop/module.go Add RegisterMsgServer for RegisterServices in x/millions/module.go Formatting Fixed ICA callbacks handlers registration Fix usage between port owner name and port ID Fixed ignite gov module config Add comment IBC Stack revamp Redundant implementation Install more dependencies Remove capabilities for ownership transfer Unused ClaimCapability anymore Use store key for consistence Move back proto to their original path for backward compatibility Revert "Fix codecs registration" Fix codecs registration ...
* rc/v1.5: Fix import ordering Update metadata for EditDeposit and ValidateBasic static check Fix linting errors Fix format check Add edit deposit feature
Issue / Context
In the current implementation of cosmos millions there is no mechanism in place that allows to re-delegate assets from a misbehaving validator to other validators.
This PR introduces the ability to disable validator(s) by governance proposal and consequently re-delegate their assets to other active validators of the pool.
Implemented solution