Add the "ChunkedEvaluations" type for "ProofEvaluations" refactor
ADD
utils/src/chunked_evaluations.rs
+//! This module contains a type [ChunkedEvaluations],
+
+use serde::{Deserialize, Serialize};
+use serde_with::serde_as;
+
+/// This struct contains multiple chunk evaluations.
+#[serde_as]
+#[derive(Clone, Serialize, Deserialize)]
+#[serde(bound = "F: ark_serialize::CanonicalDeserialize + ark_serialize::CanonicalSerialize")]
+pub struct ChunkedEvaluations<F> {
+ /// The chunk evaluations.
+ #[serde_as(as = "Vec<crate::serialization::SerdeAs>")]
+ pub chunks: Vec<F>,
+
+ /// Each chunk polynomial has degree `size-1`.
+ pub size: usize,
+}

MODIFY
utils/src/lib.rs
utils/src/lib.rs
//! A collection of utility functions and constants that can be reused from multiple projects
pub mod adjacent_pairs;
+pub mod chunked_evaluations;
pub mod chunked_polynomial;
pub mod dense_polynomial;
pub mod evaluations;
@@ -12,6 +13,7 @@ pub mod hasher;
pub mod math;
pub mod serialization;
+pub use chunked_evaluations::ChunkedEvaluations;
pub use dense_polynomial::ExtendedDensePolynomial;
pub use evaluations::ExtendedEvaluations;
pub use field_helpers::FieldHelpers;

Add the "ChunkedEvaluations" type for "ProofEvaluations" refactor