Skip to content

Commit

Permalink
Merge branch 'release' into decouple-contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
gvladika committed Apr 23, 2024
2 parents 4197b54 + e530842 commit c97a489
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/testnode.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
# until send-l2 succeeds.

# Start the test node and get PID, to terminate it once send-l2 is done.
${GITHUB_WORKSPACE}/test-node.bash --init > output.log 2>&1 &
PID=$!
cd ${GITHUB_WORKSPACE}

sleep 5m
./test-node.bash --init-force --detach

START=$(date +%s)
SUCCEDED=0
Expand All @@ -29,11 +28,10 @@ while true; do
sleep 10
done

# Shut down the test node and wait for it to terminate.
kill $PID
wait $PID
docker-compose stop

if [ "$SUCCEDED" -eq 0 ]; then
docker-compose logs
exit 1
fi

Expand Down
6 changes: 5 additions & 1 deletion test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

NITRO_NODE_VERSION=offchainlabs/nitro-node:v2.2.2-8f33fea-dev
NITRO_NODE_VERSION=offchainlabs/nitro-node:v2.3.3-6a1c1a7-dev
BLOCKSCOUT_VERSION=offchainlabs/blockscout:v1.0.0-c8db5b1

mydir=`dirname $0`
Expand Down Expand Up @@ -54,6 +54,10 @@ while [[ $# -gt 0 ]]; do
fi
shift
;;
--init-force)
force_init=true
shift
;;
--dev)
simple=false
shift
Expand Down

0 comments on commit c97a489

Please sign in to comment.