diff --git a/src/client/mod.rs b/src/client/mod.rs index 635beae4a..e796f20d0 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -120,7 +120,7 @@ where .pool .add_transaction(TransactionOrigin::Local, pool_transaction) .await - .inspect_err(|err| tracing::error!(?err, ?hash, ?to, from = ?signer))?; + .inspect_err(|err| tracing::warn!(?err, ?hash, ?to, from = ?signer))?; Ok(hash) } diff --git a/src/eth_rpc/servers/eth_rpc.rs b/src/eth_rpc/servers/eth_rpc.rs index 6b994e542..32c72ae16 100644 --- a/src/eth_rpc/servers/eth_rpc.rs +++ b/src/eth_rpc/servers/eth_rpc.rs @@ -18,6 +18,7 @@ use reth_primitives::{BlockId, BlockNumberOrTag}; use serde_json::Value; use starknet::providers::Provider; use std::sync::Arc; +use tracing::Level; /// The RPC module for the Ethereum protocol required by Kakarot. #[derive(Debug)] @@ -240,7 +241,7 @@ where Err(EthApiError::Unsupported("eth_sendTransaction").into()) } - #[tracing::instrument(skip_all, ret, err)] + #[tracing::instrument(skip_all, ret, err(level = Level::WARN))] async fn send_raw_transaction(&self, bytes: Bytes) -> RpcResult { tracing::info!("Serving eth_sendRawTransaction");