Skip to content

Commit

Permalink
Drop send-l2-tx flag
Browse files Browse the repository at this point in the history
  • Loading branch information
anodar committed Feb 21, 2024
1 parent 5237610 commit ec4fce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/testnode.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# The script starts up the test node (with timeout 1 minute), with option to
# run l2 transactions to make sure node is working

timeout 60 ${{ github.workspace }}/nitro-testnode/test-node.bash --init --dev || exit_status=$?
timeout 60 ${{ github.workspace }}/nitro-testnode/test-node.bash --init --dev --detach || exit_status=$?
${{ github.workspace }}/test-node.bash script send-l2 --ethamount 100 --to user_l2user --wait

if [ -n "$exit_status" ] && [ $exit_status -ne 0 ] && [ $exit_status -ne 124 ]; then
echo "Testnode failed."
Expand Down
7 changes: 0 additions & 7 deletions test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ l3_token_bridge=false
batchposters=1
devprivkey=b6b15c8cb491557369f3c7d2c287b053eb229daa9c22138887752191c9520659
l1chainid=1337
runL2Txs=false
simple=true
while [[ $# -gt 0 ]]; do
case $1 in
Expand Down Expand Up @@ -121,8 +120,6 @@ while [[ $# -gt 0 ]]; do
l3node=true
shift
;;
--run-l2-txs)
runL2Txs=true
--l3-fee-token)
if ! $l3node; then
echo "Error: --l3-fee-token requires --l3node to be provided."
Expand Down Expand Up @@ -372,10 +369,6 @@ if $force_init; then
echo
fi

if $runL2Txs; then
docker-compose run scripts send-l2 --ethamount 100 --to user_l2user --wait
fi

if $l3node; then
echo == Funding l3 users
docker compose run scripts send-l2 --ethamount 1000 --to l3owner --wait
Expand Down

0 comments on commit ec4fce0

Please sign in to comment.