Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bytecode_hashing.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "
barretenberg/vm2/common/aztec_types.hpp
"
6
#include "
barretenberg/vm2/common/field.hpp
"
7
#include "
barretenberg/vm2/common/memory_types.hpp
"
8
9
namespace
bb::avm2::simulation
{
10
11
class
BytecodeHashingInterface
{
12
public
:
13
virtual
~BytecodeHashingInterface
() =
default
;
14
virtual
void
assert_public_bytecode_commitment
(
const
BytecodeId
& bytecode_id,
15
const
std::vector<uint8_t>& bytecode,
16
const
FF
& public_bytecode_commitment) = 0;
17
};
18
19
}
// namespace bb::avm2::simulation
aztec_types.hpp
bb::avm2::simulation::BytecodeHashingInterface
Definition
bytecode_hashing.hpp:11
bb::avm2::simulation::BytecodeHashingInterface::assert_public_bytecode_commitment
virtual void assert_public_bytecode_commitment(const BytecodeId &bytecode_id, const std::vector< uint8_t > &bytecode, const FF &public_bytecode_commitment)=0
bb::avm2::simulation::BytecodeHashingInterface::~BytecodeHashingInterface
virtual ~BytecodeHashingInterface()=default
memory_types.hpp
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::BytecodeId
FF BytecodeId
Definition
aztec_types.hpp:13
bb::avm2::FF
AvmFlavorSettings::FF FF
Definition
field.hpp:10
field.hpp
src
barretenberg
vm2
simulation
interfaces
bytecode_hashing.hpp
Generated by
1.9.8