Skip to content

Commit

Permalink
add alto bundler configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nikmel2803 committed Jan 30, 2024
1 parent 60c381c commit e243e17
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
13 changes: 13 additions & 0 deletions bundlers/alto/alto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:

bundler:
ports: [ '3000:3000' ]
image: ghcr.io/pimlicolabs/alto:latest
environment:
- ALTO_ENTRY_POINT=$ENTRYPOINT
- ALTO_MAX_SIGNERS=1
- ALTO_RPC_URL=$ETH_RPC_URL
- ALTO_SIGNER_PRIVATE_KEYS=0xc6cbc5ffad570fdad0544d1b5358a36edeb98d163b6567912ac4754e144d4edb
- ALTO_UTILITY_PRIVATE_KEY=0xc6cbc5ffad570fdad0544d1b5358a36edeb98d163b6567912ac4754e144d4edb
- ALTO_NETWORK_NAME=local
- ALTO_MIN_BALANCE=0
10 changes: 5 additions & 5 deletions runall.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash

test -n "$VERBOSE" && set -x

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

cd bundler-spec-tests
cd bundler-spec-tests

#first time must runall.
test -d .venv || runall=1
Expand All @@ -30,7 +30,7 @@ fi
rm -rf $OUT
mkdir -p $OUT

for bundler in $BUNDLERS; do
for bundler in $BUNDLERS; do

bundlerTitle=`echo $bundler|perl -pe "s@$root/?@@"`
echo ====================================================================
Expand All @@ -47,7 +47,7 @@ function getEnv {
envFile=$1
name=$2
def=$3

val=`sh -c "source $envFile; echo \\\$$name"`
echo ${val:-$def}
}
Expand All @@ -63,7 +63,7 @@ if $root/runbundler/runbundler.sh $bundler pull-start; then

echo "`date`: started bundler $bundler, name=$name" | tee -a $outraw

case "$bunder" in
case "$bundler" in
*yml) PYTEST_FOLDER=`getEnv $root/runbundler/runbundler.env PYTEST_FOLDER tests/single` ;;
*env) PYTEST_FOLDER=`getEnv $bundler PYTEST_FOLDER tests/p2p` ;;
esac
Expand Down

0 comments on commit e243e17

Please sign in to comment.