Skip to content

feat: tempo disable tx management for testnet moderato#29425

Merged
maxime-oe merged 1 commit into
mainfrom
feat/disableTempoTxManagementTestnetModerato
May 5, 2026
Merged

feat: tempo disable tx management for testnet moderato#29425
maxime-oe merged 1 commit into
mainfrom
feat/disableTempoTxManagementTestnetModerato

Conversation

@maxime-oe

@maxime-oe maxime-oe commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Description

Sentinel is not enabled for Tempo Moderato Testnet on prod, making the 7702-leveraged flow fail on that testnet.
This PR disables Tempo tx transformation for Tempo Moderato Testnet, while preserving the asset-hiding logic.
Limitations will be the same as for Hardware Wallet: pathUSD will always show as fee token for all txs.

Changelog

CHANGELOG entry: tempo disable tx management for testnet moderato

Related issues

Fixes:

Manual testing steps

  1. Switch to Tempo Moderato Testnet.
  2. Perform a "send" of any token.
  3. Observe that tx with be announced as paid with pathUSD regardless of user holding.
  4. The tx should go through as long as the user has pathUSD balance.

Screenshots/Recordings

Before

image

After

image

Pre-merge author checklist

Performance checks (if applicable)

  • I've tested on Android
    • Ideally on a mid-range device; emulator is acceptable
  • I've tested with a power user scenario
    • Use these power-user SRPs to import wallets with many accounts and tokens
  • I've instrumented key operations with Sentry traces for production performance metrics

For performance guidelines and tooling, see the Performance Guide.

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

Low Risk
Low risk: this is a config-level removal that stops treating 0xa5bf as a Tempo-supported chain, mainly affecting transaction option injection and batch handling on that testnet.

Overview
Disables Tempo transaction management for Tempo Moderato Testnet (0xa5bf) by removing its entry from the Tempo per-chain config, so isTempoChain returns false and getTempoExtraOptionsForChain no longer injects gasFeeToken/excludeNativeTokenForFee for that chain.

Updates unit tests to reflect the new behavior and switches the transaction-controller Tempo-chain test fixture to use Tempo Mainnet (0x1079).

Reviewed by Cursor Bugbot for commit be47bff. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions

Copy link
Copy Markdown
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@metamaskbotv2 metamaskbotv2 Bot added the team-networks Networks team label Apr 28, 2026
@maxime-oe maxime-oe marked this pull request as ready for review April 28, 2026 13:05
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

⏭️ Smart E2E selection skipped - draft PR

All E2E tests pre-selected.

View GitHub Actions results

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

E2E Fixture Validation — Schema is up to date
12 value mismatches detected (expected — fixture represents an existing user).
View details

@maxime-oe maxime-oe added this pull request to the merge queue May 5, 2026
Merged via the queue into main with commit d4356fa May 5, 2026
229 of 233 checks passed
@maxime-oe maxime-oe deleted the feat/disableTempoTxManagementTestnetModerato branch May 5, 2026 13:46
@github-actions github-actions Bot locked and limited conversation to collaborators May 5, 2026
@metamaskbotv2 metamaskbotv2 Bot added the release-7.77.0 Issue or pull request that will be included in release 7.77.0 label May 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.77.0 Issue or pull request that will be included in release 7.77.0 size-S team-networks Networks team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants