-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conditional execution of rules whenever there is already predicat…
…e failure. In #2679 we got an implmentation of conditional execution. The intent was to prevent running some expensive predicate checks whenever there is already at least one existing predicate failure. That PR did not account for the fact that rules are executed in a recursive function and the state that carries information about predicate failures is not shared between each invocation. In other words, whenever one STS rule called another (eg. UTXOW calling UTXO), the invoked STS rules would be oblivious to previous failures.
- Loading branch information
Showing
2 changed files
with
52 additions
and
28 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