Stefan Bratanov
d06df97716
[Java binding] Release JNI arrays
2022-12-18 10:58:57 +02:00
Ramana Kumar
ddcf9ebff6
Merge pull request #39 from ethereum/free-fs
...
Free the FFTSettings when freeing a KZGSettings
2022-12-17 19:54:46 +00:00
Ramana Kumar
777972d150
Free the FFTSettings when freeing a KZGSettings
...
Closes #38
2022-12-17 19:47:18 +00:00
Ramana Kumar
d8db26e932
Merge pull request #36 from StefanBratanov/java_binding_changes
...
[Java binding] Load trusted setup from params + custom exception
2022-12-16 18:46:02 +00:00
Stefan Bratanov
46d64e231a
[Java binding] Load trusted setup from params + custom exception
2022-12-16 13:42:53 +02:00
Ramana Kumar
17626f0fd7
Merge pull request #35 from StefanBratanov/verify_kzg_proof_tests
...
[Java binding] Add test vectors for `verifyKzgProof`
2022-12-16 11:29:23 +00:00
Stefan Bratanov
17fe743fa3
[Java binding] Add test vectors for `verifyKzgProof`
2022-12-15 09:38:41 +02:00
Ramana Kumar
1768321fc3
Merge pull request #33 from StefanBratanov/align_with_spec
...
Align trusted_setup.txt with the spec
2022-12-14 23:18:34 +00:00
Stefan Bratanov
b1a7d48a89
Align trusted_setup.txt with the spec
2022-12-14 12:18:02 +02:00
Ramana Kumar
f2c57eeef9
Merge pull request #31 from dgcoffman/dgc/fix-setting-field-element-var
...
Correctly set FIELD_ELEMENTS_PER_BLOB for distributable build
2022-12-14 07:46:35 +00:00
dancoffman
704cba8ea4
Bump version
2022-12-13 15:24:24 -08:00
Daniel Coffman
ab12cef2fb
Merge branch 'ethereum:main' into dgc/fix-setting-field-element-var
2022-12-13 15:23:40 -08:00
dancoffman
cc7f62fcf0
Correctly set FIELD_ELEMENTS_PER_BLOB for distributable build
2022-12-13 15:21:40 -08:00
Ramana Kumar
130b629d4c
Merge pull request #29 from dgcoffman/dgc/expose-verify-proof
...
Expose verifyKzgProof
2022-12-13 21:06:32 +00:00
dancoffman
21b74bd89c
Bump package version
2022-12-13 11:25:39 -08:00
dancoffman
42f3bcef14
Actually test
2022-12-13 11:24:55 -08:00
dancoffman
4ccc48cbff
Expose verifyKzgProof
2022-12-13 11:21:43 -08:00
Ramana Kumar
c0e5adff1d
Merge pull request #20 from ethereum/check_encodings
...
Add checks that field elements are canonical
2022-12-13 07:33:51 +00:00
Ramana Kumar
e9b225f8e1
Merge pull request #28 from dgcoffman/dgc/fix-nodejs-test-blob-data
...
Do not allow blob fields to overflow
2022-12-13 07:28:06 +00:00
dancoffman
e5338b771f
Do not allow blob fields to overflow
2022-12-12 14:48:05 -08:00
Ramana Kumar
382cd2d6ff
Merge pull request #26 from flcl42/check_encodings
...
Align C# tests with the modulus check
2022-12-11 21:10:14 +00:00
Alexey Osipov
86f9f5d2ec
Align tests with the modulus check
2022-12-12 00:01:21 +03:00
Ramana Kumar
4101648253
Update python test for encoding checks
...
We ensure we are below the modulus by just using a zero final byte for
each field element encoding.
In the test, I do not understand why changing the final (zero) byte
causes verification to succeed instead of failing. But this is why the
change is now to the first byte.
2022-12-11 20:23:50 +00:00
Ramana Kumar
cfa36097a3
Add checks that field elements are canonical
2022-12-11 20:23:48 +00:00
Ramana Kumar
0f54189400
Merge pull request #24 from ethereum/no_file
...
Load trusted setup from arguments
2022-12-11 18:23:38 +00:00
Ramana Kumar
dc3fdcf49b
Merge pull request #25 from StefanBratanov/canonical_blobs
...
[Java binding] Use canonical random blobs in tests
2022-12-10 19:35:35 +00:00
Stefan Bratanov
4a0fed73b2
update gradle wrapper
2022-12-10 21:06:11 +02:00
Stefan Bratanov
971484f85c
Use canonical random blobs in tests
2022-12-10 21:05:16 +02:00
Ramana Kumar
547fd39e60
Add non-file-based load_trusted_setup
...
Closes #3
2022-12-10 16:23:32 +00:00
Ramana Kumar
68f1d2dd7e
Rename load_trusted_setup to load_trusted_setup_file
2022-12-10 16:07:40 +00:00
Ramana Kumar
03f5f1d5d0
Merge pull request #19 from StefanBratanov/java_binding_preset_loading
...
Java binding - load library based on a preset
2022-12-06 22:32:30 +00:00
Ramana Kumar
2bd4c3b252
Check more allocations for failure
2022-12-06 22:13:18 +00:00
Stefan Bratanov
e59f8296e8
add a dot in README
2022-12-06 15:03:58 +00:00
Stefan Bratanov
b086cfe9da
Add hprof files to gitignore
2022-12-06 13:14:37 +00:00
Stefan Bratanov
0072efe70a
Java binding - load library based on a preset
2022-12-06 12:58:56 +00:00
Ramana Kumar
78bf846f69
Merge pull request #16 from ethereum/configure_blob_size
...
Make FIELD_ELEMENTS_PER_BLOB compile-time configurable
2022-12-06 12:48:40 +00:00
Ramana Kumar
4a9a72bfbe
Also add new env variable to bindings.dist.gyp
2022-12-03 08:14:33 +00:00
Ramana Kumar
7b3477c6e9
Merge pull request #15 from asn-d6/compute_challenges_spec
...
Bring compute_challenges() and compute_powers() closer to the spec
2022-12-02 10:48:41 +00:00
George Kadianakis
bdfa79ca47
compute_challenges(): Use a single hash_input array
2022-12-02 12:36:11 +02:00
George Kadianakis
bcf14e7662
compute_powers(): Be consistent about argument types
2022-12-02 12:35:24 +02:00
Ramana Kumar
f747834382
Add example setup for FIELD_ELEMENTS_PER_BLOB=4
2022-12-01 20:32:27 +00:00
Ramana Kumar
45ea45e48b
Make FIELD_ELEMENTS_PER_BLOB configurable in python
2022-12-01 20:31:59 +00:00
Ramana Kumar
5b0aab2d58
Remove assumption about FIELD_ELEMENTS_PER_BLOB
2022-12-01 20:31:21 +00:00
Ramana Kumar
151d6d1571
Merge pull request #18 from flcl42/main
...
Add automatic build increment
2022-11-30 18:08:13 +00:00
Alexey
c0e6d8c3c2
Add automatic build increment
2022-11-30 11:35:32 +03:00
Ramana Kumar
de36196184
Do not mess with java bindings CC_FLAGS
2022-11-29 21:19:03 +00:00
Ramana Kumar
070948d68f
Update bindings Makefiles with configurable blob size
2022-11-29 21:07:07 +00:00
Ramana Kumar
c9274d8f43
Make FIELD_ELEMENTS_PER_BLOB compile-time configurable
2022-11-29 20:48:12 +00:00
Ramana Kumar
63451ea6eb
Merge pull request #17 from ethereum/makefile-indent
...
Indent Makefile without spaces
2022-11-29 20:17:24 +00:00
Ramana Kumar
f1a210dba4
Indent Makefile without spaces
...
Avoid using the recipe prefix for non-recipe code
2022-11-29 20:15:19 +00:00