fix: Prevent HD keyring from being removed#24096
Merged
Conversation
e00e857 to
4690d85
Compare
794837d to
d21b012
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #24096 +/- ##
========================================
Coverage 67.60% 67.60%
========================================
Files 1252 1252
Lines 49010 49010
Branches 12790 12790
========================================
Hits 33130 33130
Misses 15880 15880 ☔ View full report in Codecov by Sentry. |
Collaborator
Builds ready [d21b012]
Page Load Metrics (1122 ± 613 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
brad-decker
approved these changes
Apr 18, 2024
mikesposito
approved these changes
Apr 18, 2024
A patch has been added for the `@metamask/keyring-controller` package that will prevent the HD keyring from being removed. This is a precautionary change, see MetaMask/mobile-planning#1507 for additional details. This is a port of this PR: MetaMask/core#4168 Here is the same patch on mobile: MetaMask/metamask-mobile#9092
d21b012 to
6c83239
Compare
gantunesr
approved these changes
Apr 18, 2024
Collaborator
Builds ready [6c83239]
Page Load Metrics (1989 ± 673 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A patch has been added for the
@metamask/keyring-controllerpackage that will prevent the HD keyring from being removed. This is a precautionary change, see https://github.com/MetaMask/mobile-planning/issues/1507 for additional details.Related issues
This is a port of this PR: MetaMask/core#4168
Here is the same patch on mobile: MetaMask/metamask-mobile#9092
Manual testing steps
This is a precaution against a bug that probably does not exist. We don't have reproduction steps.
However, here are some use cases related to this area of code, which we can test to ensure nothing has broken:
Screenshots/Recordings
N/A
Pre-merge author checklist
Pre-merge reviewer checklist