Skip to content
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

Merged
merged 47 commits into from
May 25, 2023
Merged

feat: intial private kernel #549

merged 47 commits into from
May 25, 2023

Conversation

dbanks12
Copy link
Collaborator

@dbanks12 dbanks12 commented May 11, 2023

Description

Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.

Resolves #503

Checklist:

  • I have reviewed my diff in github, line by line.
  • Every change is related to the PR description.
  • I have linked this pull request to the issue(s) that it resolves.
  • There are no unexpected formatting changes, superfluous debug logs, or commented-out code.
  • The branch has been merged or rebased against the head of its merge target.
  • I'm happy for the PR to be merged at the reviewer's next convenience.

dbanks12 added 2 commits May 11, 2023 23:41
… initial private kernel and moving logic between it and the inner kernel
jeanmon and others added 27 commits May 12, 2023 12:21
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>
@jeanmon jeanmon self-assigned this May 23, 2023
@jeanmon jeanmon added the C-protocol-circuits Component: Protocol circuits (kernel & rollup) label May 23, 2023
@jeanmon jeanmon requested a review from suyash67 May 23, 2023 17:25
@jeanmon jeanmon marked this pull request as ready for review May 23, 2023 17:39
Copy link
Collaborator Author

@dbanks12 dbanks12 left a 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.

Copy link
Contributor

@suyash67 suyash67 left a 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.

@suyash67 suyash67 merged commit 032f2a0 into master May 25, 2023
@suyash67 suyash67 deleted the db-jm/intial-private-kernel branch May 25, 2023 13:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-protocol-circuits Component: Protocol circuits (kernel & rollup)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create native_private_kernel_initial function
6 participants