-
Notifications
You must be signed in to change notification settings - Fork 636
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
transfer (total escrow): add escrow / unescrow functions #3507
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3507 +/- ##
==========================================
- Coverage 78.78% 78.77% -0.01%
==========================================
Files 182 182
Lines 12687 12686 -1
==========================================
- Hits 9995 9994 -1
Misses 2261 2261
Partials 431 431
|
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, I added a little more code documentation
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.
should these target the feat/total-escrow-state-entry branch?
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.
Nice, love this clean up!
if err := k.bankKeeper.SendCoins( | ||
ctx, sender, escrowAddress, sdk.NewCoins(token), | ||
); err != nil { |
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.
nit; I think we should put this on one line similarly to below in unescrowToken
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.
I thought about the same, agreed! I think it helps to make the functions as identical as possible
No, since this is just code-hygenie/readability, I think it makes sense not to backport |
* add escrow/unescrow functions * fix * fix linter warning * imp. add more code documentation * chore. restructure code to match sybling function --------- Co-authored-by: Colin Axnér <[email protected]> Co-authored-by: Jim Fasarakis-Hilliard <[email protected]> (cherry picked from commit 9ebc2f8) # Conflicts: # modules/apps/transfer/keeper/relay.go
) (#3550) * transfer (total escrow): add escrow / unescrow functions (#3507) * add escrow/unescrow functions * fix * fix linter warning * imp. add more code documentation * chore. restructure code to match sybling function --------- Co-authored-by: Colin Axnér <[email protected]> Co-authored-by: Jim Fasarakis-Hilliard <[email protected]> (cherry picked from commit 9ebc2f8) # Conflicts: # modules/apps/transfer/keeper/relay.go * resolving conflicts --------- Co-authored-by: Carlos Rodriguez <[email protected]> Co-authored-by: Damian Nolan <[email protected]>
Description
ref: #3368
Commit Message / Changelog Entry
see the guidelines for commit messages. (view raw markdown for examples)
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
).godoc
comments.Files changed
in the Github PR explorer.Codecov Report
in the comment section below once CI passes.