feat: add --evm-path argument to test CLI

This commit is contained in:
adrian
2025-09-11 09:39:28 +02:00
committed by Adrian Benavides
parent 805447f82b
commit 894b169e6f
3 changed files with 26 additions and 4 deletions

View File

@@ -16,8 +16,8 @@ for test in "${args[@]}"; do
protocol="${test%%=*}"
filter="${test#*=}"
if [[ "$test" == *"="* ]]; then
tycho-protocol-sdk --package-path "/app/substreams/$protocol" --db-url "$DATABASE_URL" --match-test "$filter"
tycho-protocol-sdk --package-path "/app/substreams/$protocol" --db-url "$DATABASE_URL" --evm-path "/app/evm" --match-test "$filter"
else
tycho-protocol-sdk --package-path "/app/substreams/$protocol" --db-url "$DATABASE_URL"
tycho-protocol-sdk --package-path "/app/substreams/$protocol" --db-url "$DATABASE_URL" --evm-path "/app/evm"
fi
done