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

perf: optimize pedersen and ipa commit #203

Merged
merged 3 commits into from
Feb 15, 2025

Conversation

yelhousni
Copy link
Contributor

Description

This PR optimizes Pedersen and IPA commitments gadgets, through the use of joint_scalar_mul_be and scalar_mul_le implemented here arkworks-rs/r1cs-std#155.
solves #201 (comment).

Benchmark

The Pedersen check circuit goes from 3,575,519 r1cs to 2,455,364 r1cs.
The IPA verify circuit also goes from 77,175 r1cs to 73,367 r1cs.

Copy link
Collaborator

@arnaucube arnaucube left a comment

Choose a reason for hiding this comment

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

Really really cool!! ^^

Copy link
Collaborator

@winderica winderica left a comment

Choose a reason for hiding this comment

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

Truly impressive work. Thank you!

@winderica winderica added this pull request to the merge queue Feb 15, 2025
Merged via the queue into privacy-scaling-explorations:main with commit e9bebdb Feb 15, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants