MetaMask / MetaMask/metamask-extension
[Bug]: Reset Wallet - Throws multiple errors
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
### Describe the bug
Resetting the wallet with another SRP throws errors :
- `Failed to enable push notifications`
- `User is not signed in.`
- `Failed to update OnChain triggers`
### Expected behavior
_No response_
### Screenshots/Recordings
https://github.com/user-attachments/assets/e3474525-8eaf-430c-a7a7-71395b1c89e7
### Steps to reproduce
1. Onboard to the wallet
2. Lock it
3. Click Forgot Password
4. Add another SRP
5. Login
6. See errors
### Error messages or log output
```shell
```
### Where was this bug found?
Internal release testing
### Version
13.19.0. (some might be pre_existing)
### Build type
None
### Browser
Chrome
### Operating system
MacOS
### Hardware wallet
_No response_
### Additional context
_No response_
### Severity
_No response_
[Jira issue](https://consensyssoftware.atlassian.net/browse/MCTP-170)
### Expected behavior
No response
### Screenshots/Recordings
No response
### Steps to reproduce
1. Onboard to the wallet
2. Lock it
3. Click Forgot Password
4. Add another SRP
5. Login
6. See errors
### Error messages or log output
```shell
```
### Where was this bug found?
No response
### Version
13.19.0. (some might be pre_existing)
### Build number
No response
### Build type
None
### Browser
Chrome
### Operating system
MacOS
### Hardware wallet
No response
### Additional context
No response
### Severity
Sev2
Contributor guide
Research direction
Start by reproducing the reset flow in Chrome on macOS: onboard, lock the wallet, use Forgot Password, add another SRP, and log in. Trace when the push notification, sign-in, and OnChain trigger errors appear. Done means resetting with another SRP and logging in no longer produces these errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100