From 6858e9473428071e01484137cdf4c1a912cfbc9a Mon Sep 17 00:00:00 2001 From: Para Dox Date: Sat, 31 May 2025 22:31:28 +0700 Subject: [PATCH] tx hash queries to primary --- benchmark-proxy/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/benchmark-proxy/main.go b/benchmark-proxy/main.go index 0e02c9e9..7ee3b36b 100644 --- a/benchmark-proxy/main.go +++ b/benchmark-proxy/main.go @@ -2154,6 +2154,11 @@ func requiresPrimaryOnlyMethod(method string) bool { // Debug methods that should use primary "debug_traceTransaction": true, // Debug version of trace by tx hash "debug_storageRangeAt": true, // Accesses internal storage state + + // Transaction query methods - must go to primary + // These can return null if tx is not found, and secondary might not have recent txs + "eth_getTransactionByHash": true, + "eth_getTransactionReceipt": true, } return primaryOnlyMethods[method]