diff --git a/Cargo.toml b/Cargo.toml index bfd66a81..faccebcb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "starknet_api" -version = "0.6.0-rc1" +version = "0.6.0-rc2" edition = "2021" repository = "https://github.com/starkware-libs/starknet-api" license = "Apache-2.0" 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