Closed danfinlay closed 7 years ago
Resolve to owner instead of owner? If resolver isn't set, this should throw an error.
@Arachnid no resolve to owner
if resolver
is not set
e.g. inspecting juventus.eth via https://etherscan.io/enslookup shows
Resolver: 0x0000000000000000000000000000000000000000
Owner: 0x96eadd1c4becb9710b426587b4eceed8ba8b1d78
here we would resolve to the owner
since resolver
is not set
My typo.
@kumavis Please don't do that. The owner record should never be used as the result of resolving.
@Arachnid why not? seems like a sane default
100% of users will assume that once they own their ens address, its theirs and they can use it as proxy to themselves (without additional config)
@Arachnid do you have a resource we can send to our users to instruct them out to configure their ens contract?
(copied from slack conversation for the public record)
I think that throwing if resolver isn't set (or if resolver == 0x0
...) is the right choice, personally. I think the solution to "individual users not having to do add'l configs" is the responsibility of the UI to make it easier for people. Ideally I would like the flow to be this:
The latter will then producing 3 TXs / calls: finalizeAuction
, setResolver
on public resolver address, and setAddress
as the owner address.
I agree with @tayvano, and this is how registrar.ens.domains works too.
My arguments against defaulting to the owner:
addr
record with a default and different behaviour over all other record types.RE simple resources, so far the only options are the command line or registrar.ens.domains, which provides a simple interface for setting the public resolver and specifying a record. We're working on a more sophisticated, independent app, however.
Instead of resolving to owner
Per https://github.com/MetaMask/metamask-plugin/issues/1427