Comments (6)
@mimoo It is technically possible, yes, but the direct verification cost for a circuit used for Mina's state proof turns out to be overwhelming. It definitely exceeds 5m gas. Probably goes out of the 10m threshold as well. So we had to wrap it with the proof system with a cheaper verification.
from mina-state-proof.
@mimoo When this project was started, no such thing as plonky2 existed. Even if it did, I highly doubt, we would've picked it because it cannot be considered as a general-purpose proof system.
Plonky2 is a proof system done for the only purpose - to dominate synthetic benchmark results table. It targets recursive verification case done with circuits of a very particular kind (no signature or finite field elements longer than 64 bit can be proved efficiently with it - i.e. no efficient Mina's proof systems curves processing is possible with it) for a very particular hardware (arm64) Even a curve which was picked for plonky2 (for the by-default usage) was picked with the only purpose in mind - to show fastest benchmark results with a very particular hardware (https://moderncrypto.org/mail-archive/curves/2014/000322.html).
What we are building is a general-purpose proof system that can be applied to different use cases. It does uses PLONK with custom gates and LPC commitment scheme as well, yes, but there are differences in the arithmetization part, public input enforcement method, and lookup approach. We will publish a spec in a couple of weeks.
I'm also thinking that eventually all those PLONK-ish proof systems will result into some configurable proof system with substitutable components. At least we target the creation of such one within the cryptography suite of ours.
from mina-state-proof.
BTW I was wondering why redshift and why not verify the plonk proof directly in ethereum? Not sure if I understand this correctly, but it looks like it is possible
from mina-state-proof.
interesting, how would that compare with plonky2 which seems to use the same kind of techniques?
from mina-state-proof.
Interesting, thanks for the thorough answer, I found some of these details here as well :)
from mina-state-proof.
Done with: NilFoundation/crypto3-zk@5a60299
from mina-state-proof.
Related Issues (20)
- Test our Mina pipeline and their own zk App guide
- Fix evm-placeholder-verification npm package version
- e2e-demo fixes
- Move on to Lorem Ipsum-based implementation
- Make necessary changes after the class Expression replaces non_linear_combination in zk.
- Public input processing
- Update to new input format
- Update account inclusion proof
- Plonk_variable now accepts AssigmentType as template parameter, branch 55-two-blueprints
- Circuits parameters are different for tests and tasks
- Update new versions of hardhat-deploy HOT 1
- Transfer verifier contracts from Proof Market repo
- Maintain code in branch 55, make changes that are required due to changes in zk repo.
- M1/M2 chipsets compatibility with older npm versions
- Update error messages in get_mina_state.py
- Return the dummy keys to /examples/mina-zk-app HOT 1
- Transaction gas limit exceeds block gas limit for our own examples HOT 3
- Conflicted packages
- Ledger circuits params update
- Remove duplicated interfaces for verifiers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mina-state-proof.