From e60b9dc3fe7e7be984e7280da36159a65e99cf8f Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 20 Dec 2022 22:01:35 -0800 Subject: [PATCH] lower eth_getBlockByNumber level to Warn --- web3_proxy/src/rpcs/connection.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web3_proxy/src/rpcs/connection.rs b/web3_proxy/src/rpcs/connection.rs index 48a23ed4..962c4e0a 100644 --- a/web3_proxy/src/rpcs/connection.rs +++ b/web3_proxy/src/rpcs/connection.rs @@ -197,7 +197,7 @@ impl Web3Connection { "eth_getBlockByNumber", &json!(("latest", false)), // error here are expected, so keep the level low - Level::Debug.into(), + Level::Warn.into(), ) .await? .context("no block during check_block_data_limit!")?; @@ -751,7 +751,7 @@ impl Web3Connection { .request( "eth_getBlockByNumber", &json!(("latest", false)), - Level::Error.into(), + Level::Warn.into(), ) .await; @@ -844,7 +844,7 @@ impl Web3Connection { .request( "eth_getBlockByNumber", &json!(("latest", false)), - Level::Error.into(), + Level::Warn.into(), ) .await;