27 .
value = low_leaf_preimage.leaf.class_id,
28 .next_value = low_leaf_preimage.nextKey,
29 .next_index = low_leaf_preimage.nextIndex,
50 auto& [low_leaf_preimage, low_leaf_index, low_leaf_sibling_path] = insertion_result.low_leaf_witness_data.at(0);
51 std::span<FF> insertion_sibling_path = insertion_result.insertion_witness_data.at(0).path;
55 bool exists = class_id == low_leaf_preimage.leaf.class_id;
62 .
value = low_leaf_preimage.leaf.class_id,
63 .next_value = low_leaf_preimage.nextKey,
64 .next_index = low_leaf_preimage.nextIndex,
67 low_leaf_sibling_path,
#define BB_ASSERT_EQ(actual, expected,...)
AppendOnlyTreeSnapshot get_snapshot() const
SequentialInsertionResult< LeafType > insert_indexed_leaves(std::span< const LeafType > leaves)
GetLowIndexedLeafResponse get_low_indexed_leaf(const FF &key) const
IndexedLeaf< LeafType > get_leaf_preimage(size_t leaf_index) const
SiblingPath get_sibling_path(size_t leaf_index) const
bool contains(const FF &class_id) override
Checks whether a contract class ID exists in the retrieved bytecodes tree.
RetrievedBytecodesTree tree
void insert(const FF &class_id) override
Inserts a contract class ID into the retrieved bytecodes tree.
uint32_t size() const override
Returns the number of retrieved bytecode class IDs in the tree.
AppendOnlyTreeSnapshot get_snapshot() const override
Returns the current tree snapshot.
AVM range check gadget for witness generation.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
uint64_t next_available_leaf_index