Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the starting geth nodes as part of local testnet #3706

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Applied some suggestions
  • Loading branch information
hmel committed Jun 25, 2022
commit 28f708147d6e7bba9ed240d00ceea8c0db00c555
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 @@ -76,7 +76,6 @@ LC_NODES=1
ACCOUNT_PASSWORD="nimbus"
RUN_GETH="0"
GETH_BINARY="${HOME}/go-ethereum/build/bin/geth"
hmel marked this conversation as resolved.
Show resolved Hide resolved
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
tersec marked this conversation as resolved.
Show resolved Hide resolved

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