Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
45455a8
Export *FFT __reversePermutation functions. Pack wasm with gzip for b…
OBrezhniev Feb 10, 2026
8f2ffb5
Add known primes (curve primes we are supporting), so that we don't n…
OBrezhniev Feb 10, 2026
5a548af
multiexp: signed-digit (halved-bucket) Pippenger
OBrezhniev Jul 1, 2026
f8e5854
Add batch-affine MSM module (AssemblyScript)
OBrezhniev Jul 1, 2026
4c05573
f1m: rewrite Montgomery mul as CIOS (~23% faster)
OBrezhniev Jul 1, 2026
16229f4
f1m: square delegates to the CIOS mul (~21% faster)
OBrezhniev Jul 1, 2026
afff411
f1m: dedicated CIOS square
OBrezhniev Jul 1, 2026
d048c03
f1m mul: no-carry CIOS variant when q < R/2 (guarded)
OBrezhniev Jul 2, 2026
bd7a657
msm_batch: GLV endomorphism decomposition for bn254 G1
OBrezhniev Jul 2, 2026
8721563
msm_batch: GLS 4-dimensional decomposition for bn254 G2
OBrezhniev Jul 2, 2026
616cfc8
Rollback gzipped build creation
OBrezhniev Jul 3, 2026
ac08b88
Merge branch 'feature/sharedArrayBuffers' into feature/msm-signed-buc…
OBrezhniev Jul 3, 2026
c47dfb6
msm_batch: GLV for bls12-381 G1; generalize the constants layout
OBrezhniev Jul 3, 2026
902d89a
Update devDependencies: eslint 10 (flat config), mocha 11
OBrezhniev Jul 4, 2026
1340960
Fix dev-dependency audit findings via overrides
OBrezhniev Jul 4, 2026
3f5db0c
test: add limb-boundary critical-number stress tests for f1m_mul/square
OBrezhniev Jul 8, 2026
f18750c
test: cover the batch-affine MSM module and batch-inverse zero handling
OBrezhniev Jul 8, 2026
ac7fca4
perf: scalar-size partitioned MSM (ported from rapidsnark/ffiasm)
OBrezhniev Jul 11, 2026
c3981f1
perf: skip GLV/GLS on small gathered big-partitions
OBrezhniev Jul 11, 2026
fb55788
Migrate to ES modules + Vite/Vitest
OBrezhniev Jul 4, 2026
1a81d0b
CI: trigger on push to main + all pull_request (not the [push, pull_r…
OBrezhniev Jul 5, 2026
2f4a25b
CI: push trigger on master (the default branch), not main
OBrezhniev Jul 5, 2026
9de4060
test: convert msm_batch and f1 critical-number suites to ESM/Vitest
OBrezhniev Jul 13, 2026
5120fb8
Rollback the change
OBrezhniev Jul 13, 2026
ea14742
Merge pull request #76 from iden3/feature/esm-tooling
OBrezhniev Jul 13, 2026
1adcf22
fix: isPrime never reached Miller-Rabin; remove three broken wasmsnar…
OBrezhniev Aug 26, 2026
b83021f
test: revive the mnt6753 suite and cover the codegen helpers (99.5% l…
OBrezhniev Aug 26, 2026
c380d6c
chore: vitest ^4.1.11, toolchain audit overrides, lock resync
OBrezhniev Aug 27, 2026
13d4acc
ci: test on lts/-1 as well
OBrezhniev Aug 27, 2026
c7f941b
chore: pin LF line endings via .gitattributes
OBrezhniev Aug 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

33 changes: 0 additions & 33 deletions .eslintrc.js

This file was deleted.

11 changes: 10 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# Autodetect text files
# Normalize all text to LF in the repository and in every checkout,
# regardless of the local core.autocrlf setting.
* text=auto eol=lf

# Binary test fixtures and artifacts: never subject to EOL conversion.
*.zkey -text
*.ptau -text
*.wtns -text
*.r1cs -text
*.wasm -text
*.png -text
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
name: Continuous Integration
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:

jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
timeout-minutes: 15
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: ["12", "14", "16", "18"]
node-version: [lts/*, lts/-1]

steps:
- name: Checkout project
uses: actions/checkout@v2
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
check-latest: true
cache: 'npm'
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Install Playwright dependencies
run: npx playwright install --with-deps chromium

- name: Run tests
run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ typings/
tmp

.DS_Store
.idea/
Binary file modified build/bls12381.wasm
Binary file not shown.
34 changes: 16 additions & 18 deletions build/bls12381_wasm.js

Large diffs are not rendered by default.

Binary file modified build/bn128.wasm
Binary file not shown.
34 changes: 16 additions & 18 deletions build/bn128_wasm.js

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions build/bn128_wasm_gzip.js

Large diffs are not rendered by default.

Loading