mavryk-smart-rollup-panic-hook

Crates.iomavryk-smart-rollup-panic-hook
lib.rsmavryk-smart-rollup-panic-hook
version0.2.2
sourcesrc
created_at2024-07-30 09:43:24.765299
updated_at2024-07-30 09:43:24.765299
descriptionHook for capturing kernel panics & printing to debug log.
homepage
repositoryhttps://gitlab.com/mavryk-network/mavryk-protocol.git
max_upload_size
id1319610
size4,310
Tristan Allaire (TristanAllaire)

documentation

README

Mavryk Smart Rollup Kernel SDK - panic hook

The panic hook may be used to capture kernel panics, and write them to the debug log. Execution is then aborted, to ensure no further issues could arise.

To disable execution abortion (which prevents panic unwinding) disable the abort feature flag.

To prevent writing the panic info to the debug log (which requires an allocator for formatting) disable the debug feature flag.

Commit count: 0

cargo fmt