MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
12.03k stars 4.91k forks source link

[Bug]: Nonce - Setting a higher nonce leaves MetaMask load indefinitely in localhost network #21259

Open seaona opened 1 year ago

seaona commented 1 year ago

Describe the bug

Problem: whenever I perform a transaction on localhost, but set the custom nonce to a higher value than expected, when I submit that transaction, MetaMask stays loading indefinitely.

Expected behavior

MetaMask should land into the home page, without loading indefinitely and transaction should stay pending

Screenshots

https://github.com/MetaMask/metamask-extension/assets/54408225/885e266c-eee9-471a-9541-aeb95e783c9b

Steps to reproduce

  1. Set Ganache server locally
  2. Add Ganache network to MetaMask
  3. Initiate a Send transaction
  4. Change the custom nonce to a higher value than expected
  5. Submit the transaction
  6. MM stays loading indefinitely

Error messages or log output

No response

Version

11.1.1 prod

Build type

None

Browser

Chrome

Operating system

Linux

Hardware wallet

No response

Additional context

No response

Severity

No response

github-actions[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

github-actions[bot] commented 8 months ago

This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.

seaona commented 8 months ago

This is still happening and blocks testing nonce related issues in e2e

github-actions[bot] commented 5 months ago

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

Gudahtt commented 3 weeks ago

Bumping this up to Sev2, as it does impact the user (until refresh it does leave the user stuck forever)