From 5ab0c9455b3867e49ea06250812f8e57546dda69 Mon Sep 17 00:00:00 2001 From: "aram.eth" Date: Thu, 30 Apr 2026 12:17:20 +0200 Subject: [PATCH 1/3] Update base image to latest main version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cf81e41..dc45ddb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/erpc/erpc:7075d5c +FROM ghcr.io/erpc/erpc:main@sha256:883f39ec01607351ee2969a82fe93c62f98aa0db6c8d80e691f33180e539a484 COPY erpc.yaml . @@ -6,4 +6,4 @@ COPY erpc.yaml . # 4001 -> Monitoring EXPOSE 4000 4001 -CMD ["/erpc-server"] \ No newline at end of file +CMD ["/erpc-server"] From 3784a0b95e54257e4fcb23de396ed1f7bb35c751 Mon Sep 17 00:00:00 2001 From: "aram.eth" Date: Thu, 30 Apr 2026 12:22:22 +0200 Subject: [PATCH 2/3] Modify failsafe timeout and comment rateLimitBudget Updated failsafe timeout settings and commented out rateLimitBudget for multiple upstreams. --- erpc.yaml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/erpc.yaml b/erpc.yaml index bfb7d05..2c9cd16 100644 --- a/erpc.yaml +++ b/erpc.yaml @@ -49,6 +49,9 @@ projects: retryEmpty: true failsafe: timeout: + quantile: 0.99 + minDuration: 1s + maxDuration: 300s duration: 300s hedge: quantile: 0.95 @@ -74,10 +77,13 @@ projects: getLogsSplitOnError: false failsafe: timeout: + quantile: 0.85 + minDuration: 500ms + maxDuration: 300s duration: 300s hedge: null retry: - maxAttempts: 2 + maxAttempts: 1 delay: 0ms emptyResultConfidence: blockHead emptyResultIgnore: [ "eth_getLogs", "eth_call" ] @@ -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 @@ -179,4 +185,4 @@ rateLimiters: rules: - method: '*' maxCount: 10000 - period: 1s \ No newline at end of file + period: 1s From 7d2870415af182178a6b17694788457a356ef293 Mon Sep 17 00:00:00 2001 From: "aram.eth" Date: Tue, 5 May 2026 13:45:25 +0200 Subject: [PATCH 3/3] Increase minDuration values in erpc.yaml --- erpc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpc.yaml b/erpc.yaml index 2c9cd16..69db715 100644 --- a/erpc.yaml +++ b/erpc.yaml @@ -50,7 +50,7 @@ projects: failsafe: timeout: quantile: 0.99 - minDuration: 1s + minDuration: 10s maxDuration: 300s duration: 300s hedge: @@ -78,7 +78,7 @@ projects: failsafe: timeout: quantile: 0.85 - minDuration: 500ms + minDuration: 5s maxDuration: 300s duration: 300s hedge: null