Two tokens showing wrong price due to token decimals being off
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Description
Right now two tokens are giving a bad price off by 9 decimals. I believe it to be from a token list, but I have not found a list that has the wrong decimals.
Tokens that we have found as of now are
Luffy Inu -- 0xC1bfcCd4c29813eDe019D00D2179Eea838a67703
Saitama -- 0x8B3192f5eEBD8579568A2Ed41E6FEB402f93f73F
Both show the price but 9 decimals short
Steps to Reproduce
- Go to app.uniswap.org
- load either token
- price is only showing wrong for x percent ( I don't see )
...
Expected Behavior
Load with correct price
Additional Context
Between clearing cookies, cache, disabling token lists, hard refresh and loading token manually with token address, seems to clear the issue.
Not 100% if this is token list or not, just been seeing a lot of these tickets
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue at app.uniswap.org with the two supplied token addresses and compare their displayed prices and decimals. Then inspect the token-list handling and the behavior after disabling lists or loading a token manually. Done means identifying the source of the nine-decimal discrepancy and confirming that both tokens display the correct price.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100