fudgebucket27 / Lexplorer

Loopring explorer alternative
14 stars 10 forks source link

ENS lookup cache is case-sensitive #240

Closed modersohn closed 2 years ago

modersohn commented 2 years ago

At least that's what I suspect after seeing this:

image

And searching for the public address also seems to add that as an ENS.

modersohn commented 2 years ago

I could not figure out how the wallet address ended up being an ENS lookup entry. Tried searching for various addresses including the exact one shown in the screenshot but couldn't reproduce. Also from the code this seems impossible, there's only one call site where ENS.SourceType.Lookup is used and that is wrapped in a check if the search term contains ".eth".