Skip to content

refactor: remove BIP-44 flag from tx components#26532

Merged
gantunesr merged 1 commit intomainfrom
gar/refactor/bip44/tx-components
Feb 25, 2026
Merged

refactor: remove BIP-44 flag from tx components#26532
gantunesr merged 1 commit intomainfrom
gar/refactor/bip44/tx-components

Conversation

@gantunesr
Copy link
Member

@gantunesr gantunesr commented Feb 25, 2026

Description

This PR removes the BIP-44 flag from the transaction components

Changelog

CHANGELOG entry: null

Related issues

Fixes: https://consensyssoftware.atlassian.net/browse/MUL-1473

Manual testing steps

Not applicable

Screenshots/Recordings

Not applicable

Pre-merge author checklist

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.

Note

Medium Risk
Changes transaction list behavior and empty-state messaging by removing feature-flag gates; risk is primarily UI/logic regressions for single-account or network-mismatch scenarios.

Overview
Removes the selectMultichainAccountsState2Enabled feature-flag plumbed into Transactions and TransactionElement, and deletes the conditional rendering/logic that depended on it.

TransactionElement.renderTxTime now always determines incoming/self-sent transactions by checking txParams.to/from against all addresses in the selected account group, and Transactions.renderEmpty no longer shows the special "switch network to view transactions" empty state (it always shows the generic no-transactions empty state).

Written by Cursor Bugbot for commit 97e70a4. This will update automatically on new commits. Configure here.

@metamaskbot metamaskbot added the team-accounts-framework Accounts team label Feb 25, 2026
@gantunesr gantunesr added the skip-smart-e2e-selection Skip Smart E2E selection, i.e. select all E2E tests to run label Feb 25, 2026
@github-actions
Copy link
Contributor

🔍 Smart E2E Test Selection

⏭️ Smart E2E selection skipped - skip-smart-e2e-selection label found

All E2E tests pre-selected.

View GitHub Actions results

@gantunesr gantunesr marked this pull request as ready for review February 25, 2026 13:40
@gantunesr gantunesr requested a review from a team as a code owner February 25, 2026 13:40
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@gantunesr gantunesr added this pull request to the merge queue Feb 25, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 25, 2026
<!--
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?
-->

This PR removes the BIP-44 flag from the transaction components

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: null

## **Related issues**

Fixes: https://consensyssoftware.atlassian.net/browse/MUL-1473

## **Manual testing steps**

Not applicable

## **Screenshots/Recordings**

Not applicable

## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/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-mobile/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.

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> **Medium Risk**
> Changes transaction list behavior and empty-state messaging by
removing feature-flag gates; risk is primarily UI/logic regressions for
single-account or network-mismatch scenarios.
> 
> **Overview**
> Removes the `selectMultichainAccountsState2Enabled` feature-flag
plumbed into `Transactions` and `TransactionElement`, and deletes the
conditional rendering/logic that depended on it.
> 
> `TransactionElement.renderTxTime` now *always* determines
incoming/self-sent transactions by checking `txParams.to/from` against
all addresses in the selected account group, and
`Transactions.renderEmpty` no longer shows the special "switch network
to view transactions" empty state (it always shows the generic
no-transactions empty state).
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
97e70a4. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 25, 2026
@gantunesr gantunesr added this pull request to the merge queue Feb 25, 2026
Merged via the queue into main with commit 4d08795 Feb 25, 2026
208 of 210 checks passed
@gantunesr gantunesr deleted the gar/refactor/bip44/tx-components branch February 25, 2026 19:44
@github-actions github-actions bot locked and limited conversation to collaborators Feb 25, 2026
@metamaskbot metamaskbot added the release-7.68.0 Issue or pull request that will be included in release 7.68.0 label Feb 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.68.0 Issue or pull request that will be included in release 7.68.0 size-S skip-smart-e2e-selection Skip Smart E2E selection, i.e. select all E2E tests to run team-accounts-framework Accounts team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants