From ae021c04ebdba07f94f1f5deeb2a142aedb78c1f Mon Sep 17 00:00:00 2001 From: ludamad Date: Fri, 15 Mar 2024 12:55:07 -0400 Subject: [PATCH] fix(bb): mac build (#5253) We should always use uint64_t if we want one, and not rely on size_t --- 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 e0057890a25..17c465945f1 100644 --- a/barretenberg/cpp/src/barretenberg/bb/main.cpp +++ b/barretenberg/cpp/src/barretenberg/bb/main.cpp @@ -490,7 +490,7 @@ void avm_prove(const std::filesystem::path& bytecode_path, // Prove execution and return vk auto const [verification_key, proof] = avm_trace::Execution::prove(avm_bytecode, call_data); // TODO(ilyas): <#4887>: Currently we only need these two parts of the vk, look into pcs_verification key reqs - std::vector vk_vector = { verification_key.circuit_size, verification_key.num_public_inputs }; + std::vector vk_vector = { verification_key.circuit_size, verification_key.num_public_inputs }; std::filesystem::path output_vk_path = output_path.parent_path() / "vk"; write_file(output_vk_path, to_buffer(vk_vector));