Skip to content

Commit 7f14bde

Browse files
committed
Allow ENS wildcards with labels up to 255 bytes wide; discussed with ENS and deemed safe (#4543).
1 parent f45bb87 commit 7f14bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src.ts/providers/ens-resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export class EnsResolver {
231231
});
232232

233233
params = [
234-
dnsEncode(this.name),
234+
dnsEncode(this.name, 255),
235235
iface.encodeFunctionData(fragment, params)
236236
];
237237

0 commit comments

Comments
 (0)