File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
barretenberg/cpp/src/barretenberg/api Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,18 @@ namespace { // anonymous namespace
2727 *
2828 * @param bytecode_path
2929 * @param witness_path
30+ * @param use_structured_trace Whether to utilize structured trace when computing VK for circuit
3031 */
3132void write_standalone_vk (const std::string& output_format,
3233 const std::filesystem::path& bytecode_path,
33- const std::filesystem::path& output_path)
34+ const std::filesystem::path& output_path,
35+ bool use_structured_trace = true )
3436{
3537 auto bytecode = get_bytecode (bytecode_path);
38+ auto trace_settings = use_structured_trace ? TraceSettings{ AZTEC_TRACE_STRUCTURE } : TraceSettings{};
3639 auto response = bbapi::ClientIvcComputeStandaloneVk{
3740 .circuit = { .name = " standalone_circuit" , .bytecode = std::move (bytecode) }
38- }.execute ();
41+ }.execute ({ . trace_settings = trace_settings } );
3942
4043 bool wrote_file = false ;
4144 bool is_stdout = output_path == " -" ;
You can’t perform that action at this time.
0 commit comments