Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ pub(super) const TAGS: &[TaggedHashDomain<'static>] = &[
TAG_DSM_STATE_ENTROPY,
TAG_DSM_STORAGE_SET_V1,
TAG_DSM_VAULT_STATE,
TAG_DSM_VAULT_STATE_ANCHOR_V2,
TAG_DSM_VAULT_STATE_PARENT_GENESIS_V2,
TAG_DSM_SYSTEM_OWNER,
TAG_DSM_TOKEN_FACTORY,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ pub const TAG_DSM_SETTLEMENT_SLOT_CLAIM_V1: TaggedHashDomain<'static> =
crate::tagged_domain!(b"DSM/settlement-slot-claim/v1");
pub const TAG_DSM_SETTLEMENT_SLOT_CLAIM_ENVELOPE_V1: TaggedHashDomain<'static> =
crate::tagged_domain!(b"DSM/settlement-slot-claim-envelope/v1");
/// History-bound vault state anchor, Rev 15 Definition 6.4:
/// `p_v = H(tag ‖ 0x00 ‖ vault_id ‖ generation ‖ parent_state_commitment
/// ‖ reserves_digest ‖ storage_set_id ‖ q)`. A distinct domain from the legacy
/// `DSM/vault-state-anchor\0`, which is what makes Req 6.6's clean cut
/// structural rather than a matter of caller discipline.
pub const TAG_DSM_VAULT_STATE_ANCHOR_V2: TaggedHashDomain<'static> =
crate::tagged_domain!(b"DSM/vault-state-anchor/v2");
/// Canonical DLV state commitment: `c_n = H(tag ‖ 0x00 ‖ CCB(V_n))`, over the
/// `VaultStateV2` encoding of the CCB object registry (class `0x0001`).
pub const TAG_DSM_VAULT_STATE: TaggedHashDomain<'static> =
Expand Down
1 change: 1 addition & 0 deletions dsm_client/deterministic_state_machine/dsm/src/dlv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ pub mod vault_reserve_inclusion;
pub mod vault_reserve_leaf;
pub mod vault_smt_leaf;
pub mod vault_state_anchor;
pub mod vault_state_anchor_v2; // Rev 15 Def 6.4 — history-bound, clean cut from V1
Loading
Loading