package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.1.tar.gz
sha256=55ea1fb8bb3273a7fc270ca8f650d45c56449665619482aad9bc12f3ea736b7e
sha512=fec850fc2d17d7490bbabd5147d62aad13b3aaed8774270f8a38ab419670ed03e0fd30cf8642a97984eca5c2446726fe590ad99c015f7ec50919dc7652f25053
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)"
>