Skip to content
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

[Bug]: Netwrok name warning showed up in case of popular network #8951

Closed
salimtb opened this issue Mar 15, 2024 · 0 comments · Fixed by #8953
Closed

[Bug]: Netwrok name warning showed up in case of popular network #8951

salimtb opened this issue Mar 15, 2024 · 0 comments · Fixed by #8953
Assignees
Labels
regression-prod-7.18.0 Regression bug that was found in production in release 7.18.0 release-7.19.0 Issue or pull request that will be included in release 7.19.0 type-bug Something isn't working

Comments

@salimtb
Copy link
Contributor

salimtb commented Mar 15, 2024

Describe the bug

when we try to add the optimism popular network , a name warning is displayed

Expected behavior

the warning should not be displayed

Screenshots/Recordings

No response

Steps to reproduce

  1. Go to popular network
  2. add optimism network
  3. a warning is displayed

Error messages or log output

No response

Version

7.18.0

Build type

None

Device

iphone 13

Operating system

iOS

Additional context

No response

Severity

No response

@salimtb salimtb added the type-bug Something isn't working label Mar 15, 2024
@salimtb salimtb self-assigned this Mar 15, 2024
@metamaskbot metamaskbot added the regression-prod-7.18.0 Regression bug that was found in production in release 7.18.0 label Mar 15, 2024
Cal-L added a commit that referenced this issue Mar 18, 2024
…ar network (#8953)

## **Description**

the chainId must be displayed in decimal instead of hexadecimal in the
network verification modal.
the name warning must not be displayed in the case of a popular network.

## **Related issues**

Fixes: #8950 , #8951 

## **Manual testing steps**

1. Go to settings then network
2. click on optimism network add button
3. a network verification modal will be displayed , check the value of
the chainID
4. a warning name will be displayed

## **Screenshots/Recordings**

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

### **Before**

![Bug](https://github.com/MetaMask/metamask-mobile/assets/26223211/d0f2a81e-0bbe-4485-804c-de24878e8f74)

### **After**
![Screenshot 2024-03-15 at 12 12
44](https://github.com/MetaMask/metamask-mobile/assets/26223211/5af45c9e-ae83-433d-8a03-f542e41e220e)



## **Pre-merge author checklist**

- [x] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've clearly explained what problem this PR is solving and how it
is solved.
- [x] I've linked related issues
- [x] I've included manual testing steps
- [x] I've included screenshots/recordings if applicable
- [x] I’ve included tests if applicable
- [ ] 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.
- [x] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [x] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **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: Cal Leung <cleun007@gmail.com>
@metamaskbot metamaskbot added the release-7.19.0 Issue or pull request that will be included in release 7.19.0 label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression-prod-7.18.0 Regression bug that was found in production in release 7.18.0 release-7.19.0 Issue or pull request that will be included in release 7.19.0 type-bug Something isn't working
Projects
Archived in project
2 participants