Crash report: `Error: invalid decimal value (argument="value", value="1e+42", code=INVALID_ARGUMENT, version=bignumber/5.6.2)`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
URL
https://app.uniswap.org/#/nfts/asset/0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb/1477
Error
Error: invalid decimal value (argument="value", value="1e+42", code=INVALID_ARGUMENT, version=bignumber/5.6.2)
Stacktrace
Error: invalid decimal value (argument="value", value="1e+42", code=INVALID_ARGUMENT, version=bignumber/5.6.2)
at e.value (https://app.uniswap.org/static/js/4.2eb7294b.chunk.js:2:102827)
at e.value (https://app.uniswap.org/static/js/4.2eb7294b.chunk.js:2:102971)
at e.value (https://app.uniswap.org/static/js/4.2eb7294b.chunk.js:2:103050)
at v (https://app.uniswap.org/static/js/4.2eb7294b.chunk.js:2:2048905)
at s (https://app.uniswap.org/static/js/4.2eb7294b.chunk.js:2:474655)
at c (https://app.uniswap.org/static/js/4.2eb7294b.chunk.js:2:474722)
at https://app.uniswap.org/static/js/8.1cfbc0d7.chunk.js:1:39744
at Fn (https://app.uniswap.org/static/js/8.1cfbc0d7.chunk.js:1:43135)
at Ao (https://app.uniswap.org/static/js/4.2eb7294b.chunk.js:2:3800431)
at As (https://app.uniswap.org/static/js/4.2eb7294b.chunk.js:2:3857643)
Device data
{
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36",
"browser": {
"name": "Chrome",
"version": "107.0.0.0",
"major": "107"
},
"engine": {
"name": "Blink",
"version": "107.0.0.0"
},
"os": {
"name": "Windows",
"version": "10"
},
"device": {},
"cpu": {
"architecture": "amd64"
}
}
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 crash at the reported NFT asset URL and inspect the provided invalid-decimal stack trace. Trace the corresponding source through the TypeScript application and verify that the asset page loads without the reported error for this token.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain, typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100