Skip to content

[Bug]: 0xName Resolver Snap no longer works in MetaMask Extension due to domain validation step #39409

@Montoya

Description

@Montoya

Describe the bug

We received this report from an external party:

0xNAME Resolver Snap, listed on the Snap Directory, is simply resolving 0xNAMEs to addresses and was working perfectly since it was published until recently. We noticed that with the most recent MetaMask browser extension update (13.11.2) 0xNAMEs are not being resolved in the "send flow" anymore, although the Resolver Snap is installed and nothing changed on the Snap side. I attached a screenshot from my MetaMask Firefox browser extension, and here is the brief description of the issue: now when I write a name (for ex. yulia@beast) while sending anything, instead of resolving the name to the address as usually, I see the error message "invalid address".

We tested and confirmed the issue. The Snap supports names like alice@ethereum. The send flow attempts a validation check before calling any resolver Snaps here. Due to this, any name that does not look like a domain name will never work. This breaks multiple resolver Snaps, including 0xName and Clusters.

Expected behavior

When the 0xNAME Resolver Snap is installed and entering yulia@beast in the send flow on Ethereum, it resolves to an address.

Screenshots/Recordings

No response

Steps to reproduce

  1. Install 0xNAME Resolver Snap https://snaps.metamask.io/snap/npm/0xname-resolver-snap/
  2. Open send flow
  3. Enter yulia@beast
  4. Observe the error

Error messages or log output

Where was this bug found?

Live version (from official store)

Version

13.11.2, 13.13.2

Build type

None

Browser

Firefox

Operating system

MacOS

Hardware wallet

No response

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

Labels

needs-triageIssue needs to be triagedregression-prod-13.11.2Regression bug that was found in production in release 13.11.2type-bugSomething isn't working

Type

Projects

Status

To be triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions