Skip to content

Commit

Permalink
Applied some suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
hmel committed Jun 6, 2022
1 parent 918e432 commit 755aa61
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
1 change: 0 additions & 1 deletion scripts/launch_local_testnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ LC_NODES=1
ACCOUNT_PASSWORD="nimbus"
RUN_GETH="0"
GETH_BINARY="${HOME}/go-ethereum/build/bin/geth"
GETH_BASE_HTTP_PORT="8550"

print_help() {
cat <<EOF
Expand Down
4 changes: 3 additions & 1 deletion scripts/start_geth_nodes.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -euo pipefail

BASEDIR="$(dirname "${BASH_SOURCE[0]}")"

GETH_NUM_NODES="${GETH_NUM_NODES:-4}"
Expand All @@ -10,7 +12,7 @@ GETH_HTTP_BASE_PORT="${GETH_HTTP_BASE_PORT:-8545}"
GETH_WS_BASE_PORT="${GETH_WS_BASE_PORT:-8546}"
GETH_AUTH_RPC_PORT_BASE="${GETH_AUTH_RPC_PORT_BASE:-8551}"
PORT_OFFSET=100
GENESISJSON="${GENESISJSON:-${BASEDIR}/genesis.json}"
GENESISJSON="${GENESISJSON:-${BASEDIR}/geth_genesis.json}"
DISCOVER="--nodiscover"

#These are used in the caller script
Expand Down

0 comments on commit 755aa61

Please sign in to comment.