MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.17k stars 1.12k forks source link

[Bug]: Sending consecutive STX transactions #12388

Open sleepytanya opened 13 hours ago

sleepytanya commented 13 hours ago

Describe the bug

(Note: I'm not sure if we allow to send another STX while the first one is Pending)

Related https://github.com/MetaMask/metamask-mobile/issues/12318

  1. When two STX transactions are sent in succession, it lead sto one transaction failing and the other succeeding. The user interface during this process can be unclear, as the second STX transaction screen may not be displayed to the user. Additionally, in the Activity list, there is an erratic behavior with the tx flashing and changing statuses
  2. There are instances where attempting to initiate another STX transaction while having a pending STX transaction inadvertently switches the token to a Collectible within the Send flow. Following this switch, transactions cannot be created.

Expected behavior

-

Screenshots/Recordings

Failed STX, Activity screen:

https://github.com/user-attachments/assets/97c148c8-7547-445f-9354-0074db8a1abe

Collectible:

https://github.com/user-attachments/assets/c64eaf4c-74ad-404a-9301-2026eb61d861

https://github.com/user-attachments/assets/05780ccd-3761-43fa-aeff-c8e0814d866c

Steps to reproduce

  1. Start STX
  2. Start another STX while the first one is Pending

Error messages or log output

No response

Detection stage

During release testing

Version

7.36.0

Build type

None

Device

iPhone 15, Samsung S24+

Operating system

iOS, Android

Additional context

No response

Severity

No response