Skip to content

Commit

Permalink
ci final fix minus generation
Browse files Browse the repository at this point in the history
  • Loading branch information
debjit-bw committed Oct 11, 2024
1 parent 2ebb301 commit 09d21bc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/apply_test_vectors.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ function apply_block_file() {
http://localhost:8546 \
)
echo engine_forkchoiceUpdatedV1 set new block as head RESPONSE $RESPONSE

PAYLOAD_STATUS=$(echo $RESPONSE | jq --raw-output '.result.payloadStatus.status')
# If the status is not "VALID", exit the script with a non-zero code to make CI fail
if [ "$STATUS" != "VALID" ]; then
echo "Error: Payload status is $STATUS, failing CI."
exit 1
fi
}


Expand Down

0 comments on commit 09d21bc

Please sign in to comment.