-
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
Include Amount in Complete Unbonding/Redelegation Events #5597
Conversation
// CompleteUnbondingWithAmount completes the unbonding of all mature entries in | ||
// the retrieved unbonding delegation object and returns the total unbonding | ||
// balance or an error upon failure. | ||
func (k Keeper) CompleteUnbondingWithAmount(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress) (sdk.Coins, error) { |
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.
Introducing a new function instead of replacing the old as we want to get this into the next 0.37 and 0.38 point releases.
Codecov Report
@@ Coverage Diff @@
## master #5597 +/- ##
==========================================
+ Coverage 53.39% 53.41% +0.01%
==========================================
Files 322 322
Lines 19724 19745 +21
==========================================
+ Hits 10532 10547 +15
- Misses 8375 8381 +6
Partials 817 817
|
// CompleteRedelegation completes the redelegations of all mature entries in the | ||
// retrieved redelegation object and returns the total redelegation (initial) | ||
// balance or an error upon failure. | ||
func (k Keeper) CompleteRedelegationWithAmount( |
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.
Introducing a new function instead of replacing the old as we want to get this into the next 0.37 and 0.38 point releases.
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.
ACK
* Simulation docs (#5033) * simulation docs * update docs with the latest simulation changes * minor imporvments * clean up of simulation.md * expand section on weights * minor reword * minor wording fix Co-authored-by: Marko <[email protected]> * Merge PR #5597: Include Amount in Complete Unbonding/Redelegation Events * Add bank alias for gaia * Moar bank alias gaia * Moar bank alias gaia * Call `TimeoutExecuted`, add wrappers * Remove unused `MsgRecvPacket` Co-authored-by: Federico Kunze <[email protected]> Co-authored-by: Marko <[email protected]> Co-authored-by: Alexander Bezobchuk <[email protected]> Co-authored-by: Jack Zampolin <[email protected]>
* Add comments, remove unused code and attempt to point to places where the spec is being implemented * close channel when transfer fails * rename packer data transfer to align to spec; refactor table tests * ICS 20 implementation cleanup work (#5602) * Simulation docs (#5033) * simulation docs * update docs with the latest simulation changes * minor imporvments * clean up of simulation.md * expand section on weights * minor reword * minor wording fix Co-authored-by: Marko <[email protected]> * Merge PR #5597: Include Amount in Complete Unbonding/Redelegation Events * Add bank alias for gaia * Moar bank alias gaia * Moar bank alias gaia * Call `TimeoutExecuted`, add wrappers * Remove unused `MsgRecvPacket` Co-authored-by: Federico Kunze <[email protected]> Co-authored-by: Marko <[email protected]> Co-authored-by: Alexander Bezobchuk <[email protected]> Co-authored-by: Jack Zampolin <[email protected]> * Merge PR #5603: Remove acknowledgement interface in favour of []byte * fixes and cleanup * spec compliance * refactor relay prefixes and tests * Fix test compilation * cleanup; add notes and additional test case * Receive transfer test * Apply suggestions from code review Co-Authored-By: Bot from GolangCI <[email protected]> * Fix autolinter application * Add testcase with incorrect prefix * golangcibot fixes * delete extra comment Co-authored-by: Federico Kunze <[email protected]> Co-authored-by: Christopher Goes <[email protected]> Co-authored-by: Marko <[email protected]> Co-authored-by: Alexander Bezobchuk <[email protected]> Co-authored-by: Bot from GolangCI <[email protected]>
Description
Include total unbonding and redelegation balances in events.
closes: #5564
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)