Skip to content

Commit

Permalink
start node
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanchez committed Jan 3, 2025
1 parent 4b77f20 commit ba69430
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_snapshot_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,13 @@ toml set --toml-path $home/config/config.toml p2p.persistent_peers "$peer"
echo "> Copying data folder"
./stop.sh
cp $home/data/priv_validator_state.json ./
rm -rf $home/data
cp -r ${homes[-1]}/data $home/data
cp ./priv_validator_state.json $home/data/
./start.sh

echo "> Starting snapshot sync node"
$CHAIN_BINARY start --home $home
tmux new-session -d -s snapshot "$CHAIN_BINARY start --home $home 2>&1 | tee $log"
cat $log

Expand Down

0 comments on commit ba69430

Please sign in to comment.