Skip to content
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
4 changes: 4 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ lint-native: fmt-check lint-docs clippy
clippy:
cargo +stable clippy --workspace --all-features --all-targets -- -D warnings

# Fix clippy warnings across the workspace
clippy-fix:
cargo +stable clippy --workspace --all-features --all-targets --fix --allow-staged --allow-dirty -- -D warnings

# Check the formatting of the workspace
fmt-check:
cargo +nightly fmt --all -- --check
Expand Down
8 changes: 5 additions & 3 deletions crates/consensus/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ extern crate alloc;
#[cfg(feature = "alloy-compat")]
mod alloy_compat;

mod receipt;
pub use receipt::{OpDepositReceipt, OpDepositReceiptWithBloom, OpReceiptEnvelope, OpTxReceipt};
mod receipts;
pub use receipts::{
OpDepositReceipt, OpDepositReceiptWithBloom, OpReceipt, OpReceiptEnvelope, OpTxReceipt,
};

pub mod transaction;
pub use transaction::{
Expand Down Expand Up @@ -48,7 +50,7 @@ pub use transaction::serde_deposit_tx_rpc;
#[cfg(all(feature = "serde", feature = "serde-bincode-compat"))]
pub mod serde_bincode_compat {
pub use super::{
receipt::receipts::serde_bincode_compat::OpDepositReceipt,
receipts::deposit::serde_bincode_compat::OpDepositReceipt,
transaction::{serde_bincode_compat as transaction, serde_bincode_compat::TxDeposit},
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ use alloy_consensus::TxReceipt;
mod envelope;
pub use envelope::OpReceiptEnvelope;

pub(crate) mod receipts;
pub use receipts::{OpDepositReceipt, OpDepositReceiptWithBloom};
pub(crate) mod deposit;
pub use deposit::{OpDepositReceipt, OpDepositReceiptWithBloom};

mod receipt;
pub use receipt::OpReceipt;

/// Receipt is the result of a transaction execution.
pub trait OpTxReceipt: TxReceipt {
Expand Down
Loading