package octez-l2-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Context.PVMStateSource

State of the PVM that this rollup node deals with

Sourcetype value = pvmstate

The value of a PVM state

Sourceval empty : 'a t -> value

empty () is the empty PVM state.

Sourceval find : 'a t -> value option Lwt.t

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

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.