From 21aa375850b0e1d93bc8618a2aca44f5fc3a619f Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 28 May 2019 17:06:53 +0000 Subject: [PATCH 1/2] [node] fix the download path of node program Signed-off-by: Leo Chen --- scripts/node.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/node.sh b/scripts/node.sh index 031eb803d..802add053 100755 --- a/scripts/node.sh +++ b/scripts/node.sh @@ -87,8 +87,9 @@ fi if [ -z "$1" ]; then echo "Usage: $0 account_index_number" echo - echo "Please provide account index. Valid ranges are 44-49, 94-99, 144-149, 194-199." - echo "Please contact us in #nodes channel of discord if not sure which one to use." + echo "Please provide account index." + echo "For foundational nodes, please follow the instructions in discord #foundational-nodes channel" + echo "to get your account index number." echo exit 1 fi @@ -103,11 +104,11 @@ OS=$(uname -s) REL=drum if [ "$OS" == "Darwin" ]; then - FOLDER=release/$REL/darwin-x86_64/ + FOLDER=release/darwin-x86_64/$REL/ BIN=( harmony libbls384.dylib libcrypto.1.0.0.dylib libgmp.10.dylib libgmpxx.4.dylib libmcl.dylib ) fi if [ "$OS" == "Linux" ]; then - FOLDER=release/$REL/linux-x86_64/ + FOLDER=release/linux-x86_64/$REL/ BIN=( harmony libbls384.so libcrypto.so.10 libgmp.so.10 libgmpxx.so.4 libmcl.so ) fi From 231251f1f0e2745dd4967e3640265593535c6d98 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 28 May 2019 17:05:48 +0000 Subject: [PATCH 2/2] [foundational] add a foundational node for Leo 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 bba461f29..1da440c51 100644 --- a/internal/utils/contract/constants.go +++ b/internal/utils/contract/constants.go @@ -144,7 +144,7 @@ var GenesisAccounts = [...]DeployAccount{ {Address: "0x379c7e2c06932A064D25dd2B938974a31AFFAe4D", Private: "", Public: "0x379c7e2c06932A064D25dd2B938974a31AFFAe4D"}, {Address: "0x39248D6c63c76BC3C8dD4f8C910C9cb1098A0019", Private: "", Public: "0x39248D6c63c76BC3C8dD4f8C910C9cb1098A0019"}, {Address: "0x39d1F7820013fE09056b2187359Ad03891C7DB78", Private: "", Public: "0x39d1F7820013fE09056b2187359Ad03891C7DB78"}, - {Address: "0x3D053cDBf1B9A8D5AeDDB2F5fA1E414E2E1b3996", Private: "", Public: "0x3D053cDBf1B9A8D5AeDDB2F5fA1E414E2E1b3996"}, + {Address: "0x43bcBa1c3c3Bf76790d04cad7357229ECD71BDAD", Private: "", Public: "0x43bcBa1c3c3Bf76790d04cad7357229ECD71BDAD"}, {Address: "0x3FebCCaB09ECe4ef6f6a2bEA73A898B324976E74", Private: "", Public: "0x3FebCCaB09ECe4ef6f6a2bEA73A898B324976E74"}, // 90-99