package octez-l2-libs
Octez layer2 libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
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)"
>