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

fix: Add NUM_RESERVED_GATES before fetching subgroup size #507

Closed
wants to merge 92 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
40245cc
Rm foundation
charlielye Apr 9, 2023
807882e
Remove foundation submodule, add build-system
charlielye Apr 9, 2023
c9922f1
Initial bindgen work.
charlielye Apr 9, 2023
9ebd5e0
Schnorr and blake2s binds/tests.
charlielye Apr 10, 2023
a1d0e9b
Tidy.
charlielye Apr 10, 2023
70d5c74
GPT4 created rust bindgen.
charlielye Apr 10, 2023
e758776
Improve.
charlielye Apr 12, 2023
53e5df7
Merge remote-tracking branch 'origin/master' into cl/ts
charlielye Apr 13, 2023
7bba67a
Broken initial
charlielye Apr 13, 2023
f8c4f85
Almost.£
charlielye Apr 14, 2023
74ef953
Fix test after master merge.
charlielye Apr 14, 2023
a3aca68
Debug build preset wasm-dbg for stack traces etc.
charlielye Apr 15, 2023
aaa97da
Async call support. Refactor binds. Common is module. WASM stubs unus…
charlielye Apr 16, 2023
0ef69cd
Move some c_bind to module root and make use new abi.
charlielye Apr 17, 2023
fee3263
Think things pass.
charlielye Apr 18, 2023
68055c2
Poly store returns value.
charlielye Apr 22, 2023
8ca5058
Wasm build
charlielye Apr 22, 2023
efbc030
Debugging...
charlielye Apr 23, 2023
8fc4eb8
Debugging
charlielye Apr 23, 2023
5158866
Fix bootstrap errors.
suyash67 Apr 24, 2023
2d9d65d
hacky fix (still to get to the bottom of this).
suyash67 Apr 24, 2023
028ed58
Fiddling with threads.
charlielye Apr 25, 2023
0fa9271
Fix (other address should also be "unsigned", thanks to Charlie)
suyash67 Apr 25, 2023
d934377
Merge branch 'cl/poly_store' into cl/wasm_pthread
charlielye Apr 25, 2023
1e4cbf2
Initial working pthreads.
charlielye Apr 26, 2023
b3b7662
Cond var example.
charlielye Apr 27, 2023
b15338a
Threading work.
charlielye Apr 29, 2023
29c43e0
Some cleanup/fixes
charlielye Apr 29, 2023
930d8b6
More threading.
charlielye Apr 29, 2023
3d4d636
Cheapen some polynomial copies. Remove more openmp.
charlielye Apr 30, 2023
a887501
Polynomial cache
charlielye Apr 30, 2023
cdffae8
Some cleanup
charlielye May 2, 2023
c58be5f
Custom poly allocator. Prealloc.
charlielye May 3, 2023
8bada76
Working.
charlielye May 4, 2023
ebade1f
Yarn release
charlielye May 4, 2023
e0b671a
Rename mem_slab_get and comments.
charlielye May 4, 2023
446f558
Merge branch 'master' into cl/wasm_pthread
charlielye May 5, 2023
98d19e2
Fix.
charlielye May 6, 2023
c8b7c38
Move env into common as there's dependencies both ways (logstr).
charlielye May 6, 2023
ee087ca
Merge remote-tracking branch 'origin/master' into cl/wasm_pthread
charlielye May 6, 2023
45814b2
Bump
charlielye May 6, 2023
7dfb814
Removing openmp
charlielye May 6, 2023
c270487
Worker threads.
charlielye May 6, 2023
fc81035
Revert "Removing openmp"
charlielye May 6, 2023
2611241
omp
charlielye May 6, 2023
444abb4
Cleanup. Several parallel_for solutions. Might be worth keeping them …
charlielye May 8, 2023
62619d2
Improve mem usage by slab allocating large parts of pippenger runtime…
charlielye May 8, 2023
e3b8541
Don't need binaryen.
charlielye May 8, 2023
e17d273
Clean
charlielye May 8, 2023
71747c6
Clean£
charlielye May 8, 2023
75d7b10
Clean
charlielye May 8, 2023
22fc7e9
WASI stuff.
charlielye May 9, 2023
c719062
Initial
charlielye May 13, 2023
93e99f0
This is getting seriously on point.
charlielye May 13, 2023
15acac9
Bindgen tweaks
charlielye May 13, 2023
e7a2969
Tests pass
charlielye May 13, 2023
7321153
Logging cleanup etc.
charlielye May 14, 2023
559e220
Merge remote-tracking branch 'origin/master' into cl/wasm_pthread_bro…
charlielye May 14, 2023
33debd9
Fix bootstrap.
charlielye May 14, 2023
9ce65c7
Fix
charlielye May 15, 2023
9f8030e
Bump alpine to get clang 16
charlielye May 15, 2023
913da64
Fixes.
charlielye May 15, 2023
d5a42bc
Fix.
charlielye May 15, 2023
ac86b44
Fix.
charlielye May 15, 2023
349d11b
Some fixes.
charlielye May 15, 2023
9cc038a
Fixes.
charlielye May 16, 2023
0447d76
Fix
charlielye May 16, 2023
516185f
Backwards compatible cbinds.
charlielye May 16, 2023
b55f644
Backout the shallow copying of polynomials, and ensure we take ref/ptrs.
charlielye May 16, 2023
7633f20
Fix
charlielye May 16, 2023
2da14f1
Move slab allocator to common. Init slab allocator just before creati…
charlielye May 16, 2023
31073cf
Merge remote-tracking branch 'origin/master' into cl/wasm_pthread
charlielye May 17, 2023
0a4213d
Merge remote-tracking branch 'origin/master' into cl/wasm_pthread
charlielye May 20, 2023
ebc582b
Slab allocator cleanup fix.
charlielye May 20, 2023
99d18fb
Stablise.
charlielye May 20, 2023
1b36d18
Fix
charlielye May 20, 2023
aaa0f96
Dont need bleeding edge fork of libc anymore
charlielye May 20, 2023
3be0eb6
Someone didn't format msgpack so im reverting and using --no-verify t…
charlielye May 20, 2023
f9bfbe7
bb.js is standalone prover that handles noir constraint/witness outpu…
charlielye Jun 1, 2023
d3e5d0a
Merge remote-tracking branch 'origin/master' into cl/wasm_pthread
charlielye Jun 1, 2023
65dffba
Fixes
charlielye Jun 2, 2023
a4045cc
wip
charlielye Jun 4, 2023
877c12c
Remove && refs.
charlielye Jun 4, 2023
fbc6da5
playing with caches.
charlielye Jun 4, 2023
edbf8ed
Fast cache
charlielye Jun 4, 2023
3f5a26b
Back out some conatiner slab stuff. Cleanup. Fixes.
charlielye Jun 4, 2023
701dbed
README.
charlielye Jun 5, 2023
14ac983
bb.js improv.
charlielye Jun 5, 2023
ed15f99
Bump
charlielye Jun 5, 2023
ea026aa
Merge remote-tracking branch 'origin/master' into cl/wasm_pthread
charlielye Jun 5, 2023
16b203b
Merge branch 'cl/wasm_pthread_swap_mem_working' into cl/wasm_pthread
charlielye Jun 5, 2023
d236bdf
fix up circuit subgroup estimation
vezenovm Jun 5, 2023
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
Prev Previous commit
Next Next commit
Fix test after master merge.
charlielye committed Apr 14, 2023

Verified

This commit was signed with the committer’s verified signature.
kmrmt Kosuke Morimoto
commit 74ef95346991fab5efd0615ef6c7c3078e345c7a
4 changes: 2 additions & 2 deletions ts/src/bindings/pedersen.test.ts
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ describe('pedersen', () => {

it('pedersenCompressWithHashIndex', () => {
const result = pedersenCompressWithHashIndex([new Fr(4n), new Fr(8n)], 7);
expect(result).toEqual(new Fr(21023575759217716079474317465087832600947311384619129919695080673364968932110n));
expect(result).toEqual(new Fr(12675961871866002745031098923411501942277744385859978302365013982702509949754n));
});

it('pedersenCommit', () => {
@@ -74,7 +74,7 @@ describe('pedersen', () => {

it('pedersenHashMultipleWithHashIndex', () => {
const result = pedersenHashMultipleWithHashIndex([new Fr(4n), new Fr(8n)], 7);
expect(result).toEqual(new Fr(21023575759217716079474317465087832600947311384619129919695080673364968932110n));
expect(result).toEqual(new Fr(12675961871866002745031098923411501942277744385859978302365013982702509949754n));
});

it('pedersenHashToTree', () => {