File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
cmd/bootstrap/permissionless-test Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 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
1711bootstrapcmd=" go run .."
1812transitcmd=" go run ../transit"
@@ -24,11 +18,17 @@ partner_dir="./public-root-information"
2418# keygen dir must not exist yet, or be empty
2519keygen_dir=" ./keygen"
2620
27- bucket=
28- token=
29-
3021clusterCount=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
You can’t perform that action at this time.
0 commit comments