From 9cc0baea6ddf54c74dee510660c8497bddeb7c2c Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 30 May 2019 17:11:21 +0000 Subject: [PATCH 1/3] [foundational] add address of FN:192 Signed-off-by: Leo Chen --- internal/utils/contract/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/contract/constants.go b/internal/utils/contract/constants.go index 70c7b16b9..fb78f1cb8 100644 --- a/internal/utils/contract/constants.go +++ b/internal/utils/contract/constants.go @@ -270,7 +270,7 @@ var GenesisAccounts = [...]DeployAccount{ // 190-199 {Address: "0x1a4d5957Af59aE2E5ED0e4FAB42f14D1177d1F79", Private: "", Public: "0x1a4d5957Af59aE2E5ED0e4FAB42f14D1177d1F79"}, {Address: "0x87a157db95dc3517Eb578d4cedee92a5ab275BD5", Private: "", Public: "0x87a157db95dc3517Eb578d4cedee92a5ab275BD5"}, - {Address: "0x804a1CE2387874E311e966c63A02C67dB15f2A87", Private: "", Public: "0x804a1CE2387874E311e966c63A02C67dB15f2A87"}, + {Address: "0x25347d09373B2644191f1DC4beDEFEBE26a5b2d1", Private: "", Public: "0x25347d09373B2644191f1DC4beDEFEBE26a5b2d1"}, {Address: "0x8080ca14e1b3466b3b13441cDfd0f413E0BEb67a", Private: "", Public: "0x8080ca14e1b3466b3b13441cDfd0f413E0BEb67a"}, {Address: "0x80FBE7a01D593aC28CA1fE12E9CE62d6E2a08e5C", Private: "", Public: "0x80FBE7a01D593aC28CA1fE12E9CE62d6E2a08e5C"}, {Address: "0x81237F5d14F5db4d6370D353e3F5952e7aaae0cd", Private: "", Public: "0x81237F5d14F5db4d6370D353e3F5952e7aaae0cd"}, From 9477bc1fc580b1bde15f39639e9f0c5cfcaccb73 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 30 May 2019 17:31:53 +0000 Subject: [PATCH 2/3] [foundational] add address of FN:193 Signed-off-by: Leo Chen --- internal/utils/contract/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/contract/constants.go b/internal/utils/contract/constants.go index fb78f1cb8..2d0b16749 100644 --- a/internal/utils/contract/constants.go +++ b/internal/utils/contract/constants.go @@ -271,7 +271,7 @@ var GenesisAccounts = [...]DeployAccount{ {Address: "0x1a4d5957Af59aE2E5ED0e4FAB42f14D1177d1F79", Private: "", Public: "0x1a4d5957Af59aE2E5ED0e4FAB42f14D1177d1F79"}, {Address: "0x87a157db95dc3517Eb578d4cedee92a5ab275BD5", Private: "", Public: "0x87a157db95dc3517Eb578d4cedee92a5ab275BD5"}, {Address: "0x25347d09373B2644191f1DC4beDEFEBE26a5b2d1", Private: "", Public: "0x25347d09373B2644191f1DC4beDEFEBE26a5b2d1"}, - {Address: "0x8080ca14e1b3466b3b13441cDfd0f413E0BEb67a", Private: "", Public: "0x8080ca14e1b3466b3b13441cDfd0f413E0BEb67a"}, + {Address: "0x7f42f7a4d66f0387AE77A219d0742E8a706231CA", Private: "", Public: "0x7f42f7a4d66f0387AE77A219d0742E8a706231CA"}, {Address: "0x80FBE7a01D593aC28CA1fE12E9CE62d6E2a08e5C", Private: "", Public: "0x80FBE7a01D593aC28CA1fE12E9CE62d6E2a08e5C"}, {Address: "0x81237F5d14F5db4d6370D353e3F5952e7aaae0cd", Private: "", Public: "0x81237F5d14F5db4d6370D353e3F5952e7aaae0cd"}, {Address: "0x822D6E108e434A3C2B27E0890C5DC3936D009560", Private: "", Public: "0x822D6E108e434A3C2B27E0890C5DC3936D009560"}, From 67e497abfcb1bcff6e311e397ea9e3aafac96beb Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Thu, 30 May 2019 17:40:57 +0000 Subject: [PATCH 3/3] [node] enable is_archival for node runners by default Signed-off-by: Leo Chen --- scripts/node.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/node.sh b/scripts/node.sh index 3b70ce208..6a838dde7 100755 --- a/scripts/node.sh +++ b/scripts/node.sh @@ -141,17 +141,17 @@ BN_MA=/ip4/100.26.90.187/tcp/9874/p2p/Qmdfjtk6hPoyrH1zVD9PEH4zfWLo38dP2mDvvKXfh3 echo "############### Running Harmony Process ###############" if [ "$OS" == "Linux" ]; then # Run Harmony Node - LD_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -account_index $IDX + LD_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -account_index $IDX else - DYLD_FALLBACK_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -account_index $IDX > harmony-${PUB_IP}.log 2>&1 & + DYLD_FALLBACK_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -account_index $IDX fi find_harmony_process echo echo -echo Please run the following command to inspect the log -echo "tail -f harmony-${PUB_IP}.log" +# echo Please run the following command to inspect the log +# echo "tail -f harmony-${PUB_IP}.log" echo echo You may use \"sudo pkill harmony\" to terminate running harmony node program.