package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-18.1.tar.gz
sha256=aa2f5bc99cc4ca2217c52a1af2a2cdfd3b383208cb859ca2e79ca0903396ca1d
sha512=d68bb3eb615e3dcccc845fddfc9901c95b3c6dc8e105e39522ce97637b1308a7fa7aa1d271351d5933febd7476b2819e1694f31198f1f0919681f1f9cc97cb3a
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)"
>