From 79c8480f39668876135b05913b8fb8b823359ab0 Mon Sep 17 00:00:00 2001 From: perekopskiy <53865202+perekopskiy@users.noreply.github.com> Date: Fri, 28 Jun 2024 12:10:22 +0300 Subject: [PATCH] feat(contract-verifier): Add new compilers (#2346) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What ❔ Adds new compilers ## Why ❔ ## Checklist - [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated. - [ ] Code has been formatted via `zk fmt` and `zk lint`. --- docker/contract-verifier/Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docker/contract-verifier/Dockerfile b/docker/contract-verifier/Dockerfile index c0466f348a6f..83409b8845ca 100644 --- a/docker/contract-verifier/Dockerfile +++ b/docker/contract-verifier/Dockerfile @@ -34,7 +34,7 @@ RUN mkdir -p /etc/zksolc-bin/vm-1.5.0-a167aa3 && \ chmod +x /etc/zksolc-bin/vm-1.5.0-a167aa3/zksolc # install zksolc 1.5.x -RUN for VERSION in $(seq -f "v1.5.%g" 0 0); do \ +RUN for VERSION in $(seq -f "v1.5.%g" 0 1); do \ mkdir -p /etc/zksolc-bin/$VERSION && \ wget https://github.com/matter-labs/zksolc-bin/raw/main/linux-amd64/zksolc-linux-amd64-musl-$VERSION -O /etc/zksolc-bin/$VERSION/zksolc && \ chmod +x /etc/zksolc-bin/$VERSION/zksolc; \ @@ -54,6 +54,13 @@ RUN for VERSION in $(seq -f "v1.4.%g" 0 1); do \ chmod +x /etc/zkvyper-bin/$VERSION/zkvyper; \ done +# install zkvyper 1.5.x +RUN for VERSION in $(seq -f "v1.5.%g" 0 1); do \ + mkdir -p /etc/zkvyper-bin/$VERSION && \ + wget https://github.com/matter-labs/zkvyper-bin/raw/main/linux-amd64/zkvyper-linux-amd64-musl-$VERSION -O /etc/zkvyper-bin/$VERSION/zkvyper && \ + chmod +x /etc/zkvyper-bin/$VERSION/zkvyper; \ + done + # install solc COPY docker/contract-verifier/install-all-solc.sh install-all-solc.sh RUN bash ./install-all-solc.sh