Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
feat(contract-verifier): Add new compilers (matter-labs#2346)
Browse files Browse the repository at this point in the history
## What ❔

Adds new compilers

## Why ❔

<!-- Why are these changes done? What goal do they contribute to? What
are the principles behind them? -->
<!-- Example: PR templates ensure PR reviewers, observers, and future
iterators are in context about the evolution of repos. -->

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] 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`.
  • Loading branch information
perekopskiy authored and irnb committed Jul 12, 2024
1 parent abd44ae commit 79c8480
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docker/contract-verifier/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand All @@ -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
Expand Down

0 comments on commit 79c8480

Please sign in to comment.