Skip to content

Commit 174a38f

Browse files
committed
minor changes
1 parent d872464 commit 174a38f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

cmd/bootstrap/permissionless-test/permissionless-collector-test.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,8 @@
55
# The test can be run using either local or GCP bucket vote transport. To test GCP bucket transport, set the `bucket` and `token` variables below.
66
# To run this test, you must have `jq` and `gsutil` installed.
77

8-
# exit early if anything fails
9-
set -e
10-
# avoid overwriting existing files or using data from a previous run
11-
if [ "$(ls | wc -l)" -gt 1 ]
12-
then
13-
echo "Found files in $(pwd), please clean up after previous runs"
14-
exit 1
15-
fi
8+
bucket=
9+
token=
1610

1711
bootstrapcmd="go run .."
1812
transitcmd="go run ../transit"
@@ -24,11 +18,17 @@ partner_dir="./public-root-information"
2418
# keygen dir must not exist yet, or be empty
2519
keygen_dir="./keygen"
2620

27-
bucket=
28-
token=
29-
3021
clusterCount=2
3122

23+
# exit early if anything fails
24+
set -e
25+
# avoid overwriting existing files or using data from a previous run
26+
if [ "$(ls | wc -l)" -gt 1 ]
27+
then
28+
echo "Found files in $(pwd), please clean up after previous runs"
29+
exit 1
30+
fi
31+
3232
$bootstrapcmd genconfig --address-format "%s%d.example.com:3569" \
3333
--access 2 --collection 7 --consensus 3 --execution 2 --verification 1 --weight 100 \
3434
-o ./ --config ./node-config.json

0 commit comments

Comments
 (0)