-
Notifications
You must be signed in to change notification settings - Fork 245
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
Brillig functions with oracle calls are being optimized away #2333
Labels
bug
Something isn't working
Comments
|
This was referenced Aug 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aim
Brillig functions which contain oracle calls should be maintained whether we use the output or not.
Expected Behavior
Brillig functions which contain oracle calls should be maintained whether we use the output or not as the caller may be relying on the foreign call to pass out information from the circuit.
Bug
The integration test
brillig_oracle
gets compiled down to an empty circuit.To Reproduce
nargo info --show-ssa
onbrillig_oracle
test caseget_number_sequence_wrapper
Installation Method
Compiled from source
Nargo Version
nargo 0.10.1 (git version hash: fd29197, is dirty: false)
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: