Crash report: `Error: [big.js] Division by zero`
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/#/vote/2/12
Error
Error: [big.js] Division by zero
Stacktrace
Error: [big.js] Division by zero
at t.div (https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:2239433)
at e.toFixed (https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:65053)
at sn (https://app.uniswap.org/static/js/10.5b6f2871.chunk.js:1:67308)
at oi (https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:3033362)
at Xo (https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:3085662)
at Fu (https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:3072903)
at _u (https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:3072831)
at Eu (https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:3072694)
at wu (https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:3069660)
at https://app.uniswap.org/static/js/3.10dd3680.chunk.js:2:3019154
Device data
{
"ua": "Mozilla/5.0 (Linux; Android 11; A600DL Build/RKQ1.201202.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/94.0.4606.85 Mobile Safari/537.36",
"browser": {
"name": "Chrome WebView",
"version": "94.0.4606.85",
"major": "94"
},
"engine": {
"name": "Blink",
"version": "94.0.4606.85"
},
"os": {
"name": "Android",
"version": "11"
},
"device": {
"vendor": "Acer",
"model": "A600",
"type": "tablet"
},
"cpu": {}
}
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
Reproduce the crash at https://app.uniswap.org/#/vote/2/12 and inspect the reported big.js division-by-zero stack trace in the compiled JavaScript chunks. The report does not identify a source file or test, so first locate the corresponding source entry point; done means the vote page no longer crashes with this error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100