fix: Move gasless flag to extended pay config#8810
Merged
Conversation
matthewwalsh0
requested changes
May 14, 2026
matthewwalsh0
requested changes
May 14, 2026
| payStrategies?: { | ||
| relay?: { | ||
| enabled?: boolean; | ||
| gaslessEnabled?: boolean; |
Member
There was a problem hiding this comment.
I thought we only used this property currently?
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5f72415. Configure here.
matthewwalsh0
approved these changes
May 14, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

What changed
confirmations_pay_extended.payStrategies.relay.gaslessEnabled.gaslessEnabledand removed transaction-pay-controller source/test references toisGaslessEnabled.Why
This keeps
confirmations_payavailable for the existing release-scoped flag while allowing the new release behavior to be controlled fromconfirmations_pay_extended.Validation
yarn workspace @metamask/transaction-pay-controller run jest --no-coverage src/utils/feature-flags.test.tsyarn workspace @metamask/transaction-pay-controller run testyarn workspace @metamask/transaction-pay-controller run changelog:validateyarn buildNote
Medium Risk
Medium risk because it changes the remote feature-flag lookup path/name that gates the Relay
/executegasless flow; misconfiguration could unintentionally enable/disable gasless execution.Overview
Updates the Relay gasless execute toggle to read from
remoteFeatureFlags.confirmations_pay_extended.payStrategies.relay.gaslessEnabled(renaming fromisGaslessEnabledand removing the oldconfirmations_paylocation).Adjusts
isRelayExecuteEnabledunit tests to match the new namespace/key, and updates the changelog to document the flag move.Reviewed by Cursor Bugbot for commit 9b57908. Bugbot is set up for automated code reviews on this repo. Configure here.