Skip to content

Reference

Utils — replication helpers

Map categorized ledger types to OcfEntityType, build CantonOcfDataMap from manifests, and computeReplicationDiff for DB vs Canton reconciliation.

Key capabilities: mapCategorizedTypeToEntityType, isOcfEntityType, TRANSACTION_SUBTYPE_MAP, buildCantonOcfDataMap, computeReplicationDiff (options control strictness / ignored fields). Used by verification tooling comparing manifest-shaped Canton exports to relational projections.

Source