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

Detect optimized symbols #80

Open
erhant opened this issue May 13, 2024 · 0 comments
Open

Detect optimized symbols #80

erhant opened this issue May 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@erhant
Copy link
Owner

erhant commented May 13, 2024

When reading a witness value, if that witness got optimized due to Circom optimization parameters, their variable index will be -1. It is possible to keep track of this somewhere (--simplification_substitution option) but we may just want to give a more explicit error for these cases.

Currently, it returns undefined if you read an optimized symbol.

@erhant erhant added the bug Something isn't working label May 13, 2024
@erhant erhant mentioned this issue May 15, 2024
14 tasks
@erhant erhant self-assigned this May 15, 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
None yet
Development

No branches or pull requests

1 participant