Skip to content
CCPEDIAby Unity Nodes
App Development

How to import two templates with the same module name and the same templateId but belonging to different dar files

3 posts202 views1 likesLast activity Apr 2023

  1. skylornaOP

    I now have two dars, 1.0.dar and 1.2.dar. They have different pkids. I want to convert one of the contracts generated by 1.0.dar into a contract of 1.2.dar. I hope to write a template that dependences both 1.0.dar and 1.2.dar to do upgrade, but their module name and templateId are the same, I should distinguish when quoting,how can I do?

  2. Leonid_Rozenberg

    Does the documentation on name collisions help?

  3. skylorna 1

    very useful thank you