Skip to content

various improvements#44

Merged
adecaro merged 10 commits into
mainfrom
f-zr-ext
Mar 31, 2026
Merged

various improvements#44
adecaro merged 10 commits into
mainfrom
f-zr-ext

Conversation

@adecaro

@adecaro adecaro commented Mar 31, 2026

Copy link
Copy Markdown
Member

This PR brings the following:

  • New functions: Curve#NewZrFromBigInt, Zr#BigInt, Curve#ModAddMul3
  • Documentation: Improved README.md and GoDocs
  • Linting: Introducing golangci-lint
  • Dep: gnark-crypto v0.20.1, go1.25

@adecaro adecaro requested a review from ale-linux March 31, 2026 10:13
@adecaro adecaro self-assigned this Mar 31, 2026
@adecaro adecaro added the enhancement New feature or request label Mar 31, 2026
adecaro added 8 commits March 31, 2026 12:14
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
linter

Signedoff-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Comment thread math.go Outdated

@ale-linux ale-linux left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks Angelo, great patch! Are we actually testing the new methods though?

Comment thread math.go Outdated
Comment thread math.go
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
@adecaro adecaro requested a review from ale-linux March 31, 2026 13:32
@adecaro

adecaro commented Mar 31, 2026

Copy link
Copy Markdown
Member Author

Thanks @ale-linux , comments addressed.

@adecaro

adecaro commented Mar 31, 2026

Copy link
Copy Markdown
Member Author

Yes, @ale-linux , Curve#NewZrFromBigInt, Zr#BigInt, Curve#ModAddMul3 are all tested in math_test.go

@ale-linux ale-linux left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks - sorry for missing the tests, my bad

@adecaro adecaro merged commit 6bc25a7 into main Mar 31, 2026
3 checks passed
@adecaro adecaro deleted the f-zr-ext branch March 31, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants