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. |
3892021 to
a1b75d6
Compare
|
No dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No dependency changes detected in pull request |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #22546 +/- ##
===========================================
- Coverage 68.55% 68.54% -0.00%
===========================================
Files 1088 1088
Lines 42907 42894 -13
Branches 11415 11414 -1
===========================================
- Hits 29411 29400 -11
+ Misses 13496 13494 -2 ☔ View full report in Codecov by Sentry. |
|
fd8d835 to
3ff297d
Compare
Builds ready [ce84a43]
Page Load Metrics (820 ± 40 ms)
Bundle size diffs
|
| const { token, apiUrl } = req.params; | ||
| const { token, envName } = req.params; | ||
| // TODO (Bernardo) - Check if this is the case | ||
| const custodyType = 'Custody - JSONRPC'; // Only JSONRPC is supported for now |
There was a problem hiding this comment.
Should be yes, this will need to be updated and a ticket created for it. Ty! 👍🏼
| version: number; | ||
| }; | ||
|
|
||
| // TODO (Bernardo) - There can be multiple custodian with the same name, envName should be used instead |
There was a problem hiding this comment.
True! Will create a ticket for it as well 👍🏼
| const connectRequests = useSelector( | ||
| (state) => state.metamask.institutionalFeatures?.connectRequests, | ||
| ); | ||
| const connectRequests = useSelector(getInstitutionalConnectRequests); |
Builds ready [b3a7935]
Page Load Metrics (808 ± 41 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Builds ready [802f282]
Page Load Metrics (741 ± 12 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
There was a problem hiding this comment.
After some manual testing using Qredo, it seems we have a bug. This error happens when connecting MMI to Qredo and trying to import accounts.
Should be related with: https://github.com/consensys-vertical-apps/metamask-institutional/blob/main/packages/custodyKeyring/src/CustodyKeyring.ts#L526
…s custody type, example: Qredo
Builds ready [796f42a]
Page Load Metrics (799 ± 26 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
Builds ready [f5c77e9]
Page Load Metrics (933 ± 43 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
…sk-extension into MMI-2119-env-name-as-key
Builds ready [44c5663]
Page Load Metrics (1055 ± 55 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|

Description
Update MMI package dependencies and refactor code to handle the breaking changes.
The changes involve using environment name as the main key to identify a custodian, instead of the api url.
It should not change any existing feature
Related issues
Fixes: MMI-2119
Manual testing steps
Test MMI build with multiple custodians, including:
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist