Permissions Controller Issue When Changing QR Wallets
- Dominant language
- TypeScript
- Stars
- 413
- Forks
- 308
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 253
Description
When a user attempts to switch QR wallets while using the same dapp, the permissions controller generates an error message stating that an account cannot be found. This 'missing' account belongs to the previous QR wallet and remains lodged in the state of the permissions controller.

Steps To Replicate:
1. Create an account with the imToken Qr wallet
2. Connect to the test dapp
3. Forget the qr device
4. Connect with a Keystone QR wallet
5. See the following error
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the QR-wallet switch sequence against the test dapp: connect with imToken, forget the QR device, then connect with Keystone. Trace the permissions controller state after the first wallet is forgotten and verify that switching wallets no longer reports the previous account as missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- authorization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100