chore: bump core dependencies#26849
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. |
@metamask/accounts-controller|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
@metamaskbot update-mobile-fixture |
|
@metamaskbot update-mobile-fixture |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26849 +/- ##
==========================================
- Coverage 81.87% 81.87% -0.01%
==========================================
Files 4691 4691
Lines 122285 122283 -2
Branches 26949 26951 +2
==========================================
- Hits 100122 100119 -3
- Misses 15220 15221 +1
Partials 6943 6943 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|
|
✅ E2E Fixture Validation — Schema is up to date |



Description
Updated the following dependencies (with required integration work, if any):
@metamask/accounts-controller- UpdategetInternalAccountByAddressselector.@metamask/preferences-controller- UpdatePreferencesControllerstate type.@metamask/account-tree-controller@metamask/delegation-controller@metamask/multichain-network-controller@metamask/multichain-transactions-controllerChangelog
CHANGELOG entry: null
Related issues
Fixes: N/A
Manual testing steps
Screenshots/Recordings
N/A
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Bumps multiple core controller dependencies and changes account lookup to rely on the new
AccountsController.state.accountIdByAddressmap, which could affect any code paths that resolve accounts by address if the map is missing or stale.Overview
Updates several MetaMask core dependencies (notably
@metamask/accounts-controllerto37.0.0and@metamask/account-tree-controllerto5.x).Adopts the new
AccountsControllerstate fieldaccountIdByAddressby adding it to default/fixture state and updatinggetInternalAccountByAddressto resolve accounts via this map (with lowercase fallback) instead of scanning all accounts.Adjusts tests, fixtures, and snapshots to include
accountIdByAddress, and updates migration test typings to reflect that this field is non-persisted.Written by Cursor Bugbot for commit bc2a1ab. This will update automatically on new commits. Configure here.