Skip to content

Commit

Permalink
feat: add tx and event commitments
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-starkware committed Nov 9, 2023
1 parent 9139ec4 commit 3295804
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3295804

Please sign in to comment.