mavryk-smart-rollup-entrypoint

Crates.iomavryk-smart-rollup-entrypoint
lib.rsmavryk-smart-rollup-entrypoint
version0.2.2
sourcesrc
created_at2024-07-30 11:31:25.354381
updated_at2024-07-30 11:31:25.354381
descriptionSetup kernel_entry entrypoint for Mavryk Smart Rollup kernels.
homepage
repositoryhttps://gitlab.com/mavryk-network/mavryk-protocol.git
max_upload_size
id1319693
size11,210
Tristan Allaire (TristanAllaire)

documentation

README

Entrypoint definition for Mavryk 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.

Commit count: 0

cargo fmt