-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Handle ENS Address Error #5605
Handle ENS Address Error #5605
Conversation
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks deeplink payment requests to ENS addresses. This functions in production v5.13 build 1042 on my device (Samsung a515f w/Android11).
This can be tested by either tapping on a deeplink or scanning it as a QR code from wallet view.
Video: https://recordit.co/ftn5q2HgMU
Expectation: Should be presented confirmation and have the chance to submit the transaction
Current State: Just returned to wallet view after engaging a payment deeplink to ENS address
Some example deeplinks:
https://metamask.app.link/send/pay-metarnask.eth@1?value=1e13
EDIT: Looks like this may be an issue on main Ok...we made a production build to rule out any deeplinking issues in the debug build. While payment deeplinks now work in build 1053 when a user clicks on them, they are still not functioning when scanned from the Qr scanner at wallet view. |
Tested:
Note that scanning a QR to deeplink is broken on main currently, so this was not successfully tested. |
Turns out this is an issue on main, not from this branch.
This reverts commit 43d0dad.
Development & PR Process
release-xx
label to identify the PR slated for a upcoming release (will be used in release discussion)needs-dev-review
label when work is completedneeds-qa
label when dev review is completedQA Passed
label when QA has signed offDescription
When an ENS name does not have an address registered, we expect to return an error to users. However, on mobile evan.eth currently resolves to 0x0000.....0000. See reported issue.
On mobile, ethjs-ens is used for resolving ens addresses. There's a known issue on said package. From the code, this PR returns when the
resolvedAddress
is0x0000000000000000000000000000000000000000
Test Case
tested on mainnet
evan.eth
on the receiver (to) inputScreenshots/Recordings
http://recordit.co/4c3dFLDytL
Issue
Progresses #5396
Scenario: Send to unregistered ENS address
Given I am attempting a send transaction
When I enter an ENS name not pointed to an eth address in the TO field
Then I am NOT able to complete a send transaction destined to 0x000...0000
Scenario: Send to 0's manually
Given I am attempting a send transaction
When I manually type/paste '0x0000000000000000000000000000000000000000' in the TO field
Then I am able to complete a send transaction destined to 0x000...0000
Scenario: Send to 0's saved as a contact
Given I have previously saved a contact with destination address '0x0000000000000000000000000000000000000000'
When I attempt a send transaction
And I select this previously saved contact as a destination in the TO field
Then I am able to complete a send transaction destined to 0x000...0000
Checklist