Skip to content

Add ENSjs v4, web3.py, Thirdweb v5, and Alloy resolution tests#3

Draft
Dhaiwat10 wants to merge 4 commits into
ensdomains:mainfrom
ens-integrations:ensjs-v4-tests
Draft

Add ENSjs v4, web3.py, Thirdweb v5, and Alloy resolution tests#3
Dhaiwat10 wants to merge 4 commits into
ensdomains:mainfrom
ens-integrations:ensjs-v4-tests

Conversation

@Dhaiwat10
Copy link
Copy Markdown

@Dhaiwat10 Dhaiwat10 commented Apr 6, 2026

Summary

  • Adds test package for @ensdomains/ensjs v4.2.2 (packages/ensjs-v4/)
  • Adds test package for web3.py v7.15.0 (packages/web3py/)
  • Adds test package for thirdweb v5 (packages/thirdweb-v5/)
  • Adds test package for alloy-ens v1.8.3 (packages/alloy/)

ENSjs v4 Results: 8/9 pass ✅

All 4 ENSv2 readiness criteria met.

Test Case Result
universal-resolver
forward-base-onchain
forward-eth-offchain
forward-text-onchain
forward-text-offchain
forward-contenthash
forward-dns-offchain
reverse-eth
reverse-l2 ⏱️ TIMEOUT

web3.py Results: 3/9 pass ❌

Not ENSv2-ready. Old Universal Resolver, CCIP-Read blocked by supportsInterface.

Test Case Result Issue
universal-resolver Returns 0x1111... (old resolver)
forward-base-onchain
forward-eth-offchain CCIP-Read fails supportsInterface
forward-text-onchain
forward-text-offchain Same CCIP-Read issue
forward-contenthash Resolver ABI mismatch
forward-dns-offchain Same CCIP-Read issue
reverse-eth
reverse-l2 Not supported

Thirdweb v5 Results: 3/7 tested ❌

Not ENSv2-ready. Old Universal Resolver, CCIP-Read not handled. No coinType or contenthash API.

Test Case Result Issue
universal-resolver Returns 0x1111... (old resolver)
forward-base-onchain ⏭️ SKIP No coinType param
forward-eth-offchain OffchainLookup not handled
forward-text-onchain
forward-text-offchain Same CCIP-Read issue
forward-contenthash ⏭️ SKIP No contenthash API
forward-dns-offchain Same CCIP-Read issue
reverse-eth
reverse-l2 Via resolveL2Name on Base

Alloy (Rust) Results: 2/6 tested ❌

Not ENSv2-ready. Uses old ENS Registry directly, no Universal Resolver, no CCIP-Read, no coinType/contenthash/L2 reverse.

Test Case Result Issue
universal-resolver Returns 0x1111... (old registry path)
forward-base-onchain ⏭️ SKIP No coinType API
forward-eth-offchain Resolver not found (no CCIP-Read)
forward-text-onchain
forward-text-offchain Resolver not found
forward-contenthash ⏭️ SKIP No API
forward-dns-offchain Resolver not found
reverse-eth
reverse-l2 ⏭️ SKIP No L2 reverse API

Test plan

  • bun install && bun test in packages/ensjs-v4/
  • pip install web3 pytest && pytest -v in packages/web3py/
  • THIRDWEB_SECRET_KEY=... bun test in packages/thirdweb-v5/
  • cargo test in packages/alloy/
  • Verify reverse-l2 for ensjs once Base reverse resolution service is back up

Dhaiwat10 and others added 2 commits April 6, 2026 16:11
Tests @ensdomains/ensjs v4.2.2 against all 9 resolution test cases.
Results: 8/9 pass — all 4 ENSv2 readiness criteria met (Universal Resolver,
CCIP-Read, DNS name detection, multichain coinType). Only failure is
reverse-l2 (Base) which times out, likely due to the L2 reverse resolution
service being down.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Tests web3.py v7.15.0 against all 9 resolution test cases.
Results: 3/9 pass — not ENSv2-ready. Uses old Universal Resolver
(returns 0x1111), CCIP-Read fails due to supportsInterface check
blocking offchain resolvers, and L2 reverse resolution not supported.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Dhaiwat10 Dhaiwat10 changed the title Add ENSjs v4 resolution tests Add ENSjs v4 and web3.py resolution tests Apr 6, 2026
Tests thirdweb v5 against 7/9 resolution test cases (no coinType or
contenthash API). Results: 3/7 pass — not ENSv2-ready. Uses old Universal
Resolver (returns 0x1111), CCIP-Read OffchainLookup reverts not handled,
and no coinType param for L2 address resolution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Dhaiwat10 Dhaiwat10 changed the title Add ENSjs v4 and web3.py resolution tests Add ENSjs v4, web3.py, and Thirdweb v5 resolution tests Apr 6, 2026
Tests alloy-ens v1.8.3 against 6/9 resolution test cases (no coinType,
contenthash, or L2 reverse API). Results: 2/6 pass — not ENSv2-ready.
Uses old ENS Registry directly instead of Universal Resolver, no CCIP-Read
support, and cannot resolve offchain or DNS names.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Dhaiwat10 Dhaiwat10 changed the title Add ENSjs v4, web3.py, and Thirdweb v5 resolution tests Add ENSjs v4, web3.py, Thirdweb v5, and Alloy resolution tests Apr 6, 2026
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