Skip to content

Commit

Permalink
primitives: rm alloy Withdrawal reexport
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Nov 12, 2024
1 parent 7eaa0a8 commit 03edc71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion crates/primitives-traits/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ pub mod block;
pub use block::{body::BlockBody, Block, FullBlock};

mod withdrawal;
pub use withdrawal::Withdrawal;

mod error;
pub use error::{GotExpected, GotExpectedBoxed};
Expand Down
6 changes: 1 addition & 5 deletions crates/primitives-traits/src/withdrawal.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
//! [EIP-4895](https://eips.ethereum.org/EIPS/eip-4895) Withdrawal types.

/// Re-export from `alloy_eips`.
#[doc(inline)]
pub use alloy_eips::eip4895::Withdrawal;

#[cfg(test)]
mod tests {
use super::*;
use alloy_eips::eip4895::Withdrawal;
use alloy_primitives::Address;
use alloy_rlp::{RlpDecodable, RlpEncodable};
use proptest::proptest;
Expand Down

0 comments on commit 03edc71

Please sign in to comment.