metamask-extension
metamask-extension copied to clipboard
DRAFT: Multichain Transaction Controller Preview w/ enableMultichain flag on
Description
Tests are all passing with the Multichain TranasctionController added and with the enableMultichain
flag on, but without changes to Extension to explicitly specify a networkClientId to use. This implies that the existing globally selected network flow is still functional even if the Multichain code paths are active but not being used directly.
Related issues
Fixes:
Manual testing steps
- Go to this page...
Screenshots/Recordings
Before
After
Pre-merge author checklist
- [ ] I’ve followed MetaMask Coding Standards.
- [ ] I've clearly explained what problem this PR is solving and how it is solved.
- [ ] I've linked related issues
- [ ] I've included manual testing steps
- [ ] I've included screenshots/recordings if applicable
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using JSDoc format if applicable
- [ ] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
- [ ] I’ve properly set the pull request status:
- [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to "non-draft".
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.
Builds ready [1778d09]
- 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 (814 ± 36 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 96 | 183 | 119 | 24 | 11 |
domContentLoaded | 10 | 55 | 18 | 10 | 5 | ||
load | 718 | 1022 | 814 | 76 | 36 | ||
domInteractive | 10 | 55 | 18 | 10 | 5 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 49.44 KiB (1.47%)
- ui: 0 Bytes (0.00%)
- common: 0 Bytes (0.00%)
@metamaskbot update-policies
Policies updated
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: No coverage uploaded for pull request base (
jl/transaction-multichain-preview-test@47ed1ba
). Click here to learn what that means.
:exclamation: Current head 36691dc differs from pull request most recent head 1961485. Consider uploading reports for the commit 1961485 to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## jl/transaction-multichain-preview-test #22758 +/- ##
=========================================================================
Coverage ? 68.51%
=========================================================================
Files ? 1088
Lines ? 42928
Branches ? 11417
=========================================================================
Hits ? 29410
Misses ? 13518
Partials ? 0
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Builds ready [2d484bd]
- 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 (820 ± 28 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 95 | 196 | 118 | 22 | 10 |
domContentLoaded | 11 | 23 | 17 | 3 | 2 | ||
load | 747 | 939 | 820 | 59 | 28 | ||
domInteractive | 11 | 23 | 17 | 3 | 2 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: -79.14 KiB (-2.35%)
- ui: 0 Bytes (0.00%)
- common: 136.4 KiB (2.71%)
Builds ready [579e9d1]
- 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 (824 ± 30 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 90 | 141 | 114 | 14 | 7 |
domContentLoaded | 9 | 32 | 18 | 7 | 3 | ||
load | 738 | 998 | 824 | 62 | 30 | ||
domInteractive | 9 | 32 | 18 | 7 | 3 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: -79.14 KiB (-2.35%)
- ui: 0 Bytes (0.00%)
- common: 136.4 KiB (2.71%)
@metamaskbot update-policies
Policies updated
Builds ready [36691dc]
- 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 (1043 ± 66 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 141 | 372 | 209 | 47 | 22 |
domContentLoaded | 10 | 92 | 33 | 24 | 12 | ||
load | 840 | 1555 | 1043 | 137 | 66 | ||
domInteractive | 10 | 92 | 33 | 24 | 12 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: -101.79 KiB (-3.00%)
- ui: -807 Bytes (-0.01%)
- common: 166.7 KiB (3.31%)
Builds ready [e8f9b90]
- 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 (1044 ± 38 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 113 | 219 | 178 | 29 | 14 |
domContentLoaded | 10 | 72 | 28 | 22 | 10 | ||
load | 835 | 1188 | 1044 | 79 | 38 | ||
domInteractive | 10 | 72 | 28 | 22 | 10 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: -101.9 KiB (-3.00%)
- ui: -807 Bytes (-0.01%)
- common: 166.7 KiB (3.31%)
Builds ready [7126b35]
- 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 (1655 ± 232 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 129 | 464 | 272 | 83 | 40 |
domContentLoaded | 10 | 107 | 62 | 28 | 13 | ||
load | 827 | 2593 | 1655 | 482 | 232 | ||
domInteractive | 10 | 107 | 62 | 28 | 13 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: -101.83 KiB (-3.00%)
- ui: 2.01 KiB (0.03%)
- common: 166.69 KiB (3.31%)
Builds ready [784140d]
- 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 (1927 ± 96 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 103 | 407 | 173 | 68 | 33 |
domContentLoaded | 10 | 58 | 29 | 16 | 8 | ||
load | 1625 | 2427 | 1927 | 200 | 96 | ||
domInteractive | 10 | 58 | 29 | 16 | 8 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: -101.83 KiB (-3.00%)
- ui: 2.01 KiB (0.03%)
- common: 166.69 KiB (3.31%)