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
Transaction is initiated using Squid SDK (branch main-v2) with Ethers.signer.sendTransaction(tx).
On mobile, the transaction appears to go through successfully.
Immediately after, the app crashes with the following error:
Error:
However our payload includes gasLimit
[...] \"value\":\"100000000000000\",\"gasLimit\":\"621400\"}"
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
The bug can be replicated doing a swap from Binance (and probably other chains) using squid app
The params value in the error message is an actual, valid transaction hash (verified on the blockchain explorer).
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
Ethers.signer.sendTransaction(tx)
.Error:
However our payload includes gasLimit
[...] \"value\":\"100000000000000\",\"gasLimit\":\"621400\"}"
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
params
value in the error message is an actual, valid transaction hash (verified on the blockchain explorer).Attempts to Debug
customNetworkModule
import as it doesn't exist.Questions