Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM ghcr.io/erpc/erpc:7075d5c
FROM ghcr.io/erpc/erpc:main@sha256:883f39ec01607351ee2969a82fe93c62f98aa0db6c8d80e691f33180e539a484

COPY erpc.yaml .

# 4000 -> eRPC
# 4001 -> Monitoring
EXPOSE 4000 4001

CMD ["/erpc-server"]
CMD ["/erpc-server"]
32 changes: 19 additions & 13 deletions erpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ projects:
retryEmpty: true
failsafe:
timeout:
quantile: 0.99
minDuration: 10s
maxDuration: 300s
duration: 300s
hedge:
quantile: 0.95
Expand All @@ -74,10 +77,13 @@ projects:
getLogsSplitOnError: false
failsafe:
timeout:
quantile: 0.85
minDuration: 5s
maxDuration: 300s
duration: 300s
hedge: null
retry:
maxAttempts: 2
maxAttempts: 1
delay: 0ms
emptyResultConfidence: blockHead
emptyResultIgnore: [ "eth_getLogs", "eth_call" ]
Expand All @@ -99,77 +105,77 @@ projects:
- id: erpc-chain-8453
type: evm
endpoint: https://edge.goldsky.com/standard/evm/8453?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 8453

- id: erpc-chain-84532
type: evm
endpoint: https://edge.goldsky.com/standard/evm/84532?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 84532

- id: erpc-chain-10
type: evm
endpoint: https://edge.goldsky.com/standard/evm/10?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 10

- id: erpc-chain-11155420
type: evm
endpoint: https://edge.goldsky.com/standard/evm/11155420?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 11155420

- id: erpc-chain-1284
type: evm
endpoint: https://edge.goldsky.com/standard/evm/1284?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 1284

- id: erpc-chain-1287
type: evm
endpoint: https://edge.goldsky.com/standard/evm/1287?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 1287

- id: erpc-chain-1285
type: evm
endpoint: https://edge.goldsky.com/standard/evm/1285?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 1285

- id: erpc-chain-1
type: evm
endpoint: https://edge.goldsky.com/standard/evm/1?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 1

- id: erpc-chain-43114
type: evm
endpoint: https://edge.goldsky.com/standard/evm/43114?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 43114

- id: erpc-chain-137
type: evm
endpoint: https://edge.goldsky.com/standard/evm/137?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 137

- id: erpc-chain-42161
type: evm
endpoint: https://edge.goldsky.com/standard/evm/42161?token=${ERPC_SECRET}
rateLimitBudget: global-erpc
# rateLimitBudget: global-erpc
evm:
chainId: 42161

Expand All @@ -179,4 +185,4 @@ rateLimiters:
rules:
- method: '*'
maxCount: 10000
period: 1s
period: 1s