diff --git a/web3_proxy/src/rpcs/connection.rs b/web3_proxy/src/rpcs/connection.rs index 42c3dd47..96b9272d 100644 --- a/web3_proxy/src/rpcs/connection.rs +++ b/web3_proxy/src/rpcs/connection.rs @@ -997,6 +997,7 @@ impl fmt::Display for Web3Connection { } mod tests { + #![allow(unused_imports)] use super::*; #[test] diff --git a/web3_proxy/src/rpcs/connections.rs b/web3_proxy/src/rpcs/connections.rs index f00431c4..4eef8886 100644 --- a/web3_proxy/src/rpcs/connections.rs +++ b/web3_proxy/src/rpcs/connections.rs @@ -846,6 +846,8 @@ impl Serialize for Web3Connections { } mod tests { + #![allow(unused_imports)] + // TODO: why is this allow needed? does tokio::test get in the way somehow? use super::*; use crate::rpcs::{blockchain::BlockId, provider::Web3Provider}; use ethers::types::Block; diff --git a/web3_proxy/src/user_queries.rs b/web3_proxy/src/user_queries.rs index a59a8dd2..f7bc896b 100644 --- a/web3_proxy/src/user_queries.rs +++ b/web3_proxy/src/user_queries.rs @@ -9,7 +9,6 @@ use chrono::NaiveDateTime; use entities::{rpc_accounting, rpc_key}; use hashbrown::HashMap; use http::StatusCode; -use log::warn; use migration::sea_orm::{ ColumnTrait, EntityTrait, PaginatorTrait, QueryFilter, QueryOrder, QuerySelect, Select, };