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

EC: Scalar mul accepts scalar as field element as well as bigint #370

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

mratsim
Copy link
Owner

@mratsim mratsim commented Apr 27, 2024

Previously Constantine required to convert scalar input of scalar mul to bigint every-time before calling.

This does not refactor eth-verkle-ipa. It will be done in a second time.

@mratsim
Copy link
Owner Author

mratsim commented Apr 27, 2024

It seems like there is a regression in Nim 2.0.x devel branch that breaks type-checking:

image

No issue in Nim 2.0.2

image

Edit: or Nim 2.0.4

Investigation moved to #373

@mratsim mratsim enabled auto-merge (squash) April 30, 2024 05:11
@mratsim mratsim disabled auto-merge April 30, 2024 05:30
@mratsim mratsim merged commit 5d743ad into master Apr 30, 2024
12 checks passed
@mratsim mratsim deleted the scalarmul-for-field-scalar branch April 30, 2024 05:30
mratsim added a commit that referenced this pull request Apr 30, 2024
* EC: Scalar mul accepts scalar as field element as well as bigint

* EC: add empty line at end of file

* EC eth-verkle-ipa: refactor scalar-mul calls following #370
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.

1 participant