Octez_protocol_compiler.CompilerOverride the default 'Env.Persistent_signature.load' with a lookup in locally defined hashtable.
val preloaded_cmis :
Persistent_env.Persistent_signature.t
Tezos_base.TzPervasives.String.Hashtbl.tCompilation environment.
tezos_protocol_env defines the list of cmi available while compiling the protocol version. The cmi are packed into the octez-node binary by using ocp-ocamlres, see the Makefile.
register_env defines a complementary list of cmi available while compiling the generated register.ml file (that register the protocol first-class module into the Updater.versions hashtable).
Helpers
Main
val pp_protocol_hash_result :
Stdlib.Format.formatter ->
(Tezos_base.TzPervasives.Protocol_hash.t
* Tezos_base.TzPervasives.Protocol_hash.t option) ->
unitval main : driver -> string -> unit