Skip to content

ENS integration is not usable when eth.merkle.io rate limit hits #118

@Cafe137

Description

@Cafe137

It seems I have exhausted the eth.merkle.io requests and within a few seconds of using the app, subsequent eth.merkle.io requests are failing with HTTP errors. Either in the format of a CORS error, or a HTTP 429 "Too Many Requests".

This rate limit appears to be quite strict so it would be good to have a fallback provider.

Image Image
❌ Error getting domain owner: ContractFunctionExecutionError: HTTP request failed.

URL: https://eth.merkle.io
Request body: {"method":"eth_call","params":[{"data":"0x82ad56cb00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000c2e074ec69a0dfb2997ba6c7d2e1e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002402571be3a1335cbfd82a30d73d02a92556c942937667381f0913354d9131d285730cf2f400000000000000000000000000000000000000000000000000000000","to":"0xca11bde05977b3631167028862be2a173976ca11"},"latest"]}
 
Raw Call Arguments:
  to:    0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e
  data:  0x02571be3a1335cbfd82a30d73d02a92556c942937667381f0913354d9131d285730cf2f4
 
Contract Call:
  address:   0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e
  function:  owner(bytes32 node)
  args:           (0xa1335cbfd82a30d73d02a92556c942937667381f0913354d9131d285730cf2f4)

Docs: https://viem.sh/docs/contract/readContract
Details: Failed to fetch
Version: viem@2.26.3
    at c (7197-9e39166cdb6f5bfd.js:25:69396)
    at c (7197-9e39166cdb6f5bfd.js:1:268237)
    at async eJ (page-b740194429364dc5.js:1:28879)
    at async em (page-b740194429364dc5.js:1:42020)Caused by: CallExecutionError: HTTP request failed.

URL: https://eth.merkle.io
Request body: {"method":"eth_call","params":[{"data":"0x82ad56cb00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000c2e074ec69a0dfb2997ba6c7d2e1e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002402571be3a1335cbfd82a30d73d02a92556c942937667381f0913354d9131d285730cf2f400000000000000000000000000000000000000000000000000000000","to":"0xca11bde05977b3631167028862be2a173976ca11"},"latest"]}
 
Raw Call Arguments:
  to:    0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e
  data:  0x02571be3a1335cbfd82a30d73d02a92556c942937667381f0913354d9131d285730cf2f4

Details: Failed to fetch
Version: viem@2.26.3
    at a (7197-9e39166cdb6f5bfd.js:25:68838)
    at A (7197-9e39166cdb6f5bfd.js:1:257660)
    at async c (7197-9e39166cdb6f5bfd.js:1:268110)
    at async eJ (page-b740194429364dc5.js:1:28879)
    at async em (page-b740194429364dc5.js:1:42020)Caused by: HttpRequestError: HTTP request failed.

URL: https://eth.merkle.io
Request body: {"method":"eth_call","params":[{"data":"0x82ad56cb00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000c2e074ec69a0dfb2997ba6c7d2e1e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002402571be3a1335cbfd82a30d73d02a92556c942937667381f0913354d9131d285730cf2f400000000000000000000000000000000000000000000000000000000","to":"0xca11bde05977b3631167028862be2a173976ca11"},"latest"]}

Details: Failed to fetch
Version: viem@2.26.3
    at Object.request (7197-9e39166cdb6f5bfd.js:25:81849)
    at async s (7197-9e39166cdb6f5bfd.js:3:21225)
    at async request (7197-9e39166cdb6f5bfd.js:3:21273)
    at async 7197-9e39166cdb6f5bfd.js:3:19184
    at async s (7197-9e39166cdb6f5bfd.js:25:79994)Caused by: TypeError: Failed to fetch
    at 7197-9e39166cdb6f5bfd.js:25:81401
    at async 7197-9e39166cdb6f5bfd.js:25:80315

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions