From fe8cf80e18955f32331f7ad6079f4b600f344968 Mon Sep 17 00:00:00 2001 From: Richard Watts Date: Thu, 27 Jun 2024 18:19:43 +0100 Subject: [PATCH] (fix) More fixes for transit --- Makefile | 2 +- README.md | 1 + src/eval/Ipcmessage_pb.ml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7a848f8f9..38a1e79bb 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ default: release APT_REQUIREMENTS= autoconf bison build-essential ca-certificates ccache cmake cron curl dnsutils gawk \ git lcov libcurl4-openssl-dev libev-dev libgmp-dev libpcre3-dev libssl-dev libtool \ libxml2-utils ninja-build nload ocaml ocl-icd-opencl-dev opam openssh-client patchelf pkg-config \ - rsync rsyslog tar unzip vim wget zip zlib1g-dev + rsync rsyslog tar unzip vim wget zip zlib1g-dev ocaml-dune install-from-apt: apt-get update -y diff --git a/README.md b/README.md index ae620deb4..96f35f290 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ To force vcpkg to try again. You'll also need to do: ``` make opamdep +eval $(opam env) ``` To make opam dependencies. You may well need to: diff --git a/src/eval/Ipcmessage_pb.ml b/src/eval/Ipcmessage_pb.ml index 1bc9abf38..fdf722565 100644 --- a/src/eval/Ipcmessage_pb.ml +++ b/src/eval/Ipcmessage_pb.ml @@ -111,7 +111,7 @@ let rec encode_proto_scilla_val_map (v : Ipcmessage_types.proto_scilla_val_map) encoder = let encode_key = Pbrt.Encoder.string in let encode_value x encoder = - Pbrt.Encoder.nested encode_proto_scilla_val x encoder + Pbrt.Encoder.nested (encode_proto_scilla_val x) encoder in List.iter v.Ipcmessage_types.m ~f:(fun (k, v) -> Pbrt.Encoder.key 1 Pbrt.Bytes encoder;