Skip to content

Commit

Permalink
⚡️ Remove envio from mainnet indexer + remove alchemy from ponder-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Nov 20, 2024
1 parent 57b9a2d commit e01534f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 30 deletions.
3 changes: 1 addition & 2 deletions packages/erpc/erpc-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand All @@ -231,7 +231,6 @@ const ponderDevProject: ProjectConfig = buildProject({
id: "ponder-dev-rpc",
networks,
upstreams: [
alchemyUpstream,
tenderlyFreeRpcUpstreamArbSepolia,
drpcUpstream,
envioUpstream,
Expand Down
53 changes: 25 additions & 28 deletions packages/erpc/erpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -100,7 +80,7 @@ projects:
- eth_chainId
- eth_getBlockByNumber
autoIgnoreUnsupportedMethods: true
- &var3
- &var2
id: drpc-rpc
type: evm+drpc
vendorName: drpc
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -152,15 +149,15 @@ projects:
id: nexus-rpc
networks: *var1
upstreams:
- *var2
- *var3
- id: pimlico
endpoint: evm+pimlico://${PIMLICO_API_KEY}
rateLimitBudget: pimlico-rate-limit
type: evm+pimlico
vendorName: Pimlico
ignoreMethods:
- "*"
allowMethods: *var5
allowMethods: *var4
autoIgnoreUnsupportedMethods: true
cors:
allowedOrigins:
Expand Down

0 comments on commit e01534f

Please sign in to comment.