-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Use QRKeyring
from KeyringController
#20502
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. |
QRKeyring
from KeyringController
3a6f05d
to
6334e1b
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #20502 +/- ##
===========================================
- Coverage 68.39% 68.35% -0.05%
===========================================
Files 1007 1007
Lines 40252 40260 +8
Branches 10764 10770 +6
===========================================
- Hits 27529 27516 -13
- Misses 12723 12744 +21
☔ View full report in Codecov by Sentry. |
Builds ready [6334e1b]
Page Load Metrics (1627 ± 49 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
0263a6c
to
6334e1b
Compare
Builds ready [6334e1b]
Page Load Metrics (1705 ± 67 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
6334e1b
to
2516be6
Compare
Builds ready [2516be6]
Page Load Metrics (1696 ± 163 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
f200d6e
to
1176bd0
Compare
Builds ready [1176bd0]
Page Load Metrics (1864 ± 104 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
1176bd0
to
8b8e5e9
Compare
0071617
to
ccaef57
Compare
Builds ready [ccaef57]
Page Load Metrics (1686 ± 73 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [ccaef57]
Page Load Metrics (1686 ± 73 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
d0e137c
to
83765a0
Compare
Builds ready [83765a0]
Page Load Metrics (1682 ± 84 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: @metamask/[email protected], @metamask/[email protected] |
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
971bb2b
to
01c50cf
Compare
@metamaskbot update-policies |
Policies updated |
allowedActions: [ | ||
'KeyringController:getState', | ||
'KeyringController:signMessage', | ||
'KeyringController:signPersonalMessage', | ||
'KeyringController:signTypedMessage', | ||
'KeyringController:decryptMessage', | ||
'KeyringController:getEncryptionPublicKey', | ||
'KeyringController:getKeyringsByType', | ||
'KeyringController:getKeyringForAccount', | ||
'KeyringController:getAccounts', | ||
], | ||
allowedEvents: [ | ||
'KeyringController:accountRemoved', | ||
'KeyringController:lock', | ||
'KeyringController:stateChange', | ||
'KeyringController:lock', | ||
'KeyringController:unlock', | ||
'KeyringController:accountRemoved', | ||
'KeyringController:qrKeyringStateChange', |
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.
These are related to @metamask/keyring-controller
update v7.4
-> v8.0
Builds ready [dfa7991]
Page Load Metrics (1504 ± 241 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
This is our package |
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!
dfa7991
to
7bdc1b0
Compare
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!
Builds ready [7bdc1b0]
Page Load Metrics (969 ± 339 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Explanation
With this PR the extension starts to use the
QRKeyring
provided byKeyringController
, instead of declaring and managing it directly in the client.Manual Testing Steps
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.