-
-
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
chore: Chore/1742 remove vault recreation log in #9577
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. |
…/1742-remove-vault-recreation-log-in
Bitrise✅✅✅ Commit hash: da68a8f Note
|
E2E regression pipeline run here - https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/f910275e-247c-4c42-b6a6-fa975d4f74f7 |
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.
Awesome cleaning! It seems that can have a few more cleaning lint is failing
Quality Gate passedIssues Measures |
Latest commit just removes unused imports. Commit before that passes both smoke and regression PR ✌️ |
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.
Looks great! Great catch Cal!
Description
This PR removes a condition in the
Authentication
service where the vault would be recreated upon first time log in (excluding password creation during wallet creation). This logic existed for backwards compatibility but was never needed since the app was always using the "original" encryption lib. Since vault recreation isn't needed, this omits the need to pass selectedAddress, which appears in most of the changes in this PR. The change in https://github.com/MetaMask/metamask-mobile/pull/9508/files#diff-75ad251e628bf4ac096dc3ad4e46d4942f61d1576784c71c6150920588b89e1eR45 already prevents this code from running. This PR further removes remaining traces.Related issues
Fixes: #1742
Manual testing steps
App behavior remains the same as before throughout the listed scenarios:
Screenshots/Recordings
wallet-creation.mov
immediate-lock.mov
remember-me.mov
kill-reopen.mov
upgrade.mov
recovery.mov
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist