MetaMask / MetaMask/metamask-mobile
[Bug]: Stale status (Swapping) on token detail activity list
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### Describe the bug
When a txn submitted (non-evm), the status will hold as pending until there is a new txn coming in..
### Expected behavior
_No response_
### Screenshots/Recordings
https://github.com/user-attachments/assets/0e02f15c-ca66-4a2c-a565-7966847edb4b
### Steps to reproduce
1. Swap any NEVM chain token
2. Verify swap confirmation
3. go to the token details page and verify the swap activity
It remains in stale state (Swapping)
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
8.9.0
### Build number
4532
### Build type
None
### Device
Pixel 9 Pro XL
### Operating system
Android
### Additional context
_No response_
### Severity
_No response_
Contributor guide
Research direction
Reproduce the issue on Android by swapping a token on an NEVM chain, then inspect the token details activity list and the status transition after confirmation. Trace why the entry remains in “Swapping” until another transaction arrives; done means the activity updates to its completed state without requiring a new transaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- blockchain, frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100