Comments (5)
You were right, the config.rate_bits
should be common_data.config.rate_bits
. I fixed that in #386.
Accidentally this would have also caused a subtle bug (also fixed in the PR) if config.zero_knowledge != common_data.config.zero_knowledge
, so thanks for finding this!
from plonky2.
Hmm interesting, it's passing for me. Did it happen on a recent copy of main?
That test uses a few CircuitConfig
s basically to demonstrate how a speed-optimized proof could be "shrunk" by wrapping it in a proof with different settings, optimized for size. The most important difference is the codeword rate -- our size-optimized proofs use very small rates, so we can run FRI with fewer rounds, at the cost of having to Merklize a huge LDE.
I wonder if we mixed up the two configs somewhere (that of the proof being recursively verified, vs that of the circuit currently being built). I could see that happening, though I'm not sure how to explain the difference on your machine vs mine.
from plonky2.
I think the test passes in release mode but not in debug mode due to the debug_assert_eq
.
This debug_assert_eq
is wrong I think, I'll try to fix it.
from plonky2.
Oh right! That's good that you caught it; we normally run that test in release mode (it's one of the most compute heavy) so we didn't notice the issue.
from plonky2.
Fixed in #386.
from plonky2.
Related Issues (20)
- Update EVM Tests to Support Cancun HOT 5
- Support EIP-4788: Beacon block root in the EVM
- Support EIP-7516: BLOBBASEFEE opcode HOT 3
- Fix kernel panics from hitting hash nodes during reverts HOT 1
- Comment about the security section and Poseidon HOT 1
- Contract using only native instructions can cause infinite loop HOT 6
- Bundle memory addresses in a single `U256` HOT 2
- The top of the stack isn't always range-checked HOT 1
- Allow higher degrees in CTL filters
- Update kernel cost estimator
- Kernel benchmark HOT 2
- How to generate an Ethereum friendly plonk verifier? HOT 4
- Improve Rust Documentation for EVM HOT 1
- Prover initialization and `AllRecursiveCircuits` API
- A problem in gadget `split_base` HOT 4
- Discord HOT 2
- Inquiry about Serialization and Deserialization of the "data" Variable in plonky2-ecdsa HOT 1
- Documentation in plonky2 crate HOT 11
- The `Solidity` Verifier for `Plonky2` Proofs HOT 7
- what is the most expensive part of `compute_quotient_polys` under `plonky2/plonk2/src/plonk/prover.rs`
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 plonky2.