Crash report: `TypeError: undefined is not an object (evaluating 'B[i||j.MAINNET].infoLink')`
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
URL
https://app.uniswap.org/#/swap
swap state
{
"INPUT": {
"currencyId": "ETH"
},
"OUTPUT": {
"currencyId": "0x111111111117dC0aa78b770fA6A738034120C302"
},
"independentField": "INPUT",
"typedValue": "",
"recipient": null
}
Error
TypeError: undefined is not an object (evaluating 'B[i||j.MAINNET].infoLink')
Stacktrace
Cf@https://app.uniswap.org/static/js/main.235752c4.chunk.js:1:337976
ua@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1361139
Va@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1370707
Cs@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1400681
js@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1400609
Ss@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1400472
bs@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1397438
bs@[native code]
@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1346931
@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1424168
Xi@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1346877
$i@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1346812
ps@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1394815
Pa@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:1366465
Pa@[native code]
@https://app.uniswap.org/static/js/35.b241a31f.chunk.js:2:387732
promiseReactionJob@[native code]
Device data
{
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15",
"browser": {
"name": "Safari",
"version": "15.0",
"major": "15"
},
"engine": {
"name": "WebKit",
"version": "605.1.15"
},
"os": {
"name": "Mac OS",
"version": "10.15.6"
},
"device": {},
"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
Start by reproducing the crash at https://app.uniswap.org/#/swap with the reported swap state in Safari, then use the supplied stack trace to locate the corresponding source. The report names no source files or tests; done means the swap page no longer crashes for this state and the relevant regression is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100