Skip to content

chore: prepare 0.3.0 with Arkworks 0.6 - #39

Merged
ananas-block merged 2 commits into
masterfrom
release/0.3.0
Oct 27, 2026
Merged

ananas-block merged 2 commits into
masterfrom
release/0.3.0

Conversation

@ananas-block

@ananas-block ananas-block commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Prepare groth16-solana 0.3.0 and upgrade its direct Arkworks dependencies to 0.6. The minor release reflects breaking public API changes since 0.2.0, including verifying-key field changes and removed error variants and trait implementations.

Keep the optional Circom conversion API working by reading circom-prover's integer coordinates into validated Arkworks 0.6 points. Remove the direct ark-groth16 dependency, which this conversion no longer needs. Upstream circom-prover and the host Solana BN254 implementation still bring in Arkworks 0.5 transitively.

Add six conversion tests covering fixed output bytes, infinity, invalid coordinates, and points off the curve. Regenerate benchmarks and sync the README: standard Groth16 costs are unchanged; BSB22 costs increase by 2 CU per proof.

Validation passed:

  • Full workspace tests, including two million differential cases against gnark and the Circom proof-generation test.
  • All-feature crate tests, including the new conversion tests and verifying-key codegen tests.
  • All seven feature combinations and the Rust 1.90 all-feature compile check.
  • Solana SBF build, both no_std compile checks, and all eight CU benchmark cases.
  • Workspace Clippy, all-feature crate Clippy, formatting, README sync, and diff checks.

Host checks used the installed macOS 26.5 SDK to avoid a local linker incompatibility with the macOS 27 SDK.

@ananas-block ananas-block changed the title chore: bump crate version to 0.3.0 chore: prepare 0.3.0 with Arkworks 0.6 Oct 27, 2026
@ananas-block
ananas-block merged commit 7d5bb16 into master Oct 27, 2026
1 check passed
@ananas-block
ananas-block deleted the release/0.3.0 branch October 27, 2026 20:56
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