remove networkId (unused)

This commit is contained in:
Jacek Sieka 2019-09-10 17:36:30 -04:00
parent 124c1526d8
commit 65ff8f2886
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
7 changed files with 0 additions and 9 deletions

View File

@ -880,7 +880,6 @@ when isMainModule:
config, parseIpAddress(config.bootstrapAddress), Port config.bootstrapPort)
testnetMetadata = NetworkMetadata(
networkId: config.networkId,
networkGeneration: semanticVersion,
genesisRoot: hash_tree_root(initialState),
bootstrapNodes: @[bootstrapAddress],

View File

@ -244,7 +244,6 @@ type
network*: Eth2Node
NetworkMetadata* = object
networkId*: uint8
networkGeneration*: uint64
genesisRoot*: Eth2Digest
bootstrapNodes*: seq[BootstrapAddr]

View File

@ -103,9 +103,6 @@ type
defaultValue: 8008 .}: uint16
of createTestnet:
networkId* {.
desc: "An unique numeric identifier for the network".}: uint8
validatorsDir* {.
desc: "Directory containing validator descriptors named vXXXXXXX.deposit.json"
shortform: "d".}: InputDir

View File

@ -40,7 +40,6 @@ if [ ! -f "${SNAPSHOT_FILE}" ]; then
$BEACON_NODE_BIN \
--dataDir="${SIMULATION_DIR}/node-0" \
createTestnet \
--networkId=1000 \
--validatorsDir="${VALIDATORS_DIR}" \
--totalValidators="${NUM_VALIDATORS}" \
--outputGenesis="${SNAPSHOT_FILE}" \

View File

@ -17,7 +17,6 @@ The `beacon_node` binary has a `createTestnet` command.
--network=$NETWORK_NAME \
--dataDir=$DATA_DIR/node-0 \
createTestnet \
--networkId=$NETWORK_ID \
--validatorsDir=$NETWORK_DIR \
--totalValidators=$VALIDATOR_COUNT \
--lastUserValidator=$LAST_USER_VALIDATOR \

View File

@ -33,7 +33,6 @@ beacon_chain/beacon_node \
--network=$NETWORK_NAME \
--dataDir=$DATA_DIR/node-0 \
createTestnet \
--networkId=$NETWORK_ID \
--validatorsDir=$NETWORK_DIR \
--totalValidators=$VALIDATOR_COUNT \
--lastUserValidator=$LAST_USER_VALIDATOR \

View File

@ -55,7 +55,6 @@ if [ ! -f "${SNAPSHOT_FILE}" ]; then
$BEACON_NODE_BIN \
--dataDir="${SIMULATION_DIR}/node-0" \
createTestnet \
--networkId=1000 \
--validatorsDir="${VALIDATORS_DIR}" \
--totalValidators="${NUM_VALIDATORS}" \
--outputGenesis="${SNAPSHOT_FILE}" \