Conversation
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Key observations:
Since the changes are in the confirmations domain and add new feature flag infrastructure that could affect confirmations behavior when enabled in the future, running SmokeConfirmations provides reasonable validation that the confirmations infrastructure still works correctly. However, since nothing currently consumes these new exports, the risk is very low. Performance Test Selection: |
The committed fixture schema is out of date. To update, comment: |
|



Description
selectMetaMaskPayFiatFlagsselector to read theconfirmations_pay_fiatLaunchDarkly flag, gating the upcoming fiat payment option in transaction confirmationsuseMMPayFiatConfighook for React components to consume the flagChangelog
CHANGELOG entry:
Related issues
Fixes: #27110
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk: adds a new feature-flag selector/hook with a disabled-by-default fallback and unit tests, without changing existing app behavior.
Overview
Adds support for gating upcoming fiat payments in confirmations by introducing a new
confirmations_pay_fiatremote flag.This PR adds
selectMetaMaskPayFiatFlags(withPAY_FIAT_ENABLED_DEFAULT = false) plus a smalluseMMPayFiatConfigReact hook to consume it, and includes unit tests covering default/flagged behavior.Written by Cursor Bugbot for commit 419f4f6. This will update automatically on new commits. Configure here.