Repository navigation
chore(selectors): remove unused selector exports - #47579
Merged
georgewrmarshall merged 1 commit intoNov 3, 2026
Merged
Conversation
Co-authored-by: George Marshall <georgewrmarshall@users.noreply.github.com>
georgewrmarshall
temporarily deployed
to
pr-comment
November 3, 2026 09:33 — with
GitHub Actions
Inactive
georgewrmarshall
had a problem deploying
to
segment-schema
November 3, 2026 09:33 — with
GitHub Actions
Failure
georgewrmarshall
temporarily deployed
to
pr-comment
November 3, 2026 09:49 — with
GitHub Actions
Inactive
Contributor
Builds ready [187e884]
⚡ Performance Benchmarks (Total: 🟢 9 pass · 🟡 2 warn · 🔴 2 fail)
Bundle Size Diffs
|
|
amandaye0h
approved these changes
Nov 3, 2026
vinnyhoward
approved these changes
Nov 3, 2026
vinnyhoward
left a comment
Contributor
There was a problem hiding this comment.
No correctness problems found
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 3, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 3, 2026
georgewrmarshall
deleted the
cursor/remove-dead-code-selectors-20261103-a4dd
branch
November 3, 2026 20:35
Contributor
|
No release label on PR. Adding release label release-13.57.0 on PR, as PR was added to branch 13.57.0 when release was cut. |
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Remove four unused selector exports. The account-type helpers they called (
isBitcoinAccount,isSolanaAccount,isTronAccount,isStellarAccount,getIsControllerDeprecated) stay, because other code still imports those. Owner set:(none).No user-facing behavior change.
Docs/comments updated: none
Checks that passed:
yarn lint:tsc, eslint on the touched files,yarn test:unit --coverage=falseincludingui/selectors/accounts.test.ts,ui/selectors/networks.test.ts, andui/selectors/multichain/networks.test.ts(31 suites, 449 tests, 5 snapshots passed, no snapshot updates). No stylesheets changed.Changelog
CHANGELOG entry: null
Related issues
Refs: proactive dead-code cleanup (extension counterpart of metamask-mobile#37948)
Manual testing steps
N/A — deletes unreachable code. There is no user-facing behavior to click through.
Screenshots/Recordings
N/A — no UI change
Before
N/A — no UI change
After
N/A — no UI change
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Deletes unreachable exports only; no logic paths or user-facing behavior change.
Overview
Removes four unused Redux selector exports with no runtime or UI impact.
Accounts: drops
isNonEvmAccountandisSelectedInternalAccountSolanafromui/selectors/accounts.ts. Per-chain helpers (isBitcoinAccount,isSolanaAccount, etc.) andselectEvmAddressare unchanged.Networks: removes
getIsAllNetworksFilterEnabledfromshared/lib/selectors/networks.ts, which had built an “all chains enabled” map from network configurations.Assets unify state: removes
getIsTokenListControllerDeprecatedand its barrel re-export; callers can still usegetIsControllerDeprecated(state, 'TokenListController')where needed.Reviewed by Cursor Bugbot for commit 187e884. Bugbot is set up for automated code reviews on this repo. Configure here.