#!/usr/bin/env bash
# Deprecated helper kept as a guardrail for historical references.
#
# Why deprecated:
# - Chain 138 emits through a custom router that only creates MessageSent events.
# - Native destination mappings like 138 -> Gnosis do not by themselves create
#   a live delivery path into public-chain CCIP bridges.
# - A real 138 -> Gnosis test already failed for this reason.
#
# Use instead:
#   ./scripts/deployment/print-chain138-public-chain-unload-routes.sh

set -euo pipefail

cat <<'EOF'
print-gnosis-bootstrap-cast-sequence.sh is deprecated.

Reason:
- `138 -> Gnosis` is not a practical first-hop route with the current live architecture.
- Chain 138 uses a custom event-emitting router, so a native Gnosis bridge mapping is not enough to deliver the message.
- The earlier live `138 -> Gnosis` attempt failed for exactly that reason.

Use this instead:

  cd /home/intlc/projects/proxmox/smom-dbis-138
  ./scripts/deployment/print-chain138-public-chain-unload-routes.sh

Useful examples:

  TARGET_CHAIN=mainnet ./scripts/deployment/print-chain138-public-chain-unload-routes.sh
  TARGET_CHAIN=bsc ./scripts/deployment/print-chain138-public-chain-unload-routes.sh
  TARGET_CHAIN=gnosis ./scripts/deployment/print-chain138-public-chain-unload-routes.sh

Current practical model:
- first-hop relay-backed lanes: Mainnet, BSC, Avalanche
- hub-distribution lanes after mainnet bootstrap: Gnosis, Cronos, Celo, Polygon, Arbitrum, Optimism, Base
- WEMIX: deploy and wire first
EOF
