daml/ledger-api/grpc-definitions
Gerolf Seitz 8158269b7d
Remove ExercisedEvent in Event oneof. (#1067)
* Remove ExercisedEvent in Event oneof.

The Event message is only used in the Transaction message. Flat
transactions do not contain exercised events, but only created and
archived events. Therefore we can remove the ExercisedEvent from the
Event oneof, without breaking transport compatibility.

HOWEVER: The Java Bindings used to use the data.Event class for both flat
transactions and transaction trees. To properly represent the actual
event types in the two transaction structures,
1) Event is now and interface and is only used in the Transaction class.
2) there is a new interface TreeEvent, which is used in the TransactionTree class.

* CreatedEvent implements Event and TreeEvent
* ExercisedEvent implements TreeEvent
* ArchivedEvent implements Event

Some "pathological" cases where an occurrence of an exercised event
would have resulted only in an exception, are now removed (see change in
LedgerApiV1.scala).

Fixes #960.
2019-05-13 14:36:13 +02:00
..
com/digitalasset/ledger/api/v1 Remove ExercisedEvent in Event oneof. (#1067) 2019-05-13 14:36:13 +02:00
grpc/health/v1 open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.bazel Generate and compile Haskell for Ledger API protos (#676) 2019-04-24 20:03:22 +00:00
ERRORS.md open-sourcing daml 2019-04-04 09:33:38 +01:00
post-process.sh Move protobuf docs into rst format (#334) 2019-04-10 16:42:35 +02:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00
rst_mmd.tmpl Move protobuf docs into rst format (#334) 2019-04-10 16:42:35 +02:00

gRPC LEDGER API

This repository serves for prototyping the next generation gRPC ledger-api.

For a description of error codes that may appear on the API, see this document