haqq: drop truncated dteam peer, stop feeding addrbook JSON to ct_merge_seeds; validate CometBFT peer entries #78

Merged
claude merged 1 commits from haqq-seed-hygiene into main 2026-09-10 09:07:05 +00:00
Collaborator

Makes the rpc-de-31 runtime override (/root/onsite-overrides/haqq-mainnet-skip-addrbook-as-seeds.yml, onsite agent 2026-09-07) unnecessary.

  • haqq/scripts/init.sh: remove 7c153a83@peer.haqq.mainnet.dteam.tech:28656 (not a 40-hex node id; haqqd refuses to start) from SEEDS and PERSISTENT_PEERS defaults.
  • haqq/scripts/init.sh: ct_merge_seeds was handed ADDRBOOK_URL (a JSON addrbook) as the official seed list; the sed argument exceeded ARG_MAX on Alpine. The addrbook is already installed by ct_set_addrbook; pass no seeds URL.
  • scripts/cometbft-common.sh + per-chain copies (babylon, cosmos, cronos, haqq, shibarium, tac, as update.sh syncs them): new ct_valid_peers keeps only <40-hex>@host:port entries in seeds and persistent_peers and logs what it drops.

After merge: rpc-update rpc-de-31 regenerates .env without the absolute override path (which also breaks show-status.sh on de-31 every run).

🤖 Generated with Claude Code

https://claude.ai/code/session_01KjqejYycVyVvrxV9aTDhgX

Makes the rpc-de-31 runtime override (/root/onsite-overrides/haqq-mainnet-skip-addrbook-as-seeds.yml, onsite agent 2026-09-07) unnecessary. - haqq/scripts/init.sh: remove 7c153a83@peer.haqq.mainnet.dteam.tech:28656 (not a 40-hex node id; haqqd refuses to start) from SEEDS and PERSISTENT_PEERS defaults. - haqq/scripts/init.sh: ct_merge_seeds was handed ADDRBOOK_URL (a JSON addrbook) as the official seed list; the sed argument exceeded ARG_MAX on Alpine. The addrbook is already installed by ct_set_addrbook; pass no seeds URL. - scripts/cometbft-common.sh + per-chain copies (babylon, cosmos, cronos, haqq, shibarium, tac, as update.sh syncs them): new ct_valid_peers keeps only <40-hex>@host:port entries in seeds and persistent_peers and logs what it drops. After merge: rpc-update rpc-de-31 regenerates .env without the absolute override path (which also breaks show-status.sh on de-31 every run). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01KjqejYycVyVvrxV9aTDhgX
claude added 1 commit 2026-09-09 06:43:50 +00:00
- haqq/scripts/init.sh: 7c153a83@peer.haqq.mainnet.dteam.tech:28656 is not a 40-hex node id;
  haqqd refuses to start with it in seeds/persistent_peers. Removed from both defaults.
- haqq/scripts/init.sh: ct_merge_seeds was given ADDRBOOK_URL (a JSON addrbook, hundreds of KB)
  as the official seed list; the resulting sed argument exceeded ARG_MAX on Alpine. The
  addrbook is already installed by ct_set_addrbook; pass no seeds URL.
- scripts/cometbft-common.sh (+ per-chain copies via update.sh sync): ct_valid_peers filters
  seeds and persistent_peers to <40-hex>@host:port and logs what it drops, so a bad upstream
  entry can never block startup again.

Replaces the runtime override /root/onsite-overrides/haqq-mainnet-skip-addrbook-as-seeds.yml
that the onsite agent left on rpc-de-31 on 2026-09-07.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KjqejYycVyVvrxV9aTDhgX
claude merged commit 4daf21cb27 into main 2026-09-10 09:07:05 +00:00
claude deleted branch haqq-seed-hygiene 2026-09-10 09:07:06 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: StakeSquid/ethereum-rpc-docker#78