Can I redeploy a newer version of my models on same ledger on DABL?

can one deploy the models, automation and ui again on same ledger for iterative process?
thanks

2 Likes

At the moment, deploying models with the same names to a DABL ledger is not recommended for the same reason that deploying models to the same Sandbox (or any other DAML ledger) can introduce user-confusion. Also note that you cannot “undeploy” a DAR.

Most people have found that including a version number of some kind in DAML module names helps alleviate some of this confusion (see davl/V5.daml at 7fe69f90deb01fc148518e70c22ef812699445a7 · digital-asset/davl · GitHub for an example). Note this implies an upgrade in your models every time you redeploy as well.

You can safely redeploy UI and bot artifacts over and over again, as they are removable.

2 Likes