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

chore: fix wrong denom when adding gas for cosmos source chain #333

Merged
merged 3 commits into from
Oct 18, 2024

Conversation

npty
Copy link
Member

@npty npty commented Oct 16, 2024

Description

https://axelarnetwork.atlassian.net/browse/AXE-6051

Fixed the error when trying to add gas for cosmos source chain from the axelarscan ui.

Issue

The sdk expects the denom (usomm) from the searchGMP api in the gas_paid.returnValues.denom property, but the api returns ibc asset format instead (ibc/12A9901F2B585B3563C2AD4919D20ED478CCAB3D7F9ACBB76E829583B99B1DAA).

Solution

@nrsirapop helps adding a new property called asset in the api response, so this pr points to that field instead.

@npty npty self-assigned this Oct 16, 2024
@npty npty force-pushed the chore/fix-wrong-denom-in-add-cosmos-gas branch from 55cf6b0 to a77b0b7 Compare October 16, 2024 04:41
@canhtrinh canhtrinh changed the base branch from main to feat/0.17.0 October 18, 2024 03:08
@canhtrinh canhtrinh merged commit b79b5c3 into feat/0.17.0 Oct 18, 2024
5 of 6 checks passed
@canhtrinh canhtrinh deleted the chore/fix-wrong-denom-in-add-cosmos-gas branch October 18, 2024 03:09
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.

3 participants