Skip to content

Conversation

micaelae
Copy link
Member

@micaelae micaelae commented Sep 23, 2025

Description

Patches these changes into the bridge-status-controller:
MetaMask/core#6674

The change adds a 5s delay after the approval submission to reduce
bridge transaction failures on Base

Changelog

CHANGELOG entry: fix: delay for 5s after submitting Base approval for
swap

Related issues

Fixes: #20193

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

Before

N/A

After

No visual changes, but there should be a 5s delay between the approval
tx's submission and the trade tx on Base

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.

Co-authored-by: SteP-n-s stylianos.panagakos@consensys.net c26469d

micaelae and others added 2 commits September 23, 2025 12:06
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Patches these changes into the bridge-status-controller:
MetaMask/core#6674

The change adds a 5s delay after the approval submission to reduce
bridge transaction failures on Base

<!--
Write a short description of the changes included in this pull request,
also include relevant motivation and context. Have in mind the following
questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->

## **Changelog**

<!--
If this PR is not End-User-Facing and should not show up in the
CHANGELOG, you can choose to either:
1. Write `CHANGELOG entry: null`
2. Label with `no-changelog`

If this PR is End-User-Facing, please write a short User-Facing
description in the past tense like:
`CHANGELOG entry: Added a new tab for users to see their NFTs`
`CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker`

(This helps the Release Engineer do their job more quickly and
accurately)
-->

CHANGELOG entry: fix: delay for 5s after submitting Base approval for
swap

## **Related issues**

Fixes: #20193

## **Manual testing steps**

```gherkin
Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]
```

## **Screenshots/Recordings**

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

### **Before**

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

### **After**

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

No visual changes, but there should be a 5s delay between the approval
tx's submission and the trade tx on Base

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile
Coding
Standards](https://github.com/MetaMask/metamask-mobile/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-mobile/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.

---------

Co-authored-by: SteP-n-s <stylianos.panagakos@consensys.net>
@micaelae micaelae requested a review from a team as a code owner September 23, 2025 19:31
@micaelae micaelae force-pushed the cp-c26469d9-release-7.56.0 branch from bb762cc to b38a63d Compare September 23, 2025 19:32
@micaelae micaelae changed the title Cp c26469d9 release 7.56.0 chore: cherry-pick fix: delay for 5s after submitting Base approval Sep 23, 2025
cursor[bot]

This comment was marked as outdated.

Copy link

@micaelae micaelae changed the title chore: cherry-pick fix: delay for 5s after submitting Base approval chore: cherry-pick fix: delay for 5s after submitting Base approval cp-7.56.0 Sep 24, 2025
@weitingsun weitingsun merged commit f775385 into release/7.56.0 Sep 24, 2025
51 checks passed
@weitingsun weitingsun deleted the cp-c26469d9-release-7.56.0 branch September 24, 2025 15:31
@github-actions github-actions bot locked and limited conversation to collaborators Sep 24, 2025
@metamaskbot metamaskbot added the release-7.56.0 Issue or pull request that will be included in release 7.56.0 label Sep 24, 2025
@metamaskbot
Copy link
Collaborator

No release label on PR. Adding release label release-7.56.0 on PR, as PR was cherry-picked in branch 7.56.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.56.0 Issue or pull request that will be included in release 7.56.0 size-S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants