MetaMask / MetaMask/metamask-extension
[Bug]: Toast Notification - Toast Notification doesn't appear after confirming a failed tx
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
Whenever I confirm a failed transaction, I just land into the Home page without any info.
No toast appears, like when tx succeeds
### Expected behavior
Display toast with failed tx
### Screenshots/Recordings
https://github.com/user-attachments/assets/477d154e-f87b-495e-9549-0bbf6de08323
### Steps to reproduce
1. Enable edit nonce from settings
2. Start a transaction
3. Edit the nonce with a lower value, to make the tx fail
4. Confirm
5. See you land into home page and nothing happens
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
13.50.0
### Build type
_No response_
### Browser
Chrome
### Operating system
MacOS
### Hardware wallet
_No response_
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Start by reproducing the failed transaction flow using the listed nonce-editing steps in Chrome on macOS, then trace the confirmation flow and its toast handling in the TypeScript extension code. Done means a failed transaction displays a toast before or alongside the return to the Home page, matching the existing success notification behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100