Skip to content

Commit

Permalink
chore(papyrus_base_layer): allow PriceSample to be serialized/deseria…
Browse files Browse the repository at this point in the history
…lized
  • Loading branch information
guy-starkware committed Feb 27, 2025
1 parent 5bfab04 commit 023d5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/papyrus_base_layer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 023d5f2

Please sign in to comment.