-
Notifications
You must be signed in to change notification settings - Fork 61
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
Nil unbonding time #473
Nil unbonding time #473
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #473 +/- ##
===========================================
+ Coverage 55.64% 56.27% +0.63%
===========================================
Files 165 165
Lines 12435 12378 -57
===========================================
+ Hits 6919 6966 +47
+ Misses 5002 4895 -107
- Partials 514 517 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Need to lint and add test case. |
…alid for unbonded validators
…egation is already complete
2856908
to
d6eb665
Compare
@ajansari95 @aljo242 @muku314115 - ready for review now! |
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
Co-authored-by: Alex Johnson <[email protected]>
Co-authored-by: Alex Johnson <[email protected]>
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.
lint failing
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
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
1. Summary
Fixes # QCK-500
Permit nil completion times for unbondings and redelegations.
On receipt of nil redelegation completion time, remove the redelegation record.
Additional clean up of Acknowledgement and txResponse unmarshalling.
2.Type of change
3. Implementation details
In HandleBeginUnbonding and HandleBeginRedelegation (ibc_packet_handlers.go) we remove the check for a nil completion time.
In HandleBeginRedelegation, on receipt of nil redelegation completion time, remove the redelegation record.
Use built-in ibc-go methods to inspect failure/sucess of incoming acknowledgement.
Fixes relating to delegation updates on redelegation completion.