metamask-mobile
metamask-mobile copied to clipboard
[Bug]: Transaction activity hangs indefinitely if Swap is initiated right before estimated gas fee starts flashing
Describe the bug
I was able to reproduce this many times on both Android and iOS. See repro steps and the 3 videos below. This also repro on production so it's been there for a while
When this situation happens only way to stop it is to kill the app and restart it
Expected behavior
The transaction list is shown correcly
Screenshots/Recordings
https://github.com/MetaMask/metamask-mobile/assets/6082863/2bb97578-fff0-413e-83dd-bc775d4c4c71
https://github.com/MetaMask/metamask-mobile/assets/6082863/c5dbb71a-0830-42fd-9646-aeed97f84830
https://github.com/MetaMask/metamask-mobile/assets/6082863/9059e29b-c793-4b38-acfa-00cec76d336e
Steps to reproduce
- Go to the activity list
- Select Swap from the action menu
- Chose a pair to Swap
- Fetch a Quote
- A second of two before the estimated gas fee start flashing try to swipe the button
- After the transaction completes and you go back to the activity notice that it’s stuck there spinning
Error messages or log output
No response
Version
main
Build type
None
Device
iPhone 12 and Samsung Galaxy
Operating system
iOS, Android
Additional context
No response
Severity
No response