Skip to content

Commit

Permalink
changing serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
mrain committed Aug 27, 2024
1 parent 26f2875 commit c602296
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vid/src/advz/payload_prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ pub struct SmallRangeProof<P> {
/// 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<F> {
#[derive(
Clone, Debug, Eq, PartialEq, CanonicalSerialize, CanonicalDeserialize, Serialize, Deserialize,
)]
pub struct LargeRangeProof<F: CanonicalSerialize + CanonicalDeserialize> {
#[serde(with = "canonical")]
prefix_elems: Vec<F>,
#[serde(with = "canonical")]
Expand Down

0 comments on commit c602296

Please sign in to comment.