As LF is moving to canton, we need to update our LF version/feature generation that as of writing depens on json generated from daml-lf.bzl. The steps are as follows:
- Check in scala generated files (i.e.
LanguageVersionGen and LanguageFeatureGen.scala), keep daml-lf.bzl around
- Check in the json somewhere in canton and adapt the canton generation logic to sbt
- Work on getting that file in daml
- Adopt hs generation logic if needed
- Move away from daml-lf.bzl on a bazel level by looking at the json instead
See https://github.com/DACH-NY/canton/issues/29660 for the canton-side issue