From eda1068f453097a6d88aaea2cfbc8f353b11fc9a Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Thu, 2 Jul 2026 14:41:07 +0000 Subject: [PATCH] tac mainnet: merge Polkachu seeds in init.sh for peer discovery Call ct_merge_seeds() so SEEDS env populates config.toml; default STATESYNC_RPC to tacchain-rpc.polkachu.com for statesync bootstrap. --- tac/scripts/init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tac/scripts/init.sh b/tac/scripts/init.sh index 164b6d4c..cd9e963f 100755 --- a/tac/scripts/init.sh +++ b/tac/scripts/init.sh @@ -8,7 +8,7 @@ HOME_DIR="/root/.tacchaind" CONFIG_DIR="$HOME_DIR/config" CHAIN_ID="${CHAIN_ID:-tacchain_239-1}" GENESIS_URL="${GENESIS_URL:-https://raw.githubusercontent.com/TacBuild/tacchain/refs/heads/main/networks/tacchain_239-1/genesis.json}" -STATESYNC_RPC="${STATESYNC_RPC:-https://tendermint.rpc.tac.build}" +STATESYNC_RPC="${STATESYNC_RPC:-https://tacchain-rpc.polkachu.com:443}" MIN_GAS="${MIN_GAS:-25000000000utac}" API="${API:-eth,net,web3,txpool,debug}" MONIKER="${MONIKER:-rpc-node}" @@ -25,6 +25,7 @@ else fi ct_patch_p2p "$CONFIG_DIR/config.toml" "$IP" "${P2P_PORT:-26656}" +ct_merge_seeds "$CONFIG_DIR/config.toml" "$SEEDS" ct_set_persistent_peers "$CONFIG_DIR/config.toml" "$PERSISTENT_PEERS" ct_set_moniker "$CONFIG_DIR/config.toml" "$MONIKER" ct_configure_statesync "$CONFIG_DIR/config.toml" "$STATESYNC_RPC"