From 7f3dbb5b334f1ea38f67932c48a39eaad4ff3260 Mon Sep 17 00:00:00 2001 From: Jordan Oroshiba Date: Thu, 12 Dec 2024 16:47:37 -0800 Subject: [PATCH] works --- charts/sequencer/files/scripts/init-cometbft.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/sequencer/files/scripts/init-cometbft.sh b/charts/sequencer/files/scripts/init-cometbft.sh index c3e0430a5..4c9ddb438 100644 --- a/charts/sequencer/files/scripts/init-cometbft.sh +++ b/charts/sequencer/files/scripts/init-cometbft.sh @@ -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