rainbow-me / rainbow

🌈‒ the Ethereum wallet that lives in your pocket
https://rainbow.me
GNU General Public License v3.0
3.89k stars 604 forks source link

[crash][bug] Tx signing issue with Rainbow Wallet Mobile - App crashes due to `gasLimit` Error #6109

Open odcey opened 3 days ago

odcey commented 3 days ago

Description

We're experiencing a critical issue when attempting to sign transactions using Rainbow Wallet on mobile devices. While the transaction process works fine on desktop, the mobile app crashes immediately after the transaction goes through, due to a gasLimit-related error.

Current Behavior

  1. Transaction is initiated using Squid SDK (branch main-v2) with Ethers.signer.sendTransaction(tx).
  2. On mobile, the transaction appears to go through successfully.
  3. Immediately after, the app crashes with the following error:

Error:

image

However our payload includes gasLimit [...] \"value\":\"100000000000000\",\"gasLimit\":\"621400\"}"

  1. The error is so severe that we cannot retrieve the transaction hash to show a loading state to the user.

Expected Behavior

The transaction should complete successfully without crashing the app, allowing us to retrieve the transaction hash and update the UI accordingly.

Additional Information

Attempts to Debug

Questions

  1. Is the fix from the mentioned commit planned to be deployed soon?
  2. Are there any known workarounds for this issue in the current production version?
  3. Can you provide any guidance on successfully running the Android app locally for debugging purposes?
odcey commented 3 days ago

Screen Shot 2024-09-18 at 10 25 03

Ok scammers are everywhere apparently