Mavryk_raw_protocol_001_PtAtLas.Destination_storage
val must_exist :
Raw_context.t ->
Destination_repr.t ->
Raw_context.t Mavryk_protocol_environment_001_PtAtLas.Error_monad.tzresult
Mavryk_protocol_environment_001_PtAtLas.Lwt.t
must_exist ctxt dest
checks whether the given destination dest
exists in the context ctxt
. If the destination exists, a new context is returned with gas consumed for the lookup cost. If it does not exist, an error is returned.