Commit Graph

448 Commits

Author SHA1 Message Date
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
dancoffman 5bf776f52a
Make C++ exceptions catchable in JS-land 2022-11-16 15:26:05 -08:00
Alexey Osipov e812599c2c Fix captions 2022-11-16 19:43:36 +03:00
Alexey Osipov 9fa293effc Add a program to generate outputs for a basic test 2022-11-16 19:31:41 +03:00
Alexey Osipov 3fdc6d37f5 Fix build again 2022-11-10 20:49:40 +03:00
Alexey Osipov 89a0c2af70 Copy all the libs 2022-11-10 19:33:36 +03:00
Alexey Osipov 7db7616f2b Fix packaing and settings loading 2022-11-10 19:23:40 +03:00
dancoffman 75f544cdba
update test name 2022-11-09 12:14:48 -08:00
Alexey Osipov e79b8fd2dc Try cross compile 2022-11-09 22:29:25 +03:00
Alexey Osipov 9c29267d3e Fix build 2022-11-09 22:27:09 +03:00
Alexey Osipov fb0d03ff25 Change API to allow fixed effective ptrs 2022-11-09 22:16:00 +03:00
dancoffman 2232b02329
Update NodeJS unit test to expect zero element when computeAggregateKzgProof is supplied an empty array of blobs 2022-11-09 10:25:48 -08:00
Alexey Osipov 68897b375c Merge branch '4844' 2022-11-09 11:40:52 +03:00
Ramana Kumar 084fd2209e
Add n=0 special case for compute_aggregate_kzg_proof 2022-11-08 23:11:19 +00:00
Ramana Kumar c8fab42ac0
Fix node.js build - thanks to dgcoffman 2022-11-08 22:02:38 +00:00
Ramana Kumar 51912eabf2
Merge pull request #8 from dgcoffman/dgc/node-binding-linux-test-harness
Node bindings Linux test harness
2022-11-08 21:08:24 +00:00
dancoffman ef3f77be06
Ignore a couple more files that do not need to be published 2022-11-08 12:57:15 -08:00
dancoffman 6c50c40247
Update tests to cover blobs arrays of length zero and one 2022-11-08 12:53:36 -08:00
dancoffman 0e474e6ec4
Add test harness for building and running NodeJS tests on Linux 2022-11-08 12:47:19 -08:00
dancoffman 72f696e119
File order matters to the linker. GCC demands this order. 2022-11-08 12:47:19 -08:00
Ramana Kumar fec7acb87e
Handle n < 2 cases better in compute_aggregated_poly_and_commitment 2022-11-08 20:15:48 +00:00
Alexey Osipov 94f4c91e1a Fix `make run-test` for newly cloned repo 2022-11-08 17:26:26 +03:00