Skip to content

Commit 885cbeb

Browse files
committed
new
1 parent a921d04 commit 885cbeb

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.github/workflows/circuits_e2e.yaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
nargo compile --package get_header --deny-warnings --skip-brillig-constraints-check
4646
nargo compile --package get_account --deny-warnings --skip-brillig-constraints-check
4747
nargo compile --package get_storage --deny-warnings --skip-brillig-constraints-check
48-
nargo compile --package get_storage_recursive --deny-warnings --skip-brillig-constraints-check
48+
# nargo compile --package get_storage_recursive --deny-warnings --skip-brillig-constraints-check
4949
nargo compile --package get_receipt --deny-warnings --skip-brillig-constraints-check
5050
nargo compile --package get_transaction --deny-warnings --skip-brillig-constraints-check
5151
nargo compile --package get_log --deny-warnings --skip-brillig-constraints-check
@@ -74,34 +74,6 @@ jobs:
7474
nargo execute --package is_dao_worthy --oracle-resolver=http://localhost:5555 --skip-brillig-constraints-check
7575
nargo execute --package is_ape_owner --oracle-resolver=http://localhost:5555 --skip-brillig-constraints-check
7676
77-
# - name: Generate Proofs
78-
# run: |
79-
# export PATH="$HOME/.bb:$PATH"
80-
# bb prove -b ./target/get_header.json -w ./target/get_header.gz --write_vk -o ./target/get_header
81-
# bb prove -b ./target/get_account.json -w ./target/get_account.gz --write_vk -o ./target/get_account
82-
# bb prove -b ./target/get_storage.json -w ./target/get_storage.gz --write_vk -o ./target/get_storage
83-
# bb prove -b ./target/get_receipt.json -w ./target/get_receipt.gz --write_vk -o ./target/get_receipt
84-
# bb prove -b ./target/get_transaction.json -w ./target/get_transaction.gz --write_vk -o ./target/get_transaction
85-
# bb prove -b ./target/get_log.json -w ./target/get_log.gz --write_vk -o ./target/get_log
86-
# bb prove -b ./target/is_dao_worthy.json -w ./target/is_dao_worthy.gz --write_vk -o ./target/is_dao_worthy
87-
# bb prove -b ./target/is_ape_owner.json -w ./target/is_ape_owner.gz --write_vk -o ./target/is_ape_owner
88-
89-
- name: Generate verification key for recursive proof
90-
working-directory: ethereum/oracles
91-
run: |
92-
# Verification key generation uses the TypeScript bindings to generate the VK needed for recursive proofs.
93-
yarn generate-get-storage-vk
94-
95-
- name: Generate Recursive Witness
96-
run: |
97-
export NARGO_FOREIGN_CALL_TIMEOUT=100000 # miliseconds
98-
nargo execute --package is_dao_worthy_recursive --oracle-resolver=http://localhost:5555
99-
100-
- name: Generate Recursive Proof
101-
run: |
102-
export PATH="$HOME/.bb:$PATH"
103-
bb prove -b ./target/is_dao_worthy_recursive.json -w ./target/is_dao_worthy_recursive.gz --write_vk -o ./target/is_dao_worthy_recursive
104-
10577
- name: Generate Verification Keys
10678
run: |
10779
export PATH="$HOME/.bb:$PATH"
@@ -114,6 +86,34 @@ jobs:
11486
bb write_vk -b ./target/is_dao_worthy.json -o ./target/is_dao_worthy_vk
11587
bb write_vk -b ./target/is_ape_owner.json -o ./target/is_ape_owner_vk
11688
89+
- name: Generate Proofs
90+
run: |
91+
export PATH="$HOME/.bb:$PATH"
92+
bb prove -b ./target/get_header.json -w ./target/get_header.gz -o ./target/get_header -k ./target/get_header_vk
93+
bb prove -b ./target/get_account.json -w ./target/get_account.gz -o ./target/get_account -k ./target/get_account_vk
94+
bb prove -b ./target/get_storage.json -w ./target/get_storage.gz -o ./target/get_storage -k ./target/get_storage_vk
95+
bb prove -b ./target/get_receipt.json -w ./target/get_receipt.gz -o ./target/get_receipt -k ./target/get_receipt_vk
96+
bb prove -b ./target/get_transaction.json -w ./target/get_transaction.gz -o ./target/get_transaction -k ./target/get_transaction_vk
97+
bb prove -b ./target/get_log.json -w ./target/get_log.gz -o ./target/get_log -k ./target/get_log_vk
98+
bb prove -b ./target/is_dao_worthy.json -w ./target/is_dao_worthy.gz -o ./target/is_dao_worthy -k ./target/is_dao_worthy_vk
99+
bb prove -b ./target/is_ape_owner.json -w ./target/is_ape_owner.gz -o ./target/is_ape_owner -k ./target/is_ape_owner_vk
100+
101+
# - name: Generate verification key for recursive proof
102+
# working-directory: ethereum/oracles
103+
# run: |
104+
# # Verification key generation uses the TypeScript bindings to generate the VK needed for recursive proofs.
105+
# yarn generate-get-storage-vk
106+
107+
# - name: Generate Recursive Witness
108+
# run: |
109+
# export NARGO_FOREIGN_CALL_TIMEOUT=100000 # miliseconds
110+
# nargo execute --package is_dao_worthy_recursive --oracle-resolver=http://localhost:5555
111+
112+
# - name: Generate Recursive Proof
113+
# run: |
114+
# export PATH="$HOME/.bb:$PATH"
115+
# bb prove -b ./target/is_dao_worthy_recursive.json -w ./target/is_dao_worthy_recursive.gz -o ./target/is_dao_worthy_recursive -k ./target/is_dao_worthy_recursive_vk
116+
117117
- name: Verify Proofs
118118
run: |
119119
export PATH="$HOME/.bb:$PATH"

0 commit comments

Comments
 (0)