Skip to content

Commit

Permalink
feat: add operator fee fields to L1BlockInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
leruaa committed Dec 20, 2024
1 parent 447b9ef commit 9f5892b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crates/rpc-types/src/receipt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,17 @@ pub struct L1BlockInfo {
/// Always null prior to the Ecotone hardfork.
#[serde(default, skip_serializing_if = "Option::is_none", with = "alloy_serde::quantity::opt")]
pub l1_blob_base_fee_scalar: Option<u128>,
/* ---------------------------------------- Isthmus ---------------------------------------- */
/// Operator fee scalar. Applied to operator fee to compute weighted gas price multiplier.
///
/// Always null prior to the Isthmus hardfork.
#[serde(default, skip_serializing_if = "Option::is_none", with = "alloy_serde::quantity::opt")]
pub operator_fee_scalar: Option<u32>,
/// Operator fee constant. Applied to operator fee to compute weighted gas price multiplier.
///
/// Always null prior to the Isthmus hardfork.
#[serde(default, skip_serializing_if = "Option::is_none", with = "alloy_serde::quantity::opt")]
pub operator_fee_constant: Option<u64>,
}

impl Eq for L1BlockInfo {}
Expand Down

0 comments on commit 9f5892b

Please sign in to comment.