1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use mina_serialization_types_macros::AutoFrom;
use crate::types::{ECPoint, ECPointVec, FiniteECPoint};
#[derive(Clone, Default, Eq, PartialEq, Debug, AutoFrom)]
#[auto_from(mina_serialization_types::proof_messages::ProofMessages)]
pub struct ProofMessages {
pub l_comm: ProofMessageWithoutDegreeBoundList,
pub r_comm: ProofMessageWithoutDegreeBoundList,
pub o_comm: ProofMessageWithoutDegreeBoundList,
pub z_comm: ProofMessageWithoutDegreeBoundList,
pub t_comm: ProofMessageWithDegreeBound,
}
#[derive(Clone, Default, Eq, PartialEq, Debug, AutoFrom)]
#[auto_from(mina_serialization_types::proof_messages::ProofMessageWithoutDegreeBoundList)]
pub struct ProofMessageWithoutDegreeBoundList(pub Vec<FiniteECPoint>);
#[derive(Clone, Default, Eq, PartialEq, Debug, AutoFrom)]
#[auto_from(mina_serialization_types::proof_messages::ProofMessageWithDegreeBound)]
pub struct ProofMessageWithDegreeBound {
pub unshifted: ECPointVec,
pub shifted: ECPoint,
}