@@ -7,8 +7,10 @@ use openvm_continuations::verifier::root::types::RootVmVerifierInput;
7
7
use openvm_native_compiler:: ir:: DIGEST_SIZE ;
8
8
use openvm_native_recursion:: hints:: { InnerBatchOpening , InnerFriProof , InnerQueryProof } ;
9
9
use openvm_stark_backend:: {
10
- config:: { Com , PcsProof } ,
11
- interaction:: { fri_log_up:: FriLogUpPartialProof , RapPhaseSeqKind } ,
10
+ config:: { Com , PcsProof , RapPhaseSeqPartialProof } ,
11
+ interaction:: {
12
+ fri_log_up:: FriLogUpPartialProof , gkr_log_up:: GkrLogUpPartialProof , RapPhaseSeqKind ,
13
+ } ,
12
14
p3_field:: {
13
15
extension:: BinomialExtensionField , FieldAlgebra , FieldExtensionAlgebra , PrimeField32 ,
14
16
} ,
@@ -147,6 +149,11 @@ fn encode_opened_values<W: Write>(
147
149
for phase in & opened_values. after_challenge {
148
150
encode_slice ( phase, writer) ?;
149
151
}
152
+ todo ! ( ) ;
153
+ // opened_values.extra_after_challenge.len().encode(writer)?;
154
+ // for phase in &opened_values.extra_after_challenge {
155
+ // encode_slice(phase, writer)?;
156
+ // }
150
157
opened_values. quotient . len ( ) . encode ( writer) ?;
151
158
for per_air in & opened_values. quotient {
152
159
per_air. len ( ) . encode ( writer) ?;
@@ -261,6 +268,12 @@ impl Encode for Option<FriLogUpPartialProof<F>> {
261
268
}
262
269
}
263
270
271
+ impl Encode for Option < GkrLogUpPartialProof < BinomialExtensionField < F , 4 > , F > > {
272
+ fn encode < W : Write > ( & self , writer : & mut W ) -> Result < ( ) > {
273
+ todo ! ( )
274
+ }
275
+ }
276
+
264
277
impl Encode for Challenge {
265
278
fn encode < W : Write > ( & self , writer : & mut W ) -> Result < ( ) > {
266
279
let base_slice: & [ F ] = self . as_base_slice ( ) ;
@@ -392,7 +405,7 @@ impl Decode for Proof<SC> {
392
405
}
393
406
394
407
// Decode logup witness
395
- let rap_phase_seq_proof = Option :: < FriLogUpPartialProof < F > > :: decode ( reader) ?;
408
+ let rap_phase_seq_proof = Option :: < RapPhaseSeqPartialProof < SC > > :: decode ( reader) ?;
396
409
397
410
Ok ( Proof {
398
411
commitments,
@@ -443,6 +456,13 @@ fn decode_opened_values<R: Read>(reader: &mut R) -> Result<OpenedValues<Challeng
443
456
after_challenge. push ( decode_vec ( reader) ?) ;
444
457
}
445
458
459
+ let extra_after_challenge_count = usize:: decode ( reader) ?;
460
+ let mut extra_after_challenge = Vec :: with_capacity ( extra_after_challenge_count) ;
461
+ for _ in 0 ..after_challenge_count {
462
+ todo ! ( )
463
+ // extra_after_challenge.push(decode_vec(reader)?);
464
+ }
465
+
446
466
let quotient_count = usize:: decode ( reader) ?;
447
467
let mut quotient = Vec :: with_capacity ( quotient_count) ;
448
468
for _ in 0 ..quotient_count {
@@ -458,6 +478,7 @@ fn decode_opened_values<R: Read>(reader: &mut R) -> Result<OpenedValues<Challeng
458
478
preprocessed,
459
479
main,
460
480
after_challenge,
481
+ extra_after_challenge,
461
482
quotient,
462
483
} )
463
484
}
@@ -566,6 +587,12 @@ impl Decode for Option<FriLogUpPartialProof<F>> {
566
587
}
567
588
}
568
589
590
+ impl Decode for Option < GkrLogUpPartialProof < BinomialExtensionField < F , 4 > , F > > {
591
+ fn decode < R : Read > ( reader : & mut R ) -> Result < Self > {
592
+ todo ! ( )
593
+ }
594
+ }
595
+
569
596
impl Decode for Challenge {
570
597
fn decode < R : Read > ( reader : & mut R ) -> Result < Self > {
571
598
// For a BinomialExtensionField<F, 4>, we need to read 4 F elements
0 commit comments