Skip to main content

hopper_lazy_entrypoint

Macro hopper_lazy_entrypoint 

Source
macro_rules! hopper_lazy_entrypoint {
    ( $process:expr ) => { ... };
}
Expand description

Declare the Hopper lazy entrypoint, RUNTIME-typed, matching the eager hopper_fast_entrypoint!’s layering.

The handler receives &mut hopper_runtime::lazy::LazyContext (also in the facade prelude) and returns the runtime ProgramResult; the expansion bridges to the substrate lazy parser and maps errors through the layout-twin glue at the boundary. Substrate authors who want the native-typed context use the substrate layer’s own hopper_lazy_entrypoint! directly, exactly as with the eager pair.