Skip to content

Commit

Permalink
Merge branch 'e2e-fixes'
Browse files Browse the repository at this point in the history
  • Loading branch information
krogla committed Nov 24, 2020
2 parents 0e7d043 + 22f7b18 commit 85be1d3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions e2e/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -409,20 +409,20 @@ docker-compose up -d validators2
if [ $ORACLES ]; then
echo "Building oracle container"
./oracle.sh
if [ ! $SNAPSHOT ] && [ $SEED ]; then
if [ $SEED ]; then
$NODE scripts/mock_validators.js
fi
STAGE_DIR="stage3"
if [ $MAKE_SNAPSHOT ] && [ ! $SNAPSHOT ] && [ ! -d $SNAPSHOTS_DIR/$STAGE_DIR ]; then
echo "Take snapshots for $STAGE_DIR"
mkdir -p $SNAPSHOTS_DIR/$STAGE_DIR
docker-compose stop node1
cd $DATA_DIR
echo "Take snapshots for devchain"
zip -rqu $SNAPSHOTS_DIR/$STAGE_DIR/devchain.zip devchain
cd - > /dev/null
docker-compose start node1
fi
# STAGE_DIR="stage3"
# if [ $MAKE_SNAPSHOT ] && [ ! $SNAPSHOT ] && [ ! -d $SNAPSHOTS_DIR/$STAGE_DIR ]; then
# echo "Take snapshots for $STAGE_DIR"
# mkdir -p $SNAPSHOTS_DIR/$STAGE_DIR
# docker-compose stop node1
# cd $DATA_DIR
# echo "Take snapshots for devchain"
# zip -rqu $SNAPSHOTS_DIR/$STAGE_DIR/devchain.zip devchain
# cd - > /dev/null
# docker-compose start node1
# fi
LIDO=$(cat $DEPLOYED_FILE | jq -r ".networks[\"$NETWORK_ID\"].appProxies[\"lido.lido.eth\"]")
LIDO_CONTRACT=$LIDO docker-compose up -d oracle-1 oracle-2 oracle-3
fi
Expand Down

0 comments on commit 85be1d3

Please sign in to comment.