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

create addr only dnssec compatible resolver #268

Closed
wants to merge 22 commits into from

Conversation

mdtanrikulu
Copy link
Contributor

No description provided.

@mdtanrikulu mdtanrikulu changed the title create addr only dnssec resolver create addr only dnssec compatible resolver Aug 4, 2023
) {
if (selector == IAddressResolver.addr.selector) {
(, uint256 coinType) = abi.decode(data[4:], (bytes32, uint256));
if (coinType != COIN_TYPE_ETH) return abi.encode(address(0));
Copy link
Member

Choose a reason for hiding this comment

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

This should return a 0-length string, not a string of zeroes.

Copy link
Member

@Arachnid Arachnid left a comment

Choose a reason for hiding this comment

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

One change, otherwise LGTM.

@mdtanrikulu mdtanrikulu changed the base branch from c4-ens-audit-mitigations-2023-04 to staging August 17, 2023 03:03
@mdtanrikulu
Copy link
Contributor Author

closing this branch, since we cherry picked all to #272

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.

5 participants