-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
chore: Update assets and accounts packages #12984
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. |
2c6d5d9
to
d4e2d35
Compare
Bitrise✅✅✅ Commit hash: d4e2d35 Note
|
bd54717
to
e739ac1
Compare
Bitrise❌❌❌ Commit hash: e739ac1 Note
Tip
|
4e5e84a
to
9253cf0
Compare
Bitrise✅✅✅ Commit hash: 9253cf0 Note
|
14199d5
to
310cd82
Compare
Bitrise❌❌❌ Commit hash: 310cd82 Note
Tip
|
1829581
51a63b8
to
1829581
Compare
Bitrise🔄🔄🔄 Commit hash: 1829581 Note
|
992798e
Bitrise❌❌❌ Commit hash: 992798e Note
Tip
|
Quality Gate passedIssues Measures |
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
Description
The primary purpose of this PR is to update the accounts controller and the assets-controller to the latest version. In doing that, there were several other package updates that were needed. Here is a summary of the updates...
🔴 Major updates 🔴
"@metamask/accounts-controller": "^20.0.1" -> ^21.0.0
scopes
field toKeyringAccount
core#5066), (chore: update accounts-related packages versioning for newscopes
feature core#5136)This field is now required and will be used to identify the supported chains (using CAIP-2 chain IDs) for every accounts.
@metamask/utils
to^11.0.1
and@metamask/rpc-errors
to^7.0.2
core#5080)@metamask/utils
to^11.0.1
and@metamask/rpc-errors
to^7.0.2
core#5080)@metamask/keyring-api
layout (split packages) core#4695)This package has been split out from the Keyring API.
@metamask/keyring-api
layout (split packages) core#4695)@metamask/keyring-api
layout (split packages) core#4695)ESM/CommonJS support.
"@metamask/assets-controllers": "^45.1.1", -> ^46.0.0",
@metamask/keyring-api
layout (split packages) core#4695)@metamask/providers and webextension-polyfill peer dependencies are no longer required.
@metamask/keyring-api
layout (split packages) core#4695)This package has been split out from the Keyring API. Its types are compatible with the @metamask/keyring-api package used previously.
scopes
field toKeyringAccount
core#5066)@metamask/utils
to^11.0.1
and@metamask/rpc-errors
to^7.0.2
core#5080)@metamask/utils
to^11.0.1
and@metamask/rpc-errors
to^7.0.2
core#5080)MultichainBalancesController
core#4965)This controller has been migrated from the MetaMask extension codebase.
"@metamask/utils": "^10.0.1" -> ^11.0.1"
generateRandomMnemonic
async utils#222)Added "@metamask/keyring-internal-api": "^2.0.0",
@metamask/keyring-api
to@metamask/keyring-internal-api
Added @metamask/keyring-snap-client: "^2.0.0"
@metamask/keyring-snap-client
instead of@metamask/keyring-api'
. Seeapp/components/Views/AddAccountActions/AddAccountActions.tsx
for changes."@metamask/keyring-api": "^10.1.0", -> ^13.0.0"
scopes
field toKeyringAccount
accounts#101)"@metamask/eth-snap-keyring": "^5.0.1" -> ^7.0.0"
eth-sig-util@^7.0.3
->^8.0.0
accounts#79)🟡 Minor updates 🟡
"@metamask/base-controller": "^7.0.1", -> ^7.1.1
ControllerMessenger
toMessenger
core#5050)"@metamask/providers": "^18.1.0" -> ^18.3.1"
🟢 Patch updates 🟢
"@metamask/json-rpc-engine": "^10.0.0" -> ^10.0.2",
"@metamask/json-rpc-middleware-stream": "^8.0.2" -> 8.0.6"
@metamask/utils
to^11.0.1
and@metamask/rpc-errors
to^7.0.2
core#5080)"@metamask/rpc-errors": "^7.0.1" -> ^7.0.2"
@metamask/utils
from^10.0.0
to^11.0.1
rpc-errors#166)Related issues
Fixes: #12967
Fixes: #12966
Fixes: https://github.com/MetaMask/accounts-planning/issues/758
Unblocks: #12599
Manual testing steps
Basic import account flow with tokens
Screen.Recording.2025-01-15.at.3.07.12.PM.mov
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist