Skip to content

Commit

Permalink
linking todo
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jan 30, 2024
1 parent 4d31d69 commit 6342a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions yarn-project/circuits.js/src/abis/abis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ export function computeBlockHash(
* @param globals - The global variables to put into the block hash.
* @returns The globals hash.
* TODO: move this to GlobalVariables?
* TODO(#3941) Investigate whether to nuke this once #3941 is done.
*/
export function computeGlobalsHash(globals: GlobalVariables): Fr {
return Fr.fromBuffer(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ impl Eq for GlobalVariables {
}
}

// TODO(#3941) This is only used in Header.block_hash() --> Nuke it once that func is updated
impl Hash for GlobalVariables {
fn hash(self) -> Field {
dep::std::hash::pedersen_hash_with_separator([
Expand Down

0 comments on commit 6342a9a

Please sign in to comment.