-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
feat: CAIP Multichain (New) #27782
base: caip25-permission-migration
Are you sure you want to change the base?
feat: CAIP Multichain (New) #27782
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 74360e7 - Browse repository at this point
Copy the full SHA 74360e7View commit details
Commits on Jul 10, 2024
-
Jl/caip multichain/provider request spec (#25709)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Fix wallet namespace handling in provider_request * Add provider_request spec <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25709?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 62d8904 - Browse repository at this point
Copy the full SHA 62d8904View commit details
Commits on Jul 11, 2024
-
Jl/caip multichain/handle accounts provider authorize (#25708)
NOTE: We may want to get [this child branch](#25713) merged into this branch first before making the remaining changes to accounts behavior <!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Checks if accounts specified in the `accounts` property exist in the Keyring API * Requests the `eth_accounts` permission using those accounts (makes the assumption they are evm) * Removes random property sessions from my initial implementation [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25708?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Shane <[email protected]> Co-authored-by: Alex <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 161352d - Browse repository at this point
Copy the full SHA 161352dView commit details
Commits on Jul 12, 2024
-
fix: add caip25 caveat mutator for removeAccounts (#25784)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25784?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for e72a44a - Browse repository at this point
Copy the full SHA e72a44aView commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c787255 - Browse repository at this point
Copy the full SHA c787255View commit details -
Sj/caip multichain getinternal (#25836)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Currently we don’t believe account validation is necessary since we will only ever take accounts that are sourced from the keyring. <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25836?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for e0c7961 - Browse repository at this point
Copy the full SHA e0c7961View commit details
Commits on Jul 16, 2024
-
remove methods from multichain API (#25841)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25841?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for dbf562a - Browse repository at this point
Copy the full SHA dbf562aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7921a31 - Browse repository at this point
Copy the full SHA 7921a31View commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8990171 - Browse repository at this point
Copy the full SHA 8990171View commit details -
Jl/caip multichain/lifecycle methods (#25842)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Add `wallet_getSession` * Add `wallet_revokeSession` * Emit `wallet_sessionChanged` on authorization change * Note this does not include specs. Seems we are not currently testing accountChanged and chainChanged events and should probably get those covered first [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25842?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#2821 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for c9c03ad - Browse repository at this point
Copy the full SHA c9c03adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5352f11 - Browse repository at this point
Copy the full SHA 5352f11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b765e6 - Browse repository at this point
Copy the full SHA 9b765e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c97f86 - Browse repository at this point
Copy the full SHA 1c97f86View commit details
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6c24aa8 - Browse repository at this point
Copy the full SHA 6c24aa8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1b1707 - Browse repository at this point
Copy the full SHA a1b1707View commit details -
Configuration menu - View commit details
-
Copy full SHA for 249c79d - Browse repository at this point
Copy the full SHA 249c79dView commit details -
Allow empty ScopesObject (#25956)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Loosen ScopesObject validation to allow empty objects [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25956?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for c8dad3d - Browse repository at this point
Copy the full SHA c8dad3dView commit details -
Jl/caip multichain/fix provider request scope object check (#25957)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Adds back scope check in provider_request [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25957?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for a2d6660 - Browse repository at this point
Copy the full SHA a2d6660View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 66c4785 - Browse repository at this point
Copy the full SHA 66c4785View commit details -
Configuration menu - View commit details
-
Copy full SHA for b40039b - Browse repository at this point
Copy the full SHA b40039bView commit details
Commits on Jul 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b78d54b - Browse repository at this point
Copy the full SHA b78d54bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ce1cd0 - Browse repository at this point
Copy the full SHA 1ce1cd0View commit details
Commits on Jul 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 90ce686 - Browse repository at this point
Copy the full SHA 90ce686View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dce004 - Browse repository at this point
Copy the full SHA 7dce004View commit details -
Configuration menu - View commit details
-
Copy full SHA for d094982 - Browse repository at this point
Copy the full SHA d094982View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01ae68d - Browse repository at this point
Copy the full SHA 01ae68dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65cbc45 - Browse repository at this point
Copy the full SHA 65cbc45View commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5c0d59b - Browse repository at this point
Copy the full SHA 5c0d59bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fea21ac - Browse repository at this point
Copy the full SHA fea21acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e0e372 - Browse repository at this point
Copy the full SHA 4e0e372View commit details
Commits on Jul 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1fe52e8 - Browse repository at this point
Copy the full SHA 1fe52e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a6b810 - Browse repository at this point
Copy the full SHA 4a6b810View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f721bf - Browse repository at this point
Copy the full SHA 0f721bfView commit details
Commits on Jul 26, 2024
-
Jl/caip multichain/permission adapter (#26054)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Fix `wallet` scope getting filtered out of persisted CAIP-25 permission * Update EIP-1193 eth_accounts handler to return accounts from the unique set of all CAIP-25 authorized eip155 accounts when BARAD_DUR flag is set * Update EIP-1193 eth_requestAccounts handler to also grant an CAIP-25 permission for the chain with the permitted accounts when BARAD_DUR flag is set * Remove eth_accounts and eth_requestAccounts handlers from Multichain API (fixed) * Replace PermissionController method handlers with Multichain adapted ones * Update wallet_getPermissions * Never return caip25:endowment permission * Replaces/Sets eth_accounts permission using caip25 permission if exists * Update wallet_requestPermissions * Never return caip25:endowment permission * Do not allow caip25:endowment permission to be passed from params to PermissionController.requestPermissions * Grant/Update an CAIP-25 permission for the chain with the permitted accounts when BARAD_DUR flag is set * Update wallet_revokePermissions * Do not allow caip25:endowment permission to be passed from params to PermissionController.revokePermissions * Removes all accounts from eip155 scopes if caip25 permission exists when BARAD_DUR flag is set [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26054?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Alex Donesky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bdf7d8c - Browse repository at this point
Copy the full SHA bdf7d8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8241e50 - Browse repository at this point
Copy the full SHA 8241e50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51eb1a5 - Browse repository at this point
Copy the full SHA 51eb1a5View commit details
Commits on Jul 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cf3a472 - Browse repository at this point
Copy the full SHA cf3a472View commit details -
Jl/caip multichain/scoped properties eip3085 (#25873)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * `provider_authorize` accepts `scopedProperties` field for `eip3085` * Ignores invalid/irrelevant `scopedProperties` * `provider_authorize` throws error if any `requiredScopes` that are not already supported and will not potentially be supported by `eip3085` in `scopedProperties` * `provider_authorize` ignores any `optionalScopes` that are not already supported and will not potentially be supported by `eip3085` in `scopedProperties` * `provider_authorize` upserts relevant valid `eip3085` `scopedProperties` and rolls back if the request fails * `provider_authorize` buckets required and optional scopes by supported, supportable, and unsupported * Refactors `provider_authorize` for easier testing * Refactors some existing logic into helpers, i.e. `assignAccountsToScopes` [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25873?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#2828 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Alex Donesky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d50ded1 - Browse repository at this point
Copy the full SHA d50ded1View commit details -
Jl/caip multichain/fix camel case naming (#26199)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26199?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 8fd734e - Browse repository at this point
Copy the full SHA 8fd734eView commit details
Commits on Jul 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0918a06 - Browse repository at this point
Copy the full SHA 0918a06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 225a220 - Browse repository at this point
Copy the full SHA 225a220View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8027888 - Browse repository at this point
Copy the full SHA 8027888View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a1c1b0 - Browse repository at this point
Copy the full SHA 0a1c1b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 604f716 - Browse repository at this point
Copy the full SHA 604f716View commit details
Commits on Jul 31, 2024
-
Jl/caip multichain/fix e2e (#26237)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Get CI passing again [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26237?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for b38272b - Browse repository at this point
Copy the full SHA b38272bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49d8d66 - Browse repository at this point
Copy the full SHA 49d8d66View commit details
Commits on Aug 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1d2d8a0 - Browse repository at this point
Copy the full SHA 1d2d8a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61f6fc3 - Browse repository at this point
Copy the full SHA 61f6fc3View commit details
Commits on Aug 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b8d9baa - Browse repository at this point
Copy the full SHA b8d9baaView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbd1a60 - Browse repository at this point
Copy the full SHA dbd1a60View commit details -
Jl/caip multichain/caip 25 permission origin (#26296)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Add `isMultichainOrigin` flag to the CAIP-25 permission * Unsure if this should have been added as a separate caveat or not though * Consider CAIP-25 permission inapplicable in the multichain flow if `isMultichainOrigin` is false for the existing authorization * Allow all previously implicit permissions in the EIP-1193 flow when there is a no CAIP-25 permission, or the CAIP-25 permission has `isMultichainOrigin` as false * Enforce the CAIP-25 permission in the EIP-1193 flow when the CAIP-25 permission has `isMultichainOrigin` true * Set `isMultichainOrigin` true when CAIP-25 permission is granted as part of the multichain flow via `provider_authorize` * Set `isMultichainOrigin` false when a CAIP-25 permission is granted (not updated) as part of `eth_requestAccounts` or `wallet_requestPermissions` in the EIP-1193 flow [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26296?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#2922 See: MetaMask/MetaMask-planning#2862 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: MetaMask Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b4192e - Browse repository at this point
Copy the full SHA 9b4192eView commit details
Commits on Aug 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for db99e33 - Browse repository at this point
Copy the full SHA db99e33View commit details
Commits on Aug 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9774d0e - Browse repository at this point
Copy the full SHA 9774d0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47f95db - Browse repository at this point
Copy the full SHA 47f95dbView commit details
Commits on Aug 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 18e331d - Browse repository at this point
Copy the full SHA 18e331dView commit details
Commits on Aug 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bedb6d8 - Browse repository at this point
Copy the full SHA bedb6d8View commit details
Commits on Aug 19, 2024
-
Added multichain api notifications (#25869)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Added multichain api notifications <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25869?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Jiexi Luan <[email protected]> Co-authored-by: Alex <[email protected]> Co-authored-by: MetaMask Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d05d3c - Browse repository at this point
Copy the full SHA 2d05d3cView commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d293acf - Browse repository at this point
Copy the full SHA d293acfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b3a37c - Browse repository at this point
Copy the full SHA 8b3a37cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3017965 - Browse repository at this point
Copy the full SHA 3017965View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9df3320 - Browse repository at this point
Copy the full SHA 9df3320View commit details
Commits on Aug 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d6d8f2d - Browse repository at this point
Copy the full SHA d6d8f2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07f83d5 - Browse repository at this point
Copy the full SHA 07f83d5View commit details
Commits on Aug 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 684f45e - Browse repository at this point
Copy the full SHA 684f45eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4887166 - Browse repository at this point
Copy the full SHA 4887166View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba828e6 - Browse repository at this point
Copy the full SHA ba828e6View commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2ba1522 - Browse repository at this point
Copy the full SHA 2ba1522View commit details
Commits on Aug 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1fda368 - Browse repository at this point
Copy the full SHA 1fda368View commit details -
Configuration menu - View commit details
-
Copy full SHA for 773e11c - Browse repository at this point
Copy the full SHA 773e11cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d46d3bb - Browse repository at this point
Copy the full SHA d46d3bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbf8e5 - Browse repository at this point
Copy the full SHA bbbf8e5View commit details
Commits on Aug 27, 2024
-
Merge branch 'develop' into caip-multichain
# Conflicts: # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for f323cb4 - Browse repository at this point
Copy the full SHA f323cb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b575fb4 - Browse repository at this point
Copy the full SHA b575fb4View commit details -
Merge remote-tracking branch 'origin/jl/caip-multichain/type-cleanups…
…' into caip-multichain
Configuration menu - View commit details
-
Copy full SHA for db362d9 - Browse repository at this point
Copy the full SHA db362d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bd882c - Browse repository at this point
Copy the full SHA 4bd882cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a71c617 - Browse repository at this point
Copy the full SHA a71c617View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcb3094 - Browse repository at this point
Copy the full SHA dcb3094View commit details -
Configuration menu - View commit details
-
Copy full SHA for d893751 - Browse repository at this point
Copy the full SHA d893751View commit details
Commits on Aug 28, 2024
-
Merge branch 'develop' into caip-multichain
# Conflicts: # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for f3692d9 - Browse repository at this point
Copy the full SHA f3692d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 958f864 - Browse repository at this point
Copy the full SHA 958f864View commit details -
Configuration menu - View commit details
-
Copy full SHA for a260e5e - Browse repository at this point
Copy the full SHA a260e5eView commit details -
Jl/caip multichain/misc cleanup (#26724)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Misc cleanup. Removing `KnownCaipNamespace` is still not possible because `@metamask/util` does not have a `Wallet` enum value [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26724?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#3050 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 9fb5fed - Browse repository at this point
Copy the full SHA 9fb5fedView commit details -
Jl/caip multichain/provider authorize metrics (#26699)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Add metrics to `provider_authorize` * Add jsdoc to `removeScope()` [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26699?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#3049 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for a9e92c5 - Browse repository at this point
Copy the full SHA a9e92c5View commit details
Commits on Aug 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9eef5fe - Browse repository at this point
Copy the full SHA 9eef5feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8baf1a5 - Browse repository at this point
Copy the full SHA 8baf1a5View commit details -
Jl/caip multichain/test cleanups (#26698)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Test cleanup chores [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26698?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#3046 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 26b4aa2 - Browse repository at this point
Copy the full SHA 26b4aa2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d6ccff - Browse repository at this point
Copy the full SHA 2d6ccffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 704e52e - Browse repository at this point
Copy the full SHA 704e52eView commit details
Commits on Aug 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3b16fbd - Browse repository at this point
Copy the full SHA 3b16fbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ddc677 - Browse repository at this point
Copy the full SHA 7ddc677View commit details -
Configuration menu - View commit details
-
Copy full SHA for f838a96 - Browse repository at this point
Copy the full SHA f838a96View commit details
Commits on Sep 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f9e30ff - Browse repository at this point
Copy the full SHA f9e30ffView commit details -
Jl/caip multichain/replace known caip namespace with metamask utils (#…
…26765) <!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Replaces our internal KnownCaipNamespaces enum with one that was added in `@metamask/utils` 9.2.0, but is patched into 8.5.1 on this branch [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26765?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#3050 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for aa92005 - Browse repository at this point
Copy the full SHA aa92005View commit details -
Jl/caip multichain/migrate permission eth accounts to caip25 (#26483)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26483?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Build with `BARAD_DUR=1 CHAIN_PERMISSIONS=1` 2. 3. ``` await window.ethereum.request({ "method": "wallet_getPermissions" }); // Should implicitly request the permittedChains endowment await window.ethereum.request({ "method": "wallet_requestPermissions", "params": [ { "eth_accounts": {}, } ] }); await window.ethereum.request({ "method": "wallet_revokePermissions", "params": [ { "eth_accounts": {}, "permittedChains": {} } ] }); await window.ethereum.request({ "method": "wallet_switchEthereumChain", "params": [ { "chainId": "0x1" } ] }); await window.ethereum.request({ "method": "eth_requestAccounts" }); await window.ethereum.request({ "method": "eth_accounts" }); ``` ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Alex Donesky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58106a5 - Browse repository at this point
Copy the full SHA 58106a5View commit details -
Sj/caip multichain api specs test (#26643)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** This PR adds a new command `yarn test:api-specs-multichain` that uses externally_connectable as a transport and runs a custom `MultichainAuthorizationConfirmation` rule. It also writes an html report to `html-report-multichain`. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26643?quickstart=1) ## **Related issues** Fixes: https://github.com/MetaMask/MetaMask-planning/issues/2834 ## **Manual testing steps** 1. `BARAD_DUR=1 yarn build:test` 2. `yarn test:api-specs-multichain` ## **Screenshots/Recordings** ![image](https://github.com/user-attachments/assets/8eb1267a-60aa-4ba2-9cfb-15f7c20c7e62) ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for e7a9d2d - Browse repository at this point
Copy the full SHA e7a9d2dView commit details -
Jl/caip multichain/namespaced methods (#26732)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Split methods into `eip155`, `wallet`, and `wallet:eip155` namespaces [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26732?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#3036 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 7331f50 - Browse repository at this point
Copy the full SHA 7331f50View commit details -
Remove prepopulated methods and notifications (#26877)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** As discussed with Alex, we don't actually need to prepopulate the CAIP-25 scopes granted from the EIP-1193 API with methods/notifications [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26877?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 41ea73b - Browse repository at this point
Copy the full SHA 41ea73bView commit details
Commits on Sep 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bea1e18 - Browse repository at this point
Copy the full SHA bea1e18View commit details -
Configuration menu - View commit details
-
Copy full SHA for bca508e - Browse repository at this point
Copy the full SHA bca508eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 191b717 - Browse repository at this point
Copy the full SHA 191b717View commit details -
Jl/mmp 3048/caip multichain error handling cleanup (#26825)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Error cleanup [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26825?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#3048 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 93ed08e - Browse repository at this point
Copy the full SHA 93ed08eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c048ff - Browse repository at this point
Copy the full SHA 5c048ffView commit details -
Fix provider_authorize missing hooks (#26926)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Whelp, my bad. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26926?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 995b386 - Browse repository at this point
Copy the full SHA 995b386View commit details
Commits on Sep 5, 2024
-
Jl/mmp 3037/caip multichain rename methods (#26928)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Rename `provider_authorize` -> `wallet_createSession` * Rename `provider_requests` -> `wallet_invokeMethod` * Format `eth_subscription` responses with `wallet_notify` [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26928?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#3037 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 577f337 - Browse repository at this point
Copy the full SHA 577f337View commit details -
Configuration menu - View commit details
-
Copy full SHA for e54be4b - Browse repository at this point
Copy the full SHA e54be4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 370dfd1 - Browse repository at this point
Copy the full SHA 370dfd1View commit details -
Jl/caip multichain/remove 5301 error (#26915)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** As discussed in the CASA meeting, we're using the 5301 error wrong. We wouldn't want to fire it in our implementation either way so just removing it now [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26915?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 70a2cdc - Browse repository at this point
Copy the full SHA 70a2cdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 781aeb8 - Browse repository at this point
Copy the full SHA 781aeb8View commit details
Commits on Sep 6, 2024
-
remove wallet_watchAsset from wallet:eip155 (#26954)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * remove wallet_watchAsset from wallet:eip155 * (which makes it a `eip155:x` scoped method) [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26954?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for dfacc49 - Browse repository at this point
Copy the full SHA dfacc49View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5370c7 - Browse repository at this point
Copy the full SHA c5370c7View commit details -
Jl/caip multichain/type cleanups (#26690)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** An effort to cleanup some lazy permission types and differentiate the potentially unflattened/malformed ScopeObjects from a CAIP-25 request and the internal flattened ScopeObjects that get persisted into the PermissionController state. I don't love the current Internal/External prefixing. Perhaps making the external type `unknown` and keeping the unprefixed as the internal type would be better. Thoughts? [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26690?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Alex Donesky <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2dfdbc3 - Browse repository at this point
Copy the full SHA 2dfdbc3View commit details
Commits on Sep 11, 2024
-
fix: added initial provider authorize error rule (#26828)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/26828?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. `CHAIN_PERMISSIONS=1 BARAD_DUR=1 yarn build:test` 2. `yarn test:api-specs-multichain` ## **Screenshots/Recordings** <img width="1609" alt="image" src="https://github.com/user-attachments/assets/7db111ad-e194-4799-83a3-783d5e943e65"> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: MetaMask Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 615da54 - Browse repository at this point
Copy the full SHA 615da54View commit details
Commits on Sep 17, 2024
-
Merge branch 'develop' into caip-multichain
# Conflicts: # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for 76cd526 - Browse repository at this point
Copy the full SHA 76cd526View commit details -
Jl/caip multichain/fix wallet namespace validation and invoke (#27223)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Fix `wallet:eip155` not being considered a valid scopeString * Fix EIP-1193 permission adapter not checking `wallet` and `wallet:eip155` scopes for methods [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27223?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for d24fc2a - Browse repository at this point
Copy the full SHA d24fc2aView commit details
Commits on Sep 24, 2024
-
Merge branch 'develop' into caip-multichain
# Conflicts: # .gitignore # app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.js # app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.test.js # app/scripts/lib/rpc-method-middleware/handlers/eth-accounts.js # app/scripts/lib/rpc-method-middleware/handlers/ethereum-chain-utils.js # app/scripts/lib/rpc-method-middleware/handlers/switch-ethereum-chain.test.js # app/scripts/metamask-controller.js # app/scripts/migrations/127.test.ts # app/scripts/migrations/127.ts # package.json # test/e2e/fixture-builder.js # yarn.lock
Configuration menu - View commit details
-
Copy full SHA for dec03c3 - Browse repository at this point
Copy the full SHA dec03c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for eb5805d - Browse repository at this point
Copy the full SHA eb5805dView commit details
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 450ec01 - Browse repository at this point
Copy the full SHA 450ec01View commit details -
Replace
ScopeObject.scopes
withScopeObject.references
(#27403)<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Replaces `scopes` with `references` on `ScopeObject` [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27403?quickstart=1) ## **Related issues** Fixes: MetaMask/MetaMask-planning#3301 ## **Manual testing steps** ``` const EXTENSION_ID = 'nonfpcflonapegmnfeafnddgdniflbnk'; const extensionPort = chrome.runtime.connect(EXTENSION_ID) extensionPort.onMessage.addListener((msg) => console.log('extensionPort on message', msg)) extensionPort.postMessage({ type: 'caip-x', data: { "jsonrpc": "2.0", method: 'wallet_createSession', params: { requiredScopes: { 'eip155': { references: ['1', '59144'], methods: [ 'eth_sendTransaction', 'eth_getBalance', 'eth_subscribe' ], notifications: ['eth_subscription'], } }, optionalScopes: { }, sessionProperties: { 'caip154-mandatory': 'true', }, }, } }) ``` ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for fec21c4 - Browse repository at this point
Copy the full SHA fec21c4View commit details -
Caip multichain caip 27 api spec tests (#27229)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** This adds api spec tests that utilize `externally_connectable` as well as `caip-27` requests to wrap the "legacy" api-spec tests. It refactors a lot into `transform.ts` to help reduce duplication since we want to test it the same way as our current api-spec tests. <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27229?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. `CHAIN_PERMISSIONS=1 BARAD_DUR=1 yarn build:test` 2. `yarn test:api-spec-multichain` 3. see multiple html reporters pop up with all passing. ## **Screenshots/Recordings** <img width="1309" alt="image" src="https://github.com/user-attachments/assets/035a1725-b215-4d7c-982c-9867814113b4"> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: MetaMask Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dd02132 - Browse repository at this point
Copy the full SHA dd02132View commit details
Commits on Sep 26, 2024
-
Sj/caip multichain api spec tests ci (#27317)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27317?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: MetaMask Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d1cb468 - Browse repository at this point
Copy the full SHA d1cb468View commit details -
Merge branch 'develop' into caip-multichain
# Conflicts: # app/scripts/controllers/permissions/background-api.js # app/scripts/controllers/permissions/background-api.test.js # app/scripts/controllers/permissions/selectors.js # app/scripts/controllers/permissions/selectors.test.js # app/scripts/controllers/permissions/specifications.js # app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.js # app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.test.js # app/scripts/lib/rpc-method-middleware/handlers/ethereum-chain-utils.js # app/scripts/metamask-controller.js # ui/components/app/permission-page-container/permission-page-container.component.js # ui/selectors/permissions.js
Configuration menu - View commit details
-
Copy full SHA for f67f115 - Browse repository at this point
Copy the full SHA f67f115View commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f6412c5 - Browse repository at this point
Copy the full SHA f6412c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33ff65c - Browse repository at this point
Copy the full SHA 33ff65cView commit details -
Configuration menu - View commit details
-
Copy full SHA for da73c69 - Browse repository at this point
Copy the full SHA da73c69View commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ef39570 - Browse repository at this point
Copy the full SHA ef39570View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c1a75b - Browse repository at this point
Copy the full SHA 4c1a75bView commit details -
Configuration menu - View commit details
-
Copy full SHA for baffa1c - Browse repository at this point
Copy the full SHA baffa1cView commit details -
Ignore sessionId. Remove hardcoded sessionId (#27510)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27510?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for d165506 - Browse repository at this point
Copy the full SHA d165506View commit details
Commits on Oct 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 15f622a - Browse repository at this point
Copy the full SHA 15f622aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6ca49a - Browse repository at this point
Copy the full SHA b6ca49aView commit details
Commits on Oct 2, 2024
-
Do not assert unsupported required scopes (#27520)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Providing unsupportable scopes in the requiredScopes param no longer causes the CAIP-25 request to fail immediately [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27520?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 68db523 - Browse repository at this point
Copy the full SHA 68db523View commit details
Commits on Oct 3, 2024
-
Jl/caip multichain/fix connection flow for permitted chains (#27471)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Connects the new AmonHenV2 Connection Flow to CAIP Multichain: * Preserves and syncs eth accounts across eip155 scopes when permitted chains are changed * Grants full methods and notifications to scopeObject when a new chain is permitted * `ConnectPage` Approval now uses the caveat values from eth_accounts and endowment:permitted-chains as the default selected account and chains * `wallet_createSession` passes a list of supported eth accounts and eth chainIds based on the supported scopes to be used as the preselected/default values in the ConnectPage Approval * `wallet_createSession` removes supported eip155 scopes that were not approved and adds ones that were not in the original request but were approved [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27471?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** Replace the account addresses below with your own addresses to test the preselected accounts. This request should preselect mainnet and sepolia (which is different from the default which preselects all non testnet networks) ``` const EXTENSION_ID = 'nonfpcflonapegmnfeafnddgdniflbnk'; const extensionPort = chrome.runtime.connect(EXTENSION_ID) extensionPort.onMessage.addListener((msg) => console.log('extensionPort on message', msg)) extensionPort.postMessage({ type: 'caip-x', data: { "jsonrpc": "2.0", method: 'wallet_createSession', params: { requiredScopes: { 'eip155': { references: ['1', '11155111'], methods: [ 'eth_sendTransaction', 'eth_getBalance', 'eth_subscribe' ], notifications: ['eth_subscription'], accounts: ['eip155:1:0x5bA08AF1bc30f17272178bDcACA1C74e94955cF4', 'eip155:1:0xdeadbeef', 'eip155:1:0x398fC6Ec25889e7373310dC4c3491b18575d5d6B'] } }, optionalScopes: { }, sessionProperties: { 'caip154-mandatory': 'true', }, }, } }) ``` replace this with your own address to test preselected accounts. ``` "method": "wallet_requestPermissions", "params": [ { eth_accounts: { caveats: [ { type: 'restrictReturnedAccounts', value: ['0x5bA08AF1bc30f17272178bDcACA1C74e94955cF4'] } ] } } ], }); ``` This one works for preselecting chains ``` "method": "wallet_requestPermissions", "params": [ { 'endowment:permitted-chains': { caveats: [ { type: 'restrictNetworkSwitching', value: ['0x1'] } ] } } ], }); ``` You can also combine the params of these two wallet_requestPermissions examples One for eth_requestAccounts ``` await window.ethereum.request({ "method": "eth_requestAccounts", "params": [], }); ``` And of course you can connect via the wallet UI directly. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 4126dd3 - Browse repository at this point
Copy the full SHA 4126dd3View commit details -
Handle getCaveat missing permission throws properly (#27549)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27549?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 1101102 - Browse repository at this point
Copy the full SHA 1101102View commit details
Commits on Oct 4, 2024
-
CAIP Multichain: deep clone flattened scopeObjects (#27404)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Fixes bug in `wallet_createSessions` where the `accounts` permission of ScopeObjects formed from being flattened via `scopes` array had incorrect CAIP-10 account references in `accounts` due to the flattened ScopeObjects all sharing the same ScopeObject reference [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27404?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for a92853a - Browse repository at this point
Copy the full SHA a92853aView commit details -
Merge branch 'develop' into caip-multichain
# Conflicts: # app/scripts/metamask-controller.js # app/scripts/migrations/128.test.ts # app/scripts/migrations/128.ts # app/scripts/migrations/index.js
Configuration menu - View commit details
-
Copy full SHA for 9ffa4b5 - Browse repository at this point
Copy the full SHA 9ffa4b5View commit details
Commits on Oct 7, 2024
-
fix: bump api-specs on caip-multichain feature branch (#27585)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27585?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: MetaMask Bot <[email protected]> Co-authored-by: jiexi <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a392615 - Browse repository at this point
Copy the full SHA a392615View commit details -
Configuration menu - View commit details
-
Copy full SHA for a213b7e - Browse repository at this point
Copy the full SHA a213b7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91eef62 - Browse repository at this point
Copy the full SHA 91eef62View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd91fb0 - Browse repository at this point
Copy the full SHA bd91fb0View commit details
Commits on Oct 8, 2024
-
Get session revoke session should not throw (#27677)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Update `wallet_getSession` to return empty object for sessionScopes when no permission rather than throwing * Update `wallet_revokeSession` to return true when no permission rather than throwing [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27677?quickstart=1) ## **Related issues** Fixes: MetaMask/MetaMask-planning#3455 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 8bcc777 - Browse repository at this point
Copy the full SHA 8bcc777View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6242ee - Browse repository at this point
Copy the full SHA c6242eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2852118 - Browse repository at this point
Copy the full SHA 2852118View commit details
Commits on Oct 9, 2024
-
Merge branch 'develop' into caip-multichain
# Conflicts: # app/scripts/migrations/130.test.ts # app/scripts/migrations/130.ts
Configuration menu - View commit details
-
Copy full SHA for db8c573 - Browse repository at this point
Copy the full SHA db8c573View commit details -
fix: fix api spec multichain bump issues (#27669)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Remove unused error codes and skip wallet_getSession and revokeSession for now. bump schema-utils-js with a couple bug fixes. Fixed parsing ordering. <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27669?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 2456465 - Browse repository at this point
Copy the full SHA 2456465View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48d19e2 - Browse repository at this point
Copy the full SHA 48d19e2View commit details -
fix: get wallet_getSession/revokeSession passing (#27741)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** uncomment `revokeSession` and `getSession` and get them passing <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27741?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Jiexi Luan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a19cf08 - Browse repository at this point
Copy the full SHA a19cf08View commit details -
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27745?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 6c3bc39 - Browse repository at this point
Copy the full SHA 6c3bc39View commit details
Commits on Oct 10, 2024
-
Merge branch 'develop' into caip-multichain
# Conflicts: # app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.js # app/scripts/lib/rpc-method-middleware/handlers/add-ethereum-chain.test.js # app/scripts/lib/rpc-method-middleware/handlers/ethereum-chain-utils.js # app/scripts/lib/rpc-method-middleware/handlers/switch-ethereum-chain.js # app/scripts/lib/rpc-method-middleware/handlers/switch-ethereum-chain.test.js # app/scripts/metamask-controller.js # package.json # test/e2e/api-specs/ConfirmationRejectionRule.ts # yarn.lock
Configuration menu - View commit details
-
Copy full SHA for 42a1c8b - Browse repository at this point
Copy the full SHA 42a1c8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c3b7e52 - Browse repository at this point
Copy the full SHA c3b7e52View commit details -
Move sign methods back into eip155:x (#27771)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27771?quickstart=1) ## **Related issues** See: MetaMask/MetaMask-planning#3483 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 7221bb6 - Browse repository at this point
Copy the full SHA 7221bb6View commit details -
Jl/caip multichain/fix wallet eip155 eth account assignment (#27769)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Sets and reads eth accounts from/to `wallet:eip155` scope [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27769?quickstart=1) ## **Related issues** Fixes: MetaMask/MetaMask-planning#3485 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 947dcd7 - Browse repository at this point
Copy the full SHA 947dcd7View commit details -
Multichain: Fix Subscriptions (#27682)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** On CAIP connection via externally_connectable: * subscription and middleware for permitted chains are now instantiated on connection open * i.e. if you restart your wallet, you should be able to make eth_subscribe calls for previously permitted dapps without having to call wallet_createSession first * subscription and middleware and are cleaned up on connection clos * i.e. you should not get any eth_subscriptions after refreshing the page and reconnecting * fix CAIP stream pipeline close handler not firing * whoops... * subscription and middleware are now also key'ed by tabId * i.e. subscriptions are isolated to the tabs they are started in [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27682?quickstart=1) ## **Related issues** Fixes: MetaMask/MetaMask-planning#3451 ## **Manual testing steps** ``` const EXTENSION_ID = 'nonfpcflonapegmnfeafnddgdniflbnk'; const extensionPort = chrome.runtime.connect(EXTENSION_ID) extensionPort.onMessage.addListener((msg) => { // format wallet_notify events nicely so that we can read them more easily later if (msg.data.method === 'wallet_notify') { console.log('wallet_notify:', { scope: msg.data.params.scope, method: msg.data.params.notification.method, subscription: msg.data.params.notification.params.subscription, number: msg.data.params.notification.params.result.number }) return; } console.log(msg.data) }) extensionPort.postMessage({ type: 'caip-x', data: { "jsonrpc": "2.0", method: 'wallet_createSession', params: { requiredScopes: { }, optionalScopes: { 'eip155:1': { methods: [ 'eth_sendTransaction', 'eth_subscribe' ], notifications: ['eth_subscription'], accounts: [] }, 'eip155:11155111': { methods: [ 'eth_sendTransaction', 'eth_subscribe' ], notifications: ['eth_subscription'], accounts: ['eip155:11155111:0x5bA08AF1bc30f17272178bDcACA1C74e94955cF4', 'eip155:11155111:0xEe166a3eec4796DeC6A1D314e7485a52bBe68e4d'] }, 'eip155:59141': { methods: [ 'eth_sendTransaction', ], notifications: [], accounts: [] }, }, }, } }) extensionPort.postMessage({ type: 'caip-x', data: { "jsonrpc": "2.0", method: 'wallet_invokeMethod', params: { scope: 'eip155:11155111', request: { "method": "eth_subscribe", "params": [ "newHeads" ], } } } }) ``` ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Shane Jonas <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0f9ba64 - Browse repository at this point
Copy the full SHA 0f9ba64View commit details -
Assign eth accounts to wallets (#27777)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27777?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 14de6d2 - Browse repository at this point
Copy the full SHA 14de6d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ec84a - Browse repository at this point
Copy the full SHA 50ec84aView commit details
Commits on Oct 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2e06555 - Browse repository at this point
Copy the full SHA 2e06555View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4e0bb2 - Browse repository at this point
Copy the full SHA f4e0bb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 200a1ba - Browse repository at this point
Copy the full SHA 200a1baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f8014e - Browse repository at this point
Copy the full SHA 4f8014eView commit details
Commits on Oct 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8f5c024 - Browse repository at this point
Copy the full SHA 8f5c024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 146f093 - Browse repository at this point
Copy the full SHA 146f093View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33a559f - Browse repository at this point
Copy the full SHA 33a559fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4b2600 - Browse repository at this point
Copy the full SHA a4b2600View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26dc532 - Browse repository at this point
Copy the full SHA 26dc532View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ca1867 - Browse repository at this point
Copy the full SHA 7ca1867View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e5793 - Browse repository at this point
Copy the full SHA e4e5793View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28ba445 - Browse repository at this point
Copy the full SHA 28ba445View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd52a18 - Browse repository at this point
Copy the full SHA cd52a18View commit details -
Multichain: Fix snaps connection (#27803)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** * Exclude permittedChains in eth_requestAccounts and wallet_requestPermissions if origin is snapId * Allow all subjectTypes to create endowment:caip25 permissions (this is the same as eth_accounts now, i.e. not limited to certain subject types) * Set eth accounts on upserted empty optional `wallet` and `wallet:eip155` scopes [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27803?quickstart=1) ## **Related issues** Fixes: MetaMask/MetaMask-planning#3492 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for cd1861d - Browse repository at this point
Copy the full SHA cd1861dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f66a26b - Browse repository at this point
Copy the full SHA f66a26bView commit details -
upsert empty wallet:eip155 on add (#27845)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27845?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 10fb361 - Browse repository at this point
Copy the full SHA 10fb361View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccb56c5 - Browse repository at this point
Copy the full SHA ccb56c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6adb2e4 - Browse repository at this point
Copy the full SHA 6adb2e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf0f1f8 - Browse repository at this point
Copy the full SHA bf0f1f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 521b278 - Browse repository at this point
Copy the full SHA 521b278View commit details -
Configuration menu - View commit details
-
Copy full SHA for 884c830 - Browse repository at this point
Copy the full SHA 884c830View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70ce992 - Browse repository at this point
Copy the full SHA 70ce992View commit details -
Configuration menu - View commit details
-
Copy full SHA for df11376 - Browse repository at this point
Copy the full SHA df11376View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa5ed57 - Browse repository at this point
Copy the full SHA aa5ed57View commit details
Commits on Oct 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aa03836 - Browse repository at this point
Copy the full SHA aa03836View commit details -
Update app/scripts/lib/rpc-method-middleware/handlers/wallet-createSe…
…ssion/handler.js
Configuration menu - View commit details
-
Copy full SHA for ed4c253 - Browse repository at this point
Copy the full SHA ed4c253View commit details
Commits on Oct 16, 2024
-
Merge branch 'caip25-permission-migration' into jl/caip-multichain-mi…
…grate-core # Conflicts: # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for 4e1df34 - Browse repository at this point
Copy the full SHA 4e1df34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1be3e41 - Browse repository at this point
Copy the full SHA 1be3e41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 093e5a4 - Browse repository at this point
Copy the full SHA 093e5a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0623f5 - Browse repository at this point
Copy the full SHA e0623f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 245c47e - Browse repository at this point
Copy the full SHA 245c47eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73dd95a - Browse repository at this point
Copy the full SHA 73dd95aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea0aba4 - Browse repository at this point
Copy the full SHA ea0aba4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 542f8d5 - Browse repository at this point
Copy the full SHA 542f8d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5e1a5 - Browse repository at this point
Copy the full SHA ae5e1a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db8a0d - Browse repository at this point
Copy the full SHA 4db8a0dView commit details -
Revert "Remove selectors intended for multichain API"
This reverts commit 902bd5a.
Configuration menu - View commit details
-
Copy full SHA for 85c9fb0 - Browse repository at this point
Copy the full SHA 85c9fb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45b5269 - Browse repository at this point
Copy the full SHA 45b5269View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbc90fa - Browse repository at this point
Copy the full SHA bbc90faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a6faca - Browse repository at this point
Copy the full SHA 0a6facaView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5907f5 - Browse repository at this point
Copy the full SHA a5907f5View commit details -
fix: add method middleware maker and use multichain handlers (#27882)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27882?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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. --------- Co-authored-by: Jiexi Luan <[email protected]> Co-authored-by: MetaMask Bot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1efe6e9 - Browse repository at this point
Copy the full SHA 1efe6e9View commit details
Commits on Oct 17, 2024
-
Merge branch 'caip25-permission-migration' into jl/caip-multichain-mi…
…grate-core # Conflicts: # app/scripts/lib/rpc-method-middleware/createUnsupportedMethodMiddleware.ts # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for 6ff8102 - Browse repository at this point
Copy the full SHA 6ff8102View commit details -
Configuration menu - View commit details
-
Copy full SHA for aca50f8 - Browse repository at this point
Copy the full SHA aca50f8View commit details -
fix: remove html-report-caip27 (#27940)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27940?quickstart=1) ## **Related issues** Fixes: #27782 (comment) ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for f53b91e - Browse repository at this point
Copy the full SHA f53b91eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33f3a0c - Browse repository at this point
Copy the full SHA 33f3a0cView commit details -
Merge remote-tracking branch 'origin/jl/caip-multichain-migrate-core'…
… into jl/caip-multichain-migrate-core
Configuration menu - View commit details
-
Copy full SHA for 21701e7 - Browse repository at this point
Copy the full SHA 21701e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47a08e3 - Browse repository at this point
Copy the full SHA 47a08e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a54e2 - Browse repository at this point
Copy the full SHA a0a54e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3b68be - Browse repository at this point
Copy the full SHA f3b68beView commit details -
Merge remote-tracking branch 'origin/jl/caip-multichain-migrate-core'…
… into jl/caip-multichain-migrate-core
Configuration menu - View commit details
-
Copy full SHA for a75a9fa - Browse repository at this point
Copy the full SHA a75a9faView commit details -
Merge branch 'caip25-permission-migration' into jl/caip-multichain-mi…
…grate-core # Conflicts: # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for 3cd8e7d - Browse repository at this point
Copy the full SHA 3cd8e7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for db6c055 - Browse repository at this point
Copy the full SHA db6c055View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b7290 - Browse repository at this point
Copy the full SHA e5b7290View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3d76eb - Browse repository at this point
Copy the full SHA d3d76ebView commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 61becd8 - Browse repository at this point
Copy the full SHA 61becd8View commit details -
Merge branch 'caip25-permission-migration' into jl/caip-multichain-mi…
…grate-core # Conflicts: # app/scripts/lib/rpc-method-middleware/createUnsupportedMethodMiddleware.ts # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for 7a68e3c - Browse repository at this point
Copy the full SHA 7a68e3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52cad8e - Browse repository at this point
Copy the full SHA 52cad8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cc9915 - Browse repository at this point
Copy the full SHA 4cc9915View commit details -
Merge remote-tracking branch 'origin/jl/caip-multichain-migrate-core'…
… into jl/caip-multichain-migrate-core
Configuration menu - View commit details
-
Copy full SHA for 5fae714 - Browse repository at this point
Copy the full SHA 5fae714View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83f737c - Browse repository at this point
Copy the full SHA 83f737cView commit details
Commits on Oct 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 37f23fc - Browse repository at this point
Copy the full SHA 37f23fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3132108 - Browse repository at this point
Copy the full SHA 3132108View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f3907 - Browse repository at this point
Copy the full SHA 13f3907View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcddb19 - Browse repository at this point
Copy the full SHA bcddb19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b0db4d - Browse repository at this point
Copy the full SHA 5b0db4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2c52f2 - Browse repository at this point
Copy the full SHA b2c52f2View commit details -
Jl/caip mutlichain migrate core convert create session ts (#28020)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Convert wallet_createSession to ts [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28020?quickstart=1) ## **Related issues** Fixes: ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). 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.
Configuration menu - View commit details
-
Copy full SHA for 049493e - Browse repository at this point
Copy the full SHA 049493eView commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 28bdb3c - Browse repository at this point
Copy the full SHA 28bdb3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b4c431 - Browse repository at this point
Copy the full SHA 0b4c431View commit details -
Merge branch 'caip25-permission-migration' into jl/caip-multichain-mi…
…grate-core # Conflicts: # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for 2d20ca8 - Browse repository at this point
Copy the full SHA 2d20ca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1d754e - Browse repository at this point
Copy the full SHA d1d754eView commit details
Commits on Oct 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4945ab1 - Browse repository at this point
Copy the full SHA 4945ab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4b4c6b - Browse repository at this point
Copy the full SHA e4b4c6bView commit details -
Merge branch 'caip25-permission-migration' into jl/caip-multichain-mi…
…grate-core # Conflicts: # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json
Configuration menu - View commit details
-
Copy full SHA for 7f9135f - Browse repository at this point
Copy the full SHA 7f9135fView commit details
Commits on Oct 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99e35c6 - Browse repository at this point
Copy the full SHA 99e35c6View commit details
Commits on Nov 21, 2024
-
Merge branch 'caip25-permission-migration' into jl/caip-multichain-mi…
…grate-core # Conflicts: # app/scripts/metamask-controller.js # lavamoat/browserify/beta/policy.json # lavamoat/browserify/flask/policy.json # lavamoat/browserify/main/policy.json # lavamoat/browserify/mmi/policy.json # package.json # yarn.lock
Configuration menu - View commit details
-
Copy full SHA for 3b4210d - Browse repository at this point
Copy the full SHA 3b4210dView commit details -
Configuration menu - View commit details
-
Copy full SHA for af9339c - Browse repository at this point
Copy the full SHA af9339cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 096d6f8 - Browse repository at this point
Copy the full SHA 096d6f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c3788a - Browse repository at this point
Copy the full SHA 2c3788aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 927e0c6 - Browse repository at this point
Copy the full SHA 927e0c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63695ef - Browse repository at this point
Copy the full SHA 63695efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 57630e6 - Browse repository at this point
Copy the full SHA 57630e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1d338a - Browse repository at this point
Copy the full SHA a1d338aView commit details
Commits on Nov 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 036110b - Browse repository at this point
Copy the full SHA 036110bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bbc3c6 - Browse repository at this point
Copy the full SHA 1bbc3c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a24b11 - Browse repository at this point
Copy the full SHA 0a24b11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73d1db7 - Browse repository at this point
Copy the full SHA 73d1db7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 988891c - Browse repository at this point
Copy the full SHA 988891cView commit details -
Configuration menu - View commit details
-
Copy full SHA for efa1804 - Browse repository at this point
Copy the full SHA efa1804View commit details -
Configuration menu - View commit details
-
Copy full SHA for 426f481 - Browse repository at this point
Copy the full SHA 426f481View commit details -
Configuration menu - View commit details
-
Copy full SHA for eae656b - Browse repository at this point
Copy the full SHA eae656bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06fcee2 - Browse repository at this point
Copy the full SHA 06fcee2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1dbda7 - Browse repository at this point
Copy the full SHA f1dbda7View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc848dd - Browse repository at this point
Copy the full SHA dc848ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b917ec - Browse repository at this point
Copy the full SHA 7b917ecView commit details