Skip to content
CCPEDIAby Unity Nodes
CLOSEDPull Request

refactor(core-splice-codegen): replace utils.vetDar with utils.readDar

#3114by pascalhonegger-daCreated 03-12-2026

Summary

The published core-splice-codegen depended on wallet-sdk at runtime only so vetDar could call sdk.ledger.dar.upload. The modules now only read their DAR, and callers upload it through their own SDK:

-await utils.vetDar(sdk, synchronizerId)
+await sdk.ledger.dar.upload(utils.readDar(), DAR.packageId, synchronizerId, true)

This removes core-splice-codegen's conformance exemption (core → sdk).

Part of #3102

Evidence

  • Before: core-splice-codegen is on the exemption list.
  • After: conformance passes without the exemption. The test-token registries and the integration-guide scripts use readDar, and their tests pass.

Merge Danger

Door: one-way (published API)

Blast Radius: consumers of utils.vetDar

Breaking change for core-splice-codegen. The release notes include the one-line migration above.