-
Notifications
You must be signed in to change notification settings - Fork 207
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
IBC Refund to Module Account #155
Conversation
718b66f
to
183cba6
Compare
Nice! Will give a full review in the morning but this looks clean |
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.
Overall this looks good. I do wonder if we should fork IBC and patch this there - wdyt @sampocs?
@sampocs should I review this as it stands or are we going to implement the "new module account" approach? |
given this fix: cosmos/ibc-go#1907 which will prevent blacklisted addresses from IBC transferring tokens, we should implement the "new module account" approach |
What is the purpose of the change
OnTimeoutPacket
will panic if trying to refund to a module accountSendCoinsFromModuleToModule
function, rather thanSendCoinsFromAccountToModule
Brief Changelog
OnTimeoutPacket
andrefundPacketToken
to the records IBC ModuleTesting and Verifying
Documentation and Release Note
Unreleased
section inCHANGELOG.md
? no