package octez-l2-libs

  1. Overview
  2. Docs
Octez layer2 libraries

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-l2-libs.layer2_store/Tezos_layer2_store/Irmin_context/PVMState/index.html

Module Irmin_context.PVMStateSource

State of the PVM that this rollup node deals with

Sourcetype value = tree

The value of a PVM state

Sourceval empty : unit -> value

empty () is the empty PVM state.

Sourceval find : _ t -> value option Lwt.t

find context returns the PVM state stored in the context, if any.

Sourceval get : _ t -> value Lwt.t
Sourceval lookup : value -> string list -> bytes option Lwt.t

lookup state path returns the data stored for the path path in the PVM state state.

Sourceval set : 'a t -> value -> 'a t Lwt.t

set context state saves the PVM state state in the context and returns the updated context. Note: set does not perform any write on disk, this information must be committed using commit.

OCaml

Innovation. Community. Security.