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

Function accumulate_tx_effects_tree_root

pub fn accumulate_tx_effects_tree_root(left_root: Field, right_root: Field) -> Field

Combines the tx effects tree roots of two adjacent subtrees of txs, as the rollup tree is walked upwards.

Unlike accumulate_out_hash, zero roots are NOT skipped: there are no padding txs, so every leaf is a real tx and the tree shape is a function of the number of txs alone. The separator differs from DOM_SEP__TX_EFFECT_LEAF, so an internal node can never be confused with a leaf.