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

Commit f62e42e

Browse files
mmsc2juanbono
andauthored
BlockHashDoc (#785)
Co-authored-by: Juan Bono <juanbono94@gmail.com>
1 parent 0c9978a commit f62e42e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/core/block_hash/starknet_block_hash.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ use cairo_vm::felt::Felt252;
55
use starknet_crypto::{pedersen_hash, FieldElement};
66
use std::iter::zip;
77

8-
// --------------------------------------------------------------
9-
// TODO:
10-
// * calculate_block_hash
11-
// * calculate_patricia_root
12-
// there are missing structures to implement this functions yet
13-
// -------------------------------------------------------------
8+
/// Hashes the signatures with the given transaction hashes, to get hashes that take into account the
9+
/// entire transactions, as the original hashes do not include the signatures.
1410
1511
pub fn calculate_tx_hashes_with_signatures(
1612
tx_hashes: Vec<Felt252>,

0 commit comments

Comments
 (0)