diff --git a/packages/erpc/erpc-config.ts b/packages/erpc/erpc-config.ts index f60029c..d3c09d0 100644 --- a/packages/erpc/erpc-config.ts +++ b/packages/erpc/erpc-config.ts @@ -151,7 +151,7 @@ const blockpiArbSepoliaUpstream = buildEvmUpstream({ rateLimitBudget: blockPiRateLimits.id, ignoreMethods: pimlicoSpecificMethods, }); -const blockpiArbUpstream = buildEvmUpstream({ +const _blockpiArbUpstream = buildEvmUpstream({ id: "blockpi-arb", endpoint: `https://arbitrum.blockpi.network/v1/rpc/${envVariable("BLOCKPI_API_KEY_ARB")}`, rateLimitBudget: blockPiRateLimits.id, @@ -168,7 +168,7 @@ const pimlicoUpstream = buildPimlicoUpstream({ const ponderProject: ProjectConfig = buildProject({ id: "ponder-rpc", networks, - upstreams: [alchemyUpstream, blockpiArbUpstream], + upstreams: [alchemyUpstream], auth: { strategies: [ buildSecretAuthStrategy({ @@ -184,7 +184,7 @@ const ponderProject: ProjectConfig = buildProject({ const ponderDevProject: ProjectConfig = buildProject({ id: "ponder-dev-rpc", networks, - upstreams: [alchemyUpstream, blockpiArbSepoliaUpstream], + upstreams: [alchemyUpstream], auth: { strategies: [ buildSecretAuthStrategy({ @@ -201,12 +201,7 @@ const ponderDevProject: ProjectConfig = buildProject({ const nexusProject: ProjectConfig = buildProject({ id: "nexus-rpc", networks, - upstreams: [ - alchemyUpstream, - pimlicoUpstream, - blockpiArbSepoliaUpstream, - blockpiArbUpstream, - ], + upstreams: [alchemyUpstream, pimlicoUpstream], cors: { allowedOrigins: ["*"], allowedMethods: ["GET", "POST", "OPTIONS"], diff --git a/packages/erpc/erpc.yaml b/packages/erpc/erpc.yaml index 44939f5..3048537 100644 --- a/packages/erpc/erpc.yaml +++ b/packages/erpc/erpc.yaml @@ -23,7 +23,7 @@ database: projects: - rateLimitBudget: "" id: ponder-rpc - networks: &var4 + networks: &var3 - failsafe: &var1 timeout: duration: 30s @@ -88,13 +88,13 @@ projects: architecture: evm rateLimitBudget: "" upstreams: - - &var5 + - &var4 id: alchemy endpoint: evm+alchemy://${ALCHEMY_API_KEY} type: evm+alchemy rateLimitBudget: alchemy-rate-limit vendorName: Alchemy - ignoreMethods: &var3 + ignoreMethods: &var5 - eth_estimateUserOperationGas - eth_getUserOperationByHash - eth_getUserOperationReceipt @@ -104,15 +104,6 @@ projects: - pimlico_* allowMethods: [] autoIgnoreUnsupportedMethods: true - - &var7 - id: blockpi-arb - endpoint: https://arbitrum.blockpi.network/v1/rpc/${BLOCKPI_API_KEY_ARB} - rateLimitBudget: block-pi-rate-limit - type: evm - vendorName: Generic Evm - ignoreMethods: *var3 - allowMethods: [] - autoIgnoreUnsupportedMethods: true auth: strategies: - allowMethods: @@ -124,18 +115,9 @@ projects: value: ${PONDER_RPC_SECRET} - rateLimitBudget: "" id: ponder-dev-rpc - networks: *var4 + networks: *var3 upstreams: - - *var5 - - &var6 - id: blockpi-arbSepolia - endpoint: https://arbitrum-sepolia.blockpi.network/v1/rpc/${BLOCKPI_API_KEY_ARB_SEPOLIA} - rateLimitBudget: block-pi-rate-limit - type: evm - vendorName: Generic Evm - ignoreMethods: *var3 - allowMethods: [] - autoIgnoreUnsupportedMethods: true + - *var4 auth: strategies: - allowMethods: @@ -147,9 +129,9 @@ projects: value: ${PONDER_RPC_SECRET} - rateLimitBudget: "" id: nexus-rpc - networks: *var4 + networks: *var3 upstreams: - - *var5 + - *var4 - id: pimlico endpoint: evm+pimlico://${PIMLICO_API_KEY} rateLimitBudget: pimlico-rate-limit @@ -157,10 +139,8 @@ projects: vendorName: Pimlico ignoreMethods: - "*" - allowMethods: *var3 + allowMethods: *var5 autoIgnoreUnsupportedMethods: true - - *var6 - - *var7 cors: allowedOrigins: - "*"