Skip to content

Commit

Permalink
Remove the comm-with-wit serialize requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
yczhangsjtu committed Dec 13, 2024
1 parent 058e722 commit 8d12ca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions mpcs/src/basefold/structure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ pub struct BasefoldVerifierParams<E: ExtensionField, Spec: BasefoldSpec<E>> {

/// A polynomial commitment together with all the data (e.g., the codeword, and Merkle tree)
/// used to generate this commitment and for assistant in opening
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
#[serde(bound(serialize = "E: Serialize", deserialize = "E: DeserializeOwned"))]
#[derive(Clone, Debug, Default)]
pub struct BasefoldCommitmentWithWitness<E: ExtensionField>
where
E::BaseField: Serialize + DeserializeOwned,
Expand Down
2 changes: 1 addition & 1 deletion mpcs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ pub trait PolynomialCommitmentScheme<E: ExtensionField>: Clone + Debug {
type Param: Clone + Debug + Serialize + DeserializeOwned;
type ProverParam: Clone + Debug + Serialize + DeserializeOwned;
type VerifierParam: Clone + Debug + Serialize + DeserializeOwned;
type CommitmentWithWitness: Clone + Debug + Default + Serialize + DeserializeOwned;
type CommitmentWithWitness: Clone + Debug + Default;
type Commitment: Clone + Debug + Default + Serialize + DeserializeOwned;
type CommitmentChunk: Clone + Debug + Default;
type Proof: Clone + Debug + Serialize + DeserializeOwned;
Expand Down

0 comments on commit 8d12ca5

Please sign in to comment.