allow unused imports for now
This commit is contained in:
parent
c29a7118bb
commit
04d95f7234
@ -997,6 +997,7 @@ impl fmt::Display for Web3Connection {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod tests {
|
mod tests {
|
||||||
|
#![allow(unused_imports)]
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
@ -846,6 +846,8 @@ impl Serialize for Web3Connections {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod tests {
|
mod tests {
|
||||||
|
#![allow(unused_imports)]
|
||||||
|
// TODO: why is this allow needed? does tokio::test get in the way somehow?
|
||||||
use super::*;
|
use super::*;
|
||||||
use crate::rpcs::{blockchain::BlockId, provider::Web3Provider};
|
use crate::rpcs::{blockchain::BlockId, provider::Web3Provider};
|
||||||
use ethers::types::Block;
|
use ethers::types::Block;
|
||||||
|
@ -9,7 +9,6 @@ use chrono::NaiveDateTime;
|
|||||||
use entities::{rpc_accounting, rpc_key};
|
use entities::{rpc_accounting, rpc_key};
|
||||||
use hashbrown::HashMap;
|
use hashbrown::HashMap;
|
||||||
use http::StatusCode;
|
use http::StatusCode;
|
||||||
use log::warn;
|
|
||||||
use migration::sea_orm::{
|
use migration::sea_orm::{
|
||||||
ColumnTrait, EntityTrait, PaginatorTrait, QueryFilter, QueryOrder, QuerySelect, Select,
|
ColumnTrait, EntityTrait, PaginatorTrait, QueryFilter, QueryOrder, QuerySelect, Select,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user