@@ -61,36 +61,19 @@ jobs:
6161 nargo execute --package get_transaction --oracle-resolver=http://localhost:5555 --skip-brillig-constraints-check
6262 nargo execute --package get_log --oracle-resolver=http://localhost:5555 --skip-brillig-constraints-check
6363
64- - name : Debug - List Generated Files
65- run : |
66- echo "=== Checking target directories ==="
67- find . -name "*.json" -path "*/target/*" -type f
68- echo "=== Checking for .gz files ==="
69- find . -name "*.gz" -path "*/target/*" -type f
70- echo "=== Directory structure of ethereum/circuits/get_header/target ==="
71- ls -la ethereum/circuits/get_header/target/ || echo "Directory not found"
72-
7364 - name : Generate Proofs
7465 run : |
7566 export PATH="$HOME/.bb:$PATH"
76- bb prove -b ./ethereum/circuits/get_header/target/get_header.json -w ./ethereum/circuits/get_header/target/get_header.gz -o ./ethereum/circuits/get_header/target/proof
77- bb prove -b ./ethereum/circuits/get_account/target/get_account.json -w ./ethereum/circuits/get_account/target/get_account.gz -o ./ethereum/circuits/get_account/target/proof
78- bb prove -b ./ethereum/circuits/get_storage/target/get_storage.json -w ./ethereum/circuits/get_storage/target/get_storage.gz -o ./ethereum/circuits/get_storage/target/proof
79- bb prove -b ./ethereum/circuits/get_receipt/target/get_receipt.json -w ./ethereum/circuits/get_receipt/target/get_receipt.gz -o ./ethereum/circuits/get_receipt/target/proof
80- bb prove -b ./ethereum/circuits/get_transaction/target/get_transaction.json -w ./ethereum/circuits/get_transaction/target/get_transaction.gz -o ./ethereum/circuits/get_transaction/target/proof
81- bb prove -b ./ethereum/circuits/get_log/target/get_log.json -w ./ethereum/circuits/get_log/target/get_log.gz -o ./ethereum/circuits/get_log/target/proof
82-
83- # Note: Solidity verifier generation is not yet supported for UltraHonk in Nargo 1.0+
84- # Using pre-generated verifier contracts committed to the repository
85- # TODO: Re-enable when bb write_solidity_verifier supports Honk
86- # - name: Generate Verifier Contracts
87- # run: |
88- # bb write_solidity_verifier -k ./target/get_header/vk/vk -o ./contract/get_header/plonk_vk.sol
89- # bb write_solidity_verifier -k ./target/get_account/vk/vk -o ./contract/get_account/plonk_vk.sol
90- # bb write_solidity_verifier -k ./target/get_storage/vk/vk -o ./contract/get_storage/plonk_vk.sol
91- # bb write_solidity_verifier -k ./target/get_receipt/vk/vk -o ./contract/get_receipt/plonk_vk.sol
92- # bb write_solidity_verifier -k ./target/get_transaction/vk/vk -o ./contract/get_transaction/plonk_vk.sol
93- # bb write_solidity_verifier -k ./target/get_log/vk/vk -o ./contract/get_log/plonk_vk.sol
67+ bb prove -b ./target/get_header.json -w ./target/get_header.gz --write_vk -o ./target/get_header
68+ bb prove -b ./target/get_account.json -w ./target/get_account.gz --write_vk -o ./target/get_account
69+ bb prove -b ./target/get_storage.json -w ./target/get_storage.gz --write_vk -o ./target/get_storage
70+ bb prove -b ./target/get_receipt.json -w ./target/get_receipt.gz --write_vk -o ./target/get_receipt
71+ bb prove -b ./target/get_transaction.json -w ./target/get_transaction.gz --write_vk -o ./target/get_transaction
72+ bb prove -b ./target/get_log.json -w ./target/get_log.gz --write_vk -o ./target/get_log
73+
74+ # Note: Solidity verifiers are pre-generated and committed to ethereum/contracts/src/generated-verifier/
75+ # Generating them in CI causes OOM errors due to high memory requirements
76+ # To regenerate: bb write_solidity_verifier -k ./target/get_header -o ./ethereum/contracts/src/generated-verifier/GetHeaderUltraPLONKVerifier.sol
9477
9578 - name : Install Foundry
9679 uses : foundry-rs/foundry-toolchain@v1
0 commit comments