Skip to content

chore(runway): cherry-pick fix: cp-7.46.0 show "auto" when slippage is undefined #15098

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 2 commits into from
May 5, 2025

Conversation

runway-github[bot]
Copy link
Contributor

@runway-github runway-github bot commented May 3, 2025

Description

Shows "Auto" as the slippage text on Solana swaps when the slippage is
undefined. This case is for LiFi so it uses their dynamic slippage.

Related issues

Fixes:

Manual testing steps

  1. Go to this solana swap
  2. Get quotes
  3. See "Auto" as slippage value

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. 03fd913

…s undefined (#15083)

<!--
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**

Shows "Auto" as the slippage text on Solana swaps when the slippage is
undefined. This case is for LiFi so it uses their dynamic slippage.

<!--
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?
-->

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this solana swap
2. Get quotes
3. See "Auto" as slippage value

## **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 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.
@runway-github runway-github bot requested a review from a team as a code owner May 3, 2025 11:51
Copy link
Contributor

github-actions bot commented May 3, 2025

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.

@NicolasMassart NicolasMassart added the Run Smoke E2E Requires smoke E2E testing label May 5, 2025
Copy link
Contributor

github-actions bot commented May 5, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: ac0a202
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/4cd5f60e-3924-4f6c-b281-a87eeb0f5944

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

Copy link

sonarqubecloud bot commented May 5, 2025

Please retry analysis of this Pull-Request directly on SonarQube Cloud

@NicolasMassart NicolasMassart enabled auto-merge (squash) May 5, 2025 13:56
@NicolasMassart NicolasMassart merged commit bb69b1b into release/7.46.0 May 5, 2025
35 of 36 checks passed
@NicolasMassart NicolasMassart deleted the runway-cherry-pick-7.46.0-1746273069 branch May 5, 2025 13:56
NicolasMassart pushed a commit that referenced this pull request May 5, 2025
…s undefined (#15098)

- fix: cp-7.46.0 show "auto" when slippage is undefined (#15083)
@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Run Smoke E2E Requires smoke E2E testing team-runway-bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants