status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.91k stars 984 forks source link

Typed data signing fails on uniswap #20939

Closed clauxx closed 3 months ago

clauxx commented 3 months ago

Bug Report

Problem

When attempting to swap on Uniswap e.g. SNT -> DOGE, the request fails with "wrong chainId"

Expected behavior

The user can see the typed data signing request

Actual behavior

The user can't see the signing request

Reproduction

  1. Connect to uniswap
  2. Try to swap SNT -> DOGE
  3. Confirm transaction
  4. Wait for the signing request
  5. Error toast (not expected)

Additional Information

clauxx commented 3 months ago

DISCLAIMER:

There's still an issue with the actual signing of the request (see desktop issue). Signing itself will not be fixed here, as it's caused by the old version of geth on status-go, which is not so straightforward to upgrade at the moment.