For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::protocol::merkle_tree::append_only_tree

Function insert_subtree_root_to_snapshot

pub fn insert_subtree_root_to_snapshot<let TreeHeight: u32, let SubtreeHeight: u32>(
    snapshot: AppendOnlyTreeSnapshot,
    sibling_path: [Field; TreeHeight - SubtreeHeight],
    subtree_root_to_insert: Field,
) -> AppendOnlyTreeSnapshot