diff --git a/yarn-project/circuits.js/src/abis/abis.ts b/yarn-project/circuits.js/src/abis/abis.ts index bcf7d01e3db..468deee240e 100644 --- a/yarn-project/circuits.js/src/abis/abis.ts +++ b/yarn-project/circuits.js/src/abis/abis.ts @@ -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( diff --git a/yarn-project/noir-protocol-circuits/src/crates/types/src/abis/global_variables.nr b/yarn-project/noir-protocol-circuits/src/crates/types/src/abis/global_variables.nr index c8b5ba74d0b..23a43a02703 100644 --- a/yarn-project/noir-protocol-circuits/src/crates/types/src/abis/global_variables.nr +++ b/yarn-project/noir-protocol-circuits/src/crates/types/src/abis/global_variables.nr @@ -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([