diff --git a/src/block.rs b/src/block.rs index f4618a59..5dbea57a 100644 --- a/src/block.rs +++ b/src/block.rs @@ -29,7 +29,10 @@ pub struct BlockHeader { pub state_root: GlobalRoot, pub sequencer: ContractAddress, pub timestamp: BlockTimestamp, - // TODO: add missing commitments. + pub transaction_count: usize, + pub transaction_commitment: StarkHash, + pub event_count: usize, + pub event_commitment: StarkHash, } /// The [transactions](`crate::transaction::Transaction`) and their