digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
Other
802 stars 204 forks source link

Easy early access mode for Sandbox #14992

Open bame-da opened 2 years ago

bame-da commented 2 years ago

What is the problem you want to solve?

I would like to make it easy to consume early access versions of Daml, Daml-LF, and Canton Protocol.

What is the solution you would propose?

I'd like a single option in daml.yaml and canton configs that lets me activate early access mode, and then following that use both numbered and dev versions of Daml-LF and Canton Protocol.

For example, to use interfaces in 2.4.0, I would like to be able to

  1. set something like unsafe-enable-early-access
  2. set target=1.15
  3. set protocol=dev

And now have the Sandbox configured for me to work.

Ideally, I would like this to be named consistently with Canton configs and be less aggressive than will-corrupt-your-system-dev-version-support.

stefanobaghino-da commented 2 years ago

What is the process that users need to go through for this to happen currently?

daravep commented 2 years ago

@bame-da the will-corrupt-your-system-dev-version-support is actually true. a node that has this turned on will get a different database schema which can not be migrated off. so it's not just that you would be using unsafe option, you will never be able to upgrade that node. that's why it is so dramatic.