You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: remove equality operation on boolean constraints against constants (#5919)
…
# Description
## Problem\*
Resolves <!-- Link to GitHub Issue -->
## Summary\*
We're currently performing a `x == 1` equality and then constraining the
result to be `1` when dealing with boolean values in brillig. This PR
updates the codegen to just act on `x` directly.
## Additional Context
## Documentation\*
Check one:
- [x] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[For Experimental Features]** Documentation to be submitted in a
separate PR.
# PR Checklist\*
- [x] I have tested the changes locally.
- [x] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
0 commit comments