metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

[Bug]: Transaction function method name of replaced transaction remains even after being replaced by another transaction type

Open suspended opened this issue 1 year ago • 0 comments

Describe the bug

I sent a transaction with "Unstake" function method name. After that, I replaced it with another transaction (send USDC to another address) with higher gas fee but the same nonce, yet the "Unstake" method is still displayed even though it should be "Send USDC".

Expected behavior

The replaced transaction should have an updated method name of the new transaction, not the replaced one.

Screenshots/Recordings

image

Steps to reproduce

  1. Send transaction 1 (ie. Stake, Unstake, etc.) with low gas price so it won't be mined immediately.
  2. Send transaction 2 with same nonce and higher gas price to replace transaction 1.
  3. Transaction 2 will succeed but retain the function method name of transaction 1.

Error messages or log output

No response

Version

11.9.0

Build type

None

Browser

Chrome

Operating system

Windows

Hardware wallet

No response

Additional context

No response

Severity

No response

suspended avatar Feb 19 '24 03:02 suspended