From b3ac197bd26242d59c414e9acb084c180e924b70 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Fri, 15 Mar 2019 16:11:44 +0100 Subject: [PATCH 1/2] Do not use node-key in public networks --- compose-files/nodes/kovan_node.yml | 1 - compose-files/nodes/nile_node.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/compose-files/nodes/kovan_node.yml b/compose-files/nodes/kovan_node.yml index 295b250..1d78f7a 100644 --- a/compose-files/nodes/kovan_node.yml +++ b/compose-files/nodes/kovan_node.yml @@ -13,7 +13,6 @@ services: --jsonrpc-hosts all --jsonrpc-apis all --unsafe-expose - --node-key 0xb3244c104fb56d28d3979f6cd14a8b5cf5b109171d293f4454c97c173a9f9374 volumes: - ../networks/kovan/keys:/home/parity/.local/share/io.parity.ethereum/keys/kovan ports: diff --git a/compose-files/nodes/nile_node.yml b/compose-files/nodes/nile_node.yml index 2880e51..9b53c1e 100644 --- a/compose-files/nodes/nile_node.yml +++ b/compose-files/nodes/nile_node.yml @@ -16,7 +16,6 @@ services: --jsonrpc-apis all --unsafe-expose --unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e - --node-key 0xb3244c104fb56d28d3979f6cd14a8b5cf5b109171d293f4454c97c173a9f9374 volumes: - ../networks/nile/config:/home/parity/parity/config - keeper-node:/home/parity/.local/share/io.parity.ethereum/ From b50b25f6e7dcd6aeef5e588811242aa1cc8b0a25 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Fri, 15 Mar 2019 16:12:01 +0100 Subject: [PATCH 2/2] Disable secret-store in Nile and Kovan --- start_ocean.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/start_ocean.sh b/start_ocean.sh index ccf4750..210dae4 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -191,9 +191,11 @@ while :; do # connects you to kovan --local-kovan-node) export NODE_COMPOSE_FILE="${COMPOSE_DIR}/nodes/kovan_node.yml" + COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/secret_store.yml/}" export KEEPER_NETWORK_NAME="kovan" export ACL_CONTRACT_ADDRESS="$(get_acl_address ${KEEPER_VERSION})" printf $COLOR_Y'Starting with local Kovan node...\n\n'$COLOR_RESET + printf $COLOR_Y'Starting without Secret Store...\n\n'$COLOR_RESET ;; # spins up a new ganache blockchain --local-ganache-node) @@ -208,9 +210,11 @@ while :; do # connects you to nile ocean testnet --local-nile-node) export NODE_COMPOSE_FILE="${COMPOSE_DIR}/nodes/nile_node.yml" + COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/secret_store.yml/}" export KEEPER_NETWORK_NAME="nile" export ACL_CONTRACT_ADDRESS="$(get_acl_address ${KEEPER_VERSION})" printf $COLOR_Y'Starting with local Nile node...\n\n'$COLOR_RESET + printf $COLOR_Y'Starting without Secret Store...\n\n'$COLOR_RESET ;; # spins up spree local testnet --local-spree-node)