From 6f15fbd8ff5c3899067a8027e8613ffa41c92fb4 Mon Sep 17 00:00:00 2001 From: john-harmony Date: Tue, 20 Aug 2019 15:08:56 -0700 Subject: [PATCH] add explorer configuartion for local --- cmd/harmony/main.go | 3 +++ test/configs/local-resharding.txt | 1 + test/configs/local.txt | 1 + test/debug.sh | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/harmony/main.go b/cmd/harmony/main.go index f9ec35fef..4d69ce5de 100644 --- a/cmd/harmony/main.go +++ b/cmd/harmony/main.go @@ -166,6 +166,9 @@ func initSetup() { } func passphraseForBls() { + if *isExplorer { + return + } // If FN node running, they should either specify blsPrivateKey or the file with passphrase if *blsKeyFile == "" || *blsPass == "" { fmt.Println("Internal nodes need to have pass to decrypt blskey") diff --git a/test/configs/local-resharding.txt b/test/configs/local-resharding.txt index f27260c51..82c30b75e 100644 --- a/test/configs/local-resharding.txt +++ b/test/configs/local-resharding.txt @@ -12,6 +12,7 @@ 127.0.0.1 9011 validator one1uyshu2jgv8w465yc8kkny36thlt2wvel89tcmg a547a9bf6fdde4f4934cde21473748861a3cc0fe8bbb5e57225a29f483b05b72531f002f8187675743d819c955a86100 127.0.0.1 9012 validator one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7 678ec9670899bf6af85b877058bea4fc1301a5a3a376987e826e3ca150b80e3eaadffedad0fedfa111576fa76ded980c 127.0.0.1 9013 validator one129r9pj3sk0re76f7zs3qz92rggmdgjhtwge62k 63f479f249c59f0486fda8caa2ffb247209489dae009dfde6144ff38c370230963d360dffd318cfb26c213320e89a512 +127.0.0.1 9099 explorer 127.0.0.1 9100 validator one1ghkz3frhske7emk79p7v2afmj4a5t0kmjyt4s5 eca09c1808b729ca56f1b5a6a287c6e1c3ae09e29ccf7efa35453471fcab07d9f73cee249e2b91f5ee44eb9618be3904 127.0.0.1 9101 validator one1d7jfnr6yraxnrycgaemyktkmhmajhp8kl0yahv f47238daef97d60deedbde5302d05dea5de67608f11f406576e363661f7dcbc4a1385948549b31a6c70f6fde8a391486 diff --git a/test/configs/local.txt b/test/configs/local.txt index 47ed122e7..a9aad89d1 100644 --- a/test/configs/local.txt +++ b/test/configs/local.txt @@ -12,3 +12,4 @@ 127.0.0.1 9011 validator one1uyshu2jgv8w465yc8kkny36thlt2wvel89tcmg a547a9bf6fdde4f4934cde21473748861a3cc0fe8bbb5e57225a29f483b05b72531f002f8187675743d819c955a86100 127.0.0.1 9012 validator one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7 678ec9670899bf6af85b877058bea4fc1301a5a3a376987e826e3ca150b80e3eaadffedad0fedfa111576fa76ded980c 127.0.0.1 9013 validator one129r9pj3sk0re76f7zs3qz92rggmdgjhtwge62k 63f479f249c59f0486fda8caa2ffb247209489dae009dfde6144ff38c370230963d360dffd318cfb26c213320e89a512 +127.0.0.1 9099 explorer diff --git a/test/debug.sh b/test/debug.sh index 268dcc447..0d35a2441 100755 --- a/test/debug.sh +++ b/test/debug.sh @@ -1,3 +1,3 @@ ./test/kill_node.sh rm -rf tmp_log* -./test/deploy.sh -D 600 ./test/configs/local-resharding.txt +./test/deploy.sh -D 60000 ./test/configs/local-resharding.txt