mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 04:24:05 +00:00
remove networkId (unused)
This commit is contained in:
parent
124c1526d8
commit
65ff8f2886
@ -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],
|
||||
|
@ -244,7 +244,6 @@ type
|
||||
network*: Eth2Node
|
||||
|
||||
NetworkMetadata* = object
|
||||
networkId*: uint8
|
||||
networkGeneration*: uint64
|
||||
genesisRoot*: Eth2Digest
|
||||
bootstrapNodes*: seq[BootstrapAddr]
|
||||
|
@ -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
|
||||
|
@ -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}" \
|
||||
|
@ -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 \
|
||||
|
@ -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 \
|
||||
|
@ -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}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user