primitives: rm alloy_consensus::transaction reexports (#11191)

This commit is contained in:
Thomas Coratger
2024-09-25 14:13:48 +02:00
committed by GitHub
parent 2224e6c48b
commit 2022dd3de5
42 changed files with 98 additions and 55 deletions

View File

@ -87,6 +87,7 @@ reth-transaction-pool = { workspace = true, features = ["test-utils"] }
# alloy deps for testing against nodes
alloy-node-bindings.workspace = true
alloy-provider= { workspace = true, features = ["admin-api"] }
alloy-consensus.workspace = true
# misc
serial_test.workspace = true

View File

@ -3,6 +3,7 @@
use std::sync::Arc;
use alloy_consensus::TxEip2930;
use alloy_primitives::{Bytes, TxKind, U256};
use rand::Rng;
use reth_eth_wire::HeadersDirection;
@ -16,7 +17,7 @@ use reth_network_p2p::{
headers::client::{HeadersClient, HeadersRequest},
};
use reth_primitives::{
alloy_primitives::Parity, Block, Header, Signature, Transaction, TransactionSigned, TxEip2930,
alloy_primitives::Parity, Block, Header, Signature, Transaction, TransactionSigned,
};
use reth_provider::test_utils::MockEthProvider;

View File

@ -2,12 +2,13 @@
use std::sync::Arc;
use alloy_consensus::TxLegacy;
use alloy_primitives::U256;
use futures::StreamExt;
use rand::thread_rng;
use reth_network::{test_utils::Testnet, NetworkEvent, NetworkEventListenerProvider};
use reth_network_api::PeersInfo;
use reth_primitives::{Signature, TransactionSigned, TxLegacy};
use reth_primitives::{Signature, TransactionSigned};
use reth_provider::test_utils::{ExtendedAccount, MockEthProvider};
use reth_transaction_pool::{test_utils::TransactionGenerator, PoolTransaction, TransactionPool};