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

Can we make universality transitive in SnarkyJS/pickles/kimchi? #776

Closed
bkase opened this issue Mar 3, 2023 · 3 comments
Closed

Can we make universality transitive in SnarkyJS/pickles/kimchi? #776

bkase opened this issue Mar 3, 2023 · 3 comments
Labels
to-discuss Issues to be discussed further

Comments

@bkase
Copy link
Member

bkase commented Mar 3, 2023

Mina’s L1 supports universality in the zkapp cpu his kimchi/pickles . Can we tap into universality at the programmable module layer? Can we define a recursive circuit in snarkyjs that can verify proofs of older versions of itself?
This would allow upgrades of the zk circuit during recursive aggregation without having to settle to the L1 in between.

Why:
Having this feature would make it more practical to build cross-communicating zkAppChain rollups + allow SnarkyJS/Kimchi to be directly used as the core for other recursively composable platforms like they can on the Mina L1 (L2s, L3s, L4s, etc that settle on Mina for example)

@mimoo
Copy link
Contributor

mimoo commented Mar 3, 2023

we could easily do this now, but depending on the changes in the proof system it might become less and less "easy" and more and more of a nightmare. Basically, we will either have to fork the verifier circuit every time we do a breaking change in the proof system, or if we can, make the verifier circuit more general depending on configuration.

EDIT: rereading the question I'm not sure I fully understand it actually

@bkase bkase changed the title Can universality transitive in SnarkyJS/pickles/kimchi? Can we make universality transitive in SnarkyJS/pickles/kimchi? Mar 5, 2023
@jasongitmail jasongitmail added the to-discuss Issues to be discussed further label Mar 6, 2023
@bkase
Copy link
Member Author

bkase commented Mar 6, 2023

Slack discussion yielded yes on the pickles backend side using side loaded verification keys -- the work becomes how do we expose this in SnarkyJS with a nice API

@bkase
Copy link
Member Author

bkase commented Mar 7, 2023

And this is already tracked here! #673

@bkase bkase closed this as completed Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to-discuss Issues to be discussed further
Projects
None yet
Development

No branches or pull requests

3 participants