MetaMask / MetaMask/metamask-mobile
[Bug]: mUSD Claim bonus modal is slow to load
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 1.7k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 669
Description
### Describe the bug
After tapping "Claim bonus" for mUSD on the token list, the claim bonus modal/confirmation screen takes a long time to load. This is a performance issue that impacts the user experience.
### Expected behavior
The claim bonus modal should load promptly after tapping "Claim bonus".
### Screenshots/Recordings
https://consensys.zoom.us/clips/share/0jSTcHYqQPixPbrB0zS5Jg
### Steps to reproduce
1. Have mUSD with an unclaimed Merkl bonus
2. View the token list on the home screen
3. Tap "Claim bonus" on the mUSD token row
4. Observe: the claim bonus modal takes a long time to load
### Error messages or log output
```
```
### Where was this bug found?
Internal release testing
### Version
7.69.0
### Build number
3954
### Build type
_No response_
### Device
Samsung Galaxy A42
### Operating system
Android 13
### Additional context
_No response_
### Severity
_To be added after bug submission by internal support / PM:_
Contributor guide
Research direction
Start by reproducing the issue on the Samsung Galaxy A42 running Android 13, using version 7.69.0 build 3954. Trace the flow from the mUSD token row's "Claim bonus" action through the claim bonus modal, and confirm that the modal loads promptly after the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100