* use state service
eliminate ledger-identity and ledger-configuration services
update service
event query and package services
command service
command completions
command submission service
time service
clean-up
* fix documentation example
* format
* adopt rx to changed java-bindings
* Rename canton-3x to canton
* fix build
* fix BuildInfo for canton 3
* add reference drivers as a runtime dep to community_domain
* target 2.1 in interface-choices-valid
* run damlc integration tests with LF2
* fix the repl tests
* fix repl-functests
* fix package manager test
* disable V1 scala integration tests
* port the scala canton fixture to canton3
* fix JsonApiIt, using sleeps :/
* fix test-daml-packages and test-daml-ledger under //daml-assistant/daml-helper
* fix integration tests
* fix QuickstartTest.hs
* fix //daml-script/export/integration-tests/reproduces-transactions:test
* fix //daml-script/runner:tests
* fix Daml3ScriptDevIT
* fix Daml2ScriptTestRunner
* remove sleeps in functests now that a delay has been added to daml3-script's allocateParty
* fix //language-support/java/codegen:ledger-tests
* fix ScalaCodeGenIT
* remove useless sleep
* fix //language-support/ts/codegen/tests:build-and-lint-test
* remove redundant sleep and fix daml script
* fix //daml-assistant/daml-helper:test-tls
* fix CommandClientIT
* fix //daml-assistant/daml-helper:test-deployment
* Remove duplicate contract key test: not supported by canton 3.
run-all-tests: true
* fix //language-support/hs/bindings:test
run-all-tests: true
* small cleanups
run-all-tests: true
* clean up and fix compat tests
* fix build after rebase
run-full-compat: true
run-all-tests: true
Why?
This is a terrible introductory application. We have no expertise in web
development (it's terribly outdated and we don't have the knowledge to
update it), so steering newcomers in that direction is disputable at
best. This example (and the associated documentation) spends more time
discussing (a very old version of) TypeScript than Daml. The use-case
presented is not one that showcases the strength of either the Daml
language or the underlying Canton ledger. It's not even a distributed
application as it assumes a single ledger.
At best, this template presents Daml as a DDL for simple wep API
definitions, but one where the resulting generated code provides no
support for authentication, external API calls, or any common
server-side tasks like sending emails.
Why now?
As we start working in parallel on 2.9 and 3.0, we are faced with the
perspective of having to do two weekly snapshots and thus having to test
both of them. Removing create-daml-app from the 3.0 branch alleviates
the testing burden quite a bit.
Daml 3.0 will be a long-term effort, and we have plenty of time to figure
out what should replace create-daml-app for this new version. If this
template was bad at showcasing Daml 2 strength, it's an even worse fit
for Daml 3.
Note that this PR removes a lot of additional tests, notably
compatibility ones. They live on in the main-2.x branch, where
compatibility tests also run.
* Remove ledger api test tool
* Force full compat
run-full-compat: true
* Force run all tests
run-all-tests: true
---------
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
- Introduces a new major version, "2", in the daml_lf proto
- Adds new major versions to the compiler and the engine
- Updates all code that assumes only one major version
- Updates all code that assumes only one dev version
* Move the Redeem related paragraphs up
* Reduce use of "ledger" when discussing RT
* Rewrite the explanation of LT and RT
* Clarify the "moving the clock back" example
* Carrie: remove "a bit" from "challenging"
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Carrie: exactly how to assign the record time
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Carrie: the choice doesn't do anything
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Carrie: has two timestamps:
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Carrie: as determined by the participant
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Carrie: The only purpose of the RT
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Carrie: This is the requirement known as
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Carrie: LT or RT are strictly increasing
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
* Andrae: concept of a current time
* andrae: Non-fp friendly Redeem example
* andrae: better text around the Redeem example
* andrae: Remove details about skew alg
* andrae: remove misleading use of "commit"
* wallace: fix work hours boolean
* andrae: restore the case statement
Co-authored-by: Andrae Muys <andrae.muys@digitalasset.com>
* wallace: fix GitHub merge suggestion issue
* Lois: Correct "It is timestamp..."
Co-authored-by: Lois Kilberg <116729229+loiskilberg-da@users.noreply.github.com>
* Lois: Correct "and is assigned..."
Co-authored-by: Lois Kilberg <116729229+loiskilberg-da@users.noreply.github.com>
* Lois: Replace contraction doesn't
Co-authored-by: Lois Kilberg <116729229+loiskilberg-da@users.noreply.github.com>
* Lois: Remove "Notice..."
Co-authored-by: Lois Kilberg <116729229+loiskilberg-da@users.noreply.github.com>
* Lois: Replace "Now let's look at..."
Co-authored-by: Lois Kilberg <116729229+loiskilberg-da@users.noreply.github.com>
* Lois: Replace "given" and "it's"
Co-authored-by: Lois Kilberg <116729229+loiskilberg-da@users.noreply.github.com>
* Lois: Replace contraction "won't"
Co-authored-by: Lois Kilberg <116729229+loiskilberg-da@users.noreply.github.com>
---------
Co-authored-by: carrielaben-da <91496516+carrielaben-da@users.noreply.github.com>
Co-authored-by: Andrae Muys <andrae.muys@digitalasset.com>
Co-authored-by: Lois Kilberg <116729229+loiskilberg-da@users.noreply.github.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
* Add signatory labels to create and fetch in tree view
* Switch node printing in scala and expected ledger files
* Update docs/images
* Update party formatting to use `x, y and z` and correct verb tense
* Update scala to match haskell, update tests and docs (except images)
* Cleanup code from suggestions
* Fix misformatting, refactor
* Add EventQueryService (conformance disabled)
* Update with review comments
* Limit by ledger end
* Limit iterations searching for visible contract key
* Test with choice that recreates key
* Update proto comments
* Add to event query service to services document
* Inject message into token validator
* Fix docs typo
* Improve docs
* intro to exceptions: test IOUs are created and exception is thrown
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
* snake_case => camelCase
---------
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
Corrected an instance of the wrong "its" and adjusted some grammar.
[CHANGELOG_BEGIN]
[CHANGELOG_END]
Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>