Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ pub enum BlockVerificationError {
BlockSignatureVerificationFailed { block_hash: BlockHash, error: CryptoError },
}

/// Verifies that the the block header was signed by the expected sequencer.
/// Verifies that the block header was signed by the expected sequencer.
pub fn verify_block_signature(
sequencer_pub_key: &SequencerPublicKey,
signature: &BlockSignature,
Expand Down
2 changes: 1 addition & 1 deletion src/block_hash/block_hash_calculator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub struct BlockHeaderCommitments {
}

/// Poseidon (
/// STARKNET_BLOCK_HASH0, block_number, global_state_root, sequencer_address,
/// "STARKNET_BLOCK_HASH0", block_number, global_state_root, sequencer_address,
/// block_timestamp, concat_counts, state_diff_hash, transaction_commitment,
/// event_commitment, receipt_commitment, gas_price_wei, gas_price_fri,
/// data_gas_price_wei, data_gas_price_fri, starknet_version, 0, parent_block_hash
Expand Down