diff --git a/crates/primitives/src/transaction/eip4844.rs b/crates/primitives/src/transaction/eip4844.rs index 45220083f0774..499deb0e625d1 100644 --- a/crates/primitives/src/transaction/eip4844.rs +++ b/crates/primitives/src/transaction/eip4844.rs @@ -5,9 +5,11 @@ use crate::{ }; use alloy_rlp::{length_of_length, Decodable, Encodable, Header}; use core::mem; -#[cfg(any(test, feature = "reth-codec"))] use reth_codecs::Compact; +/// To be used with `Option` to place or replace one bit on the bitflag struct. +pub type CompactPlaceholder = (); + #[cfg(feature = "c-kzg")] use crate::kzg::KzgSettings; @@ -58,7 +60,7 @@ pub struct TxEip4844 { /// TODO(debt): this should be removed if we break the DB. /// Makes sure that the Compact bitflag struct has one bit after the above field: /// - pub placeholder: Option<()>, + pub placeholder: Option, /// The 160-bit address of the message call’s recipient. pub to: Address,