This commit is contained in:
goldsquid
2025-09-06 16:04:58 +07:00
parent 0e140d672a
commit 5697e7530f

View File

@@ -36,9 +36,9 @@ env
apk add curl jq
if [ $? -ne 0 ]; then exit 1; fi
curl -sL "$GENESIS_URL" -o "$CONFIG_DIR/genesis.json"
if seid init ${MONIKER} --chain-id ${CHAIN_SPEC} --home $HOME_DIR/; then
# replace the genesis with the one from the url
curl -sL "$GENESIS_URL" -o "$CONFIG_DIR/genesis.json"
# somehow it's better to make home static to /root
sed -i 's|~/|/root/|g' "$CONFIG_DIR/config.toml"