chore(ssa refactor): Add code to handle less than comparison#1433
chore(ssa refactor): Add code to handle less than comparison#1433kevaundray merged 22 commits intomasterfrom
Conversation
- This method needs to know the bit size, so we cache this information whenever we do a range constraint. We should ideally also cache it for constants too since we can figure out their bit-sizes easily
|
This was failing before because the result was not being cached when we did a cast operation. I incorrectly assumed that the value_id of the input to cast will equal the value_id of the output to cast |
|
This is now blocked by #1435 since we are now producing circuits which have a width greater than three |
joss-aztec
left a comment
There was a problem hiding this comment.
Any particular reason for the merkle test changes in this PR?
I think this might be because of a rebase, we just merged merkle changes into master |
346a216 to
7d8753b
Compare
|
Can we merge master with this PR so the extraneous diffs get removed? |
We are merging into the range-constraints PR so I think we need to update it there |
jfecher
left a comment
There was a problem hiding this comment.
I'm alright with merging this into another PR. We can fix up the other PR afterward so the diff is cleaner.
|
Diff should be clean now! |
Description
This adds code to handle the less than operation, to handle more than, we just need to handle the NOT operation which we can put in another PR.
Problem*
Resolves
Summary*
This PR sets out to
Example
Before:
After:
Documentation
This PR requires documentation updates when merged.
Additional Context
PR Checklist*
cargo fmton default settings.