We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02987a4 commit 54e098cCopy full SHA for 54e098c
1 file changed
aggregation_mode/src/aggregators/mod.rs
@@ -61,6 +61,9 @@ impl ZKVMEngine {
61
ZKVMEngine::SP1 => {
62
let proofs = proofs
63
.into_iter()
64
+ // Fetcher already filtered for SP1
65
+ // We do this for type casting, as to avoid using generics
66
+ // or macros in this function
67
.filter_map(|proof| match proof {
68
AlignedProof::SP1(proof) => Some(*proof),
69
_ => None,
@@ -80,6 +83,9 @@ impl ZKVMEngine {
80
83
ZKVMEngine::RISC0 => {
81
84
82
85
86
+ // Fetcher already filtered for Risc0
87
88
89
90
AlignedProof::Risc0(proof) => Some(*proof),
91
0 commit comments