We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::merkle::check_membership
The stdlib function check_membership is pretty trivial and is less readable than performing the equality check in user code imo.
check_membership
noir/noir_stdlib/src/merkle.nr
Lines 3 to 10 in a830ce5
We should remove std::merkle::check_membership and push people towards using compute_merkle_root.
compute_merkle_root
Alternatively we can retain this function but update the return type to bool
bool
Related to #1258
The text was updated successfully, but these errors were encountered:
Closed in #1424
Sorry, something went wrong.
No branches or pull requests
Problem
The stdlib function
check_membership
is pretty trivial and is less readable than performing the equality check in user code imo.noir/noir_stdlib/src/merkle.nr
Lines 3 to 10 in a830ce5
Proposed solution
We should remove
std::merkle::check_membership
and push people towards usingcompute_merkle_root
.Alternatives considered
Alternatively we can retain this function but update the return type to
bool
Additional context
Related to #1258
Submission Checklist
The text was updated successfully, but these errors were encountered: