Closed KendallWeihe closed 8 months ago
@phoebe-lew are we actively labeling these for 1.0? This one doesn't have a label.
Edit: nevermind I see it now, it's a Deadline
Two parts to this:
success
property is within the Close
messageOrder
messages are valid after any message, see description, so ensure that the various "valid next" calls enable that support)
Intentionally creating a bit of a duplicate from https://github.com/TBD54566975/tbdex/issues/242 with the hope of focusing aim and consolidating consensus requirements
Close
messages are valid after any message typeClose
message introduces a new optional propertysuccess
of type booleanThe logic of
Close.success
is as such:Close
afterOrder
Close
messages may be sent by Alice to the PFI during an actively executing order (AKA a state after, but not necessarily immediately after, anOrder
but prior to aClose
where theClose.success
istrue
), but that doesn't necessarily guarantee a successful canceled execution.In the event Alice sends a
Close
message during an actively executing order: