You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When integrating the MM SDK into the portfolio dapp we bumped into an issue where one transaction would get stuck even though the app reported to be submitted to the mempool.
Important details about the issue:
Every transaction after the transaction that "stalled" gets stuck in that same "stalled" state.
Trying to cancel the transaction via MM Mobile would not take any effect
Closing and opening the wallet would not allow us to move forward
Only uninstalling and installing the app again would clean this state
To effectively cancel this transaction we would have to manually hardcode the nonce to getTransactionCount - 1
Bumping both gas and gasPrice (separately or together) would not make it go through
We never manged to reproduce this in any other chain different than Polygon mainnet
Expected behavior
The wallet is able to recover
Screenshots/Recordings
MM-SDK.Testing.Screen.Recording.mov
Steps to reproduce
Even though reproducing this issue in a consistent way is very hard, the times we managed to do it were by creating a transaction with the following payload:
chainId: 137
data: "0x5f57552900000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000136f6e65496e6368563546656544796e616d69630000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003c499c542cef5e3811e1192ce70d8cc03d5c33590000000000000000000000000000000000000000000000000023375dc1560800000000000000000000000000000000000000000000000000000000000000196e000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000004f94ae6af800000000000000000000000000930dedddb92fef1b4ab2665d250877339f064eac0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000038862e238bb00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000023375dc1560800800000000000000000000000000000000000000000000000000000000000196e000000000000000000000000000000000000000000000000000000e3807ae37f0000000000000000000000003c499c542cef5e3811e1192ce70d8cc03d5c33590000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270000000000000000000000000b41815a9803487d5bf51a549f842cb86f64836d900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003bec6f2800000000000000000000000000000000000000000000005150ae84a8cdf00000000000a4000000a4000000a4000000a400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a4bf15fcd8000000000000000000000000a5eb255ef45dfb48b5d133d08833def69871691d000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000242cc2878d0065ba412300000000000000b41815a9803487d5bf51a549f842cb86f64836d90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004106ab28976895bae49fb6be39a62ca34477f22b0c4a07d6ee38bc5e50c57599dc633867aba5f2193e795420fd3ec0f5ebdeb2dba303a13f8b88603fdea3ae70f61b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ab4991fe00000000000000000000000000000000000000000000000000d3"
from: "0x7a1d598f56ebcff8578170d902aca24c0d8c7ca6"
to: "0x1a1ec25DC08e98e5E93F1104B5e5cdD298707d31"
value: "0x2386f26fc10000"
Describe the bug
When integrating the MM SDK into the portfolio dapp we bumped into an issue where one transaction would get stuck even though the app reported to be submitted to the mempool.
Important details about the issue:
noncetogetTransactionCount - 1Expected behavior
The wallet is able to recover
Screenshots/Recordings
MM-SDK.Testing.Screen.Recording.mov
Steps to reproduce
Even though reproducing this issue in a consistent way is very hard, the times we managed to do it were by creating a transaction with the following payload:
Error messages or log output
No response
Version
7.15.0
Build type
None
Device
All
Operating system
iOS, Android
Additional context
No response
Severity
No response