Skip to content

poolpair token information not consistent with token information #2189

@RUPINELabs

Description

@RUPINELabs

What happened:

I queried https://ocean.mydefichain.com/v0/mainnet/poolpairs?size=300 in order to examine the poolpair BABA-DUSD/v1 which has id 33. Here I wanted to have a look into tokenA.
Here I get {"symbol":"BABA","displaySymbol":"dBABA","id":"19","name":"dBABA","reserve":"0","blockCommission":"0.0000019"}

What you expected to happen:

Looking up the token with id 19 in https://ocean.mydefichain.com/v0/mainnet/tokens?size=300 I get different values for symbol and displaySymbol.
I expect the following JSON object for the key "tokenA" in the poolpairs ocean endpoint:
{"symbol":"BABA/v1","displaySymbol":"dBABA/v1","id":"19","name":"dBABA","reserve":"0","blockCommission":"0.0000019"}

How to reproduce it (as minimally and precisely as possible):

Just run the two URLs and have a look at poolpair id 33 and token id 19.

Anything else we need to know?:

Nope

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't workingneeds/areaNeeds area label(s)needs/triageWaiting for triage to be accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions