Skip to content

Commit

Permalink
feat: adds support for vyper 0.4.0 verification as its now supported …
Browse files Browse the repository at this point in the history
…since zkvyper 1.5.1 (#3049)

I am not sure if any other changes are required to facilitate supporting
vyper 0.4.0 verification so please advise accordingly.

## What ❔

<!-- What are the changes this PR brings about? -->
<!-- Example: This PR adds a PR template to the repo. -->
<!-- (For bigger PRs adding more context is appreciated) -->
- Adds support for vyper 0.4.0 verification since zkvyper has supported
0.4.0 since
[1.5.1](https://github.com/matter-labs/era-compiler-vyper/blob/main/CHANGELOG.md#151---2024-06-27).

## 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. -->
- Contract verification does not allow for 0.4.0, see the issue:
matter-labs/block-explorer#290

## Checklist

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

- [x] 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.
- [x] Code has been formatted via `zk_supervisor fmt` and `zk_supervisor
lint`.

Co-authored-by: perekopskiy <[email protected]>
  • Loading branch information
dutterbutter and perekopskiy authored Oct 10, 2024
1 parent 408d339 commit e51ec49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/contract-verifier/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ RUN mkdir -p /etc/vyper-bin/0.3.10 \
&& wget -O vyper0.3.10 https://github.com/vyperlang/vyper/releases/download/v0.3.10/vyper.0.3.10%2Bcommit.91361694.linux \
&& mv vyper0.3.10 /etc/vyper-bin/0.3.10/vyper \
&& chmod +x /etc/vyper-bin/0.3.10/vyper
RUN mkdir -p /etc/vyper-bin/0.4.0 \
&& wget -O vyper0.4.0 https://github.com/vyperlang/vyper/releases/download/v0.4.0/vyper.0.4.0+commit.e9db8d9f.linux \
&& mv vyper0.4.0 /etc/vyper-bin/0.4.0/vyper \
&& chmod +x /etc/vyper-bin/0.4.0/vyper

COPY --from=builder /usr/src/zksync/target/release/zksync_contract_verifier /usr/bin/
COPY contracts/system-contracts/bootloader/build/artifacts/ /contracts/system-contracts/bootloader/build/artifacts/
Expand Down

0 comments on commit e51ec49

Please sign in to comment.