Skip to content

[Cleanup] Remove WASM interpretation providers (zeroj-bls12381-wasm and zeroj-bbs-wasm) #34

Description

@satran004

Context & Motivation

zeroj-bls12381-wasm and zeroj-bbs-wasm use Rust implementations compiled to WebAssembly and interpreted in Java via Chicory.

  • Pure Java (zeroj-bls12381, zeroj-bbs) and native FFM (zeroj-blst) provide 100% of the functionality with far higher throughput.
  • Chicory WASM interpretation is single-threaded and slow for pairing arithmetic.
  • Building the WASM modules requires the Rust wasm32-unknown-unknown target and Cargo during Gradle builds.

Scope & Tasks

  • Remove zeroj-bls12381-wasm and zeroj-bbs-wasm from settings.gradle.
  • Delete zeroj-bls12381-wasm and zeroj-bbs-wasm directories.
  • Remove Rust WASM build steps from CI and Gradle tasks.
  • Ensure differential test coverage is preserved in pure-Java / blst suites.

Risk Classification

  • R0: Module cleanup.
  • Reference: docs/zeroj-comprehensive-review-and-readiness-gemini.md (Section 3.1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions