Skip to content
CCPEDIAby Unity Nodes
CLOSEDPull Request

refactor(core-provider-conformance): drop the dapp-sdk dependency

#3113by pascalhonegger-daCreated 03-12-2026

Summary

core-provider-conformance depended on dapp-sdk, so core depended on an SDK that is itself built on core. It only needs the provider type and three method signatures. It now takes them from the packages dapp-sdk builds on:

-import type { DappClient } from '@canton-network/dapp-sdk'
+import type { Provider } from '@canton-network/core-splice-provider'
+import type { Connect, SignMessage, PrepareExecute } from '@canton-network/core-wallet-dapp-rpc-client'

This drops dapp-sdk and its 23 transitive projects from the package, and removes its conformance exemption.

Part of #3102

Evidence

  • Before: core-provider-conformance is on the exemption list (core → sdk).
  • After: conformance passes without the exemption. Typecheck and tests pass.

Merge Danger

Door: two-way

Blast Radius: none

The exported Provider type stays the same type; it's now taken directly from the package dapp-sdk gets it from.