From 8c71733724aecfe47807053c701f303fe6444a39 Mon Sep 17 00:00:00 2001 From: perekopskiy <53865202+perekopskiy@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:07:26 +0300 Subject: [PATCH] feat(contract-verifier): Add zksolc v1.5.0 (#2201) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What ❔ Add zksolc v1.5.0 ## 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`. - [ ] Spellcheck has been run via `zk spellcheck`. --- docker/contract-verifier/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/contract-verifier/Dockerfile b/docker/contract-verifier/Dockerfile index c5f12672ebae..c0466f348a6f 100644 --- a/docker/contract-verifier/Dockerfile +++ b/docker/contract-verifier/Dockerfile @@ -33,6 +33,13 @@ RUN mkdir -p /etc/zksolc-bin/vm-1.5.0-a167aa3 && \ wget https://github.com/matter-labs/era-compiler-solidity/releases/download/prerelease-a167aa3-code4rena/zksolc-linux-amd64-musl-v1.5.0 -O /etc/zksolc-bin/vm-1.5.0-a167aa3/zksolc && \ 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 \ + 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; \ + done + # install zkvyper 1.3.x RUN for VERSION in $(seq -f "v1.3.%g" 9 17); do \ mkdir -p /etc/zkvyper-bin/$VERSION && \