diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-27 14:35:19 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 342a17ca87dbf2b2e6f746204efe46df371a4540 (patch) | |
tree | 9c06ecb7a253720f704e818e8a08958d17aaa248 /test | |
parent | 85f69a42d3967d8df807aca56f087b743f921a52 (diff) | |
download | dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.tar.gz dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.tar.zst dexon-342a17ca87dbf2b2e6f746204efe46df371a4540.zip |
test: add local bootnode (#53)
* test: add local bootnode
* Update run_test.sh
Diffstat (limited to 'test')
-rwxr-xr-x | test/run_test.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/run_test.sh b/test/run_test.sh index b8b893145..7bcb0f688 100755 --- a/test/run_test.sh +++ b/test/run_test.sh @@ -7,6 +7,12 @@ fi NETWORK="${1}" +if [ "$2" == "--local" ]; then + NETWORK="${NETWORK} --bootnodes enode://0478aa13c91aa0db8e93b668313b7eb0532fbdb24f64772375373b14dbe326c238ad09ab4469f6442c9a9753f1275aeec2e531912c14a958ed1feb4ae7e227ef@127.0.0.1:30301" + # Start bootnode. + bootnode -nodekey bootnode.key --verbosity=9 > bootnode.log 2>&1 & +fi + GDEX=../build/bin/gdex # Kill all previous instances. |