Issue with the deployment_guide of daml-on-fabric
Hi,
I’m trying to run Daml-on-fabric with the instructions in the GitHub repo:
github.comdigital-asset/daml-on-fabric/blob/a475adfb9004e3e490abc33b75cac749cfe14bb3/DEPLOYMENT_GUIDE.md#deploying-our-daml-app
## Deploying DAML on Fabric
### What We're Doing
1. Setting up our DAML App, in this case a project called `create-daml-app`
2. Building and running a local Fabric ledger with DAML support through the `daml-on-fabric` project
3. Deploying our `create-daml-app` code to our Fabric ledger where it will record its state
4. Running a JSON endpoint that automatically creates every endpoint we need for our DAML application
5. Starting up a React UI that will consume these JSON endpoints with no lower level interaction with DAML or Fabric necessary
### Building Our DAML App
1. Let's `daml create-daml-app my-app` to create our example application in the `my-app` directory.
2. Now follow the build instructions in `my-app/README.md`. Build the project up to and including the `yarn build` command, then come back here
### Starting up Fabric
Now that we have our DAML app built it needs a place to run, let's grab `daml-on-fabric` and get it running
3. Simply `git clone https://github.com/digital-asset/daml-on-fabric.git` and follow the [instructions](https://github.com/digital-asset/daml-on-fabric) for "Running a local Hyperledger Fabric network"
This file has been truncated. show original
But I got an issue about LF version when I try to deploy the app:
upload-dar did not succeed: "\"Invalid argument: LF V1.14 unsupported. Supported LF versions are V1.6,V1.7,V1.8,V1.11,V1.12,V1.dev\""
I saw that I could correct this by adding:
build-options:
- --target=1.6
in daml.yaml file. But with this I got this error:
option --target: Unknown Daml-LF version: 1.14 (default), 1.dev
So the only one that I can use seems to be 1.dev.
The ‘daml build’ command works well but when I try to deploy the app I have this error :
upload-dar did not succeed: "\"Invalid argument: BuiltinFunction.UNRECOGNIZED\""
Hi @TanguyLauc,
This example is deprecated as starting from Daml 2.0 you can use Canton as the default deployment platform. Please take a look into Canton and how to use it. Open source edition comes with the PostgresSQL driverC.