-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support setAddr for L2 resolvers #83
Comments
We do handle ensnode/apps/ensnode/src/handlers/Resolver.ts Lines 15 to 43 in 0ea1fd2
ensnode/apps/ensnode/src/handlers/Resolver.ts Lines 45 to 71 in 0ea1fd2
|
AddrChanged
event
Here's some additional background info that may be helpful in investigating this issue:
There's a number of details here that need special consideration. One detail that might help us a little: We don't need to index the values of any of these resolver records, only the keys. It seems the ENS Subgraph makes an exception to this though for the ETH deposit address? It will help to make this exception more formally defined. A more formal definition of how the ENS Subgraph is handling this seems key to informing the path we take for solving this in our base.eth and linea.eth plugins. |
Modifying
|
from the subgraph's perspective a Resolver's in this situation it sounds like setting an address on linea with the linea coinType doesn't place that address in it seems to me that in the case of non-.eth-plugins we want to, (iff the coinType is that chain's coinType) record the value of that record into that said, @lightwalker-eth perhaps you can chime in here: what does it mean if sidenote: the real issue here is once again our inherited subgraph assumptions and a schema that is not multichain-aware or multi-registry-aware. i look forward to redesigning this schema with y'all for v2 |
Thanks @shrugs, adding extra logic "(iff the coinType is that chain's coinType"™ sounds good to me. Also, feels a bit like V2 scope 🙃 |
@tk-o @shrugs Hey thanks for your follow ups on this. A few quick ideas:
|
Modified this issue to reclassify it from a "bug" to an "enhancement" for v2+ and moved it into our backlog. |
Updating resolved address for a subname under
linea.eth
is not changing the state of resolvers data in ENSNode.Context
Linea’s PublicResolver has it’s
setAddr
method, that DOES NOT always emit an event:https://github.com/Consensys/linea-ens/blob/727f5f509591056ed3ede8eb835039801087f097/packages/linea-ens-contracts/contracts/resolvers/profiles/AddrResolver.sol#L45-L55
If coinType param is different than
60
. In my case, it’s2147542792
(the ENSIP-11 value for Linea’s chain ID). However, theAddressChanged
event is emitted regardless.What can we do about that?
The text was updated successfully, but these errors were encountered: