diff --git a/crates/consensus/Cargo.toml b/crates/consensus/Cargo.toml index b95164da88b..4caa7712fab 100644 --- a/crates/consensus/Cargo.toml +++ b/crates/consensus/Cargo.toml @@ -25,6 +25,8 @@ c-kzg = { workspace = true, features = ["serde"], optional = true } # arbitrary arbitrary = { workspace = true, features = ["derive"], optional = true } +proptest = { workspace = true, optional = true } +proptest-derive = { workspace = true, optional = true } # serde serde = { workspace = true, features = ["derive"], optional = true } @@ -48,6 +50,8 @@ kzg = ["dep:c-kzg", "alloy-eips/kzg", "std"] arbitrary = [ "std", "dep:arbitrary", + "dep:proptest-derive", + "dep:proptest", "alloy-eips/arbitrary", ] serde = [ diff --git a/crates/consensus/src/lib.rs b/crates/consensus/src/lib.rs index 10d215f8391..75a68dda937 100644 --- a/crates/consensus/src/lib.rs +++ b/crates/consensus/src/lib.rs @@ -21,6 +21,9 @@ pub use header::{Header, EMPTY_OMMER_ROOT_HASH, EMPTY_ROOT_HASH}; mod receipt; pub use receipt::{AnyReceiptEnvelope, Receipt, ReceiptEnvelope, ReceiptWithBloom, TxReceipt}; +mod request; +pub use request::Request; + pub mod transaction; #[cfg(feature = "kzg")] pub use transaction::BlobTransactionValidationError;