Open 0x4007 opened 3 weeks ago
/start
Deadline | Tue, Sep 10, 3:03 PM UTC |
Beneficiary | 0x6321286F9B73f427C72e1f9F1bC6b3d25eF06605 |
<ul>
<li>Use <code>/wallet 0x0000...0000</code> if you want to update your registered payment wallet address.</li>
<li>Be sure to open a draft pull request as soon as possible to communicate updates on your progress.</li>
<li>Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.</li>
<ul>
@hhio618, this task has been idle for a while. Please provide an update.
Update: You can see that the name is now being resolved correctly here:
I don't know what this is but the deliverable is unacceptable
{"JSONRPC":"2.0","RESULT":"0X","ID":"1"}
My theory is that the resolver is crashing because my main ens name contains non utf8 characters. We need a more robust solution.
@0x4007, I’ve successfully resolved your address. After looking into the issue, it appears that if you're hard-coding the address parameter in the lookupAddress function, you may need to clear your browser cache. This could help ensure that outdated cached data isn't interfering with the lookup process.
Only clearing cache? Seems unexpected as it is not a recycled response.
Before it resolved another ens. After merging your pull it resolves as a JSON object.
Only clearing cache? Seems unexpected as it is not a recycled response.
I suspect the caching issue might be happening here: https://github.com/hhio618/pay.ubq.fi/blob/de6d3988e3215a8ecbe5addf6d6a17ff4c08bf9e/static/scripts/rewards/cirip/query-reverse-ens.ts#L17
According to the ethers.js library, if a name isn't found, it should return null. Here's the relevant section of the code: https://github.com/ethers-io/ethers.js/blob/5aba4963e3e8ddfc912747076f5b7fe7a743cfe2/src.ts/providers/abstract-provider.ts#L1197
Could you please run the following snippet on your local configuration to see if it's returning the same json response or not?
import { ethers } from "ethers";
const provider = new ethers.providers.JsonRpcProvider("https://eth.api.onfinality.io/public");
provider
.lookupAddress("0x6321286F9B73f427C72e1f9F1bC6b3d25eF06605")
.then((ens: string) => {
console.log(`ens is ${ens}`);
})
.catch((error: Error) => {
console.error("Error connecting to provider:", error);
});
No I'm at a conference not on computer but you can check mine 0x4007CE2083c7F3E18097aeB3A39bb8eC149a341d
I've created a video to showcase this in action. It's successfully resolving both your UTF-8 ENS name and my ASCII ENS names. Please feel free to take a look!
https://github.com/user-attachments/assets/679a874d-9ecc-46cb-9ccc-ccf8e785c7dc
@hhio618, this task has been idle for a while. Please provide an update.
ENS is unreliable. There's two problems to fix: