Skip to content

Commit

Permalink
fix: Make state_diff_commitment non option (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahakShama authored Jun 26, 2024
1 parent 5565e52 commit 008afd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub struct BlockHeader {
// TODO: Once all environments support these fields, remove the Option (make sure to
// update/resync any storage is missing the data).
#[serde(skip_serializing)]
pub state_diff_commitment: Option<StateDiffCommitment>,
pub state_diff_commitment: StateDiffCommitment,
#[serde(skip_serializing)]
pub state_diff_length: Option<usize>,
#[serde(skip_serializing)]
Expand Down

0 comments on commit 008afd0

Please sign in to comment.