wealdtech / go-ens

Apache License 2.0
90 stars 33 forks source link

set UseSTD3ASCIIRules = true for normalization #32

Open italodamato opened 1 year ago

italodamato commented 1 year ago

make consistent with https://github.com/ensdomains/eth-ens-namehash/blob/f62f351f8c646b337da2e1eb458a9ea091f35ce7/index.js#L26 and docs https://docs.ens.domains/contract-api-reference/name-processing#normalising-names

italodamato commented 1 year ago

actually just found NormaliseDomainStrict I can use. I'm not sure if the default should be not strict though.