Skip to content

Commit

Permalink
Fix incorrect variable syntax Update fetch-blocks.sh (#8842)
Browse files Browse the repository at this point in the history
Fix incorrect variable syntax in state download request

Co-authored-by: Paul Harris <[email protected]>
  • Loading branch information
famouswizard and rolfyone authored Nov 22, 2024
1 parent b0dad8a commit e24934d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fetch-blocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit e24934d

Please sign in to comment.