Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(reth-primitives): clean unused file #10765

Merged
merged 1 commit into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 0 additions & 43 deletions crates/primitives/src/transaction/eip1559.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/primitives/src/transaction/eip2930.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/primitives/src/transaction/eip4844.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/primitives/src/transaction/eip7702.rs

This file was deleted.

43 changes: 0 additions & 43 deletions crates/primitives/src/transaction/legacy.rs

This file was deleted.

17 changes: 3 additions & 14 deletions crates/primitives/src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,12 @@ use rayon::prelude::{IntoParallelIterator, ParallelIterator};
use serde::{Deserialize, Serialize};

pub use access_list::{AccessList, AccessListItem, AccessListResult};
pub use eip1559::TxEip1559;
pub use eip2930::TxEip2930;
pub use eip4844::TxEip4844;
pub use eip7702::TxEip7702;

pub use alloy_consensus::{TxEip1559, TxEip2930, TxEip4844, TxEip7702, TxLegacy};

pub use error::{
InvalidTransactionError, TransactionConversionError, TryFromRecoveredTransactionError,
};
pub use legacy::TxLegacy;
pub use meta::TransactionMeta;
pub use pooled::{PooledTransactionsElement, PooledTransactionsElementEcRecovered};
#[cfg(all(feature = "c-kzg", any(test, feature = "arbitrary")))]
Expand All @@ -44,12 +41,7 @@ pub use variant::TransactionSignedVariant;

pub(crate) mod access_list;
mod compat;
mod eip1559;
mod eip2930;
mod eip4844;
mod eip7702;
mod error;
mod legacy;
mod meta;
mod pooled;
mod sidecar;
Expand All @@ -59,10 +51,7 @@ pub(crate) mod util;
mod variant;

#[cfg(feature = "optimism")]
mod optimism;

#[cfg(feature = "optimism")]
pub use optimism::TxDeposit;
pub use op_alloy_consensus::TxDeposit;
#[cfg(feature = "optimism")]
pub use tx_type::DEPOSIT_TX_TYPE_ID;

Expand Down
1 change: 0 additions & 1 deletion crates/primitives/src/transaction/optimism.rs

This file was deleted.

Loading