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

u64 workaround #9

Closed
wants to merge 21 commits into from
Closed

u64 workaround #9

wants to merge 21 commits into from

Conversation

vezenovm
Copy link
Collaborator

@vezenovm vezenovm commented Dec 5, 2022

It seems that an error in Noir is resulting in the mishandling of bits and range constraints when solving a circuit. This bug is still in the process of being fixed but until then we can work around it by leaving our bit masks as Field when performing arithmetic upon then and then only converting them to a u64 only when it is required, such as for a bit operation.

I left this is as a draft PR as it is mostly a branch for testing changes in PR #8 and needs some better test cases before confirming that this strategy is valid. For more info about the issue blocking the padding function you can look here: (noir-lang/noir#466).

Base automatically changed from u64-refactor to master December 7, 2022 18:20
@TomAFrench
Copy link
Owner

Closing this as the state of the repo (and noir) has moved on in the meantime.

@TomAFrench TomAFrench closed this Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants