Commit 8a81dde
Add necessary 2-to-1 aggreg. components for
* Two to one aggregation
* Comments
* Two-to-one block aggregation proof
* Minor
* Minor
* feat: Implement two-to-one Block Aggregation
WIP: compute hashes directly from witness and check against public inputs
WIP: add TwoToOneBlockAggCircuitData
WIP: add test
WIP: rewrite to use hasher circuitry
WIP: test: can generate proofs of unrelated blocks
WIP: test/refactor: generate multiple blocks
WIP: test/refactor: autoformat
WIP: refactor: use result iterator
WIP: convert PIS
WIP: feat: witness: set public input hashes
WIP: feat: cache proofs in /tmp
WIP: config: default to no cache
WIP: bug: cache write-read assertion fails
WIP: bug: prepare for more eyeballs
WIP: bug: work on to_public_inputs
WIP feat: private public inputs
WIP feat: set pv targets
WIP experiment: public input
WIP refactor: clean up
WIP feat: 1-level aggregation working
WIP forgot: private public inputs
WIP: use agg child structure
WIP: split into IVC and binop
WIP: split part2 into IVC and binop
WIP: split part3 into IVC and binop
WIP: ivc structure done
WIP: wip wip
WIP: ivc+binop
WIP: after talking to Linda
WIP: adjust num_public_inputs
WIP: VirtualTarget index: 5 was set twice
feat: assert on input values length
experiment: minimize failing circuit
feat: add selector for public values
WIP: bug: add methods from branch `no_dummy_segment_no_pis`
WIP: bug: first draft
feat: verify 4-block aggregation
test: add more tests
* cleanup(tests)
* cleanup(tests): obey Clippy
* cleanup: remove unneeded experiment
* cleanup: remove vector to public inputs
* cleanup: remove IVC and re-add two_to_one_block
* cleanup: fix de/serialization
* cleanup: add comments
* cleanup: remove checks
* cleanup: remove unrelated change
* cleanup: remove unused parameter and todo
* feat: enable caching as default
* cleanup: remove previous block aggregation implementation
* refactor: simplify naming
* refactor: improve naming
* cleanup: remove custom build config
* cleanup: undo this change
* cleanup: obey Clippy
* cleanup: remove two-to-one aggregation
* review: resolve small issues
* fixup! cleanup: remove two-to-one aggregation
* review: make order consistent
* fixup! review: make order consistent
* review: merge aggregation children
* review: rename `evm_proof` to `base_proof`
* review: squash tests
* review: investigate padding length
* review: investigate padding length part 2
* review: remove magic numbers
* review: remove HasCircuit trait and pass in CircuitData field directly
* review: rework `set_dummy_if_necessary`
* review: remove logging in test
* review: remove legacy test
* review: remove all `debug_assert!`
* review: obey Clippy and fmt
* review: impl Merklet tree test
* WIP review: fix hashing mechanism and make hash public input
* review: remove VK from inputs
* review: test Merkle tree working
* review: refactor: remove scaffolding
* review: fix ascii art
* review: clippy
* review: remove logging
* review: fmt
* review: remove redundant computations
* fmt
* review: implement feedback from Hamy
* fmt
* Add necessary methods for proof_gen
* Update comment
* Fix comment
---------
Co-authored-by: wborgeaud <williamborgeaud@gmail.com>
Co-authored-by: Einar Rasmussen <erasmussen@polygon.technology>proof_gen (#364)1 parent 5da11bd commit 8a81dde
3 files changed
+98
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
117 | 141 | | |
118 | 142 | | |
119 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | | - | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
| |||
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
| |||
84 | 100 | | |
85 | 101 | | |
86 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
0 commit comments