Keys can be generated from two different CRS #825
Labels
fix:bug
Something isn't working
need:brainstorm
Call for participation: group brainstorming is requested to fix this issue
priority:minor
Low priority issues
Describe the bug
Currently 8 circuits can be compiled to produce their prover and verifier keys. For this process, a single CRS is lazily generated and cached for subsequent use. It is currently possible to generate the first few keys using
make keys
, cancel the process, delete the generated CRS, and happily rerunmake keys
. This will produce one set of keys compiled with the deleted CRS, and a set of keys compiled using the new CRS.To Reproduce
To make this happen, follow the following process:
Expected behaviour
We should be prevented from doing this.
make keys
should trigger a CRS rebuild when a different one is generated.The text was updated successfully, but these errors were encountered: