-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
khepri_machine: Request
delete_reason
if effective machine version …
…>= 2 only [Why] The `delete_reason` property to return was introduces with machine version 2. Older versions have two issues: * They don't know this property * They crash on unknown properties [How] We request this new property only if the effective machine version is greater or equal to 2. Note that we have to find the store ID from a PID when setting default options for calls in transactions because the Khepri state machine doesn't have it in its state... Something to improve when we have to update the machine state record. There is a separate patch to ignore unknown properties in the future.
- Loading branch information
Showing
3 changed files
with
64 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters