Add CCIP-Read Tunneling#4551
Conversation
|
|
@adraffy is attempting to deploy a commit to the Wevm Team on Vercel. A member of the Team first needs to authorize it. |
commit: |
Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
|
Oh cool, does the idea make sense? It could technically be an external library since the code is independent but I think it's actually useful for frontend applications (and will get use as there's an increased desire to lock frontends down) and the new code is only a small addition. I have a matching solution for ethers for solving the same problem (CSP). This will be standardized as part of ENSIP-21 but I'm thinking about writing an ERC, since it's actually a security improvement on ERC-3668 (although ENSIP-21 itself was too, and I didn't write one.) |
| error = new HttpRequestError({ | ||
| body: { message: res.args[1] }, | ||
| status: res.args[0], | ||
| url: urls.join(' | '), |
There was a problem hiding this comment.
I was unsure what to put here.
Basically, the batch gateway failed to fetch all of the URLs, so it's not clear which one gets the blame.
utils/ccipTunnel.tsand testsccipReadTunnel()Usage:
→ routes ALL CCIP-Read
OffchainLookuprequests through<batchGateway>.Note: CCIP-Read is not ENS-specific.