Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
retrieved_bytecodes_tree_check.hpp
Go to the documentation of this file.
1#pragma once
2
5
6namespace bb::avm2::simulation {
7
9 public:
10 virtual ~RetrievedBytecodesInterface() = default;
11 virtual bool contains(const FF& class_id) = 0;
12 virtual void insert(const FF& class_id) = 0;
13 virtual uint32_t size() const = 0;
14};
15
17 public:
18 // Abstraction leak: we need to track tree roots to implement the set in-circuit
20};
21
22} // namespace bb::avm2::simulation
virtual void insert(const FF &class_id)=0
virtual bool contains(const FF &class_id)=0
virtual AppendOnlyTreeSnapshot get_snapshot() const =0
AVM range check gadget for witness generation.
AvmFlavorSettings::FF FF
Definition field.hpp:10