package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13
doc/octez-l2-libs.scoru-wasm/Tezos_scoru_wasm/Host_funcs/index.html
Module Tezos_scoru_wasm.Host_funcs
Source
Source
val lookup :
version:Wasm_pvm_state.version ->
Tezos_webassembly_interpreter.Ast.name ->
Tezos_webassembly_interpreter.Instance.extern
lookup ~version name
retrieves or instantiates a host function by the given name
.
Used to plug host function wrappers in the WASN interpreter linker.
Source
val lookup_opt :
version:Wasm_pvm_state.version ->
Tezos_webassembly_interpreter.Ast.name ->
Tezos_webassembly_interpreter.Instance.extern option
lookup_opt ~version name
is exactly lookup name
but returns an option instead of raising `Not_found`.
Source
val registry :
version:Wasm_pvm_state.version ->
write_debug:Builtins.write_debug ->
Tezos_webassembly_interpreter.Host_funcs.registry
registry ~version ~write_debug
returns the host functions registry for the expected PVM version
, and with the expected implementation for the write_debug
function.
A durable key was given by the kernel with a longer-than-allowed length.
Source
module Memory_access_interpreter :
Memory_access
with type t := Tezos_webassembly_interpreter.Instance.memory_inst
Defines the tick consumption of memory access for the host functions.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>