Skip to main content

apply

Function apply 

Source
pub fn apply(
    _algo: &ModuleEvalAlgorithm,
    _args: EvalModulesArgs,
) -> Result<String, SpecError>
Expand description

Legacy apply() โ€” kept for backwards compatibility with the previous typed-NotYet API surface. Returns a typed not-yet error since the typed pipeline driven by algo.phases requires the sui-eval Value type that lands at M2.1. New code should use eval_modules directly.

ยงErrors

Always returns SpecError::Interp { phase: "module-eval" } โ€” the pipeline-driven interpretation is M2.1 work. Use eval_modules for the M2.0 direct implementation.