From a179b4220bec5d11cfc7eb075802e81d7b15413e Mon Sep 17 00:00:00 2001 From: Mathieu <60658558+enitrat@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:01:28 +0700 Subject: [PATCH] fix: fixed foundry version to a working one (#1620) Latest foundry nightly is bugged with WETH9. Fix the version to the latest working one. --- .github/workflows/cairo-zero-ci.yml | 6 +++--- .github/workflows/cairo-zero-nightly-fuzzing.yml | 2 +- kakarot_scripts/setup/setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cairo-zero-ci.yml b/.github/workflows/cairo-zero-ci.yml index 016b54bbc..8e2d4cef8 100644 --- a/.github/workflows/cairo-zero-ci.yml +++ b/.github/workflows/cairo-zero-ci.yml @@ -95,7 +95,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: nightly-a79dfaed6fc6f88cda5f314a25d1b484d9d8c051 - name: Run tests env: HYPOTHESIS_PROFILE: ci @@ -138,7 +138,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: nightly-a79dfaed6fc6f88cda5f314a25d1b484d9d8c051 - uses: asdf-vm/actions/install@v3 - name: Load cached katana id: cached-katana @@ -163,7 +163,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: nightly-a79dfaed6fc6f88cda5f314a25d1b484d9d8c051 - name: Install deps run: forge install - name: Run tests diff --git a/.github/workflows/cairo-zero-nightly-fuzzing.yml b/.github/workflows/cairo-zero-nightly-fuzzing.yml index 4b5e3b2b0..7df325d70 100644 --- a/.github/workflows/cairo-zero-nightly-fuzzing.yml +++ b/.github/workflows/cairo-zero-nightly-fuzzing.yml @@ -24,7 +24,7 @@ jobs: - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 with: - version: nightly + version: nightly-a79dfaed6fc6f88cda5f314a25d1b484d9d8c051 - name: Run tests run: | make setup-ci diff --git a/kakarot_scripts/setup/setup.py b/kakarot_scripts/setup/setup.py index cfc8cd70f..6887a91b4 100644 --- a/kakarot_scripts/setup/setup.py +++ b/kakarot_scripts/setup/setup.py @@ -103,7 +103,7 @@ def setup_local() -> None: install_dependency( "foundry", - "curl -L https://foundry.paradigm.xyz | bash && exec $SHELL && foundryup", + "curl -L https://foundry.paradigm.xyz | bash && exec $SHELL && foundryup -v nightly-a79dfaed6fc6f88cda5f314a25d1b484d9d8c051", "forge", )