aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-11-27 14:35:19 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commitbc796b1e2f9c0a3bc7c6b9eeb6b262987f9d037a (patch)
treea8a5d970530c66d1166ef3d5f98ed2e81d3b3008
parent928b22db61660ea4e68a0ae99e0392a27cc1cfc1 (diff)
downloaddexon-bc796b1e2f9c0a3bc7c6b9eeb6b262987f9d037a.tar.gz
dexon-bc796b1e2f9c0a3bc7c6b9eeb6b262987f9d037a.tar.zst
dexon-bc796b1e2f9c0a3bc7c6b9eeb6b262987f9d037a.zip
test: add local bootnode (#53)
* test: add local bootnode * Update run_test.sh
-rwxr-xr-xtest/run_test.sh6
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.