-
Notifications
You must be signed in to change notification settings - Fork 5.4k
fix: Revert "refactor: use withKeyring method (#25435)" #26041
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
Conversation
This reverts commit def6b15.
|
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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #26041 +/- ##
========================================
Coverage 69.67% 69.67%
========================================
Files 1404 1404
Lines 49682 49680 -2
Branches 13726 13730 +4
========================================
Hits 34614 34614
+ Misses 15068 15066 -2 ☔ View full report in Codecov by Sentry. |
|
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.
PR Summary
Reverted the use of the withKeyring method in metamask-controller.js and updated corresponding tests in metamask-controller.test.js.
app/scripts/metamask-controller.js: ReplacedwithKeyringwith direct calls togetKeyringForDevicein hardware wallet methods.app/scripts/metamask-controller.test.js: Reverted method names fromwithKeyringForDeviceback togetKeyringForDeviceand added new test cases foraddNewKeyringandaddNewAccountForKeyring.
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings
Builds ready [ff84119]
Page Load Metrics (224 ± 229 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|



Description
Revert "refactor: use withKeyring
Related issues
Fixes: ci failures for Create Snap accounts
Manual testing steps
https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/92931/workflows/0e8fb7fe-e5bb-4cec-816c-eed6a97c0d45/jobs/3461246/steps
https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/92931/workflows/0e8fb7fe-e5bb-4cec-816c-eed6a97c0d45/jobs/3461243
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist