Commit 252068c
fix: point Sepolia ensPublicResolver at the V1 resolver
`ensPublicResolver` is a V1 contract key: it sits in the v1 group of
`supportedL1Contracts`, mainnet holds the V1 address, and every reader is
a V1 action — `dns/importDnsName` and
`wallet/v1/{setPrimaryName,createSubname,wrapName}`. Each passes it as the
resolver for a V1 registry write, so it must implement the legacy `addr`
interface.
3799148 repointed the Sepolia entry at the V2 public resolver, which does
not implement it (`supportsInterface(0x3b3b57de)` returns false).
`DNSRegistrar.proveAndClaimWithResolver` consequently reverts inside
`setAddr`, making onchain DNS import impossible on Sepolia; the other
three actions are broken the same way for anyone calling them.
Verified against a Sepolia fork: with 0x8FADE66B… the import lands and the
V2 UniversalResolver reads the name back through ENSV1Resolver. That
address is also what live Sepolia names (ens.eth, nick.eth, test.eth)
resolve through today.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 4018fc9 commit 252068c
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
159 | 163 | | |
160 | | - | |
| 164 | + | |
161 | 165 | | |
162 | 166 | | |
163 | 167 | | |
| |||
0 commit comments