Skip to content

fix: Solana TokenDetails send flow #15095

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

gambinish
Copy link
Contributor

@gambinish gambinish commented May 3, 2025

Description

This PR fixes the crash when navigating from TokenDetail to send flow (see Slack thread for more context). However, it seems like on Solana, the send flow isn't working as it needs to for non-evm sends. Users can still send tokens via the main send button on the main Tokens Screen.

Related issues

Fixes: https://consensys.slack.com/archives/C08DSA2SUB1/p1746218572114329

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Screen.Recording.2025-05-03.at.4.07.07.AM.mov

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.

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.

@gambinish gambinish requested a review from a team May 3, 2025 11:09
@gambinish gambinish added team-swaps-and-bridge regression-beta-7.46 Regression bug that was found in beta in release 7.46 labels May 3, 2025
@gambinish gambinish added the Run Smoke E2E Triggers smoke e2e on Bitrise label May 3, 2025
Copy link
Contributor

github-actions bot commented May 3, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 07b1d83
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/4a7a2e2c-b4f2-4740-b425-07f5908c5154

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

github-merge-queue bot pushed a commit that referenced this pull request May 5, 2025
…-evm networks (#15096)

## **Description**

It looks like Send flow via the Token Details screen is not supported as
of 7.46. There is another PR opened that begins to implement this:
#15095

This PR can be used as a cherry-pick in the meantime into 7.46 to
disable send flow via tokens details for non-evm networks.

Worth mentioning that users can still enter the send flow via the main
tokens screen.

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**


https://github.com/user-attachments/assets/58fa7961-6533-43b0-8d1e-b441de159577

## **Pre-merge author checklist**

- [x] 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).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] 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 bot added a commit that referenced this pull request May 5, 2025
…n non-evm networks (#15096)

## **Description**

It looks like Send flow via the Token Details screen is not supported as
of 7.46. There is another PR opened that begins to implement this:
#15095

This PR can be used as a cherry-pick in the meantime into 7.46 to
disable send flow via tokens details for non-evm networks.

Worth mentioning that users can still enter the send flow via the main
tokens screen.

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**


https://github.com/user-attachments/assets/58fa7961-6533-43b0-8d1e-b441de159577

## **Pre-merge author checklist**

- [x] 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).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] 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 bot added a commit that referenced this pull request May 5, 2025
…n non-evm networks (#15096)

## **Description**

It looks like Send flow via the Token Details screen is not supported as
of 7.46. There is another PR opened that begins to implement this:
#15095

This PR can be used as a cherry-pick in the meantime into 7.46 to
disable send flow via tokens details for non-evm networks.

Worth mentioning that users can still enter the send flow via the main
tokens screen.

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

https://github.com/user-attachments/assets/58fa7961-6533-43b0-8d1e-b441de159577

## **Pre-merge author checklist**

- [x] 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).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] 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 bot pushed a commit that referenced this pull request May 5, 2025
…ow via token details on non-evm networks (#15096)

## **Description**

It looks like Send flow via the Token Details screen is not supported as
of 7.46. There is another PR opened that begins to implement this:
#15095

This PR can be used as a cherry-pick in the meantime into 7.46 to
disable send flow via tokens details for non-evm networks.

Worth mentioning that users can still enter the send flow via the main
tokens screen.

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**


https://github.com/user-attachments/assets/58fa7961-6533-43b0-8d1e-b441de159577

## **Pre-merge author checklist**

- [x] 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).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-beta-7.46 Regression bug that was found in beta in release 7.46 Run Smoke E2E Triggers smoke e2e on Bitrise team-assets team-swaps-and-bridge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants