3#include "../../constants.hpp"
4#include "barretenberg/join_split_example/types.hpp"
5#include "barretenberg/stdlib/hash/pedersen/pedersen.hpp"
6namespace join_split_example::proofs::notes::circuit::value {
8inline auto complete_partial_commitment(
field_ct const& value_note_partial_commitment,
10 suint_ct
const& asset_id,
13 return pedersen_hash::hash({ value_note_partial_commitment, value.value, asset_id.value, input_nullifier },
14 GeneratorIndex::VALUE_NOTE_COMMITMENT);