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

Add range constraints for bounded integer params to main #1446

Closed
Tracked by #1376
joss-aztec opened this issue May 30, 2023 · 2 comments
Closed
Tracked by #1376

Add range constraints for bounded integer params to main #1446

joss-aztec opened this issue May 30, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request refactor ssa

Comments

@joss-aztec
Copy link
Contributor

Problem

Params to main that aren't unbounded field elements need to have range constraints applied consistent with their bit widths.

Happy Case

This can be done via casting

Alternatives Considered

No response

Additional Context

No response

Would you like to submit a PR for this Issue?

No

Support Needs

No response

@kevaundray
Copy link
Contributor

@guipublic can you check that this is completed?

@guipublic
Copy link
Contributor

I am closing this issue, range constraints are added for main parameters when handling block parameters in acir_gen.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor ssa
Projects
Archived in project
Development

No branches or pull requests

3 participants