From 9f5892be579f05ef8c0ad7abc742d6aff9f06691 Mon Sep 17 00:00:00 2001 From: leruaa Date: Fri, 20 Dec 2024 05:28:03 -0800 Subject: [PATCH] feat: add operator fee fields to L1BlockInfo --- crates/rpc-types/src/receipt.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/crates/rpc-types/src/receipt.rs b/crates/rpc-types/src/receipt.rs index 0df70cc5..92dff831 100644 --- a/crates/rpc-types/src/receipt.rs +++ b/crates/rpc-types/src/receipt.rs @@ -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, + /* ---------------------------------------- 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, + /// 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, } impl Eq for L1BlockInfo {}