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 <cstdint>
4#include <vector>
5
7
8namespace bb::avm2::simulation {
9
11 public:
12 virtual ~BytecodeHashingInterface() = default;
13 virtual void assert_public_bytecode_commitment(const BytecodeId& bytecode_id,
14 const std::vector<uint8_t>& bytecode) = 0;
15};
16
17} // namespace bb::avm2::simulation
std::shared_ptr< Napi::ThreadSafeFunction > bytecode
virtual void assert_public_bytecode_commitment(const BytecodeId &bytecode_id, const std::vector< uint8_t > &bytecode)=0
AVM range check gadget for witness generation.