Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

BlockHashDoc #785

Merged
merged 3 commits into from
Jul 10, 2023
Merged
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
8 changes: 2 additions & 6 deletions src/core/block_hash/starknet_block_hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ use cairo_vm::felt::Felt252;
use starknet_crypto::{pedersen_hash, FieldElement};
use std::iter::zip;

// --------------------------------------------------------------
// TODO:
// * calculate_block_hash
// * calculate_patricia_root
// there are missing structures to implement this functions yet
// -------------------------------------------------------------
/// Hashes the signatures with the given transaction hashes, to get hashes that take into account the
/// entire transactions, as the original hashes do not include the signatures.

pub fn calculate_tx_hashes_with_signatures(
tx_hashes: Vec<Felt252>,
Expand Down