Skip to content

Commit ff1f540

Browse files
authored
fix: Revert "fix: bump foundry-zksync (#4470)" (#4475)
This reverts commit ec900cc. Bumping of foundry has caused a different bytecode hashes to be producted, which results a failures in genesis (mismatch hashes) and issues with unittests (hashes not matching era-contract ones). Rolling back for now, until we can find a better solution.
1 parent ec900cc commit ff1f540

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/build-contract-verifier-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ jobs:
100100
if: env.BUILD_CONTRACTS == 'true'
101101
run: |
102102
mkdir ./foundry-zksync
103-
curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly-63d81adeceb7412682a2b6826f0564614bbbc6cc/foundry_zksync_nightly_linux_amd64.tar.gz
104-
tar zxf foundry_zksync_nightly_linux_amd64.tar.gz -C ./foundry-zksync
103+
curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly-27360d4c8d12beddbb730dae07ad33a206b38f4b/foundry_nightly_linux_amd64.tar.gz
104+
tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync
105105
chmod +x ./foundry-zksync/forge ./foundry-zksync/cast
106106
echo "$PWD/foundry-zksync" >> $GITHUB_PATH
107107

.github/workflows/build-core-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ jobs:
105105
if: env.BUILD_CONTRACTS == 'true'
106106
run: |
107107
mkdir ./foundry-zksync
108-
curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly-63d81adeceb7412682a2b6826f0564614bbbc6cc/foundry_zksync_nightly_linux_amd64.tar.gz
109-
tar zxf foundry_zksync_nightly_linux_amd64.tar.gz -C ./foundry-zksync
108+
curl -LO https://github.com/matter-labs/foundry-zksync/releases/download/nightly-27360d4c8d12beddbb730dae07ad33a206b38f4b/foundry_nightly_linux_amd64.tar.gz
109+
tar zxf foundry_nightly_linux_amd64.tar.gz -C ./foundry-zksync
110110
chmod +x ./foundry-zksync/forge ./foundry-zksync/cast
111111
echo "$PWD/foundry-zksync" >> $GITHUB_PATH
112112

docker/zk-environment/22.04_amd64_cuda_11_8.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN cargo install --version=0.8.0 sqlx-cli
8484
RUN cargo install cargo-nextest
8585

8686
RUN git clone https://github.com/matter-labs/foundry-zksync
87-
RUN cd foundry-zksync && git reset --hard 63d81adeceb7412682a2b6826f0564614bbbc6cc && cargo build --release --bins
87+
RUN cd foundry-zksync && git reset --hard 27360d4c8d12beddbb730dae07ad33a206b38f4b && cargo build --release --bins
8888
RUN mv ./foundry-zksync/target/release/forge /usr/local/cargo/bin/
8989
RUN mv ./foundry-zksync/target/release/cast /usr/local/cargo/bin/
9090

docker/zk-environment/22.04_amd64_cuda_12.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ RUN cargo install --version=0.8.0 sqlx-cli
8282
RUN cargo install cargo-nextest
8383

8484
RUN git clone https://github.com/matter-labs/foundry-zksync
85-
RUN cd foundry-zksync && git reset --hard 63d81adeceb7412682a2b6826f0564614bbbc6cc && cargo build --release --bins
85+
RUN cd foundry-zksync && git reset --hard 27360d4c8d12beddbb730dae07ad33a206b38f4b && cargo build --release --bins
8686
RUN mv ./foundry-zksync/target/release/forge /usr/local/cargo/bin/
8787
RUN mv ./foundry-zksync/target/release/cast /usr/local/cargo/bin/
8888

docker/zk-environment/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ RUN cargo install cargo-spellcheck
4747
RUN cargo install sccache
4848

4949
RUN git clone https://github.com/matter-labs/foundry-zksync
50-
RUN cd foundry-zksync && git reset --hard 63d81adeceb7412682a2b6826f0564614bbbc6cc && cargo build --release --bins
50+
RUN cd foundry-zksync && git reset --hard 27360d4c8d12beddbb730dae07ad33a206b38f4b && cargo build --release --bins
5151
RUN mv ./foundry-zksync/target/release/forge /usr/local/cargo/bin/
5252
RUN mv ./foundry-zksync/target/release/cast /usr/local/cargo/bin/
5353

0 commit comments

Comments
 (0)