Skip to content

Commit

Permalink
🐛 Disable envio on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Nov 3, 2024
1 parent 71aa255 commit 05cc480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
5 changes: 3 additions & 2 deletions packages/erpc/erpc-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ const pimlicoSpecificMethods: RpcMethodWithRegex<EIP1474Methods>[] = [

// Build each upstream we will use
// Envio only op for arbitrum sepolia, it's fcked up on arbitrum
const envioUpstream = buildEnvioUpstream({
// Disabled for now since it's returning incosistant data
const _envioUpstream = buildEnvioUpstream({
rateLimitBudget: envioRateLimits.id,
ignoreMethods: ["*"],
// todo: simple port of the vendors/evio.go stuff hereh
Expand Down Expand Up @@ -183,7 +184,7 @@ const ponderProject: ProjectConfig = buildProject({
const ponderDevProject: ProjectConfig = buildProject({
id: "ponder-dev-rpc",
networks,
upstreams: [envioUpstream, alchemyUpstream, blockpiArbSepoliaUpstream],
upstreams: [alchemyUpstream, blockpiArbSepoliaUpstream],
auth: {
strategies: [
buildSecretAuthStrategy({
Expand Down
19 changes: 0 additions & 19 deletions packages/erpc/erpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,25 +126,6 @@ projects:
id: ponder-dev-rpc
networks: *var4
upstreams:
- 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
- *var5
- &var6
id: blockpi-arbSepolia
Expand Down

0 comments on commit 05cc480

Please sign in to comment.