feat: integrate SignedTx AT into StaticFileProviderRW (#12764)

This commit is contained in:
Arsenii Kulikov
2024-11-22 15:49:25 +04:00
committed by GitHub
parent 3d93b81a7e
commit 7f5fd80cb7
21 changed files with 105 additions and 75 deletions

View File

@ -14,14 +14,14 @@ pub mod tx_type;
pub use tx_type::OpTxType;
use alloy_consensus::Header;
use reth_node_types::FullNodePrimitives;
use reth_node_types::NodePrimitives;
use reth_primitives::{Block, BlockBody, Receipt, TransactionSigned};
/// Optimism primitive types.
#[derive(Debug, Default, Clone, PartialEq, Eq)]
pub struct OpPrimitives;
impl FullNodePrimitives for OpPrimitives {
impl NodePrimitives for OpPrimitives {
type Block = Block;
type BlockHeader = Header;
type BlockBody = BlockBody;