Skip to main content

route_enforce

Function route_enforce 

Source
pub async fn route_enforce(ctx: EnforceCtx<'_>) -> (EngineOutcome, Trace)
Expand description

Run the enforce-mode ladder and produce both the outcome and its audit trace.

The trace’s prev_hash is left as GENESIS_HASH; the trace-store writer overwrites it with the real chain head when persisting (keeping the single-writer chain invariant).