Skip to content

Comments

fix: verify ETH address record matches in usePrimaryName mismatch case#1105

Open
storywithoutend wants to merge 2 commits intomainfrom
fix/primary-name-address-mismatch
Open

fix: verify ETH address record matches in usePrimaryName mismatch case#1105
storywithoutend wants to merge 2 commits intomainfrom
fix/primary-name-address-mismatch

Conversation

@storywithoutend
Copy link
Collaborator

When a name's match property is false (mismatch case), verify that the name's ETH address record actually resolves to the input address before returning the name. This prevents showing a primary name on the address page when the name's ETH address points to a different address than the one being viewed.

When a name's match property is false (mismatch case), verify that the
name's ETH address record actually resolves to the input address before
returning the name. This prevents showing a primary name on the address
page when the name's ETH address points to a different address than the
one being viewed.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 28, 2026

Deploying ens-app-v3 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7bffced
Status: ✅  Deploy successful!
Preview URL: https://eac17c8e.ens-app-v3.pages.dev
Branch Preview URL: https://fix-primary-name-address-mis.ens-app-v3.pages.dev

View logs

@sonarqubecloud
Copy link

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.

2 participants