Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Dec 13, 2024
1 parent 775530e commit d990fc6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/primitives/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ use derive_more::{Deref, DerefMut};
#[cfg(any(test, feature = "arbitrary"))]
pub use reth_primitives_traits::test_utils::{generate_valid_header, valid_header_strategy};
use reth_primitives_traits::{
serde_bincode_compat::SerdeBincodeCompat, BlockBody as _, InMemorySize, SignedTransaction,
Transaction,
BlockBody as _, InMemorySize, MaybeSerdeBincodeCompat, SignedTransaction, Transaction,
};
use serde::{Deserialize, Serialize};

Expand All @@ -37,7 +36,7 @@ impl<T> Default for Block<T> {

impl<T> reth_primitives_traits::Block for Block<T>
where
T: SignedTransaction + Encodable + Decodable + SerdeBincodeCompat,
T: SignedTransaction + Encodable + Decodable + MaybeSerdeBincodeCompat,
{
type Header = Header;
type Body = BlockBody<T>;
Expand Down Expand Up @@ -662,7 +661,7 @@ impl<T: InMemorySize> InMemorySize for BlockBody<T> {

impl<T> reth_primitives_traits::BlockBody for BlockBody<T>
where
T: SignedTransaction + SerdeBincodeCompat,
T: SignedTransaction + MaybeSerdeBincodeCompat,
{
type Transaction = T;
type OmmerHeader = Header;
Expand Down

0 comments on commit d990fc6

Please sign in to comment.