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

chore: Don't generate proofs of verifier circuits in test #10405

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -345,14 +345,8 @@ template <typename OuterComposer> class stdlib_verifier : public testing::Test {
static void check_recursive_verification_circuit(OuterBuilder& outer_circuit, bool expected_result)
{
info("number of gates in recursive verification circuit = ", outer_circuit.get_estimated_num_finalized_gates());
OuterComposer outer_composer;
auto prover = outer_composer.create_prover(outer_circuit);
auto verifier = outer_composer.create_verifier(outer_circuit);
auto proof = prover.construct_proof();
auto result = verifier.verify_proof(proof);
// bool result = CircuitChecker::check(outer_circuit);
const bool result = CircuitChecker::check(outer_circuit);
EXPECT_EQ(result, expected_result);
static_cast<void>(expected_result);
auto g2_lines = srs::get_bn254_crs_factory()->get_verifier_crs()->get_precomputed_g2_lines();
EXPECT_EQ(check_pairing_point_accum_public_inputs(outer_circuit, g2_lines), true);
}
Expand Down
Loading