Comments (4)
Hey Srinath!
I pushed a commit which provides a breakdown of constraints, matching the numbers reported in the figure. To obtain these numbers, you can run the following commands:
- for R1CS NARK accumulation:
cargo test constraints::tests::simple_accumulation_test --features r1cs-nark-as -- --nocapture --test-threads=1
- for IPA PC accumulation:
cargo test constraints::tests::simple_accumulation_test --features ipa-pc-as -- --nocapture --test-threads=1
(You might need to manually change the degree being accumulated) - for trivial PC accumulation:
cargo test constraints::tests::simple_accumulation_test --features trivial-pc-as -- --nocapture --test-threads=1
from accumulation.
Thanks a lot @Pratyush! This worked.
On a related note, when I do cargo build --release --example scaling-nark --features="hp-as r1cs-nark-as"
, it successfully builds the binaries. But when I run, say:
./target/release/examples/scaling-nark 10 12 1
I get the following error:
================ Benchmarking NARK without zk ================
thread 'main' panicked at 'assertion failed: R1CSNark::<Affine,\n PoseidonSponge>::verify(&ivk, &[v, a, a, a, a], &proof,\n Some(PoseidonSponge::new()))', examples/scaling-nark.rs:95:9
Another minor issue is that it seems like the following line in scaling-nark.rs:
if args.len() < 4 || args[1] == "-h" || args[1] == "--help"
should be:
if args.len() < 3 || args[1] == "-h" || args[1] == "--help"
, right?
from accumulation.
Ah thanks for pointing that out, I've fixed it now =)
from accumulation.
It now works, thanks! :)
from accumulation.
Related Issues (7)
- Dependabot can't resolve your Rust dependency files
- Use linear combinations for rowcheck
- Generalize `ASForHP` to any bilinear product, as outlined in the paper.
- Implement generalization of split accumulation that enables succinct PCD proofs
- Implement specialized HP accumulation for the IVC case
- `Absorbable` implementations that utilize `to_bytes` may not match their `AbsorbableGadget` counterpart HOT 1
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 accumulation.