(&self)
| 235 | |
| 236 | impl<E: Pairing> SaverProof<E> { |
| 237 | pub fn for_aggregation(&self) -> SaverProofWhenAggregatingSnarks<E> { |
| 238 | SaverProofWhenAggregatingSnarks { |
| 239 | ciphertext: self.ciphertext.clone(), |
| 240 | comm_chunks: self.comm_chunks, |
| 241 | comm_combined: self.comm_combined, |
| 242 | sp_ciphertext: self.sp_ciphertext.clone(), |
| 243 | sp_chunks: self.sp_chunks.clone(), |
| 244 | sp_combined: self.sp_combined.clone(), |
| 245 | } |
| 246 | } |
| 247 | } |
| 248 | |
| 249 | #[cfg_attr(feature = "serde", cfg_eval::cfg_eval, serde_with::serde_as)] |