File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ set -euo pipefail
1515SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
1616REPO_DIR=" $( cd " $SCRIPT_DIR /.." && pwd) "
1717MASTER=" $REPO_DIR /typegen/tfchainVersions.jsonl"
18- TYPES_BUNDLE=" $REPO_DIR /typegen/typesBundle.json"
1918TMP_DIR=$( mktemp -d)
2019
2120# Network endpoints
@@ -35,12 +34,6 @@ cleanup() {
3534}
3635trap 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
4538if [ $# -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
You can’t perform that action at this time.
0 commit comments