Skip to content

chore(runway): cherry-pick feat: Implement the publishBatch hook for smart transactions #31371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

runway-github[bot]
Copy link
Contributor

@runway-github runway-github bot commented Mar 27, 2025

Description

This PR implements the publishBatch hook for smart transactions, which
will be used when submitting multiple transactions at once, e.g. when a
user choose their gas token for a transaction.

We can test this end to end once UI for the Transaction Confirmation
page is merged. Then we might need to do some final tweaks if needed.

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Once the UI on the Transaction Confirmation page is ready (e.g. when
    you do a Send transaction), you will be able to choose a gas token to be
    used for transaction fees

Screenshots/Recordings

Before

After

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.

Signed-off-by: dan437 [email protected] ce7aa93

…smart transactions (#31267)

## **Description**
This PR implements the publishBatch hook for smart transactions, which
will be used when submitting multiple transactions at once, e.g. when a
user choose their gas token for a transaction.

We can test this end to end once UI for the Transaction Confirmation
page is merged. Then we might need to do some final tweaks if needed.

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/31267?quickstart=1)

## **Related issues**

Fixes:

## **Manual testing steps**

1. Once the UI on the Transaction Confirmation page is ready (e.g. when
you do a Send transaction), you will be able to choose a gas token to be
used for transaction fees

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [ ] 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).
- [ ] 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-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.

---------

Signed-off-by: dan437 <[email protected]>
@runway-github runway-github bot requested a review from a team as a code owner March 27, 2025 18:30
Copy link
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.

@metamaskbot metamaskbot added the team-runway-bot Runway bot team (for Runway Bot) label Mar 27, 2025
@MajorLift MajorLift added the DO-NOT-MERGE Pull requests that should not be merged label Mar 27, 2025
@MajorLift MajorLift merged commit df964d4 into Version-v12.16.0 Mar 28, 2025
141 of 143 checks passed
@MajorLift MajorLift deleted the runway-cherry-pick-12.16.0-1743100228 branch March 28, 2025 14:39
@github-actions github-actions bot locked and limited conversation to collaborators Mar 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
DO-NOT-MERGE Pull requests that should not be merged team-runway-bot Runway bot team (for Runway Bot)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants