-
Notifications
You must be signed in to change notification settings - Fork 33
Description
I try to generate a proof for the recursion example via the Barretenberg CLI. Unfortunately it I get the following error:
"Assertion failed: (false && "ERROR: Trying to construct a PublicInputComponent from an invalid key!")"
The error can be reproduced using the following branch in my fork: https://github.com/pmuens/noir-examples/tree/recursion-repro. The changes were made in the recursion directory, the diff of which can be seen here.
Steps to reproduce:
git clone <url>
cd recursion
./compile.sh
./prove.sh
(this is the step where the error occurs)./verify.sh
(this step won't run properly, given that the proof generation fails)./cleanup.sh
Note that I had to update the HONK_VK_SIZE
from 128
to 112
as write_vk
generates a vk with 112
elements.
The interesting part is that the whole flow works when I omit the --oracle_hash keccak
CLI option.
Here are the versions of nargo
/ bb
I've used:
root@1cdb3f64da25:/workspaces/noir-examples/recursion# nargo --version
nargo version = 1.0.0-beta.9
noirc version = 1.0.0-beta.9+6abff2f16e1c1314ba30708d1cf032a536de3d19
(git version hash: 6abff2f16e1c1314ba30708d1cf032a536de3d19, is dirty: false)
root@1cdb3f64da25:/workspaces/noir-examples/recursion# bb --version
0.87.0
This issue might be related to #54
Thanks a lot for looking into this and let me know if there's anything else you need from me to troubleshoot this.