Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add foundary installation. read from relative path. #6

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading