From 2ede2a1801f31d98444af5fd78562ff237022809 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 22 Nov 2023 18:32:34 -0400 Subject: [PATCH] temporarily disable detailed_healthcheck --- web3_proxy/src/rpcs/one.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web3_proxy/src/rpcs/one.rs b/web3_proxy/src/rpcs/one.rs index 555de6d9..ca62b049 100644 --- a/web3_proxy/src/rpcs/one.rs +++ b/web3_proxy/src/rpcs/one.rs @@ -798,6 +798,9 @@ impl Web3Rpc { let detailed_healthcheck = new_total_requests - old_total_requests < 5; + // TODO: i think there is an erigon bug when fetching transactions from a fresh block. disable detailed health checks for now + let detailed_healthcheck = false; + // TODO: if this fails too many times, reset the connection if let Err(err) = rpc.check_health(detailed_healthcheck, error_handler).await { rpc.healthy.store(false, atomic::Ordering::SeqCst);