Hi there,
Today I used Ledger API to upload a package to Canton participant. The participant did not allow me to create contracts using the uploaded template.
The participant node is permissioned and I’m not using IAM on participant node. Interestingly I can still create smart contracts using old packages I uploaded via canton console weeks ago.
The error I got is
23:18:54.813 [da-ui-backend-akka.actor.default-dispatcher-10] INFO c.d.n.s.platform.PlatformSubscriber - Command 'c8a2399e7dc3f23' completed with status 'CommandStatusError(FAILED_PRECONDITION,NO_DOMAIN_FOR_SUBMISSION(9,e0c7f9c1): No valid domain for submission found.)'. akkaAddress=akka://da-ui-backend, sourceThread=da-ui-backend-akka.actor.default-dispatcher-8, akkaTimestamp=13:18:54.813UTC, akkaSource=akka://da-ui-backend/user/$a/party-Alice%3A%3A122013276fc51248214c9bfbafd83c183a6e24b965f879ccb603b93168147abe1c93, sourceActorSystem=da-ui-backend
The participant node log shows
2023-06-05 21:58:56,163 [canton-env-execution-context-21] INFO c.d.c.p.s.CantonSyncService:participant=participant1 tid:b582179bbb5d3acd94557b56aa8b00df - NO_DOMAIN_FOR_SUBMISSION(9,b582179b): No valid domain for submission found. err-context:{applicationId=Navigator-197262a5-f81c-48a8-b4a2-b97dc4a2dc9e#54f168b5dcf70c91, commandId=54d40e15355386b0, domainsNotUsed=Map(domainManager1::1220a22a9347... -> Some packages are not known to all informees on domain domainManager1::1220a22a9347....
Participant PAR::participant1::122013276fc5... has not vetted "default" (5568e5111e97...)), location=DomainSelector.scala:206}
Did I miss any steps in between? What is the differences between uploading package using Canton console and Ledger API?