MetaMask / MetaMask/metamask-mobile
[Bug]: Stake: Unstake eth activity doesn't show the right data
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### Describe the bug
When attempting to unstake eth, the tx seems to do something but after the tx is completed the amount unstaked is 0 and (nothing changed in the balance) -> **correction: The balance is updated, so unstake worked**
https://github.com/user-attachments/assets/fc11620f-57e6-4391-9332-2d87256d3b0a
Beside that, the tx activity displayed is wrong initially (it seems displaying something happening in the pass, but with updated date, but not even related with unstake). Once you leave and get back the activity value is correct
### Expected behavior
_No response_
### Screenshots/Recordings
_No response_
### Steps to reproduce
follow steps in the video
### Error messages or log output
```shell
```
### Detection stage
During release testing
### Version
7.60.0
### Build number
3122
### Build type
None
### Device
Redmi Note 13 Pro 5G
### Operating system
Android
### Additional context
_No response_
### Severity
sev1
Contributor guide
Research direction
No file, test, or entry point is named. Reproduce the unstake flow on Android with version 7.60.0 and build 3122, then inspect how the initial activity data is loaded and refreshed. Done means the activity immediately shows the current unstake transaction data while the balance still updates correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100