mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 12:30:08 +00:00
Remove some obsolete code
This commit is contained in:
parent
f5fb4277b4
commit
3da4d4f23a
@ -3,8 +3,9 @@
|
||||
# Deal with previous execution of the deamon leaving behind
|
||||
# socket files that prevent the deamon from launching again
|
||||
# inside the container.
|
||||
killall p2pd
|
||||
rm -rf /tmp/*
|
||||
|
||||
# killall p2pd
|
||||
# rm -rf /tmp/*
|
||||
|
||||
if [[ "$2" == "" ]]; then
|
||||
# TODO This is a normal execution of a long-running testnet node.
|
||||
|
@ -14,7 +14,6 @@ The `beacon_node` binary has a `createTestnet` command.
|
||||
|
||||
```bash
|
||||
nim c -r beacon_chain/beacon_node \
|
||||
--network=$NETWORK_NAME \
|
||||
--data-dir=$DATA_DIR/node-0 \
|
||||
createTestnet \
|
||||
--validators-dir=$NETWORK_DIR \
|
||||
|
@ -22,10 +22,6 @@ CMD="nim c $OUR_NIM_FLAGS -o:$BEACON_NODE_BIN beacon_chain/beacon_node"
|
||||
echo "$CMD"
|
||||
$CMD
|
||||
|
||||
if [ ! -d ~/.cache/nimbus/BeaconNode/${NETWORK_NAME}/validators ]; then
|
||||
$BEACON_NODE_BIN --network=$NETWORK_NAME importValidator
|
||||
fi
|
||||
|
||||
# simple wrapper script
|
||||
BEACON_NODE_SCRIPT="scripts/${NETWORK_NAME}.sh"
|
||||
cat > "$BEACON_NODE_SCRIPT" <<EOF
|
||||
|
@ -74,7 +74,6 @@ fi
|
||||
TOTAL_VALIDATORS="$(( $QUICKSTART_VALIDATORS + $RANDOM_VALIDATORS ))"
|
||||
|
||||
$DOCKER_BEACON_NODE \
|
||||
--network=$NETWORK_NAME \
|
||||
--data-dir=/data_dir \
|
||||
createTestnet \
|
||||
--validators-dir=/deposits_dir \
|
||||
|
Loading…
x
Reference in New Issue
Block a user