Skip to content

Commit 5fd53d8

Browse files
authored
Merge pull request #225 from threefoldtech/master-fix-seed-script
fix: remove unused --typesBundle flag from seed-versions.sh
2 parents 5c1cf30 + 33002b1 commit 5fd53d8

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

scripts/seed-versions.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ set -euo pipefail
1515
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1616
REPO_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
1717
MASTER="$REPO_DIR/typegen/tfchainVersions.jsonl"
18-
TYPES_BUNDLE="$REPO_DIR/typegen/typesBundle.json"
1918
TMP_DIR=$(mktemp -d)
2019

2120
# Network endpoints
@@ -35,12 +34,6 @@ cleanup() {
3534
}
3635
trap cleanup EXIT
3736

38-
if [ ! -f "$TYPES_BUNDLE" ]; then
39-
echo "Error: typesBundle.json not found at $TYPES_BUNDLE"
40-
echo "Restore it from indexer/typesBundle.json first."
41-
exit 1
42-
fi
43-
4437
# Determine which networks to scan
4538
if [ $# -gt 0 ]; then
4639
SCAN_NETWORKS="$*"
@@ -72,7 +65,6 @@ for network in $SCAN_NETWORKS; do
7265

7366
if npx squid-substrate-metadata-explorer \
7467
--chain "$endpoint" \
75-
--typesBundle "$TYPES_BUNDLE" \
7668
--out "$outfile" 2>&1; then
7769

7870
if [ -f "$outfile" ] && [ -s "$outfile" ]; then

0 commit comments

Comments
 (0)