Conversation
🛡️ Immunefi PR ReviewsThis pull request is not eligible for a PR Reviews review. Please contact Immunefi support. Reason: This PR can't be reviewed because no PR Reviews plan is configured for your organisation. Please ask your admin to set up a plan to enable reviews. |
Arachnid
left a comment
There was a problem hiding this comment.
This seems to overlap with Raffy's IVerifiableResolver. Can you discuss with him?
|
I'm of the opinion that these are different things.
For example, we could have a common signature verifier contract for the They're both related in that they need a convention for wildcarding all names of the resolver? For which I think we said I kinda think
Is it true that either: |
|
Just took a look into https://github.com/ensdomains/ens-contracts/blob/289913d7e3923228675add09498d66920216fe9b/contracts/resolvers/profiles/IVerifiableResolver.sol#L13 which has this function Do you mean to add the function into |
| if (!_hasSuffix(name, dnsEncodedName)) { | ||
| return (new string[](0), 0, address(0)); | ||
| } |
There was a problem hiding this comment.
Is this check necessary? If someone sets this contract as the provider for a name incorrectly, is any harm done to anyone other than the person who configured their name wrong?
| bytes public dnsEncodedName; | ||
|
|
||
| /// @notice RPC URLs for querying offchain data. | ||
| string[] public rpcURLs; | ||
|
|
||
| /// @notice Chain ID where offchain data is stored. | ||
| uint256 public chainId; | ||
|
|
||
| /// @notice Base registry address on the target chain. | ||
| address public baseRegistry; |
There was a problem hiding this comment.
These variables should probably be set in the constructor.
Implements https://github.com/ensdomains/ensips/blob/master/ensips/16.md on
ETHTLDResolver