Skip to content

Commit

Permalink
redirect proprocessed data to separate hex file in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
roynalnaruto committed Jul 12, 2024
1 parent b4dfafb commit 810ed73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
IN=integration/outputs/e2e_tests
OUT=release-v0.12.0-rc.1
OUT=release-v0.12.0-rc.2

mkdir -p $OUT

Expand All @@ -17,6 +17,10 @@ cp $IN/evm_verifier.yul $OUT/evm_verifier.yul
cp $IN/pi_bundle_recursion.data $OUT/pi.data
cp $IN/proof_bundle_recursion.data $OUT/proof.data

# dump the preprocessed digest into a separate hex file.
# preprocessed digest is the first 32 bytes of the public input.
xxd -l 32 -p $OUT/pi.data | tr -d '\n' | awk '{gsub("%", ""); print}' > $OUT/preprocessed_digest.hex

# copy config values for each proving layer
cp ./integration/configs/* $OUT

Expand Down

0 comments on commit 810ed73

Please sign in to comment.