Skip to content

Commit

Permalink
feat: impl serde for OpPrimitives (#14422)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Seitz <[email protected]>
  • Loading branch information
leruaa and mattsse authored Feb 11, 2025
1 parent fab686a commit b7dfd54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/optimism/primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub type OpBlockBody = <OpBlock as reth_primitives_traits::Block>::Body;

/// Primitive types for Optimism Node.
#[derive(Debug, Default, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct OpPrimitives;

#[cfg(feature = "optimism")]
Expand Down

0 comments on commit b7dfd54

Please sign in to comment.