Open biafra23 opened 2 years ago
Is it the same issue for Android @biafra23 ?
Related conversation https://gnosisinc.slack.com/archives/C02191FAQ3E/p1633684543005200
Same on Android and Web
Maybe this is relevant: https://docs.ens.domains/contract-api-reference/name-processing
ok, indeed, seems a problem in the name processing. Needs more debugging.
So it looks like the official ens library completely changed the way they normalize domain names and this just breaks all old non-ascii domain names that would translate to Punycode:
https://github.com/ensdomains/eth-ens-namehash/pull/5
This makes such old names to point to different name hashes.
Our app still uses old way of resolving with "toAscii" and therefore it points to the namehash that doesn't exist because you registered the name with the ens domains app interface that uses "toUnicode" normalization.
The JS library does this:
var namehash = require('@ensdomains/eth-ens-namehash')
var input = "jäckel.eth"
var normalized = namehash.normalize(input)
console.log(normalized)
console.log(namehash.hash(normalized))
which prints:
jäckel.eth
0xeb1a7551a1bd3446e89e4c277d9f7b8d0d1f83e54ac722af505d549d42f36a01
However, our app produces
xn--jckel-gra.eth
0x3c156b8a7fd62874c619ac3092d7942dd2dd843d414391959dd10df1c86d229b
I have contacted ENS discord with a support ticket to get more details about this.
The web app also doesn't find the address on Rinkeby:
I just registered jöckel.eth on Rinkeby and it doesn't seem to work either. https://app.ens.domains/name/j%C3%B6ckel.eth/details
I registered the domain
jäckel.eth
on Rinkeby and associated an address with it. This name cannot be resolved in our app.https://app.ens.domains/name/j%C3%A4ckel.eth/details (Make sure to switch to Rinkeby)
While
jaeckel.eth
works as expected.