Skip to content

Commit

Permalink
update test full flow
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Aug 6, 2024
1 parent 4735146 commit 79a9728
Showing 1 changed file with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,30 @@ $SIMD genesis collect-gentxs
$SIMD start &
SIMD_PID=$!

# wait 10s then export snapshot at height 10
# wait 10s then export snapshot at height 5
sleep 10

kill -9 "$SIMD_PID"

$SIMD store export --height 5

$SIMD store dump 5 3 --output "$ROOT/5-3.tar.gz"

$SIMD store delete 5 3

$SIMD store load "$ROOT/5-3.tar.gz"

$SIMD store list

# clear sc & ss data
rm -rf "$HOME/.simappv2/data/application.db"
rm -rf "$HOME/.simappv2/data/ss"

# restore

$SIMD restore 5 3
$SIMD store restore 5 3

$SIMD start &
SIMD_PID=$!
sleep 10
kill -9 "$SIMD_PID"

0 comments on commit 79a9728

Please sign in to comment.