10 const std::vector<uint8_t>& bytecode,
11 const FF& public_bytecode_commitment)
13 BB_BENCH_NAME(
"BytecodeHasher::assert_public_bytecode_commitment");
15 [[maybe_unused]]
auto bytecode_length_in_bytes =
static_cast<uint32_t
>(bytecode.size());
19 inputs.insert(inputs.end(), bytecode_as_fields.begin(), bytecode_as_fields.end());
22 assert(
hash == public_bytecode_commitment);
25 (void)public_bytecode_commitment;
27 events.emit({ .bytecode_id = bytecode_id,
28 .bytecode_length = bytecode_length_in_bytes,
29 .bytecode_fields =
std::move(bytecode_as_fields) });