Skip to content

Commit

Permalink
fix(bb): mac build (#5253)
Browse files Browse the repository at this point in the history
We should always use uint64_t if we want one, and not rely on size_t
  • Loading branch information
ludamad committed Mar 15, 2024
1 parent 0ae5ace commit ae021c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<size_t> vk_vector = { verification_key.circuit_size, verification_key.num_public_inputs };
std::vector<uint64_t> 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));
Expand Down

0 comments on commit ae021c0

Please sign in to comment.