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 <memory>
4
8
9namespace bb::avm2::simulation {
10
12 public:
13 virtual ~BytecodeHashingInterface() = default;
15 const std::vector<uint8_t>& bytecode) = 0;
16};
17
31
32} // namespace bb::avm2::simulation
BytecodeHasher(Poseidon2Interface &hasher, EventEmitterInterface< BytecodeHashingEvent > &events)
EventEmitterInterface< BytecodeHashingEvent > & events
FF compute_public_bytecode_commitment(const BytecodeId bytecode_id, const std::vector< uint8_t > &bytecode) override
virtual FF compute_public_bytecode_commitment(const BytecodeId bytecode_id, const std::vector< uint8_t > &bytecode)=0
AvmFlavorSettings::FF FF
Definition field.hpp:10