#rollup #smart #tezos #no-alloc #api-bindings

no-std tezos-smart-rollup-entrypoint

Setup kernel_entry entrypoint for Tezos Smart Rollup kernels

4 releases

0.2.2 Nov 27, 2023
0.2.1 Jul 28, 2023
0.2.0 Jun 15, 2023
0.1.0 Apr 26, 2023

#11 in #tezos

Download history 2/week @ 2024-01-01 4/week @ 2024-02-19 13/week @ 2024-02-26 7/week @ 2024-03-04 31/week @ 2024-03-11 7/week @ 2024-03-18 76/week @ 2024-04-01

115 downloads per month
Used in tezos-smart-rollup

MIT license

120KB
2K SLoC

Entrypoint definition for Tezos Smart Rollup kernels.

A kernel must expose an extern "C" fn kernel_run(); entrypoint, which is called on a loop by the runtime. The kernel yields to the runtime by returning out of kernel_run.

There is a limit on how many computation ticks a kernel may perform per entry. It is called a number of times per non-empty level. The kernel must take care not to perform arbitrarily long computations, to avoid breaching the computation limit.

Dependencies

~0.3–8.5MB
~51K SLoC