From e515b71af89d6d725c6355bc852432a6a5dbeb94 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Tue, 23 Jul 2024 10:47:19 -0300 Subject: [PATCH] fix: Do not load the BN254 CRS for verifying client ivc proofs (#7556) > since we are verifying we only need the g2_data part of the bn254 CRS > (so you can pass size 0 or 1 or whatever small value doesn't error) Thanks @codygunton for the tip! --- barretenberg/cpp/src/barretenberg/bb/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barretenberg/cpp/src/barretenberg/bb/main.cpp b/barretenberg/cpp/src/barretenberg/bb/main.cpp index a4d422b9baf..38316c7a1be 100644 --- a/barretenberg/cpp/src/barretenberg/bb/main.cpp +++ b/barretenberg/cpp/src/barretenberg/bb/main.cpp @@ -405,7 +405,7 @@ bool verify_client_ivc(const std::filesystem::path& proof_path, const std::filesystem::path& eccvm_vk_path, const std::filesystem::path& translator_vk_path) { - init_bn254_crs(1 << 24); + init_bn254_crs(1); init_grumpkin_crs(1 << 14); const auto proof = from_buffer(read_file(proof_path));