Skip to content

Commit

Permalink
works
Browse files Browse the repository at this point in the history
  • Loading branch information
joroshiba committed Dec 13, 2024
1 parent e114ca8 commit 7f3dbb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charts/sequencer/files/scripts/init-cometbft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ if [ ! -d "/cometbft/data" ]; then

echo "Extracting snapshot..."
mkdir /cometbft/data
mkdir /sequencer/penumbra.db
tar -C /cometbft/data/ --strip-components=2 -xzf /snapshot/cometbft_*.tar.gz cometbft/data
tar -C /sequencer/ --strip-components=2 -xzf /snapshot/sequencer_*.tar.gz sequencer/penumbra.db
tar -C /sequencer/penumbra.db/ --strip-components=2 -xzf /snapshot/sequencer_*.tar.gz sequencer/penumbra.db
rm /snapshot/cometbft_*.tar.gz /snapshot/sequencer_*.tar.gz
{{- else }}
# Otherwise initialize with basic values
Expand Down

0 comments on commit 7f3dbb5

Please sign in to comment.