diff --git a/src/block.rs b/src/block.rs index 7acba35..fda0b28 100644 --- a/src/block.rs +++ b/src/block.rs @@ -70,9 +70,9 @@ pub struct BlockHeader { #[serde(skip_serializing)] pub event_commitment: Option, #[serde(skip_serializing)] - pub n_transactions: Option, + pub n_transactions: usize, #[serde(skip_serializing)] - pub n_events: Option, + pub n_events: usize, #[serde(skip_serializing)] pub receipt_commitment: Option, pub starknet_version: StarknetVersion,