Uploaded a dar compiled with a 1.dev target

FWIW. The instructions above didn’t quite work for me with Canton 2.4. The instructions on Frequently Asked Questions — Daml SDK 2.4.0 documentation did, however, work once I figured out that:

  • Participants name used by Daml Assistant is “sandbox”
  • Domain name used by Daml Assistant is “local”

The full config file that I ended up using looks like this:

# first, turn on non-standard configuration support
canton.parameters.non-standard-config = yes

canton.domains.local.init.domain-parameters {
    # then, enable the version support on the nodes
    will-corrupt-your-system-dev-version-support = yes
    # set the domain protocol version to `dev`
    protocol-version = dev
}

canton.participants.sandbox.parameters = {
    # enable dev version on the participant (this will allow the participant to connect to a domain with dev protocol version)
    will-corrupt-your-system-dev-version-support = yes
    # enable engine lf version support
    unsafe-enable-daml-lf-dev-version = yes
}
1 Like