Commit Graph

419 Commits

Author SHA1 Message Date
Stefan Bratanov 20bbd3c5fb don't print 2022-11-24 19:33:31 +00:00
Stefan Bratanov 9b09d6c966 adding more tests 2022-11-24 19:18:24 +00:00
Stefan Bratanov 4798c4b1e2 fix C header inconsistency 2022-11-24 18:15:26 +00:00
Stefan Bratanov e765142a57 add more OS handling in the Makefile 2022-11-24 18:05:12 +00:00
Stefan Bratanov 3025c882ea adding gradle, makefile and tests 2022-11-24 17:16:15 +00:00
Stefan Bratanov a7557be070 readme improvements 2022-11-24 12:32:03 +00:00
Stefan Bratanov 679cdd20ce make sure to exit c method when trusted setup is not loaded 2022-11-24 12:10:56 +00:00
Stefan Bratanov 606ad9fed8 implementing all methods 2022-11-24 11:50:37 +00:00
Stefan Bratanov a50671dfe8 handle exceptions 2022-11-24 09:14:12 +00:00
Stefan Bratanov a05211c23c revert to using c 2022-11-24 09:14:12 +00:00
Stefan Bratanov c6fc155060 change readme 2022-11-24 09:14:12 +00:00
Stefan Bratanov c50f52108d don't expose KZGSettings 2022-11-24 09:14:12 +00:00
Stefan Bratanov 3136083139 using jni instead of swig (still needs work) 2022-11-24 09:14:12 +00:00
Stefan Bratanov 2ad9433a2b adding the needed interface 2022-11-24 09:14:12 +00:00
Stefan Bratanov accc70c6cd java bindings initial try 2022-11-24 09:14:12 +00:00
Ramana Kumar 895700f4ca
Merge pull request #7 from dgcoffman/dgc/run-nodejs-bindings-tests-in-ci
Run NodeJS bindings unit tests in CI
2022-11-22 21:26:25 +00:00
dancoffman 66a4d2a896
Revert "Test a test failure"
This reverts commit ab5afd38f3.
2022-11-22 13:00:33 -08:00
dancoffman ab5afd38f3
Test a test failure 2022-11-22 12:59:36 -08:00
dancoffman 6cc5cb07e0
Try -fPIC 2022-11-22 12:56:05 -08:00
Ramana Kumar 4b658698cc
Merge pull request #2 from flcl42/feature/kzg-test
Sync C# wrapper changes, update tests, minor changes for c-kzg
2022-11-22 20:53:38 +00:00
dancoffman 763095c1f0
Do not make all 2022-11-22 12:52:56 -08:00
Ramana Kumar 2a722bfd52
Merge pull request #6 from dgcoffman/dgc/nodejs-bindings-1.0.7
NodeJS bindings version 1.0.7
2022-11-22 20:50:48 +00:00
dancoffman b69087063e
Install in build 2022-11-22 12:46:41 -08:00
dancoffman 5d7daab973
Add required runs-on 2022-11-22 12:45:28 -08:00
dancoffman 54e6c1b44c
Run NodeJS bindings unit tests in CI 2022-11-22 12:43:15 -08:00
dancoffman 23ab03ec6a
Fix uint type for newer g++ 2022-11-22 12:27:32 -08:00
dancoffman cb55e4f2ab
NodeJS version 1.0.6 2022-11-22 12:11:05 -08:00
Alexey Osipov c5e42fdc82 Rename x to z in csharp bindings for verify_kzg_proof 2022-11-22 10:51:29 +03:00
Alexey Osipov 2761467490 Merge remote-tracking branch 'origin2/main' into feature/kzg-test 2022-11-22 10:50:05 +03:00
Alexey Osipov b7a4f7ccea Rollback hash usage, clean up code 2022-11-22 10:46:49 +03:00
Ramana Kumar d9e0f133e3
Merge pull request #1 from ethereum/verify_takes_bytes
Update interface for verify_kzg_proof
2022-11-21 17:52:41 +00:00
Ramana Kumar 471319fd81
Rename x to z in csharp bindings for verify_kzg_proof
just for consistency
2022-11-21 17:33:59 +00:00
Alexey Osipov 853c7aee95 Correct hash method signature 2022-11-20 00:01:36 +03:00
Alexey cccfc749db
Merge branch 'main' into feature/kzg-test 2022-11-19 23:53:03 +03:00
Alexey Osipov a582145755 Clean up tests 2022-11-19 23:46:38 +03:00
Ramana Kumar bcc138560a
Update interface for verify_kzg_proof 2022-11-19 09:35:55 +00:00
Ramana Kumar 9611bfde9a
Add const 2022-11-19 09:31:36 +00:00
Ramana Kumar 8820b7a659 Remove n == 1 special case 2022-11-18 22:32:41 +00:00
Ramana Kumar 27f772402e
Make compute_powers easier to read 2022-11-18 22:20:18 +00:00
Ramana Kumar 2745c54711
Merge pull request #12 from dgcoffman/dgc/add-ability-to-parse-json-trusted-setup-to-txt
Add ability to parse json trusted setup to txt
2022-11-18 01:33:26 +00:00
dancoffman 1d3282895d
Add contributing note 2022-11-17 16:47:47 -08:00
dancoffman 3bd84cfae6
Skip the tests which fails 2022-11-17 16:41:09 -08:00
dancoffman 0b019d6a67
Test verifying aggregate proof of nothing 2022-11-17 16:41:09 -08:00
dancoffman fe622a7171
Bump package version. npmignore testing_trusted_setups.json 2022-11-17 16:41:09 -08:00
dancoffman 242ba0adf9
Add ability to parse JSON trusted setup to text format expected by C-KZG 2022-11-17 16:41:09 -08:00
Ramana Kumar ebd4051a7d
Merge pull request #13 from kevaundray/patch-1
Modify Fiat-Shamir to closer match the specs
2022-11-18 00:38:25 +00:00
kevaundray deb29eb59f
Fixes
- Switch ordering of domain separator
- When copying the polynomial into the bytes array, use the `j` value to position the pointer
2022-11-18 00:16:10 +00:00
Ramana Kumar cf327db6e7
Merge pull request #9 from dgcoffman/dgc/update-test-for-0-blobs-special-case
Update test for computeAggregateKzgProof empty blobs array special case
2022-11-17 08:42:17 +00:00
dancoffman c9ac623fe7
Turn CPP exceptions back off to see if that fixes the ELF problem 2022-11-16 16:23:06 -08:00
dancoffman afab8d9ea2
Revert conditions 2022-11-16 15:47:13 -08:00