From e24934db0e57d355d10a7e369aede5bbf5b05a09 Mon Sep 17 00:00:00 2001 From: wizard <112275929+famouswizard@users.noreply.github.com> Date: Fri, 22 Nov 2024 05:13:19 +0300 Subject: [PATCH] Fix incorrect variable syntax Update fetch-blocks.sh (#8842) Fix incorrect variable syntax in state download request Co-authored-by: Paul Harris --- scripts/fetch-blocks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fetch-blocks.sh b/scripts/fetch-blocks.sh index e7b59670c73..e3f9eb74f83 100755 --- a/scripts/fetch-blocks.sh +++ b/scripts/fetch-blocks.sh @@ -11,7 +11,7 @@ OUT="$(cd "${OUT}" &>/dev/null && pwd)" FIRST_BLOCK=$(($START + 1)) echo "Starting state download" -curl --fail -H 'Accept: application/octet-stream' http://localhost:$PORT/eth/v2/debug/beacon/states/{$START} -o "${OUT}/state.ssz" & +curl --fail -H 'Accept: application/octet-stream' http://localhost:$PORT/eth/v2/debug/beacon/states/${START} -o "${OUT}/state.ssz" & BLOCK_ARGS="" for i in $(seq -f "%0.f" ${FIRST_BLOCK} ${END})