Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
retrieved_bytecodes_tree.hpp
Go to the documentation of this file.
1#pragma once
2
6
7namespace bb::avm2::simulation {
8
9// Implements the methods expected by indexed_leaf.hpp
12
16
17 static bool is_updateable();
18
19 bool operator==(ClassIdLeafValue const& other) const;
20
21 friend std::ostream& operator<<(std::ostream& os, const ClassIdLeafValue& v);
22
23 fr get_key() const;
24
25 bool is_empty() const;
26
27 std::vector<fr> get_hash_inputs(fr nextKey, fr nextIndex) const;
28
29 operator uint256_t() const;
30
31 static ClassIdLeafValue empty();
32
34
35 static std::string name();
36};
37
39
41
43
44} // namespace bb::avm2::simulation
RetrievedBytecodesTree build_retrieved_bytecodes_tree()
::bb::crypto::merkle_tree::index_t index_t
Definition db.hpp:28
AvmFlavorSettings::FF FF
Definition field.hpp:10
friend std::ostream & operator<<(std::ostream &os, const ClassIdLeafValue &v)
bool operator==(ClassIdLeafValue const &other) const
std::vector< fr > get_hash_inputs(fr nextKey, fr nextIndex) const
static ClassIdLeafValue padding(index_t i)