-
Notifications
You must be signed in to change notification settings - Fork 225
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
"Expression has too many unknowns" error #1347
Comments
From this repository: https://github.com/AztecProtocol/aztec-packages/
|
Thanks for looking into it! The branch has been merged since (and subsequently deleted). You can checkout |
I've also stumbled upon this issue in this PR. The error was thrown in the acir simulator test. |
Since this is using the hacky branch, there will be a bit of a delay in fixing this |
Aim
I'm getting a
solver opcode resolution error: cannot solve opcode: expression has too many unknowns %EXPR [ 0 ]%
when running a function using theaztec3-hacky
branch for an e2e test on the aztec3 repository. Here's the function I'm trying to run:https://github.com/AztecProtocol/aztec-packages/blob/e96ef4a94e481614f1e6f02f6c966cfc30ddff06/yarn-project/noir-contracts/src/contracts/parent_contract/src/main.nr#L84-L107
Note that there is a very similar function right above, which works fine. Given the error, it'd seem like it's related to the function being too long/complex..?
Expected behavior
Function should run as expected.
Bug
solver opcode resolution error: cannot solve opcode: expression has too many unknowns %EXPR [ 0 ]%
To reproduce
aztec3-packages
repository in thepalla/public-fns-from-private-2
branch and follow setup instructionsskip
withonly
for theshould mine transactions that enqueue multiple public calls with nested public calls
test inyarn-project/end-to-end/src/e2e_nested_contract.test.ts
yarn test nested
in the ``yarn-project/end-to-end` folderInstallation method
Compiled from source
Nargo version
nargo 0.4.0 (git version hash: 22c2234, is dirty: false)
@noir-lang/noir_wasm version
No
@noir-lang/barretenberg version
No
@noir-lang/aztec_backend version
No
Additional context
This is on the aztec3-hacky branch of the repository
Submission Checklist
The text was updated successfully, but these errors were encountered: