Crates.io | tezos-smart-rollup-entrypoint |
lib.rs | tezos-smart-rollup-entrypoint |
version | 0.2.2 |
source | src |
created_at | 2023-04-26 09:56:02.266349 |
updated_at | 2023-11-27 15:25:05.986143 |
description | Setup kernel_entry entrypoint for Tezos Smart Rollup kernels. |
homepage | |
repository | https://gitlab.com/tezos/tezos.git |
max_upload_size | |
id | 849232 |
size | 5,922 |
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.