-
Notifications
You must be signed in to change notification settings - Fork 288
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
Adding hash index in noir for private call stack item #499
Comments
From @sirasistant : |
6 tasks
Same applies to public call stack item in Noir being added in #546. |
This was referenced May 23, 2023
I'm working on this now that we have support for hash_index |
6 tasks
This was referenced Jul 26, 2023
spalladino
added a commit
that referenced
this issue
Jul 31, 2023
…1209) Fix hashing of private call stack items to be consistent across Noir and cpp. Note that this does not solve #499 in the kernel circuit (cc @jeanmon) since uncommenting the call stack hash validation breaks most of the kernel tests since they modify call stack items without updating the corresponding hashes. I tried fixing them but after a few hours of repeated failures decided to cut my losses and submit what I got working on the noir and ts side.
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In C++, for the private kernel's call stack item, we hash the object using a
GeneratorIndex
akahash index
We do that check here in the private kernel circuit.
On the client side, we hash the call stack item in
private_call_stack_item.nr
but we don't use a hash index!Because of this nested calls to the private kernel is failing (now that we have error handling). I have commented out the
validate_this_private_call_stack()
check in the private kernel circuit for now because of this.The text was updated successfully, but these errors were encountered: