Skip to content

Commit ff7c30e

Browse files
Typos
1 parent 84dfdd3 commit ff7c30e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

barretenberg/cpp/src/barretenberg/dsl/acir_format/acir_to_constraint_buf.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,9 @@ void update_max_witness_index_from_opcode(Acir::Opcode const& opcode, AcirFormat
290290
update_max_witness_index_from_expression(arg.predicate.value(), af);
291291
}
292292
},
293-
[&](const Acir::Opcode::Call&) { bb::assert_failure("Call opcode is not supported."); },
293+
[&](const Acir::Opcode::Call&) {
294+
bb::assert_failure("acir_format::update_max_witness_index_from_opcode: Call opcode is not supported.");
295+
},
294296
},
295297
opcode.value);
296298
}
@@ -363,13 +365,15 @@ AcirFormat circuit_serde_to_acir_format(Acir::Circuit const& circuit)
363365
[&](const Acir::Opcode::MemoryOp& arg) {
364366
auto block = block_id_to_block_constraint.find(arg.block_id.value);
365367
if (block == block_id_to_block_constraint.end()) {
366-
bb::assert_failure("acir_format::circuit_serder_to_acir_format: unitialized MemoryOp.");
368+
bb::assert_failure("acir_format::circuit_serde_to_acir_format: unitialized MemoryOp.");
367369
}
368370
add_memory_op_to_block_constraint(arg, block->second.first);
369371
block->second.second.push_back(i);
370372
},
371373
[&](const Acir::Opcode::BrilligCall&) {},
372-
[&](const Acir::Opcode::Call&) { bb::assert_failure("Call opcode is not supported."); },
374+
[&](const Acir::Opcode::Call&) {
375+
bb::assert_failure("acir_format::circuit_serde_to_acir_format: Call opcode is not supported.");
376+
},
373377
},
374378
gate.value);
375379
}

0 commit comments

Comments
 (0)