Checking contract creation across participants in Canton installation
App Development4 posts289 views1 likesLast activity Feb 2023
ST
stefanobaghino-daOP
Feb 2023Suppose I have a tiny Canton installation with one participant P1 and one domain D.
- I allocate party
Awith namespaceN(A::N) onP1 - I create a contract as
A::N - I spin up a new participant
P2and connect it toD - I ask for the ACS of
A::Nto the Ledger API endpoint exposed byP2
Am I supposed to see the contract created above right off the bat or is there some additional operation that needs to happen for this to be the case?
CO
cocreature
Feb 2023Unless P2 hosts A::N as well, you will never see the contract on P2 (assuming there are no other stakeholders on that contract).
To host the party on two participants you need to go through explicit party & ACS migration steps.
If the contract does have an observer on P2 then just connecting to the domain should be sufficient afaik.
TA
Tamas_Kalcza
Feb 2023- What is the correct terminology? Is it party migration? Based on the docs it is a bit confusing.
- My understanding of migrating ACS is that it’s basically dump from one participant and load in another. Is that correct?
- What is the recommended approach?
- Stop all participants (i.e. P1)
- Migrate ACS
- Bring up participants (i.e. P1 and P2)
CO
cocreature
Feb 2023Please ask separate questions in separate threads.