aztec-nr - noir_aztec::protocol::constants

Global DOM_SEP__PARTIAL_NOTE_COMMITMENT

pub global DOM_SEP__PARTIAL_NOTE_COMMITMENT: u32;

Domain separator for partial note commitments.

This is not technically a protocol constant as partial note commitments are computed by each contract.

A partial note commitment is the first round of hashing of a partial note, combining the private fields before the public completion fields (storage slot and public note data) are mixed in. Distinct from DOM_SEP__NOTE_HASH, which preserves the storage-slot-first invariant.