MetaMask / metamask-mobile

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

[Bug]: Duplicate offramp transaction prompt when using smart transactions #10100

Closed georgeweiler closed 2 months ago

georgeweiler commented 3 months ago

Describe the bug

When smart transactions are enabled, the offramp txn prompt is re-triggered after submitting. This allows users to send multiple transactions. Error "origin is required" is displayed.

Expected behavior

After submitting an offramp transaction, the order details page should be displayed with a "processing" message while the user waits for the transaction to complete

Screenshots/Recordings

https://github.com/MetaMask/metamask-mobile/assets/15269424/885c3204-359c-4bdb-a3d3-a58da7177fde

Steps to reproduce

  1. turn on smart transactions
  2. complete a sell order
  3. submit the transaction and see that another transaction prompt is displayed

Error messages or log output

origin is required

Version

7.24.0

Build type

None

Device

iOS and android

Operating system

iOS, Android

Additional context

No response

Severity

No response

anaamolnar commented 3 months ago

Hey @georgeweiler Can I close this issue?

georgeweiler commented 2 months ago

Hi @anaamolnar , yes, the fix was released in 7.24.4. I will close. thanks!