MCPcopy Create free account
hub / github.com/docknetwork/crypto / for_aggregation

Method for_aggregation

proof_system/src/statement_proof.rs:237–246  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

235
236impl<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)]

Callers 1

for_aggregateMethod · 0.80

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected