MetaMask / MetaMask/metamask-extension
[Bug]: DeFi - Error `DeFiPositionsV2FetchAttempts: DeFiPositionsControllerV2: positions ready after 3 attempt(s)`
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
Going to DeFi tab throws error `DeFiPositionsV2FetchAttempts: DeFiPositionsControllerV2: positions ready after 3 attempt(s)`
### Expected behavior
_No response_
### Screenshots/Recordings
### Steps to reproduce
1. Click DeFi tab
2. See error in the console (just thrown the first time on a fresh wallet)
### 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 issue from the DeFi tab in version 13.50.0 using Chrome on a fresh wallet, then trace the `DeFiPositionsV2FetchAttempts` and `DeFiPositionsControllerV2` error entry points. Done means the first DeFi-tab visit no longer throws this error in the console.
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