From e01534fe9b6d47285db144af8f6456ddcce1e353 Mon Sep 17 00:00:00 2001 From: KONFeature Date: Wed, 20 Nov 2024 11:46:39 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Remove=20envio=20from=20ma?= =?UTF-8?q?innet=20indexer=20+=20remove=20alchemy=20from=20ponder-dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/erpc/erpc-config.ts | 3 +- packages/erpc/erpc.yaml | 53 +++++++++++++++++------------------- 2 files changed, 26 insertions(+), 30 deletions(-) diff --git a/packages/erpc/erpc-config.ts b/packages/erpc/erpc-config.ts index 91e5b6f..2dd0ce7 100644 --- a/packages/erpc/erpc-config.ts +++ b/packages/erpc/erpc-config.ts @@ -214,7 +214,7 @@ const drpcUpstream: UpstreamConfig = { const ponderProject: ProjectConfig = buildProject({ id: "ponder-rpc", networks, - upstreams: [alchemyUpstream, envioUpstream, llamaFreeRpcUpstreamArb, drpcUpstream], + upstreams: [alchemyUpstream, llamaFreeRpcUpstreamArb, drpcUpstream], auth: { strategies: [ buildSecretAuthStrategy({ @@ -231,7 +231,6 @@ const ponderDevProject: ProjectConfig = buildProject({ id: "ponder-dev-rpc", networks, upstreams: [ - alchemyUpstream, tenderlyFreeRpcUpstreamArbSepolia, drpcUpstream, envioUpstream, diff --git a/packages/erpc/erpc.yaml b/packages/erpc/erpc.yaml index 18eac9d..e49e6ec 100644 --- a/packages/erpc/erpc.yaml +++ b/packages/erpc/erpc.yaml @@ -53,13 +53,13 @@ projects: architecture: evm rateLimitBudget: "" upstreams: - - &var2 + - &var3 id: alchemy endpoint: evm+alchemy://${ALCHEMY_API_KEY} type: evm+alchemy rateLimitBudget: alchemy-rate-limit vendorName: Alchemy - ignoreMethods: &var5 + ignoreMethods: &var4 - eth_estimateUserOperationGas - eth_getUserOperationByHash - eth_getUserOperationReceipt @@ -69,26 +69,6 @@ projects: - pimlico_* allowMethods: [] autoIgnoreUnsupportedMethods: true - - &var4 - id: envio - endpoint: evm+envio://rpc.hypersync.xyz - rateLimitBudget: envion-rate-limit - type: evm+envio - vendorName: Envio - ignoreMethods: - - "*" - allowMethods: - - eth_chainId - - eth_blockNumber - - eth_getBlockByNumber - - eth_getBlockByHash - - eth_getTransactionByHash - - eth_getTransactionByBlockHashAndIndex - - eth_getTransactionByBlockNumberAndIndex - - eth_getTransactionReceipt - - eth_getBlockReceipts - - eth_getLogs - autoIgnoreUnsupportedMethods: true - id: llama-arbitrum-free-rpc endpoint: https://arbitrum.llamarpc.com rateLimitBudget: llama-free-rpc-rate-limit @@ -100,7 +80,7 @@ projects: - eth_chainId - eth_getBlockByNumber autoIgnoreUnsupportedMethods: true - - &var3 + - &var2 id: drpc-rpc type: evm+drpc vendorName: drpc @@ -125,7 +105,6 @@ projects: id: ponder-dev-rpc networks: *var1 upstreams: - - *var2 - id: tenderly-arbitrum-sepolia-free-rpc endpoint: https://arbitrum-sepolia.gateway.tenderly.co rateLimitBudget: tenderly-free-rpc-rate-limit @@ -137,8 +116,26 @@ projects: - eth_chainId - eth_getBlockByNumber autoIgnoreUnsupportedMethods: true - - *var3 - - *var4 + - *var2 + - id: envio + endpoint: evm+envio://rpc.hypersync.xyz + rateLimitBudget: envion-rate-limit + type: evm+envio + vendorName: Envio + ignoreMethods: + - "*" + allowMethods: + - eth_chainId + - eth_blockNumber + - eth_getBlockByNumber + - eth_getBlockByHash + - eth_getTransactionByHash + - eth_getTransactionByBlockHashAndIndex + - eth_getTransactionByBlockNumberAndIndex + - eth_getTransactionReceipt + - eth_getBlockReceipts + - eth_getLogs + autoIgnoreUnsupportedMethods: true auth: strategies: - allowMethods: @@ -152,7 +149,7 @@ projects: id: nexus-rpc networks: *var1 upstreams: - - *var2 + - *var3 - id: pimlico endpoint: evm+pimlico://${PIMLICO_API_KEY} rateLimitBudget: pimlico-rate-limit @@ -160,7 +157,7 @@ projects: vendorName: Pimlico ignoreMethods: - "*" - allowMethods: *var5 + allowMethods: *var4 autoIgnoreUnsupportedMethods: true cors: allowedOrigins: