aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-20 17:43:48 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:53 +0800
commit4802a4126fecf3971858b028f4d343fa8a6973d4 (patch)
tree98cebdbb4656fd1efdbeca9a48e4286277932845 /test
parent978f2cdb0e5ed67956174f4767d5eae071381381 (diff)
downloaddexon-4802a4126fecf3971858b028f4d343fa8a6973d4.tar.gz
dexon-4802a4126fecf3971858b028f4d343fa8a6973d4.tar.zst
dexon-4802a4126fecf3971858b028f4d343fa8a6973d4.zip
test: use a fixed nodekey for RPC node (#38)
Diffstat (limited to 'test')
-rwxr-xr-xtest/run_test.sh2
-rw-r--r--test/testrpc.nodekey1
2 files changed, 2 insertions, 1 deletions
diff --git a/test/run_test.sh b/test/run_test.sh
index f535a609d..4818f89b2 100755
--- a/test/run_test.sh
+++ b/test/run_test.sh
@@ -22,7 +22,7 @@ $GDEX \
--testnet \
--verbosity=4 \
--gcmode=archive \
- --datadir=$datadir \
+ --datadir=$datadir --nodekey=testrpc.nodekey \
--rpc --rpcapi=eth,net,web3,debug \
--rpcaddr=0.0.0.0 --rpcport=8545 \
--ws --wsapi=eth,net,web3,debug \
diff --git a/test/testrpc.nodekey b/test/testrpc.nodekey
new file mode 100644
index 000000000..c9b475816
--- /dev/null
+++ b/test/testrpc.nodekey
@@ -0,0 +1 @@
+e48009e740ff5f47a42267d42d908499ea1e73bfef8d459855aa2ca889e8e6bd \ No newline at end of file