1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980(*****************************************************************************)(* *)(* Open Source License *)(* Copyright (c) 2022 TriliTech <contact@trili.tech> *)(* *)(* Permission is hereby granted, free of charge, to any person obtaining a *)(* copy of this software and associated documentation files (the "Software"),*)(* to deal in the Software without restriction, including without limitation *)(* the rights to use, copy, modify, merge, publish, distribute, sublicense, *)(* and/or sell copies of the Software, and to permit persons to whom the *)(* Software is furnished to do so, subject to the following conditions: *)(* *)(* The above copyright notice and this permission notice shall be included *)(* in all copies or substantial portions of the Software. *)(* *)(* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR*)(* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, *)(* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *)(* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER*)(* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING *)(* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER *)(* DEALINGS IN THE SOFTWARE. *)(* *)(*****************************************************************************)(* The name by which the module is registered. This can be anything as long
as we use the same name to lookup from the registry. *)letwasm_main_module_name="main"(* This is the name of the main function of the module. We require the
kernel to expose a function named [kernel_run]. *)letwasm_entrypoint="kernel_run"(* The name of the WASM module which exports the host functions to the
WASM kernel. *)letwasm_host_funcs_virual_module="smart_rollup_core"(* TODO: https://gitlab.com/tezos/tezos/-/issues/3157
Find an appropriate number of reboots per inputs.
*)letmaximum_reboots_per_input=Z.of_int1_000(* Flag used in the durable storage by the kernel to ask a reboot from the PVM
without consuming an input. *)letreboot_flag_key=Durable.key_of_string_exn"/kernel/env/reboot"(* The path to where the WASM kernel is stored. *)letkernel_key=Durable.key_of_string_exn"/kernel/boot.wasm"(* The path to where the fallback WASM kernel is stored. When in evaluation,
this corresponds to the currently running kernel.
*)letkernel_fallback_key=Durable.key_of_string_exn"/readonly/kernel/boot.wasm"letstuck_flag_key=Durable.key_of_string_exn"/readonly/kernel/env/stuck"letupgrade_error_flag_key=Durable.key_of_string_exn"/readonly/kernel/env/upgrade_error"lettoo_many_reboot_flag_key=Durable.key_of_string_exn"/readonly/kernel/env/too_many_reboot"(* The path to where the WASM PVM exposes the remaining reboots a
kernel can do with a given inbox. *)letreboot_counter_key=Durable.key_of_string_exn"/readonly/kernel/env/reboot_counter"letversion_key=Durable.key_of_string_exn"/readonly/wasm_version"letstack_size_limit=300letnairobi_name="nairobi_017"letoxford_name="oxford_018"letparisb_name="paris_019"letparisc_name="paris_020"letproto_alpha_name="alpha_current"