-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
R4R: Results from x/staking & x/slashing peer review #3507
Conversation
@@ -385,7 +381,7 @@ func (k Keeper) UnbondAllMatureValidatorQueue(ctx sdk.Context) { | |||
for _, valAddr := range timeslice { | |||
val, found := k.GetValidator(ctx, valAddr) | |||
if !found { | |||
continue | |||
panic("validator in the unbonding queue was not found") |
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.
As explained in person, not sure if this change makes sense
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.
RemoveValidator
now removes the validator from the unbonding queue - thoughts?
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.
didn't we require this for determining unbonding-delegations or redelegations for slashing purposes? If that is not the case then this comment is resolved
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.
require what? the validator would still be around in that case, right?
Codecov Report
@@ Coverage Diff @@
## develop #3507 +/- ##
==========================================
Coverage ? 57.27%
==========================================
Files ? 179
Lines ? 14104
Branches ? 0
==========================================
Hits ? 8078
Misses ? 5541
Partials ? 485 |
Co-Authored-By: cwgoes <cwgoes@pluranimity.org>
This isn't a |
Ahhh yes, indeed you're right. I'm indifferent where this should exist then. |
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.
More comments submitted in line ^
cc @jackzampolin
cc @rigelrozanski I expect you'll want to review this.
PENDING.md
with issue #Files changed
in the github PR explorerFor Admin Use: