Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate forward resolution for reverse resolution by default #2420

Conversation

fselmo
Copy link
Collaborator

@fselmo fselmo commented Apr 8, 2022

What was wrong?

As outlined in the warning in the ENS docs, for the reverse resolution of a name for an address to be accurate, the forward resolution address must also match. Source at the time of this commit is here: https://docs.ens.domains/dapp-developer-guide/resolving-names#reverse-resolution.

Related to Issue #2417, #2419 (v5 implementation of this same concept. Use this as default logic for v6)

How was it fixed?

Todo:

Cute Animal Picture

- As outlined in the warning in the ENS docs, for the reverse resolution of a name for an address to be accurate, the forward resolution address must also match. Source at the time of this commit is here: https://docs.ens.domains/dapp-developer-guide/resolving-names#reverse-resolution.
@fselmo fselmo force-pushed the ens-backwards-resolution-strict-check-by-default branch from ff5abb5 to 1197256 Compare April 8, 2022 22:56
@fselmo fselmo marked this pull request as ready for review April 11, 2022 16:25
@fselmo fselmo requested review from kclowes and pacrob April 11, 2022 16:25
Copy link
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@fselmo fselmo merged commit 827e2e3 into ethereum:master Apr 11, 2022
@Slokh
Copy link

Slokh commented Apr 13, 2022

@fselmo When can we get this released? We're currently using 5.24.0 so I'll need to upgrade

@fselmo
Copy link
Collaborator Author

fselmo commented Apr 13, 2022

@fselmo When can we get this released? We're currently using 5.24.0 so I'll need to upgrade

Hey @Slokh, thanks for the patience. We're getting one more PR approved that's important for us pre-release but it should be just around the corner. The v5 release will be coming out sooner than v6 / master but that's also what I'd recommend since v6 isn't technically "stable" yet. I will try to update once a new release is out.

@Slokh
Copy link

Slokh commented Apr 13, 2022

Thanks for the update @fselmo

@kclowes
Copy link
Collaborator

kclowes commented Apr 13, 2022

@Slokh this feature (with the flag) just got released in web3 v5.29.0!

@Slokh
Copy link

Slokh commented Apr 20, 2022

Thanks both of you!

@fselmo fselmo deleted the ens-backwards-resolution-strict-check-by-default branch June 8, 2022 21:21
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.

3 participants