Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the rule ifFailureFree to the STS code #2679

Merged
merged 2 commits into from
Mar 17, 2022
Merged

Add the rule ifFailureFree to the STS code #2679

merged 2 commits into from
Mar 17, 2022

Conversation

TimSheard
Copy link
Contributor

No description provided.

@lehins lehins self-requested a review March 17, 2022 21:18
@lehins lehins merged commit e3c4e25 into master Mar 17, 2022
@iohk-bors iohk-bors bot deleted the ts-STS-failures branch March 17, 2022 21:18
lehins added a commit that referenced this pull request Jun 5, 2022
…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.
lehins added a commit that referenced this pull request Jun 5, 2022
…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.
lehins added a commit that referenced this pull request Jun 5, 2022
…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.
teodanciu pushed a commit that referenced this pull request Jun 14, 2022
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants