Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/What is atomic within a Daml Script when running against a real ledger?Forum ↗

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

App Development3 posts327 views2 likesLast activity Jun 2022
FE
Felix_KamOP
Jun 2022

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

CO
cocreature
Jun 2022

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.

FE
Felix_Kam
Jun 2022

Thanks Moritz :slight_smile:

← Back to Discussions