A trigger’s updateState function has the signature Message -> TriggerUpdateA s (). A Message can be a Transaction, Completion, or Heartbeat, which indicates that they’re mutually exclusive. However, Completion is the only message that includes a completion status.
For successful transactions, when would one receive a Completion rather than a Transaction?
And for a failed transaction, would one always receive a Completion rather than a Transaction?