30 uint32_t
size()
const override;
bool contains(const AztecAddress &contract_address, const FF &slot) override
Checks whether a public data slot exists in the written public data slots tree.
uint32_t size() const override
Returns the number of written public data slots in the tree.
AppendOnlyTreeSnapshot get_snapshot() const override
Returns the current tree snapshot from the top of the checkpoint stack.
void revert_checkpoint() override
Reverts the current checkpoint by discarding the top of the tree state stack.
std::stack< WrittenPublicDataSlotsTree > written_public_data_slots_tree_stack
void insert(const AztecAddress &contract_address, const FF &slot) override
Inserts a public data slot into the written public data slots tree.
WrittenPublicDataSlotsTreeCheck(IndexedTreeCheckInterface &indexed_tree_check, WrittenPublicDataSlotsTree initial_state)
void create_checkpoint() override
Creates a checkpoint by pushing a copy of the current tree state onto the stack.
void commit_checkpoint() override
Commits the current checkpoint by replacing the previous tree state with the current one.
IndexedTreeCheckInterface & indexed_tree_check
AVM range check gadget for witness generation.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept