Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash report: Error: Invariant failed #11

Open
jiangydev opened this issue Apr 2, 2022 · 0 comments
Open

Crash report: Error: Invariant failed #11

jiangydev opened this issue Apr 2, 2022 · 0 comments

Comments

@jiangydev
Copy link

URL

https://starswap.xyz/#/swap

swap state

{
  "INPUT": {
    "currencyId": "0xbf60b00855c92fe725296a436101c8c6::WEN::WEN"
  },
  "OUTPUT": {
    "currencyId": "STC"
  },
  "independentField": "INPUT",
  "typedValue": "100000000000000000000000000000000000000000000000000000000000000000000",
  "recipient": null
}

Error

Error: Invariant failed

Stacktrace

Error: Invariant failed
    at t.default (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:101460)
    at new r (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:2322436)
    at Function.r.fromFractionalAmount (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:2322624)
    at t.r.quote (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:2325585)
    at Object.t.computePriceImpact (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:2328162)
    at new e (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:2338368)
    at Function.e.bestTradeExactIn (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:2339694)
    at https://starswap.xyz/static/js/main.ad1c2f86.chunk.js:1:117309
    at Object.xo [as useMemo] (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:2243066)
    at t.useMemo (https://starswap.xyz/static/js/4.dcef148d.chunk.js:1:1960776)

Device data

{
  "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.84 Safari/537.36",
  "browser": {
    "name": "Chrome",
    "version": "99.0.4844.84",
    "major": "99"
  },
  "engine": {
    "name": "Blink",
    "version": "99.0.4844.84"
  },
  "os": {
    "name": "Windows",
    "version": "10"
  },
  "device": {},
  "cpu": {
    "architecture": "amd64"
  }
}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant