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

The app is crashed when place an order to recipient in Safe #2995

Closed
gosuto-inzasheru opened this issue Aug 3, 2023 · 1 comment
Closed
Labels
app:CowSwap CowSwap app Bug Something isn't working Medium Severity indicator. It causes some undesirable behavior, but the system is still functional

Comments

@gosuto-inzasheru
Copy link

gosuto-inzasheru commented Aug 3, 2023

Steps:

  1. Open the Safe app
  2. Load CoW Swap app there
  3. Enable toggle Recipient
  4. Place an order USDC/EURs on Mainnet to a recipient (EOA)
  5. Sigh the TX

AR: when a TX is signed, there is a crash report
image

Also, the app is crashed when open Account modal

ER: no crash

URL

https://swap.cow.fi/#/1/swap/USDC/EURS

Error

Error: Invariant failed

Stacktrace

Error: Invariant failed
    at i (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3983312)
    at n.toFixed (https://swap.cow.fi/static/js/main.ee7755b9.js:2:2122161)
    at https://swap.cow.fi/static/js/main.ee7755b9.js:2:49145
    at s (https://swap.cow.fi/static/js/main.ee7755b9.js:2:49174)
    at I (https://swap.cow.fi/static/js/main.ee7755b9.js:2:363767)
    at Ao (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3305732)
    at Cs (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3317420)
    at Eu (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3363855)
    at bc (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3351908)
    at yc (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3351836)
    at vc (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3351699)
    at ac (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3348479)
    at ic (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3347030)
    at x (https://swap.cow.fi/static/js/main.ee7755b9.js:2:3574246)
    at MessagePor

Device data

{
  "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
  "browser": {
    "name": "Chrome",
    "version": "115.0.0.0",
    "major": "115"
  },
  "engine": {
    "name": "Blink",
    "version": "115.0.0.0"
  },
  "os": {
    "name": "Mac OS",
    "version": "10.15.7"
  },
  "device": {},
  "cpu": {}
}
@elena-zh elena-zh added app:CowSwap CowSwap app Bug Something isn't working Medium Severity indicator. It causes some undesirable behavior, but the system is still functional labels Aug 3, 2023
@elena-zh elena-zh changed the title Crash report: Error: Invariant failed The app is crashed when place an order to recipient in Safe Aug 3, 2023
@elena-zh elena-zh closed this as completed Aug 4, 2023
@gosuto-inzasheru
Copy link
Author

thanks for hunting down and fixing so fast!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:CowSwap CowSwap app Bug Something isn't working Medium Severity indicator. It causes some undesirable behavior, but the system is still functional
Projects
None yet
Development

No branches or pull requests

2 participants