Skip to content
CCPEDIAby Unity Nodes
App Development

What is atomic within a Daml Script when running against a real ledger?

3 posts362 views2 likesLast activity Jun 2022

  1. Felix_KamOP

    If I have a Daml Script that submits a few commands, and I run it against a real ledger, are they a single transaction, or ran one command at a time ?

    The docs Daml Script — Daml SDK 2.2.0 documentation seems to suggest it is not atomic, but I am not 100% sure

  2. cocreature 2

    Daml Script is just another ledger client. There is no magic in here that makes things atomic that you couldn’t make atomic otherwise: Each submit is atomic even if it contains multiple commands, multiple submits are not atomic.

  3. Felix_Kam

    Thanks Moritz :slight_smile: