-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat: intial private kernel #549
Conversation
… initial private kernel and moving logic between it and the inner kernel
update_end_values leftover
private_kernel_sim function to the inner/init split
* refactor(sol): use Hash.sha256ToField library where required * fmt :) * feat: expose bytes32 hash directly * fmt: https://i.pinimg.com/originals/81/23/a1/8123a132c007eab782d6ca9bed517eb3.jpg --------- Co-authored-by: Maddiaa0 <addaboy@gmail.com>
* fix: Add checks for arg-type * fix: support arg of 'number' type * fix: correct wrapped fr in acir sim * no need to force encode in some e2e tests! --------- Co-authored-by: Maddiaa0 <addaboy@gmail.com> Co-authored-by: Rahul Kothari <rahul.kothari.201@gmail.com>
* fix: contentHash -> content * fix: update content in nr * fix: update incorrect message hash naming --------- Co-authored-by: Maddiaa0 <addaboy@gmail.com>
native_private_kernel_init.XPP
native_private_kernel_circuit_inner
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I can't approve since I'm an author otherwise I would. Left a few comments but most of them are minor and could be put off to another PR.
circuits/cpp/src/aztec3/circuits/kernel/private/native_private_kernel_circuit_init.cpp
Outdated
Show resolved
Hide resolved
circuits/cpp/src/aztec3/circuits/kernel/private/native_private_kernel_circuit_init.hpp
Outdated
Show resolved
Hide resolved
circuits/cpp/src/aztec3/circuits/kernel/private/native_private_kernel_circuit_init.cpp
Outdated
Show resolved
Hide resolved
circuits/cpp/src/aztec3/circuits/kernel/private/native_private_kernel_circuit_inner.cpp
Outdated
Show resolved
Hide resolved
circuits/cpp/src/aztec3/circuits/kernel/private/native_private_kernel_circuit_inner.hpp
Outdated
Show resolved
Hide resolved
circuits/cpp/src/aztec3/circuits/kernel/private/native_private_kernel_circuit_init.cpp
Outdated
Show resolved
Hide resolved
yarn-project/circuits.js/src/abis/__snapshots__/abis.test.ts.snap
Outdated
Show resolved
Hide resolved
yarn-project/circuits.js/src/structs/kernel/__snapshots__/index.test.ts.snap
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me after all the comments/suggestions are resolved.
Description
Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.
Resolves #503
Checklist: