aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-11-27 14:35:19 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:19 +0800
commit29619b5bd6c61ddf763ac7f29dd38ad30b35d459 (patch)
tree7cfb02bb50a5e6bf67019181b2708825a3dac85a
parentd0f3b018bb0ff856fbd8eae9727149f1438e56a9 (diff)
downloadgo-tangerine-29619b5bd6c61ddf763ac7f29dd38ad30b35d459.tar
go-tangerine-29619b5bd6c61ddf763ac7f29dd38ad30b35d459.tar.gz
go-tangerine-29619b5bd6c61ddf763ac7f29dd38ad30b35d459.tar.bz2
go-tangerine-29619b5bd6c61ddf763ac7f29dd38ad30b35d459.tar.lz
go-tangerine-29619b5bd6c61ddf763ac7f29dd38ad30b35d459.tar.xz
go-tangerine-29619b5bd6c61ddf763ac7f29dd38ad30b35d459.tar.zst
go-tangerine-29619b5bd6c61ddf763ac7f29dd38ad30b35d459.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.