Skip to content

Commit

Permalink
fix: add foundary installation
Browse files Browse the repository at this point in the history
  • Loading branch information
andysim3d committed Sep 17, 2024
1 parent 1a350a3 commit 6b34ffe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ jobs:
with:
path: bundler-spec-tests
key: ${{ runner.os }}-${{ hashFiles('bundler-spec-tests/pdm.lock', 'bundler-spec-tests/@account-abstraction/contracts/**/*.sol') }}


- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- run: cd bundler-spec-tests; git checkout
name: "re-checkout bundler-spec-tests (on top of cache)"

Expand Down
4 changes: 3 additions & 1 deletion runall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ BUILD=$root/build
OUT=$BUILD/out
#test -d bundler-spec-tests || git clone https://github.com/eth-infinitism/bundler-spec-tests.git -b v07

script_dir=$(dirname "$(realpath "$BASH_SOURCE")")

#by default, run all single-bundler configs
BUNDLERS=`ls $root/bundlers/*/*yml|grep -v p2p`

Expand All @@ -26,7 +28,7 @@ BUNDLERS=`realpath $1`
shift
fi

cd bundler-spec-tests
cd $script_dir/bundler-spec-tests

#first time must runall.
test -d .venv || runall=1
Expand Down

0 comments on commit 6b34ffe

Please sign in to comment.