File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,6 @@ echo "Generating index of configs..."
3232
3333echo " {}" > chains.json
3434
35- # List of chain IDs to exclude
36- declare -A EXCLUDE_CHAIN_IDS
37- EXCLUDE_CHAIN_IDS=([" 28882" ]=1) # Boba
38-
3935# Function to process each network directory
4036process_network_dir () {
4137 local network_dir=" $1 "
@@ -54,8 +50,8 @@ process_network_dir() {
5450 chain_id=$( dasel -f " $toml_file " -r toml " chain_id" | tr -d ' "' )
5551 chain_name=" $( basename " ${toml_file% .* } " ) "
5652
57- # Skip if chain_id is empty or in the exclusion list
58- if [[ -z " $chain_id " || -v EXCLUDE_CHAIN_IDS[ " $chain_id " ] ]]; then
53+ # Skip if chain_id is empty or Boba's (28882)
54+ if [[ -z " $chain_id " || " $chain_id " -eq 28882 ]]; then
5955 echo " Skipping $network_name /$chain_name ($chain_id )"
6056 rm " $toml_file "
6157 rm " genesis/$network_name /$chain_name .json.zst"
You can’t perform that action at this time.
0 commit comments