diff --git a/packages/erpc/erpc-config.ts b/packages/erpc/erpc-config.ts index 416baa9..379d86d 100644 --- a/packages/erpc/erpc-config.ts +++ b/packages/erpc/erpc-config.ts @@ -191,14 +191,14 @@ const llamaFreeRpcUpstreamArb = buildEvmUpstream({ endpoint: "https://arbitrum.llamarpc.com", rateLimitBudget: llamaFreeRpcRateLimits.id, ignoreMethods: ["*"], - allowMethods: ["eth_chainId", "eth_getBlockByNumber"], + allowMethods: ["eth_chainId", "eth_getBlockByNumber", "eth_call"], }); const tenderlyFreeRpcUpstreamArbSepolia = buildEvmUpstream({ id: "tenderly-arbitrum-sepolia-free-rpc", endpoint: "https://arbitrum-sepolia.gateway.tenderly.co", rateLimitBudget: tenderlyFreeRpcRateLimits.id, ignoreMethods: ["*"], - allowMethods: ["eth_chainId", "eth_getBlockByNumber"], + allowMethods: ["eth_chainId", "eth_getBlockByNumber", "eth_call"], }); const drpcUpstream: UpstreamConfig = { id: "drpc-rpc", @@ -207,7 +207,12 @@ const drpcUpstream: UpstreamConfig = { endpoint: `drpc://${envVariable("DRPC_API_KEY")}`, rateLimitBudget: drpcRpcRateLimits.id, ignoreMethods: ["*"], - allowMethods: ["eth_chainId", "eth_getBlockByNumber", "eth_getLogs"], + allowMethods: [ + "eth_chainId", + "eth_getBlockByNumber", + "eth_getLogs", + "eth_call", + ], }; // Build the ponder indexing project diff --git a/packages/erpc/erpc.yaml b/packages/erpc/erpc.yaml index 5d099d3..88eafc1 100644 --- a/packages/erpc/erpc.yaml +++ b/packages/erpc/erpc.yaml @@ -79,6 +79,7 @@ projects: allowMethods: - eth_chainId - eth_getBlockByNumber + - eth_call autoIgnoreUnsupportedMethods: true - &var2 id: drpc-rpc @@ -92,6 +93,7 @@ projects: - eth_chainId - eth_getBlockByNumber - eth_getLogs + - eth_call - &var3 id: envio endpoint: evm+envio://rpc.hypersync.xyz @@ -135,6 +137,7 @@ projects: allowMethods: - eth_chainId - eth_getBlockByNumber + - eth_call autoIgnoreUnsupportedMethods: true - *var2 - *var3