Skip to content

Unable to bring asset price whose BaseDenom is of length 2 in CurrencyPair #566

@avkr003

Description

@avkr003

When BaseDenom in currency pair is of length 2, such as token OM of Mantra chain, Vote Extensions panic as internally it tries to create DecCoins and it validates denom over OM where it panics.
This leads to error:
ERR recovered from panic in ExtendVoteHandler err="invalid denom: OM" module=server

Line at which this happens

To replicate the issue, try fetching price of OM tokens

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions