From 25b0ab049c609ec46340bf18c1ea73d585620f20 Mon Sep 17 00:00:00 2001 From: rob Date: Sat, 20 Jun 2026 04:30:59 +0000 Subject: [PATCH] shibarium heimdall: fix REST listen-address flag (--laddr, not --rest-server.addr) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit heimdall crash-looped on 'unknown flag: --rest-server.addr'. Per heimdalld start --help, the bone-fork binary takes --rest-server (bool) to enable REST/LCD and --laddr (default tcp://0.0.0.0:1317) for its listen address — there is no --rest-server.addr. Swap it. (The rest_server-injection + idempotent-init fixes from the prior PR worked: init now skips re-init, fetches the heimdall-109 genesis, no more 'rest_server already defined'.) Co-Authored-By: Claude Opus 4.8 (1M context) --- shibarium/scripts/init.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/shibarium/scripts/init.sh b/shibarium/scripts/init.sh index 722ddada..40ce0dd6 100644 --- a/shibarium/scripts/init.sh +++ b/shibarium/scripts/init.sh @@ -107,15 +107,17 @@ ct_seed_priv_validator_state "$CMT_HOME" ct_log "Bootstrap complete. Starting heimdalld..." -# Start heimdalld with REST server enabled -# --rest-server enables the in-process REST/LCD server -# --rest-server.addr binds REST to 0.0.0.0:1317 -# --rpc.laddr binds CometBFT RPC to 0.0.0.0:26657 -# --p2p.laddr binds P2P to 0.0.0.0: +# Start heimdalld with the in-process REST/LCD server enabled. +# --rest-server enables the REST/LCD server +# --laddr REST/LCD listen address (default tcp://0.0.0.0:1317) — NOT +# --rest-server.addr, which this heimdall build rejects as an +# "unknown flag". +# --rpc.laddr CometBFT RPC listen address (default is 127.0.0.1 — bind 0.0.0.0) +# --p2p.laddr P2P listen address on the salted P2P_PORT exec heimdalld start \ --home "$CMT_HOME" \ --chain "$CHAIN" \ --rest-server \ - --rest-server.addr=0.0.0.0:1317 \ + --laddr=tcp://0.0.0.0:1317 \ --rpc.laddr=tcp://0.0.0.0:26657 \ --p2p.laddr=tcp://0.0.0.0:$P2P_PORT