-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
provider.getResolver(name) not working for unicode characters (valid ENS names) #2754
Labels
duplicate
Duplicate of another issue.
Comments
This is a known issue, and is pending the updated stringprep-like normalization from ENS regarding UTF-8 joiners. Closing as a duplicate of #2376, which is being kept updated. :) |
ricmoo
added a commit
that referenced
this issue
Aug 14, 2022
ricmoo
added a commit
that referenced
this issue
Aug 16, 2022
ricmoo
added a commit
that referenced
this issue
Aug 16, 2022
ricmoo
added a commit
that referenced
this issue
Aug 18, 2022
This has been address in v5.7.0. See the related issue for details. |
Woodpile37
pushed a commit
to Woodpile37/ethers.js
that referenced
this issue
Jan 14, 2024
Woodpile37
pushed a commit
to Woodpile37/ethers.js
that referenced
this issue
Jan 14, 2024
Woodpile37
pushed a commit
to Woodpile37/ethers.js
that referenced
this issue
Jan 14, 2024
Woodpile37
pushed a commit
to Woodpile37/ethers.js
that referenced
this issue
Jan 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The
provider.getResolver(name)
function does not work with all unicode characters. According to the definition of ENS names, unicode characters are valid. The function should resolve names including unicode characters, e.g. emoticons like 👋Reproduction steps
Stack Trace
Affected function
ethers.js/packages/providers/src.ts/base-provider.ts
Lines 1783 to 1809 in 33a029e
The error seems to be generated here:
ethers.js/packages/strings/src.ts/idna.ts
Lines 190 to 195 in ce8f1e4
Environment:
Search Terms
ENS name resolution resolve unicode characters
Related issues
The text was updated successfully, but these errors were encountered: