Expand description
Example JAR chain.
The chain’s endpoint receives an args_len (currently ignored)
and returns a u64 — the sum of a fixed array. Exercises the
transpiled-Image runtime end-to-end: stack frame, array on
the stack, iterative sum, function return through the
#[subsoil::endpoint] trampoline’s halt wrapper.
Functions§
- simple_
chain_ sum - Compute and return the sum of
[1, 2, 3, 4, 5].