refactor: move ExtendedTxEnvelope to reth-primitives-traits (#16102)

Co-authored-by: Federico Gimenez <federico.gimenez@gmail.com>
This commit is contained in:
Femi Bankole
2025-05-08 17:32:54 +01:00
committed by GitHub
parent c7436a6f33
commit 124bd39405
7 changed files with 78 additions and 59 deletions

View File

@@ -1,4 +1,5 @@
// use jsonrpsee::tracing::{debug, info};
use crate::primitives::CustomTransactionEnvelope;
use op_alloy_consensus::{interop::SafetyLevel, OpTxEnvelope};
use reth_chain_state::CanonStateSubscriptions;
use reth_node_builder::{
@@ -17,11 +18,10 @@ use reth_op::{
blobstore::DiskFileBlobStore, CoinbaseTipOrdering, EthPoolTransaction,
TransactionValidationTaskExecutor,
},
primitives::ExtendedTxEnvelope,
};
use reth_optimism_forks::OpHardforks;
use crate::primitives::{CustomTransactionEnvelope, ExtendedTxEnvelope};
#[derive(Debug, Clone)]
pub struct CustomPoolBuilder<
T = OpPooledTransaction<ExtendedTxEnvelope<OpTxEnvelope, CustomTransactionEnvelope>>,