Skip to main content

Module apply

Module apply 

Source
Expand description

Stage application — runtime-side apply_stage / discard_stage.

Lives in runtime/ so the layer DAG abi → state → runtime → persist is preserved (R4-X) — placing it on Instance would force state to import runtime::StepStage.

Application is panic-free (totality contract): every operation uses saturating arithmetic and if let Some(...) style guards.