diff --git a/noir_stdlib/src/merkle.nr b/noir_stdlib/src/merkle.nr index f6806874444..34cfcdb1787 100644 --- a/noir_stdlib/src/merkle.nr +++ b/noir_stdlib/src/merkle.nr @@ -2,6 +2,7 @@ // Currently we assume that it is a binary tree, so depth k implies a width of 2^k // XXX: In the future we can add an arity parameter // Returns the merkle root of the tree from the provided leaf, its hashpath, using a pedersen hash function. +#[deprecated("This function will be removed from the stdlib in version 1.0.0-beta.4")] pub fn compute_merkle_root(leaf: Field, index: Field, hash_path: [Field; N]) -> Field { let index_bits: [u1; N] = index.to_le_bits(); let mut current = leaf;