Skip to content

chore: upgrade to ENSv2 (Universal Resolver)#65

Open
Dhaiwat10 wants to merge 1 commit into
NaniDAO:mainfrom
Dhaiwat10:ensv2-upgrade
Open

chore: upgrade to ENSv2 (Universal Resolver)#65
Dhaiwat10 wants to merge 1 commit into
NaniDAO:mainfrom
Dhaiwat10:ensv2-upgrade

Conversation

@Dhaiwat10
Copy link
Copy Markdown

Hey! I'm Dhaiwat from the DevRel team at ENS Labs. We're working on getting active repos and libraries across the ecosystem ready for ENSv2.

Summary

Upgrades this repo to be ENSv2-ready by routing ENS resolution through the Universal Resolver (0xeeeeeeee14d718c2b47d9923deab1335e144eeee) instead of the legacy ENS Registry.

Changes

  • Upgrade viem from ^2.33.2^2.48.11 (devDependencies)

viem is used for ENS here at packages/shared/ens/tools.ts.

Why

The current path returns stale results for names managed by the new Universal Resolver. For example, ur.integration-tests.eth should resolve to 0x2222222222222222222222222222222222222222; legacy resolution returns incorrect values.

More details: https://docs.ens.domains/web/ensv2-readiness

Verification

  • ur.integration-tests.eth0x2222222222222222222222222222222222222222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant