From ba69430e3c1aa277ad0a162336b0197931efd8fd Mon Sep 17 00:00:00 2001 From: Dante Sanchez Date: Fri, 3 Jan 2025 10:17:59 -0500 Subject: [PATCH] start node --- tests/test_snapshot_sync.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_snapshot_sync.sh b/tests/test_snapshot_sync.sh index c3c9aa56..40405119 100755 --- a/tests/test_snapshot_sync.sh +++ b/tests/test_snapshot_sync.sh @@ -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