metamask-extension
metamask-extension copied to clipboard
chore(deps): bump accounts-controller to ^14.0.0
Description
This PR bumps the AccountsController to 14.0.0, @metamask/keyring-api to ^6.0.0 and @metamask/eth-snap-keyring to ^4.0.0
Related issues
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
- [x] I’ve followed MetaMask Coding Standards.
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using JSDoc format if applicable
- [x] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
- [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
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.
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|---|---|---|---|
npm/@metamask/[email protected] | network | +6 |
946 kB | metamaskbot |
🚮 Removed packages: npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/[email protected]
@metamaskbot update-policies
Policy update failed. You can review the logs or retry the policy update here
@metamaskbot update-policies
Policies updated
👍 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.
Builds ready [dd4fa28]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1028 ± 636 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 59 | 162 | 94 | 26 | 13 |
domContentLoaded | 8 | 36 | 15 | 8 | 4 | ||
load | 47 | 3446 | 1028 | 1325 | 636 | ||
domInteractive | 8 | 36 | 15 | 8 | 4 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 26.71 KiB (0.76%)
- ui: -15 Bytes (-0.00%)
- common: 1019 Bytes (0.02%)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 65.71%. Comparing base (
cf417bb
) to head (98434c9
).
Additional details and impacted files
@@ Coverage Diff @@
## develop #24130 +/- ##
===========================================
+ Coverage 65.70% 65.71% +0.01%
===========================================
Files 1366 1368 +2
Lines 54364 54385 +21
Branches 14142 14150 +8
===========================================
+ Hits 35715 35736 +21
Misses 18649 18649
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@metamaskbot update-policies
Policies updated
Builds ready [a46bca7]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1654 ± 567 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 72 | 224 | 115 | 40 | 19 |
domContentLoaded | 10 | 39 | 17 | 8 | 4 | ||
load | 58 | 3042 | 1654 | 1182 | 567 | ||
domInteractive | 10 | 39 | 17 | 8 | 4 |
Bundle size diffs [🚀 Bundle size reduced!]
- background: -20.36 KiB (-0.60%)
- ui: 0 Bytes (0.00%)
- common: 692 Bytes (0.01%)
@metamaskbot update-policies
Policies updated
@metamaskbot update-policies
Policies updated
Builds ready [b360c84]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (875 ± 527 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 60 | 138 | 95 | 21 | 10 |
domContentLoaded | 9 | 46 | 17 | 11 | 5 | ||
load | 48 | 2555 | 875 | 1098 | 527 | ||
domInteractive | 9 | 46 | 17 | 11 | 5 |
Bundle size diffs [🚀 Bundle size reduced!]
- background: -20.36 KiB (-0.58%)
- ui: 0 Bytes (0.00%)
- common: 692 Bytes (0.01%)
Builds ready [8858dd5]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1656 ± 630 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 60 | 176 | 110 | 26 | 12 |
domContentLoaded | 9 | 57 | 17 | 11 | 5 | ||
load | 48 | 3490 | 1656 | 1311 | 630 | ||
domInteractive | 9 | 57 | 17 | 11 | 5 |
Bundle size diffs [🚀 Bundle size reduced!]
- background: -20.36 KiB (-0.58%)
- ui: 0 Bytes (0.00%)
- common: 692 Bytes (0.01%)
Builds ready [ce61148]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (426 ± 400 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 66 | 151 | 94 | 19 | 9 |
domContentLoaded | 9 | 47 | 14 | 8 | 4 | ||
load | 55 | 2413 | 426 | 833 | 400 | ||
domInteractive | 9 | 47 | 14 | 8 | 4 |
Bundle size diffs [🚀 Bundle size reduced!]
- background: -20.36 KiB (-0.58%)
- ui: 0 Bytes (0.00%)
- common: 692 Bytes (0.01%)
@metamaskbot update-policies
Policies updated
The new line added in the privacy snapshot is coming from here when i run the test locally.
<testsuite name="Snap Account Signatures" timestamp="2024-05-30T07:18:47" tests="3" file="/Users/montelai/consensys/extension-2/test/e2e/accounts/snap-account-signatures.spec.ts" time="31.928" failures="3">
<testcase name="Snap Account Signatures can sign with sync flow" time="31.290" classname="can sign with sync flow">
<failure message="A new host not contained in the privacy-snapshot received a network
request during test execution. Please update the privacy-snapshot
file by passing the --update-privacy-snapshot option to the test
command or add the new hosts to the snapshot manually.
New hosts found: api.web3modal.org." type="Error"><![CDATA[Error: A new host not contained in the privacy-snapshot received a network
request during test execution. Please update the privacy-snapshot
file by passing the --update-privacy-snapshot option to the test
command or add the new hosts to the snapshot manually.
New hosts found: api.web3modal.org.
```
Removing api.web3modal.org
from the privacy-snapshot.json
. This was added because of a timezone issue when run locally.
https://github.com/WalletConnect/web3modal/blob/712252de35446c10bb9413bf85ec5f2937dbd44c/packages/core/src/utils/CoreHelperUtil.ts#L188-L204
getApiUrl() {
return CoreHelperUtil.isRestrictedRegion()
? 'https://api.web3modal.org/'
: 'https://api.web3modal.com/'
},
https://github.com/WalletConnect/web3modal/blob/712252de35446c10bb9413bf85ec5f2937dbd44c/packages/core/src/utils/ConstantsUtil.ts#L32
'ASIA/HONG_KONG',
@metamaskbot update-policies
Policies updated
Builds ready [5bd1a07]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (402 ± 426 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 77 | 162 | 104 | 20 | 10 |
domContentLoaded | 9 | 32 | 14 | 6 | 3 | ||
load | 47 | 3704 | 402 | 888 | 426 | ||
domInteractive | 9 | 31 | 14 | 6 | 3 |
Builds ready [517c2bc]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (53 ± 4 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 69 | 112 | 85 | 10 | 5 |
domContentLoaded | 8 | 20 | 11 | 2 | 1 | ||
load | 44 | 67 | 53 | 8 | 4 | ||
domInteractive | 8 | 20 | 11 | 2 | 1 |
Builds ready [d1e3544]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (125 ± 135 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 67 | 142 | 96 | 17 | 8 |
domContentLoaded | 9 | 39 | 14 | 7 | 3 | ||
load | 43 | 1350 | 125 | 281 | 135 | ||
domInteractive | 9 | 39 | 14 | 7 | 3 |
Builds ready [98434c9]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (51 ± 3 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 69 | 105 | 83 | 11 | 5 |
domContentLoaded | 8 | 17 | 11 | 2 | 1 | ||
load | 42 | 66 | 51 | 7 | 3 | ||
domInteractive | 8 | 17 | 11 | 2 | 1 |