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
chore(ibc): migrate IBC transfer escrow accounts to module account type #1156
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1156 +/- ##
==========================================
+ Coverage 78.43% 78.59% +0.16%
==========================================
Files 130 132 +2
Lines 7767 7802 +35
==========================================
+ Hits 6092 6132 +40
+ Misses 1524 1521 -3
+ Partials 151 149 -2
|
ENG-968 migrate ibc transfer escrow accounts to ModuleAccounts (PR to ibc-go)
CurrentNo
Instead, escrowed tokens for ibc transfers are now escrowed on a EOA account: https://www.mintscan.io/evmos/account/evmos1a53udazy8ayufvy0s434pfwjcedzqv345dnt3x After manual addition:
we found that querying auth module-account yields address:
which is differs from actual one that is used on mainnet. ExpectedRegistered
Notes
|
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.
Thanks @GAtom22, great work! However, I we shouldn't use the module Migration
route, but we should instead run this logic as part of the UpgradeHandler
logic. The reason why we should do this is to avoid having different versions and logic between the canonical transfer module from ibc-go and our wrapper module
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.
@GAtom22 God job man! Suggested couple of little fixes down here.
Co-authored-by: 4rgon4ut <59182467+4rgon4ut@users.noreply.github.com> Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
…os into GAtom22/migrate-ibc-escrow-acc
@fedekunze, should I add it to the |
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.
@GAtom22 much better now. Can you test that the Module Account is valid? otherwise the genesis validation will fail
we can create a new file for |
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
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. Could you delete the 2 extra files?
Description
Migrate the IBC transfer escrow accounts to the
ModuleAccount
typeCloses: https://linear.app/evmos/issue/ENG-968/migrate-ibc-transfer-escrow-accounts-to-moduleaccounts-pr-to-ibc-go
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
PR review checkboxes:
I have...
Unreleased
section inCHANGELOG.md
Code maintenance:
I have...
godoc
and code comments.docs/
) or specification (x/<module>/spec/
)Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.
I have...