Skip to content

Commit

Permalink
renamed OptimismPayloadTypes to OpPayloadTypes (paradigmxyz#12281)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencartavia authored Nov 2, 2024
1 parent 2aba40b commit af38a1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/optimism/node/src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use reth_optimism_payload_builder::{
/// The types used in the optimism beacon consensus engine.
#[derive(Debug, Default, Clone, serde::Deserialize, serde::Serialize)]
#[non_exhaustive]
pub struct OptimismEngineTypes<T: PayloadTypes = OptimismPayloadTypes> {
pub struct OptimismEngineTypes<T: PayloadTypes = OpPayloadTypes> {
_marker: std::marker::PhantomData<T>,
}

Expand All @@ -48,9 +48,9 @@ where
/// A default payload type for [`OptimismEngineTypes`]
#[derive(Debug, Default, Clone, serde::Deserialize, serde::Serialize)]
#[non_exhaustive]
pub struct OptimismPayloadTypes;
pub struct OpPayloadTypes;

impl PayloadTypes for OptimismPayloadTypes {
impl PayloadTypes for OpPayloadTypes {
type BuiltPayload = OpBuiltPayload;
type PayloadAttributes = OpPayloadAttributes;
type PayloadBuilderAttributes = OpPayloadBuilderAttributes;
Expand Down

0 comments on commit af38a1a

Please sign in to comment.