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

feat: add ec_mul #886

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

feat: add ec_mul #886

wants to merge 13 commits into from

Conversation

zmalatrax
Copy link
Contributor

Closes #853
Closes #854
Closes #178

Copy link

codecov bot commented Feb 27, 2025

Codecov Report

Attention: Patch coverage is 30.27375% with 433 lines in your changes missing coverage. Please review.

Project coverage is 77.75%. Comparing base (891aa81) to head (dab17e9).

Files with missing lines Patch % Lines
...iro-ec/src/cairo_ec/circuits/ec_ops_compiled.cairo 30.61% 426 Missing ⚠️
python/cairo-ec/src/cairo_ec/circuits/ec_ops.cairo 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #886      +/-   ##
==========================================
- Coverage   78.10%   77.75%   -0.35%     
==========================================
  Files          63       63              
  Lines       16700    16789      +89     
==========================================
+ Hits        13043    13055      +12     
- Misses       3657     3734      +77     
Flag Coverage Δ
ci 77.75% <30.27%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

// Assert is_on_curve_q_low is a boolean flag
assert is_on_curve_q_low * (1 - is_on_curve_q_low) = 0;
// Assert is_on_curve_q_high is a boolean flag
assert is_on_curve_q_high * (1 - is_on_curve_q_high) = 0;
// Assert g is on curve
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Assert g is on curve
// Assert p is on curve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants