Remove some obsolete code

This commit is contained in:
Zahary Karadjov 2019-10-29 12:12:34 +02:00
parent f5fb4277b4
commit 3da4d4f23a
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
4 changed files with 3 additions and 8 deletions

View File

@ -3,8 +3,9 @@
# Deal with previous execution of the deamon leaving behind # Deal with previous execution of the deamon leaving behind
# socket files that prevent the deamon from launching again # socket files that prevent the deamon from launching again
# inside the container. # inside the container.
killall p2pd
rm -rf /tmp/* # killall p2pd
# rm -rf /tmp/*
if [[ "$2" == "" ]]; then if [[ "$2" == "" ]]; then
# TODO This is a normal execution of a long-running testnet node. # TODO This is a normal execution of a long-running testnet node.

View File

@ -14,7 +14,6 @@ The `beacon_node` binary has a `createTestnet` command.
```bash ```bash
nim c -r beacon_chain/beacon_node \ nim c -r beacon_chain/beacon_node \
--network=$NETWORK_NAME \
--data-dir=$DATA_DIR/node-0 \ --data-dir=$DATA_DIR/node-0 \
createTestnet \ createTestnet \
--validators-dir=$NETWORK_DIR \ --validators-dir=$NETWORK_DIR \

View File

@ -22,10 +22,6 @@ CMD="nim c $OUR_NIM_FLAGS -o:$BEACON_NODE_BIN beacon_chain/beacon_node"
echo "$CMD" echo "$CMD"
$CMD $CMD
if [ ! -d ~/.cache/nimbus/BeaconNode/${NETWORK_NAME}/validators ]; then
$BEACON_NODE_BIN --network=$NETWORK_NAME importValidator
fi
# simple wrapper script # simple wrapper script
BEACON_NODE_SCRIPT="scripts/${NETWORK_NAME}.sh" BEACON_NODE_SCRIPT="scripts/${NETWORK_NAME}.sh"
cat > "$BEACON_NODE_SCRIPT" <<EOF cat > "$BEACON_NODE_SCRIPT" <<EOF

View File

@ -74,7 +74,6 @@ fi
TOTAL_VALIDATORS="$(( $QUICKSTART_VALIDATORS + $RANDOM_VALIDATORS ))" TOTAL_VALIDATORS="$(( $QUICKSTART_VALIDATORS + $RANDOM_VALIDATORS ))"
$DOCKER_BEACON_NODE \ $DOCKER_BEACON_NODE \
--network=$NETWORK_NAME \
--data-dir=/data_dir \ --data-dir=/data_dir \
createTestnet \ createTestnet \
--validators-dir=/deposits_dir \ --validators-dir=/deposits_dir \