From c602296feb05f524b0c956e45c81f65892a768bc Mon Sep 17 00:00:00 2001 From: MRain Date: Tue, 27 Aug 2024 14:33:23 -0400 Subject: [PATCH] changing serialization --- vid/src/advz/payload_prover.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vid/src/advz/payload_prover.rs b/vid/src/advz/payload_prover.rs index 93d1cacb8..9f4ae7abc 100644 --- a/vid/src/advz/payload_prover.rs +++ b/vid/src/advz/payload_prover.rs @@ -51,9 +51,10 @@ pub struct SmallRangeProof

{ /// A proof intended for use on large payload subslices. /// /// Metadata needed to recover a KZG commitment. -#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] -#[serde(bound = "F: CanonicalSerialize + CanonicalDeserialize")] -pub struct LargeRangeProof { +#[derive( + Clone, Debug, Eq, PartialEq, CanonicalSerialize, CanonicalDeserialize, Serialize, Deserialize, +)] +pub struct LargeRangeProof { #[serde(with = "canonical")] prefix_elems: Vec, #[serde(with = "canonical")]