Pvm.State
State of the PVM that this rollup node deals with
type t = Context.tree
The value of a PVM state
val empty : ('repo, 'tree) Context.impl -> unit -> t
empty () is the empty PVM state.
empty ()
val get : _ Context.t -> t Lwt.t
val set : 'a Context.t -> t -> 'a Context.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.
set context state
state
set
commit