-
Notifications
You must be signed in to change notification settings - Fork 221
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
Closed
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
dcee0db
Add the starting geth nodes as part of local testnet
hmel 28f7081
Applied some suggestions
hmel 341f360
Change chainId to not be mainnet
hmel a351f5a
Add geth download option, nimbus-eth1 as EL
hmel 9d0be3d
Changes to work with local Metamask wallet.
hmel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add geth download option, nimbus-eth1 as EL
- Loading branch information
commit a351f5ad48732b09d617ef2253f05416956bc712
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
GETH_PORT_OFFSET=100 | ||
GETH_BINARY="${GETH_BINARY:-"${HOME}/go-ethereum/build/bin/geth"}" | ||
GETH_NUM_NODES="${GETH_NUM_NODES:-4}" | ||
GETH_BINARY="${GETH_BINARY:-${HOME}/go-ethereum/build/bin/geth}" | ||
GETH_BASE_HTTP_PORT="${GETH_BASE_HTTP_PORT:-8550}" | ||
GETH_NET_BASE_PORT="${GETH_NET_BASE_PORT:-30303}" | ||
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="${PORT_OFFSET:-100}" | ||
GENESISJSON="${GENESISJSON:-${BASEDIR}/scripts/geth_genesis.json}" | ||
DISCOVER="--nodiscover" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
NIMBUSEL_DISCOVERY="--discovery=V5" | ||
|
||
NIMBUSEL_PORT_OFFSET="${PORT_OFFSET:-100}" | ||
NIMBUSEL_BINARY="${NIMBUSEL_BINARY:-"${HOME}/work/nimbus-eth1/build/nimbus"}" | ||
NIMBUSEL_GENESIS="${NIMBUSEL_GENESIS:-"${HOME}/work/nimbus-eth2/scripts/nimbusel_genesis.json"}" | ||
NIMBUSEL_NUM_NODES="${NIMBUSEL_NUM_NODES:-4}" | ||
NIMBUSEL_BINARY="${NIMBUSEL_BINARY:-${HOME}/go-ethereum/build/bin/geth}" | ||
NIMBUSEL_BASE_HTTP_PORT="${NIMBUSEL_BASE_HTTP_PORT:-8550}" | ||
NIMBUSEL_NET_BASE_PORT="${NIMBUSEL_NET_BASE_PORT:-30303}" | ||
NIMBUSEL_HTTP_BASE_PORT="${NIMBUSEL_HTTP_BASE_PORT:-8545}" | ||
NIMBUSEL_WS_BASE_PORT="${NIMBUSEL_WS_BASE_PORT:-8546}" | ||
NIMBUSEL_AUTH_RPC_PORT_BASE="${NIMBUSEL_AUTH_RPC_PORT_BASE:-8551}" | ||
CURL_BINARY=${CURL_BINARY:-curl} | ||
JQ_BINARY=${JQ_BINARY:-jq} | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The duplicated block of code here looks like a function that kills all processing listening on ports within a given interval. You can define and reuse such a function for both Geth and Nimbus
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I did some copy-pasta there and forgot to change it. Will fix