You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multichain accounts is permanently enabled, so the remote feature flag helpers in app/multichain-accounts/remote-feature-flag.ts had been reduced to stubs that always return true. Nothing in the codebase imports isMultichainAccountsRemoteFeatureEnabled or isMultichainAccountsState2Enabled anymore, so this PR deletes the module and its test file to remove dead code.
Changelog
CHANGELOG entry: null
Related issues
Fixes: N/A
Manual testing steps
N/A — pure dead-code deletion with no runtime behavior change. Verified via search that no remaining code references the deleted functions, and CI (unit tests, TypeScript, lint) covers the rest.
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.
PR template — items to address before "Ready for review"
Warnings — informational, address before merging:
Pre-merge author checklist has unchecked items (e.g. "I've tested on Android"). Every box must be consciously checked — see docs/readme/ready-for-review.md.
Selected Performance tags: None (no tests recommended)
Risk Level: low
AI Confidence: 97%
click to see 🤖 AI reasoning details
E2E Test Selection:
Both changed files are being deleted:
app/multichain-accounts/remote-feature-flag.ts - A stub file where both exported functions always returned true (permanently enabled, no real logic).
app/multichain-accounts/remote-feature-flag.test.ts - The unit test for the above stub.
A codebase search confirmed that no other files import from app/multichain-accounts/remote-feature-flag — there are zero downstream consumers. This is pure dead-code cleanup with no functional impact on any user flows, UI components, controllers, or E2E test paths. No E2E tags or performance tests are warranted.
Performance Test Selection:
The deleted files were stubs that always returned true with no performance-sensitive logic. No performance-impacting code paths are affected.
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
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
Multichain accounts is permanently enabled, so the remote feature flag helpers in
app/multichain-accounts/remote-feature-flag.tshad been reduced to stubs that always returntrue. Nothing in the codebase importsisMultichainAccountsRemoteFeatureEnabledorisMultichainAccountsState2Enabledanymore, so this PR deletes the module and its test file to remove dead code.Changelog
CHANGELOG entry: null
Related issues
Fixes: N/A
Manual testing steps
N/A — pure dead-code deletion with no runtime behavior change. Verified via search that no remaining code references the deleted functions, and CI (unit tests, TypeScript, lint) covers the rest.
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Made with Cursor