diff --git a/crates/papyrus_base_layer/src/lib.rs b/crates/papyrus_base_layer/src/lib.rs index 16865a23b4e..f4052ac1f32 100644 --- a/crates/papyrus_base_layer/src/lib.rs +++ b/crates/papyrus_base_layer/src/lib.rs @@ -75,7 +75,7 @@ pub trait BaseLayerContract { } /// A struct that holds together the data on the base layer's gas prices, for a given timestamp. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Serialize, Deserialize)] pub struct PriceSample { pub timestamp: u64, // Fee is stored as u128 for compatibility with any base layer.