Tezos_protocol_environmentSourcetype validation_result = {context : Context.t;fitness : Tezos_base.TzPervasives.Fitness.t;message : string option;max_operations_ttl : int;last_allowed_fork_level : Int32.t;}type rpc_context = {block_hash : Tezos_crypto.Hashed.Block_hash.t;block_header : Tezos_base.TzPervasives.Block_header.shell_header;context : Context.t;}Memory_context is a recursive map backed by an in-memory Irmin tree, i.e. Tezos_context_memory.Context (in src/lib_context), used by the mockup mode and by proof verifiers (i.e. clients of Tezos_context_helpers.Context.Make_tree.Proof). It abstracts away Tezos_context_memory.Context.t.
This module is the location where the proxy tweaks the behavior of a vanilla client. A regular mockup client uses a Memory_context in place of this implementation. Compared to Memory_context, this instance features a Proxy_Delegate.T which under the hood relies on Proxy_getter.