diff --git a/.github/workflows/end2end.yml b/.github/workflows/end2end.yml index bf37824..faca4cc 100644 --- a/.github/workflows/end2end.yml +++ b/.github/workflows/end2end.yml @@ -62,7 +62,7 @@ jobs: - name: Set env from comment body run: | - printf '${{ github.event.comment.body }}' > comment.txt + BODY=$(printf '${{ github.event.comment.body }}') NOVA_URL=$(echo $BODY | awk -F'[ =]' '{for (i=1; i<=NF; i++) {if ($i ~ /^NOVA_URL/) {print $(i+1) }}}') if [[ ! -z $NOVA_URL ]]; then echo "NOVA_URL=$NOVA_URL" | tee -a $GITHUB_ENV @@ -87,7 +87,7 @@ jobs: - name: Load proof and public parameters run: | - python loader.py pp-verifier-key.json pp-compressed-snark.json ${{steps.deployment.outputs.CONTRACT_ADDRESS}} $ANVIL_URL $ANVIL_PRIVATE_KEY + python loader.py vk.json compressed-snark.json ${{steps.deployment.outputs.CONTRACT_ADDRESS}} $ANVIL_URL $ANVIL_PRIVATE_KEY - name: Check proof verification status run: |