Skip to content
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

feat(pegasus): implement correct result and denom trace handling #4615

Merged
merged 2 commits into from
Feb 20, 2022

Conversation

michaelfig
Copy link
Member

closes: #4614
refs: cosmos/ibc#661

Description

Implement IBC denom trace transforms for Pegasus, as well as use the acknowledgement packet's actual result and error properties instead of success.

Security Considerations

The incorrect parsing of acknowledgement packets caused refunds to be given even though the transfer went through. This led to a practically infinite supply of tokens on Pegasus connections to other chains.

Documentation Considerations

Testing Considerations

@michaelfig michaelfig requested a review from dckc February 19, 2022 23:51
@michaelfig michaelfig self-assigned this Feb 19, 2022
@michaelfig michaelfig force-pushed the mfig-4614-ics20-trace-and-result branch from 2da21c0 to f1801f6 Compare February 20, 2022 02:59
Copy link
Member

@dckc dckc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

Thanks for the clear issue write-up and unit test.

@michaelfig michaelfig added the automerge:no-update (expert!) Automatically merge without updates label Feb 20, 2022
@mergify mergify bot merged commit a5de8dd into master Feb 20, 2022
@mergify mergify bot deleted the mfig-4614-ics20-trace-and-result branch February 20, 2022 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:no-update (expert!) Automatically merge without updates pegasus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need to handle denom prefixes of <ibc-port>/<ibc-channel>/
2 participants