From 70352a27b38384794a179b7d492779fba8ea4498 Mon Sep 17 00:00:00 2001 From: rguichard Date: Thu, 25 Jun 2026 11:43:51 +0200 Subject: [PATCH] fix(helm): correct decimal block numbers in eth_getLogs test log The printed decimal equivalents and range size for the eth_getLogs test did not match the hex literals. Corrected values (verified with printf '%d'): 0x1254048f = 307,496,079 0x12558b2f = 307,596,079 range = 0x186a0 = exactly 100,000 blocks (Note: Aikido's suggested values were also incorrect.) Log-output only; no behaviour change. Addresses Aikido finding on helm/charts/erpc/test-local.sh:225. Co-Authored-By: Claude Opus 4.8 --- helm/charts/erpc/test-local.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/charts/erpc/test-local.sh b/helm/charts/erpc/test-local.sh index 164658283..7b9ed08ac 100755 --- a/helm/charts/erpc/test-local.sh +++ b/helm/charts/erpc/test-local.sh @@ -222,8 +222,8 @@ if echo "$response" | grep -q '"result"'; then log_count=$(echo "$response" | jq -r '.result | length' 2>/dev/null || echo "unknown") echo "✅ Arbitrum eth_getLogs test successful" echo " Logs found: $log_count" - echo " Block range: 0x1254048f (307,074,191) to 0x12558b2f (307,166,767)" - echo " Range size: ~92,576 blocks" + echo " Block range: 0x1254048f (307,496,079) to 0x12558b2f (307,596,079)" + echo " Range size: 100,000 blocks" elif echo "$response" | grep -q '"error"'; then error_message=$(echo "$response" | jq -r '.error.message // .error' 2>/dev/null || echo "unknown") echo "⚠️ eth_getLogs returned error (expected for large ranges):"