Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
fixtures.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "../types.hpp"
5
9
10inline IndexedNullifierLeafType create_indexed_nullifier_leaf(const fr& value, index_t nextIndex, const fr& nextValue)
11{
12 return IndexedNullifierLeafType{ NullifierLeafValue(value), nextIndex, nextValue };
13}
14
16 const fr& value,
17 index_t nextIndex,
18 const fr& nextValue)
19{
20 return IndexedPublicDataLeafType{ PublicDataLeafValue(slot, value), nextIndex, nextValue };
21}
22} // namespace bb::crypto::merkle_tree
IndexedNullifierLeafType create_indexed_nullifier_leaf(const fr &value, index_t nextIndex, const fr &nextValue)
Definition fixtures.hpp:10
IndexedPublicDataLeafType create_indexed_public_data_leaf(const fr &slot, const fr &value, index_t nextIndex, const fr &nextValue)
Definition fixtures.hpp:15