Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPCS: Rename CommitmentWithData to CommitmentWithWitness & remove unnecessary trait requirement. #745

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

yczhangsjtu
Copy link
Collaborator

@yczhangsjtu yczhangsjtu commented Dec 13, 2024

  • The name "CommitmentWithData" is vague, renamed to CommitmentWithWitness to be clearer
  • It doesn't actually need to be serialized anywhere in the protocol, and never need to create a default instance, remove the unnecessary trait bounds (which doesn't cause any compilation error at all), and to avoid implementing these trait unnecessarily in WHIR wrapper

@yczhangsjtu yczhangsjtu changed the title MPCS: Rename CommitmentWithData to CommitmentWithWitness & remove Serialization requirement. MPCS: Rename CommitmentWithData to CommitmentWithWitness & remove unnecessary trait requirement. Dec 13, 2024
Copy link
Collaborator

@matthiasgoergens matthiasgoergens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@matthiasgoergens
Copy link
Collaborator

Thanks for providing a detailed motivation in the PR description.

Copy link
Collaborator

@hero78119 hero78119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@hero78119 hero78119 merged commit 027f7b0 into master Dec 13, 2024
6 checks passed
@hero78119 hero78119 deleted the feat/mpcs-comm-with-data-no-serialize branch December 13, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants