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

Fix IBC asset regex in denom metadata #4872

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

zbuc
Copy link
Member

@zbuc zbuc commented Sep 30, 2024

Describe your changes

This fixes a bug in the ibc_transfer_path method that did not properly handle all IBC denoms, specifically those containing slashes, for example transfer/channel-4/factory/osmo1q77cw0mmlluxu0wr29fcdd0tdnh78gzhkvhe4n6ulal9qvrtu43qtd0nh8/shitmos.

Issue ticket number and link

Discovered when investigating #4834 however this doesn't close out the issue.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    affected method only called in display formatting right now

Copy link
Contributor

@cronokirby cronokirby left a comment

Choose a reason for hiding this comment

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

I checked the regex, looks good to me

@cronokirby cronokirby merged commit 4f0d1f7 into main Oct 7, 2024
13 checks passed
@cronokirby cronokirby deleted the 4834_asset_balance_formatting branch October 7, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants