File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
prover/crates/bin/prover_fri/src Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,19 @@ pub fn verify_proof(
143
143
pub fn setup_metadata_to_setup_data_key (
144
144
setup_metadata : & CircuitIdRoundTuple ,
145
145
) -> ProverServiceDataKey {
146
- ProverServiceDataKey {
147
- circuit_id : setup_metadata. circuit_id ,
148
- round : setup_metadata. aggregation_round . into ( ) ,
146
+ let round = setup_metadata. aggregation_round . into ( ) ;
147
+ match round {
148
+ AggregationRound :: NodeAggregation => {
149
+ // For node aggregation only one key exist for all circuit types
150
+ ProverServiceDataKey {
151
+ circuit_id : ZkSyncRecursionLayerStorageType :: NodeLayerCircuit as u8 ,
152
+ round,
153
+ }
154
+ }
155
+ _ => ProverServiceDataKey {
156
+ circuit_id : setup_metadata. circuit_id ,
157
+ round,
158
+ } ,
149
159
}
150
160
}
151
161
You can’t perform that action at this time.
0 commit comments