Skip to content

Commit cdb4a11

Browse files
committed
add derive serialize&deserialize for VerifierOnlyCircuitData
(needed for the onchain verification flow)
1 parent 3defd60 commit cdb4a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plonky2/src/plonk/circuit_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ impl<F: RichField + Extendable<D>, C: GenericConfig<D, F = F>, const D: usize>
388388
}
389389

390390
/// Circuit data required by the verifier, but not the prover.
391-
#[derive(Debug, Clone, Eq, PartialEq)]
391+
#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]
392392
pub struct VerifierOnlyCircuitData<C: GenericConfig<D>, const D: usize> {
393393
/// A commitment to each constant polynomial and each permutation polynomial.
394394
pub constants_sigmas_cap: MerkleCap<C::F, C::Hasher>,

0 commit comments

Comments
 (0)