From eab3aa7943515fd3daadeb7cf749fe0d5a8a2bf1 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 27 Jun 2023 17:39:37 -0700 Subject: [PATCH] that simpler param doesn't work everywhere --- web3_proxy/src/rpcs/one.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web3_proxy/src/rpcs/one.rs b/web3_proxy/src/rpcs/one.rs index 3b39280a..72747d49 100644 --- a/web3_proxy/src/rpcs/one.rs +++ b/web3_proxy/src/rpcs/one.rs @@ -314,7 +314,7 @@ impl Web3Rpc { let head_block_num = self .internal_request::<_, U256>( "eth_blockNumber", - &(), + &None::<()>, // error here are expected, so keep the level low Some(Level::DEBUG.into()), Some(Duration::from_secs(5)), @@ -429,7 +429,7 @@ impl Web3Rpc { let found_chain_id: U64 = self .internal_request( "eth_chainId", - &(), + &None::<()>, Some(Level::TRACE.into()), Some(Duration::from_secs(5)), )