rholang: add opt-in split LogicT post-match execution runtime with persisted continuations#457
Open
machieke wants to merge 17 commits intoF1R3FLY-io:rust/devfrom
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR merges
asi/experimental/logicT-execution-runtimeintoorigin/rust/devand introduces an experimental, opt-in split execution runtime for post-match continuation processing in Rholang.The new runtime path is gated by
SplitPostMatchConfig.enabledand remains disabled by default, preserving existing behavior unless explicitly enabled.Diff size: 15 files changed, +5555 / -279.
Why
Post-match continuation execution currently runs in a single flow. This change introduces a deterministic step-based model that can:
What changed
1. Split post-match execution model (feature-gated)
reduce_step(exec_state, gas_limit)stepping with terminal outcomes:CompletedSuspended2. Continuation persistence layer
origin + nonce)Standard/Bridge)3. Runtime continuation APIs
execute_continuationexecute_public_continuation4. Funding, visibility, and bridge subtype support
FundingPolicy::{ProducerOnly, ExecutorPays}ContinuationVisibility::{Private, Public}5. Operational hardening and observability
128 KiB1286. Tests