mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 17:18:08 -05:00
chore: rm rpc type imports (#645)
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
use jsonrpsee::{core::RpcResult as Result, proc_macros::rpc};
|
||||
use reth_primitives::{
|
||||
rpc::{BlockId, Bytes},
|
||||
H256,
|
||||
};
|
||||
use reth_primitives::{rpc::BlockId, Bytes, H256};
|
||||
use reth_rpc_types::RichBlock;
|
||||
|
||||
/// Debug rpc interface.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use crate::Transaction;
|
||||
use reth_primitives::{rpc::H64, Address, Bloom, Bytes, H256, U256};
|
||||
use reth_primitives::{Address, Bloom, Bytes, H256, H64, U256};
|
||||
use serde::{ser::Error, Deserialize, Serialize, Serializer};
|
||||
use std::{collections::BTreeMap, ops::Deref};
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! Listeners for the transaction-pool
|
||||
|
||||
use crate::{pool::events::TransactionEvent, traits::PropagateKind};
|
||||
use reth_primitives::{rpc::TxHash, H256};
|
||||
use reth_primitives::{TxHash, H256};
|
||||
use std::{collections::HashMap, sync::Arc};
|
||||
use tokio::sync::mpsc::UnboundedSender;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ use crate::{
|
||||
pool::{best::BestTransactions, size::SizeTracker},
|
||||
TransactionOrdering, ValidPoolTransaction,
|
||||
};
|
||||
use reth_primitives::rpc::TxHash;
|
||||
use reth_primitives::TxHash;
|
||||
use std::{
|
||||
cmp::Ordering,
|
||||
collections::{BTreeMap, BTreeSet},
|
||||
|
||||
@@ -5,7 +5,7 @@ use crate::{
|
||||
identifier::{SenderId, TransactionId},
|
||||
traits::{PoolTransaction, TransactionOrigin},
|
||||
};
|
||||
use reth_primitives::{rpc::Address, TxHash, U256};
|
||||
use reth_primitives::{Address, TxHash, U256};
|
||||
use std::{fmt, time::Instant};
|
||||
|
||||
/// A Result type returned after checking a transaction's validity.
|
||||
|
||||
Reference in New Issue
Block a user