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

Release v1.1.0 #357

Merged
merged 15 commits into from
Jan 31, 2024
Merged

Release v1.1.0 #357

merged 15 commits into from
Jan 31, 2024

Conversation

jeremyfelder
Copy link
Collaborator

Release v1.1.0:

  • Updated examples to use the new API
  • [c++] Curve specific functions using macros
  • [c++] Consolidate MSM and Batch MSM to single function
  • [CI] Add codespell in CI
  • [FIX] Windows rust build
  • [FIX] G2 on rust bindings
  • [FIX] Bw6 using bls12377

svpolonsky and others added 15 commits January 9, 2024 11:06
For exposed functions that are curve-specific, the expected symbol is
based on the curve name.
For example MSMCuda becomes bn254MSMCuda for CURVE=bn254.

currently it is implemented via objcopy by redefining symbols after
compilation.

This PR modifies the function names at preprocessing time instead.
For shared objects, objcopy doesn't work (since it cannot modify the
dynsym section).
…on (#342)

refactor: consolidate msm and batch-msm implementations to one function
    - now batch-msm support parallel BM accumulation in addition to large triangle accumulation
## Describe the changes

This PR allows c++ MSM example to compile with new API

## Linked Issues

Resolves #
Add codespell to pre-commit hook/CI and fix typos
- Make the curve config's omegas_count conditionally accessed when creating fields
- Remove the extern C function that returns a UDT containing non-POD types and replace it with a default_config function on the Rust bindings side
* BW scalar field is now the same as BLS base field in Rust

* G2 fixed and added into Rust
Update README.md
## Describe the changes

Make sure the examples comply with new API
@@ -1,7 +1,9 @@
use icicle_bn254::curve::{
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe add a batch MSM example ?
What about an example running in BM and Large triangle accumulation?

Maybe these should be under benchmarks tho not sure.

Please ignore this comment if you dont think we need this.

Copy link
Contributor

@svpolonsky svpolonsky Feb 1, 2024

Choose a reason for hiding this comment

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

Hi @ImmanuelSegol, is there a channel to ask our users what examples they are looking for?

@jeremyfelder jeremyfelder merged commit 77a7613 into main Jan 31, 2024
13 of 14 checks passed
@jeremyfelder jeremyfelder deleted the release/1.1.0 branch January 31, 2024 18:30
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.

6 participants