MetaMask / MetaMask/metamask-extension
[LATTICE] When user rejects swap transaction via Lattice, page stuck on waiting for confirmation from hw device
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
When transaction is rejected via hw device, page does not navigate back to Activity tab to show failed transaction
### Expected behavior
Page to be navigated back to Activity tab to show failed transaction
### Screenshots/Recordings
https://github.com/user-attachments/assets/6cff740f-5990-4b81-ab7f-1f29b6c72c54
### Steps to reproduce
1. Initiate a swap via Lattice1 account
2. Submit transaction
3. Reject transaction from device
4. Verify the page navigates to activity tab to show failed transaction
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
13.27.0
### Build type
None
### Browser
Chrome
### Operating system
Windows, MacOS
### Hardware wallet
GridPlus Lattice1
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Reproduce the swap flow with a Lattice1 account: initiate a swap, submit it, and reject the transaction on the device. Start by tracing the waiting-for-confirmation state through the Activity tab navigation in the extension. Done means rejection returns to Activity and shows the transaction as failed on Chrome for the reported environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100