Skip to main content

EFFECT_ID_DOMAIN

Constant EFFECT_ID_DOMAIN 

Source
pub const EFFECT_ID_DOMAIN: &str = "rusty/effect-id/v1";
Expand description

Domain-separation and versioning prefix for derive_effect_id.

Effect ids are content addresses; the prefix keeps them collision-free against every other SHA-256 digest in the system (artifact references, journal heads, topology hashes) and gives the derivation formula an explicit version handle if it ever needs to change.