From 07b1c14ac7df1f47d84fb50e8b27fd6f5c75849d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Grze=C5=9Bkiewicz?= Date: Wed, 14 Aug 2024 14:37:07 +0200 Subject: [PATCH] fix(en): dirty fix that cleans solc cache (#2656) Co-authored-by: Daniyar Itegulov --- docs/guides/external-node/building-from-scratch/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guides/external-node/building-from-scratch/Dockerfile b/docs/guides/external-node/building-from-scratch/Dockerfile index e0aa07cfa7c7..da098df91d51 100644 --- a/docs/guides/external-node/building-from-scratch/Dockerfile +++ b/docs/guides/external-node/building-from-scratch/Dockerfile @@ -21,6 +21,8 @@ RUN cp target/release/zksync_external_node /usr/bin # build contracts RUN git submodule update --init --recursive RUN zk run yarn +RUN zk compiler all || true +RUN rm /root/.cache/hardhat-nodejs/compilers-v2/linux-amd64/solc-*.does.not.work || true RUN zk compiler all RUN zk contract build RUN zk f yarn run l2-contracts build