Skip to content
New issue

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

Blackbox AND function fails identity tests #5597

Closed
michaeljklein opened this issue Jul 23, 2024 · 1 comment
Closed

Blackbox AND function fails identity tests #5597

michaeljklein opened this issue Jul 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@michaeljklein
Copy link
Contributor

Aim

Attempted to test that ONES (max-bit-size 11111.. in binary) is a left/right identity of the AND function

Expected Behavior

Expected that AND(ONES, x) == AND(x, ONES) == x

Bug

Both tests fail: https://github.com/noir-lang/noir/pull/5484/files#diff-6c685a553939db8389f16b6cf06d7d4caae94f46d64e327233fe02c7b4f8dbafR883

(Even when restricted values <= ONES)

To Reproduce

Project Impact

None

Impact Context

No response

Workaround

None

Workaround Description

No response

Additional Context

No response

Installation Method

Compiled from source

Nargo Version

No response

NoirJS Version

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@michaeljklein michaeljklein added the bug Something isn't working label Jul 23, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Jul 23, 2024
@TomAFrench
Copy link
Member

This is an issue in the testing code as discussed here: #5484 (comment)

@TomAFrench TomAFrench closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants