Irmin_context.ProofModule for generating and verifying proofs for a context
module Hash : sig ... endmodule Proof_encoding : sig ... endmodule Tree :
Mavryk_context_sigs.Context.TREE
with type key = string list
and type value = bytes
and type t = rw_index
and type tree = treeTree representation for proof generation.
type tree = Tree.treeval proof_encoding : proof Mavryk_base.TzPervasives.Data_encoding.tSee Sc_rollup_PVM_sem.proof_encoding
proof_before proof is the hash of the state before the step that generated rpoof.
proof_after proof is the hash of the state after the step that generated rpoof.
produce_proof ctxt tree f produces and returns a proof for the execution of f on the state tree.