This commit is contained in:
Sebastian
2024-03-18 04:27:41 +01:00
parent 08109790e6
commit ce7c32da47

View File

@@ -3,7 +3,7 @@
BASEPATH=/root/rpc BASEPATH=/root/rpc
source $BASEPATH/.env source $BASEPATH/.env
blacklist=("lighthouse" "prism" "beacon" "nimbus" "ws" "arbitrum-classic" "hagall" "public") blacklist=("lighthouse" "prism" "beacon" "nimbus" "ws" "arbitrum-classic" "hagall" "public")
pathlist=$(cat $BASEPATH/$1 | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//') pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//')
for path in $pathlist; do for path in $pathlist; do
include=true include=true
@@ -83,5 +83,7 @@ for path in $pathlist; do
rm "$response_file" rm "$response_file"
break break
else
echo "not found"
fi fi
done done