Skip to content

chore(runway): cherry-pick fix: cp-7.78.0 add isAtomicBatchSupported action to TransactionPayController init messenger#30455

Merged
chloeYue merged 1 commit into
release/7.78.0from
runway-cherry-pick-7.78.0-1779291267
May 20, 2026
Merged

chore(runway): cherry-pick fix: cp-7.78.0 add isAtomicBatchSupported action to TransactionPayController init messenger#30455
chloeYue merged 1 commit into
release/7.78.0from
runway-cherry-pick-7.78.0-1779291267

Conversation

@runway-github

@runway-github runway-github Bot commented May 20, 2026

Copy link
Copy Markdown
Contributor

Description

Add TransactionControllerIsAtomicBatchSupportedAction to the
TransactionPayControllerInit messenger. This enables the init
messenger to delegate the TransactionController:isAtomicBatchSupported
action, which is needed during controller initialization to check atomic
batch support.

Companion to MetaMask/metamask-extension#42809.

Changelog

CHANGELOG entry: null

Related issues

Fixes: #42781

Manual testing steps

  1. Build the app with yarn start:ios or yarn start:android
  2. Verify the app loads without errors
  3. Verify transaction pay functionality works as expected

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

Low Risk
Low risk: adds a single delegated messenger action used during
initialization, with no changes to transaction execution or signing
behavior.

Overview
Allows TransactionPayController initialization to query atomic batch
capability by adding delegation for
TransactionController:isAtomicBatchSupported.

This extends TransactionPayControllerInit messenger types/imports to
include TransactionControllerIsAtomicBatchSupportedAction and
delegates the new action via rootMessenger.delegate.

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

[2b27a4f](https://github.com/MetaMask/metamask-mobile/commit/2b27a4f46ff4bf2f77c96a382a69f2219e232f53)

…` action to `TransactionPayController` init messenger (#30425)

## **Description**

Add `TransactionControllerIsAtomicBatchSupportedAction` to the
`TransactionPayControllerInit` messenger. This enables the init
messenger to delegate the `TransactionController:isAtomicBatchSupported`
action, which is needed during controller initialization to check atomic
batch support.

Companion to MetaMask/metamask-extension#42809.

## **Changelog**

CHANGELOG entry: null

## **Related issues**

Fixes: #42781

## **Manual testing steps**

1. Build the app with `yarn start:ios` or `yarn start:android`
2. Verify the app loads without errors
3. Verify transaction pay functionality works as expected

<!--
## **Screenshots/Recordings**

### **Before**

### **After**
-->

## **Pre-merge author checklist**

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [ ] I've included tests if applicable
- [x] 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-extension/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]
> **Low Risk**
> Low risk: adds a single delegated messenger action used during
initialization, with no changes to transaction execution or signing
behavior.
> 
> **Overview**
> Allows `TransactionPayController` initialization to query atomic batch
capability by **adding delegation for**
`TransactionController:isAtomicBatchSupported`.
> 
> This extends `TransactionPayControllerInit` messenger types/imports to
include `TransactionControllerIsAtomicBatchSupportedAction` and
delegates the new action via `rootMessenger.delegate`.
> 
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
b81e10b. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@runway-github runway-github Bot requested a review from a team as a code owner May 20, 2026 15:34
@metamaskbotv2 metamaskbotv2 Bot added the team-bots Bot team (for MetaMask Bot, Runway Bot, etc.) label May 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

⏭️ Smart E2E selection skipped - PR targets a release branch (release/*)

All E2E tests pre-selected.

View GitHub Actions results

@chloeYue chloeYue left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@sonarqubecloud

Copy link
Copy Markdown

@chloeYue chloeYue enabled auto-merge (squash) May 20, 2026 17:15
@chloeYue chloeYue disabled auto-merge May 20, 2026 18:25
@chloeYue chloeYue merged commit b698181 into release/7.78.0 May 20, 2026
201 of 206 checks passed
@chloeYue chloeYue deleted the runway-cherry-pick-7.78.0-1779291267 branch May 20, 2026 18:26
@github-actions github-actions Bot locked and limited conversation to collaborators May 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size-XS team-bots Bot team (for MetaMask Bot, Runway Bot, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants