Skip to content

fix: detectTokens on tx confirmed #5859

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

Merged
merged 10 commits into from
May 26, 2025
Merged

Conversation

sahar-fehri
Copy link
Contributor

@sahar-fehri sahar-fehri commented May 23, 2025

Explanation

This PR

  • Adds subscription to TransactionController:transactionConfirmed event in tokenDetectionController to attempt to detect new tokens and update tokenList as soon as a transaction is confirmed as opposed to waiting for 3mins before updating state.

  • Adds account address along with accountId to payload when publishing AccountsController:accountRemoved event

References

Changelog

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed, highlighting breaking changes as necessary
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@sahar-fehri
Copy link
Contributor Author

@metamaskbot publish-preview

Copy link
Contributor

Preview builds have been published. See these instructions for more information about preview builds.

Expand for full list of packages and versions.
{
  "@metamask-previews/accounts-controller": "29.0.0-preview-d0685d1",
  "@metamask-previews/address-book-controller": "6.0.3-preview-d0685d1",
  "@metamask-previews/announcement-controller": "7.0.3-preview-d0685d1",
  "@metamask-previews/app-metadata-controller": "1.0.0-preview-d0685d1",
  "@metamask-previews/approval-controller": "7.1.3-preview-d0685d1",
  "@metamask-previews/assets-controllers": "64.0.0-preview-d0685d1",
  "@metamask-previews/base-controller": "8.0.1-preview-d0685d1",
  "@metamask-previews/bridge-controller": "27.0.0-preview-d0685d1",
  "@metamask-previews/bridge-status-controller": "24.0.0-preview-d0685d1",
  "@metamask-previews/build-utils": "3.0.3-preview-d0685d1",
  "@metamask-previews/chain-agnostic-permission": "0.7.0-preview-d0685d1",
  "@metamask-previews/composable-controller": "11.0.0-preview-d0685d1",
  "@metamask-previews/controller-utils": "11.9.0-preview-d0685d1",
  "@metamask-previews/delegation-controller": "0.3.0-preview-d0685d1",
  "@metamask-previews/earn-controller": "0.14.0-preview-d0685d1",
  "@metamask-previews/eip1193-permission-middleware": "0.1.0-preview-d0685d1",
  "@metamask-previews/ens-controller": "16.0.0-preview-d0685d1",
  "@metamask-previews/error-reporting-service": "0.0.0-preview-d0685d1",
  "@metamask-previews/eth-json-rpc-provider": "4.1.8-preview-d0685d1",
  "@metamask-previews/gas-fee-controller": "23.0.0-preview-d0685d1",
  "@metamask-previews/json-rpc-engine": "10.0.3-preview-d0685d1",
  "@metamask-previews/json-rpc-middleware-stream": "8.0.7-preview-d0685d1",
  "@metamask-previews/keyring-controller": "22.0.0-preview-d0685d1",
  "@metamask-previews/logging-controller": "6.0.4-preview-d0685d1",
  "@metamask-previews/message-manager": "12.0.1-preview-d0685d1",
  "@metamask-previews/multichain": "4.1.0-preview-d0685d1",
  "@metamask-previews/multichain-api-middleware": "0.3.0-preview-d0685d1",
  "@metamask-previews/multichain-network-controller": "0.7.0-preview-d0685d1",
  "@metamask-previews/multichain-transactions-controller": "1.0.0-preview-d0685d1",
  "@metamask-previews/name-controller": "8.0.3-preview-d0685d1",
  "@metamask-previews/network-controller": "23.5.0-preview-d0685d1",
  "@metamask-previews/notification-services-controller": "8.0.0-preview-d0685d1",
  "@metamask-previews/permission-controller": "11.0.6-preview-d0685d1",
  "@metamask-previews/permission-log-controller": "3.0.3-preview-d0685d1",
  "@metamask-previews/phishing-controller": "12.5.0-preview-d0685d1",
  "@metamask-previews/polling-controller": "13.0.0-preview-d0685d1",
  "@metamask-previews/preferences-controller": "18.0.0-preview-d0685d1",
  "@metamask-previews/profile-sync-controller": "15.0.0-preview-d0685d1",
  "@metamask-previews/queued-request-controller": "10.0.0-preview-d0685d1",
  "@metamask-previews/rate-limit-controller": "6.0.3-preview-d0685d1",
  "@metamask-previews/remote-feature-flag-controller": "1.6.0-preview-d0685d1",
  "@metamask-previews/sample-controllers": "0.1.0-preview-d0685d1",
  "@metamask-previews/selected-network-controller": "22.1.0-preview-d0685d1",
  "@metamask-previews/signature-controller": "29.0.0-preview-d0685d1",
  "@metamask-previews/token-search-discovery-controller": "3.1.0-preview-d0685d1",
  "@metamask-previews/transaction-controller": "56.2.0-preview-d0685d1",
  "@metamask-previews/user-operation-controller": "35.0.0-preview-d0685d1"
}

@sahar-fehri
Copy link
Contributor Author

@metamaskbot publish-preview

@sahar-fehri sahar-fehri marked this pull request as ready for review May 26, 2025 10:11
@sahar-fehri sahar-fehri requested review from a team as code owners May 26, 2025 10:11
Copy link
Contributor

Preview builds have been published. See these instructions for more information about preview builds.

Expand for full list of packages and versions.
{
  "@metamask-previews/accounts-controller": "29.0.0-preview-ef2405f",
  "@metamask-previews/address-book-controller": "6.0.3-preview-ef2405f",
  "@metamask-previews/announcement-controller": "7.0.3-preview-ef2405f",
  "@metamask-previews/app-metadata-controller": "1.0.0-preview-ef2405f",
  "@metamask-previews/approval-controller": "7.1.3-preview-ef2405f",
  "@metamask-previews/assets-controllers": "64.0.0-preview-ef2405f",
  "@metamask-previews/base-controller": "8.0.1-preview-ef2405f",
  "@metamask-previews/bridge-controller": "27.0.0-preview-ef2405f",
  "@metamask-previews/bridge-status-controller": "24.0.0-preview-ef2405f",
  "@metamask-previews/build-utils": "3.0.3-preview-ef2405f",
  "@metamask-previews/chain-agnostic-permission": "0.7.0-preview-ef2405f",
  "@metamask-previews/composable-controller": "11.0.0-preview-ef2405f",
  "@metamask-previews/controller-utils": "11.9.0-preview-ef2405f",
  "@metamask-previews/delegation-controller": "0.3.0-preview-ef2405f",
  "@metamask-previews/earn-controller": "0.14.0-preview-ef2405f",
  "@metamask-previews/eip1193-permission-middleware": "0.1.0-preview-ef2405f",
  "@metamask-previews/ens-controller": "16.0.0-preview-ef2405f",
  "@metamask-previews/error-reporting-service": "0.0.0-preview-ef2405f",
  "@metamask-previews/eth-json-rpc-provider": "4.1.8-preview-ef2405f",
  "@metamask-previews/gas-fee-controller": "23.0.0-preview-ef2405f",
  "@metamask-previews/json-rpc-engine": "10.0.3-preview-ef2405f",
  "@metamask-previews/json-rpc-middleware-stream": "8.0.7-preview-ef2405f",
  "@metamask-previews/keyring-controller": "22.0.0-preview-ef2405f",
  "@metamask-previews/logging-controller": "6.0.4-preview-ef2405f",
  "@metamask-previews/message-manager": "12.0.1-preview-ef2405f",
  "@metamask-previews/multichain": "4.1.0-preview-ef2405f",
  "@metamask-previews/multichain-api-middleware": "0.3.0-preview-ef2405f",
  "@metamask-previews/multichain-network-controller": "0.7.0-preview-ef2405f",
  "@metamask-previews/multichain-transactions-controller": "1.0.0-preview-ef2405f",
  "@metamask-previews/name-controller": "8.0.3-preview-ef2405f",
  "@metamask-previews/network-controller": "23.5.0-preview-ef2405f",
  "@metamask-previews/notification-services-controller": "8.0.0-preview-ef2405f",
  "@metamask-previews/permission-controller": "11.0.6-preview-ef2405f",
  "@metamask-previews/permission-log-controller": "3.0.3-preview-ef2405f",
  "@metamask-previews/phishing-controller": "12.5.0-preview-ef2405f",
  "@metamask-previews/polling-controller": "13.0.0-preview-ef2405f",
  "@metamask-previews/preferences-controller": "18.0.0-preview-ef2405f",
  "@metamask-previews/profile-sync-controller": "15.0.0-preview-ef2405f",
  "@metamask-previews/queued-request-controller": "10.0.0-preview-ef2405f",
  "@metamask-previews/rate-limit-controller": "6.0.3-preview-ef2405f",
  "@metamask-previews/remote-feature-flag-controller": "1.6.0-preview-ef2405f",
  "@metamask-previews/sample-controllers": "0.1.0-preview-ef2405f",
  "@metamask-previews/selected-network-controller": "22.1.0-preview-ef2405f",
  "@metamask-previews/signature-controller": "29.0.0-preview-ef2405f",
  "@metamask-previews/token-search-discovery-controller": "3.1.0-preview-ef2405f",
  "@metamask-previews/transaction-controller": "56.2.0-preview-ef2405f",
  "@metamask-previews/user-operation-controller": "35.0.0-preview-ef2405f"
}

@sahar-fehri sahar-fehri force-pushed the fix/detect-tokens-on-tx-confirmed branch from ef2405f to fae4bd9 Compare May 26, 2025 12:40
@sahar-fehri
Copy link
Contributor Author

@metamaskbot publish-preview

Copy link
Contributor

Preview builds have been published. See these instructions for more information about preview builds.

Expand for full list of packages and versions.
{
  "@metamask-previews/accounts-controller": "29.0.0-preview-4809837c",
  "@metamask-previews/address-book-controller": "6.0.3-preview-4809837c",
  "@metamask-previews/announcement-controller": "7.0.3-preview-4809837c",
  "@metamask-previews/app-metadata-controller": "1.0.0-preview-4809837c",
  "@metamask-previews/approval-controller": "7.1.3-preview-4809837c",
  "@metamask-previews/assets-controllers": "64.0.0-preview-4809837c",
  "@metamask-previews/base-controller": "8.0.1-preview-4809837c",
  "@metamask-previews/bridge-controller": "27.0.0-preview-4809837c",
  "@metamask-previews/bridge-status-controller": "24.0.0-preview-4809837c",
  "@metamask-previews/build-utils": "3.0.3-preview-4809837c",
  "@metamask-previews/chain-agnostic-permission": "0.7.0-preview-4809837c",
  "@metamask-previews/composable-controller": "11.0.0-preview-4809837c",
  "@metamask-previews/controller-utils": "11.9.0-preview-4809837c",
  "@metamask-previews/delegation-controller": "0.3.0-preview-4809837c",
  "@metamask-previews/earn-controller": "0.14.0-preview-4809837c",
  "@metamask-previews/eip1193-permission-middleware": "0.1.0-preview-4809837c",
  "@metamask-previews/ens-controller": "16.0.0-preview-4809837c",
  "@metamask-previews/error-reporting-service": "0.0.0-preview-4809837c",
  "@metamask-previews/eth-json-rpc-provider": "4.1.8-preview-4809837c",
  "@metamask-previews/gas-fee-controller": "23.0.0-preview-4809837c",
  "@metamask-previews/json-rpc-engine": "10.0.3-preview-4809837c",
  "@metamask-previews/json-rpc-middleware-stream": "8.0.7-preview-4809837c",
  "@metamask-previews/keyring-controller": "22.0.0-preview-4809837c",
  "@metamask-previews/logging-controller": "6.0.4-preview-4809837c",
  "@metamask-previews/message-manager": "12.0.1-preview-4809837c",
  "@metamask-previews/multichain": "4.1.0-preview-4809837c",
  "@metamask-previews/multichain-api-middleware": "0.3.0-preview-4809837c",
  "@metamask-previews/multichain-network-controller": "0.7.0-preview-4809837c",
  "@metamask-previews/multichain-transactions-controller": "1.0.0-preview-4809837c",
  "@metamask-previews/name-controller": "8.0.3-preview-4809837c",
  "@metamask-previews/network-controller": "23.5.0-preview-4809837c",
  "@metamask-previews/notification-services-controller": "8.0.0-preview-4809837c",
  "@metamask-previews/permission-controller": "11.0.6-preview-4809837c",
  "@metamask-previews/permission-log-controller": "3.0.3-preview-4809837c",
  "@metamask-previews/phishing-controller": "12.5.0-preview-4809837c",
  "@metamask-previews/polling-controller": "13.0.0-preview-4809837c",
  "@metamask-previews/preferences-controller": "18.0.0-preview-4809837c",
  "@metamask-previews/profile-sync-controller": "15.0.0-preview-4809837c",
  "@metamask-previews/queued-request-controller": "10.0.0-preview-4809837c",
  "@metamask-previews/rate-limit-controller": "6.0.3-preview-4809837c",
  "@metamask-previews/remote-feature-flag-controller": "1.6.0-preview-4809837c",
  "@metamask-previews/sample-controllers": "0.1.0-preview-4809837c",
  "@metamask-previews/selected-network-controller": "22.1.0-preview-4809837c",
  "@metamask-previews/signature-controller": "29.0.0-preview-4809837c",
  "@metamask-previews/token-search-discovery-controller": "3.1.0-preview-4809837c",
  "@metamask-previews/transaction-controller": "56.2.0-preview-4809837c",
  "@metamask-previews/user-operation-controller": "35.0.0-preview-4809837c"
}

Copy link
Contributor

@cryptodev-2s cryptodev-2s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@sahar-fehri sahar-fehri merged commit 8a94590 into main May 26, 2025
206 checks passed
@sahar-fehri sahar-fehri deleted the fix/detect-tokens-on-tx-confirmed branch May 26, 2025 14:36
github-merge-queue bot pushed a commit to MetaMask/metamask-extension that referenced this pull request May 27, 2025
## **Description**

This PR integrates
[tokenBalances](MetaMask/core#5726) controller
state update optimizations to extension.

Also integrates changes to triggered detectTokens as soon as a tx is
confirmed MetaMask/core#5859

TokenBalancesController used to make state updates even though none of
the token balances has changed.
When a user removes an account both TokensController and
TokenBalancesController state would still have the tokens and balances
related to that account; hence triggering api calls to still fetch the
token balances and save to state even though the user has already
removes that account.

The migration in this PR checks if there are any tokenBalances or tokens
in both tokensController state and TokenBalancesController state that
belong to accounts that do not exist anymore and cleans them up.

No functional changes are expected in this PR

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32467?quickstart=1)

## **Related issues**

Fixes: #31029

## **Manual testing steps**

Test migration:

1. Import new account (on main branch)
2. You should still be able to see balances correctly
3. Import new tokens and you should still be able to see balances
correctly
4. Remove an account
5. Build on this branch
6. Download state logs and make sure the removed account no longer
appears in tokensController or tokenBalancesController state

Test:

1. Import new account
2. import new tokens for the account
3. You should be able to see token balances correctly

Test:

1- Start a swap to a token that is not already imported in state ( you
can use uniswap)
2- submit transaction
3- Notice that as soon as the tx if confirmed you are able to see your
new token in the main token list with balance


## **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/main/.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/main/.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]>
github-merge-queue bot pushed a commit to MetaMask/metamask-extension that referenced this pull request May 27, 2025
## **Description**

This PR integrates
[tokenBalances](MetaMask/core#5726) controller
state update optimizations to extension.

Also integrates changes to triggered detectTokens as soon as a tx is
confirmed MetaMask/core#5859

TokenBalancesController used to make state updates even though none of
the token balances has changed.
When a user removes an account both TokensController and
TokenBalancesController state would still have the tokens and balances
related to that account; hence triggering api calls to still fetch the
token balances and save to state even though the user has already
removes that account.

The migration in this PR checks if there are any tokenBalances or tokens
in both tokensController state and TokenBalancesController state that
belong to accounts that do not exist anymore and cleans them up.

No functional changes are expected in this PR

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32467?quickstart=1)

## **Related issues**

Fixes: #31029

## **Manual testing steps**

Test migration:

1. Import new account (on main branch)
2. You should still be able to see balances correctly
3. Import new tokens and you should still be able to see balances
correctly
4. Remove an account
5. Build on this branch
6. Download state logs and make sure the removed account no longer
appears in tokensController or tokenBalancesController state

Test:

1. Import new account
2. import new tokens for the account
3. You should be able to see token balances correctly

Test:

1- Start a swap to a token that is not already imported in state ( you
can use uniswap)
2- submit transaction
3- Notice that as soon as the tx if confirmed you are able to see your
new token in the main token list with balance


## **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/main/.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/main/.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]>
github-merge-queue bot pushed a commit to MetaMask/metamask-extension that referenced this pull request May 27, 2025
## **Description**

This PR integrates
[tokenBalances](MetaMask/core#5726) controller
state update optimizations to extension.

Also integrates changes to triggered detectTokens as soon as a tx is
confirmed MetaMask/core#5859

TokenBalancesController used to make state updates even though none of
the token balances has changed.
When a user removes an account both TokensController and
TokenBalancesController state would still have the tokens and balances
related to that account; hence triggering api calls to still fetch the
token balances and save to state even though the user has already
removes that account.

The migration in this PR checks if there are any tokenBalances or tokens
in both tokensController state and TokenBalancesController state that
belong to accounts that do not exist anymore and cleans them up.

No functional changes are expected in this PR

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32467?quickstart=1)

## **Related issues**

Fixes: #31029

## **Manual testing steps**

Test migration:

1. Import new account (on main branch)
2. You should still be able to see balances correctly
3. Import new tokens and you should still be able to see balances
correctly
4. Remove an account
5. Build on this branch
6. Download state logs and make sure the removed account no longer
appears in tokensController or tokenBalancesController state

Test:

1. Import new account
2. import new tokens for the account
3. You should be able to see token balances correctly

Test:

1- Start a swap to a token that is not already imported in state ( you
can use uniswap)
2- submit transaction
3- Notice that as soon as the tx if confirmed you are able to see your
new token in the main token list with balance


## **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/main/.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/main/.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]>
davidmurdoch pushed a commit to MetaMask/metamask-extension that referenced this pull request May 27, 2025
## **Description**

This PR integrates
[tokenBalances](MetaMask/core#5726) controller
state update optimizations to extension.

Also integrates changes to triggered detectTokens as soon as a tx is
confirmed MetaMask/core#5859

TokenBalancesController used to make state updates even though none of
the token balances has changed.
When a user removes an account both TokensController and
TokenBalancesController state would still have the tokens and balances
related to that account; hence triggering api calls to still fetch the
token balances and save to state even though the user has already
removes that account.

The migration in this PR checks if there are any tokenBalances or tokens
in both tokensController state and TokenBalancesController state that
belong to accounts that do not exist anymore and cleans them up.

No functional changes are expected in this PR

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/32467?quickstart=1)

## **Related issues**

Fixes: #31029

## **Manual testing steps**

Test migration:

1. Import new account (on main branch)
2. You should still be able to see balances correctly
3. Import new tokens and you should still be able to see balances
correctly
4. Remove an account
5. Build on this branch
6. Download state logs and make sure the removed account no longer
appears in tokensController or tokenBalancesController state

Test:

1. Import new account
2. import new tokens for the account
3. You should be able to see token balances correctly

Test:

1- Start a swap to a token that is not already imported in state ( you
can use uniswap)
2- submit transaction
3- Notice that as soon as the tx if confirmed you are able to see your
new token in the main token list with balance


## **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/main/.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/main/.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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants