-
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
Refactor eth_getEncryptionPublicKey handling #18319
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. |
9516d7b
to
d5c99cd
Compare
}; | ||
|
||
export type StateMessage = Required<AbstractMessage> & { | ||
msgParams: string; |
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.
The UI expects a string with the address, not a Required<AbstractMessageParams>
.
54f273d
to
397ef22
Compare
.yarn/patches/@metamask-message-manager-npm-2.0.0-f23d924f4f.patch
Outdated
Show resolved
Hide resolved
62af169
to
4fb99cb
Compare
Builds ready [0206733]
Page Load Metrics (1612 ± 42 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov Report
@@ Coverage Diff @@
## develop #18319 +/- ##
===========================================
+ Coverage 64.68% 64.87% +0.19%
===========================================
Files 924 924
Lines 35493 35404 -89
Branches 9117 9098 -19
===========================================
+ Hits 22956 22965 +9
+ Misses 12537 12439 -98
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
0206733
to
6eda32a
Compare
Builds ready [6eda32a]
Page Load Metrics (1546 ± 42 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
985027e
to
a24f983
Compare
a24f983
to
6045df0
Compare
New dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No new dependency issues detected in pull request Bot CommandsTo ignore an alert, reply with a comment starting with Pull request alert summary
📊 Modified Dependency Overview:
|
8726d98
to
f1f794f
Compare
f1f794f
to
86d8ccd
Compare
Builds ready [f8f9a42]
Page Load Metrics (1561 ± 37 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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 [e60bfd4]
Page Load Metrics (1568 ± 38 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Explanation
Moves
encryption-public-key-manager
and relatedmetamask-controller
logic, responsible foreth_getEncryptionPublicKey
, to a newEncryptionPublicKeyController
that usesEncryptionPublicKeyManager
from@metamask/message-managers
.See: https://github.com/MetaMask/MetaMask-planning/issues/394
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.