From 033e2340d53c425b2c76563d2bfda814b4c9cc06 Mon Sep 17 00:00:00 2001 From: spypsy Date: Wed, 4 Oct 2023 20:36:20 +0100 Subject: [PATCH] fix: copy over wasm in yarn-project (#2693) --- yarn-project/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yarn-project/Dockerfile b/yarn-project/Dockerfile index 1794668b6e0..57e3ba2bca3 100644 --- a/yarn-project/Dockerfile +++ b/yarn-project/Dockerfile @@ -26,6 +26,12 @@ WORKDIR /usr/src/yarn-project/circuits.js/resources RUN ./download_ignition.sh 0 28 3200027 RUN ./download_ignition.sh 0 322560092 322560219 true +# Ensure wasm symlink is removed +RUN rm /usr/src/yarn-project/circuits.js/resources/aztec3-circuits.wasm + +# Copy real wasm into yarn-project +RUN cp /usr/src/circuits/cpp/build-wasm/bin/aztec3-circuits.wasm /usr/src/yarn-project/circuits.js/resources/aztec3-circuits.wasm + WORKDIR /usr/src/yarn-project ENTRYPOINT ["yarn"] \ No newline at end of file