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

co-circom: generate-proof: groth16: testcase panics #176

Open
romanmarkusholler opened this issue Aug 22, 2024 · 0 comments
Open

co-circom: generate-proof: groth16: testcase panics #176

romanmarkusholler opened this issue Aug 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@romanmarkusholler
Copy link
Contributor

using 419488b

and the artifacts from panic.zip

cargo run --release --bin co-circom -- generate-proof groth16 --witness test_vectors/panic/witness.wtns.0.shared --zkey test_vectors/panic/circuit.zkey --protocol REP3 --curve BN254 --config ../configs/party1.toml --out proof.0.json --public-input public_input.json &
cargo run --release --bin co-circom -- generate-proof groth16 --witness test_vectors/panic/witness.wtns.1.shared --zkey test_vectors/panic/circuit.zkey --protocol REP3 --curve BN254 --config ../configs/party2.toml --out proof.1.json &
cargo run --release --bin co-circom -- generate-proof groth16 --witness test_vectors/panic/witness.wtns.2.shared --zkey test_vectors/panic/circuit.zkey --protocol REP3 --curve BN254 --config ../configs/party3.toml --out proof.2.json

leads to

thread 'main' panicked at collaborative-circom/co-groth16/src/groth16.rs:220:46:
range end index 1001 out of range for slice of length 587
@romanmarkusholler romanmarkusholler added the bug Something isn't working label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants