From 516d9174c6b0bbd544d3c1629a0a9090ecdd5c26 Mon Sep 17 00:00:00 2001 From: goldsquid Date: Fri, 5 Sep 2025 16:34:50 +0700 Subject: [PATCH] fix --- sei/scripts/init.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sei/scripts/init.sh b/sei/scripts/init.sh index 75c34a2a..db829a60 100644 --- a/sei/scripts/init.sh +++ b/sei/scripts/init.sh @@ -30,10 +30,10 @@ if seid init ${MONIKER} --chain-id ${CHAIN_SPEC:-pacific-1} --home $HOME_DIR/; t sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $CONFIG_DIR/app.toml sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $CONFIG_DIR/config.toml else - echo "Already initialized, continuing!" >&2 + echo "Already initialized, resetting!" >&2 + seid tendermint unsafe-reset-all --home $HOME_DIR fi -seid tendermint unsafe-reset-all --home $HOME_DIR STATYSYNC_RPC=https://sei-rpc.stakeme.pro:443 LATEST_HEIGHT=$(curl -s $STATYSYNC_RPC/block | jq -r .block.header.height) BLOCK_HEIGHT=$((LATEST_HEIGHT - 10000))