How can I enforce DAML assistant to build DAR with LF version 1.6?
Trying to write an integration test for our DAZL bot, and the sandbox says:
Could not load package /…myapp-0.1.dar: Could not parse archive …: com.digitalasset.daml.lf.archive.Reader$ParseError: LF file V1.7 unsupported; maximum supported V1.x is V1.6
Started sandbox with:
You can add
build-options in your
daml.yaml file as in the following example:
You should probably start the sandbox using
daml start instead of trying to start it through code.
dazl.sandbox() was developed for a much earlier version of the SDK and no longer works properly with the most recent versions of the SDK. See https://github.com/digital-asset/dazl-client/issues/75 for more background on the problem. Sorry about that!
Thanks Folks! Actually I can’t mark both answers from @dtanabe and @stefanobaghino-da as a Solution, but I’d like to