You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It's better to show a relevant error message when offchain look-up is disabled. wdyt @StephenHeaps ?
@stoletheminerals I think this is a good idea. I've opened a core ticket to support this brave/brave-browser#28916 (we need to know if the entered domain requires offchain lookup to show the message so we don't disable all ENS lookups when ENS offchain lookup is disabled), and an iOS ticket to update iOS if this PR has merged prior to the core api update brave/brave-browser#36696
…#7030)
* Support sending to an ENS domain in a native send transaction, including offchain ENS.
* Add ENS Offchain preference and hyperlink to `Web3DomainSettingsView`
* Unit tests for verifying ENS resolution, ENS Offchain consent required, ENS failure, creating Ethereum transaction using resolved address.
* Use iOS 15+ open url action now that iOS 14 support is dropped. Update UI/UX for ENS preference to use markdown
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Domain doesn't have a linked Ethereum address
This pull request fixes #5787
Submitter Checklist:
NSLocalizableString()
Test Plan:
Allow ENS Offchain Lookup
is set toAsk
ethereum.eth
as a send to address and verify it resolves to the address as expected (with loading state).offchainexample.eth
as a send address and verify you are prompted to enable ENS offchain lookup.Use ENS Domain
and verify it resolves to the address as expected (with loading state).Allow ENS Offchain Lookup
is shown asEnabled
offchainexample.eth
as a send address and verify you are no longer prompted to enable ENS offchain lookup.Allow ENS Offchain Lookup
is shown asDisabled
offchainexample.eth
as a send address and verify it does not resolve the addressScreenshots:
send.to.eth.address.mp4
Reviewer Checklist:
QA/(Yes|No)
bug
/enhancement