daml icon indicating copy to clipboard operation
daml copied to clipboard

Easy early access mode for Sandbox

Open bame-da opened this issue 3 years ago • 2 comments

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.

bame-da avatar Sep 09 '22 08:09 bame-da

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

stefanobaghino-da avatar Sep 28 '22 08:09 stefanobaghino-da

@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.

daravep avatar Sep 28 '22 13:09 daravep