pub fn deposit_replication(
path: &Path,
rep: Replication,
actor_id: &str,
reason: &str,
) -> Result<StateEvent, String>Expand description
v0.70: deposit a Replication record onto the frontier as a
signed canonical replication.deposited event. Idempotent under
re-application: if the vrep_* id already exists on the
frontier, the helper refuses with a clear error rather than
silently no-op’ing. The event is appended to the canonical event
log; the reducer arm projects it onto Project.replications on
subsequent loads.