-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove call to private/internal methods from the @metamask/keyring-controller
#8975
fix: remove call to private/internal methods from the @metamask/keyring-controller
#8975
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Bitrise✅✅✅ Commit hash: f67ec9f Note
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@metamask/keyring-controller
@dawnseeker8 I have found an issue on Samsung S21 using Android 13, when forgetting ledger device, the account is still displayed even though the account should be removed. Please see screen recording:- Screen_Recording_20240320_113049_MetaMask.mp4 |
I have also found an issue on Samsung S21 using Android 13, when changing the password after connecting the ledger device, the account is not displayed. Please see screen recording:- Screen_Recording_20240320_113908_MetaMask.mp4 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8975 +/- ##
==========================================
- Coverage 45.58% 45.58% -0.01%
==========================================
Files 1276 1276
Lines 31310 31309 -1
Branches 3202 3202
==========================================
- Hits 14274 14273 -1
Misses 16190 16190
Partials 846 846 ☔ View full report in Codecov by Sentry. |
Quality Gate passedIssues Measures |
Bitrise✅✅✅ Commit hash: d35deb9 Note
|
Tested flows and working as expected on Samsung S21 using Android 13. Change password flow:- Screen_Recording_20240326_102846_MetaMask-QA.mp4Forget Ledger device flow:- Screen_Recording_20240326_102707_MetaMask-QA.mp4 |
Description
Mark has reported that ledger has mis use keyringController method in this slack thread https://consensys.slack.com/archives/C026NDN79JB/p1710333124579809
This PR will investigate the any ledger existing code which misuse keyring controller methods and fix all areas contain the error.
Related issues
Fixes: #8931
Manual testing steps
The menual tests should including
forget ledger devices
,relauch app
andchange password
to see whether ledger account still there.Screenshots/Recordings
Before
After
Screen_Recording_20240227_184709_MetaMask.mp4
Pre-merge author checklist
Pre-merge reviewer checklist