Tezt_tezos.CodecRun octez-codec commands.
In all functions below, path can be used to override the path to octez-codec, which is Constant.tezos_codec by default.
val encode :
?path:string ->
?hooks:Tezt_wrapper.Process.hooks ->
name:string ->
Tezt_wrapper.JSON.u ->
string Lwt.tRun octez-codec encode <name> from <json>.
val spawn_encode :
?path:string ->
?hooks:Tezt_wrapper.Process.hooks ->
name:string ->
Tezt_wrapper.JSON.u ->
Tezt_wrapper.Process.tSame as encode, but do not wait for the process to exit.
val decode :
?path:string ->
?hooks:Tezt_wrapper.Process.hooks ->
name:string ->
string ->
Tezt_wrapper.JSON.t Lwt.tRun octez-codec decode <name> from <binary>.
val spawn_decode :
?path:string ->
?hooks:Tezt_wrapper.Process.hooks ->
name:string ->
string ->
Tezt_wrapper.Process.tSame as decode, but do not wait for the process to exit.
Run octez-codec dump encodings.
Same as dump_encodings, but do not wait for the process to exit.
Run octez-codec dump encoding.
Same as dump_encoding, but do not wait for the process to exit.