feat: support version 2.0.0 of EIP-5792#31913
Merged
matthewwalsh0 merged 14 commits intomainfrom Apr 16, 2025
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Collaborator
✨ Files requiring CODEOWNER review ✨✅ @MetaMask/confirmations
🧩 @MetaMask/extension-devs
📜 @MetaMask/policy-reviewers
🔗 @MetaMask/supply-chain
|
Collaborator
Builds ready [2e87ac0]
UI Startup Metrics (1223 ± 53 ms)
|
Collaborator
Builds ready [2e87ac0]
UI Startup Metrics (1227 ± 64 ms)
|
Update version.
2e87ac0 to
9804cab
Compare
matthewwalsh0
added a commit
that referenced
this pull request
Apr 15, 2025
Collaborator
Builds ready [c37b9a2]
UI Startup Metrics (1211 ± 57 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
7 tasks
OGPoyraz
approved these changes
Apr 16, 2025
pedronfigueiredo
approved these changes
Apr 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update middleware handlers to support version 2.0.0 of EIP-5792.
Specifically:
wallet_sendCallsversion to2.0.0.atomiccapability inwallet_getCapabilitiesincludingstatusproperty.AccountsController:getSelectedAccountiffromnot specified inwallet_sendCalls.@metamask/eth-json-rpc-middleware,@metamask/transaction-controller, and@metamask/test-dapp.Related issues
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist