-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Labels
Sev2-normalAn issue that may lead to users misunderstanding some limited risks they are takingAn issue that may lead to users misunderstanding some limited risks they are takingregression-prod-*Regression bug that was found in production in release *Regression bug that was found in production in release *release-7.59.0Issue or pull request that will be included in release 7.59.0Issue or pull request that will be included in release 7.59.0team-swaps-and-bridgeSwaps and Bridge teamSwaps and Bridge teamtype-bugSomething isn't workingSomething isn't working
Description
Describe the bug
Currently, users see the Max button when they select Polygon's native asset which shouldn't be the case since Polygon doesn't support gasless transactions. The issue stems from the existence of two "zero addresses" for Polygon (0x0000000000000000000000000000000000001010 & 0x0000000000000000000000000000000000000000), where the first is treated as an ERC20 token instead of native.
Expected behavior
No max button present when user selects native asset in Polygon as the source asset.
Screenshots/Recordings
Steps to reproduce
- Go to swaps screen
- Select Polygon native token on the source picker (provided you have balance)
- See max button appearing
Error messages or log output
Detection stage
In production (default)
Version
7.58
Build type
None
Device
iPhone 13 Pro
Operating system
iOS
Additional context
No response
Severity
No response
Metadata
Metadata
Assignees
Labels
Sev2-normalAn issue that may lead to users misunderstanding some limited risks they are takingAn issue that may lead to users misunderstanding some limited risks they are takingregression-prod-*Regression bug that was found in production in release *Regression bug that was found in production in release *release-7.59.0Issue or pull request that will be included in release 7.59.0Issue or pull request that will be included in release 7.59.0team-swaps-and-bridgeSwaps and Bridge teamSwaps and Bridge teamtype-bugSomething isn't workingSomething isn't working
Type
Projects
Status
To be triaged