Commit Graph

376 Commits

Author SHA1 Message Date
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
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
dancoffman 75f544cdba
update test name 2022-11-09 12:14:48 -08: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
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
Ramana Kumar dc6e43ae55
Merge pull request #4 from dgcoffman/dgc/publish-node-bindings-to-npm
Publish NodeJS bindings to npm
2022-11-07 23:10:46 +00:00
dancoffman e98ffa8c8e
Make publish less able to leave files in bad state 2022-11-07 14:37:46 -08:00
dancoffman 26f5178d06
git ignore xcode autogenerated file 2022-11-07 14:35:10 -08:00
dancoffman 5337f8d226
cc works on Linux 2022-11-07 11:45:36 -08:00
Ramana Kumar fbef9358ae
Merge pull request #6 from flcl42/main
Remove duplicate files, improve build, change test framework
2022-11-07 18:31:36 +00:00
Alexey Osipov 08d7384465 Remove duplicate files, improve build, change test framework 2022-11-07 21:18:23 +03:00
Ramana Kumar 3d101c7cd3
Merge pull request #5 from flcl42/main
Add build, tests, nuget
2022-11-07 14:34:22 +00:00
Alexey Osipov f18f95c395 Add build, tests, nuget 2022-11-07 16:28:22 +03:00
dancoffman f3069d1ec9
Messy publish but it works 2022-11-05 00:46:26 -07:00
dancoffman 2262d475ca
Required to publish blst/build 2022-11-05 00:36:38 -07:00
dancoffman d09b1009b6
gyp that maybe works on yarn install 2022-11-05 00:28:36 -07:00
dancoffman c033f782b8
Start working on NPM publish 2022-11-04 18:48:52 -07:00
dancoffman 1d1254e380
gitignore dist 2022-11-04 17:00:26 -07:00
dancoffman 8683fac75a
Basic setup instructions in README 2022-11-04 16:56:16 -07:00
Ramana Kumar 27f0d7fb25
Remove unused Polynomial typedef from interface 2022-11-04 23:29:33 +00:00
Ramana Kumar 1ff5eed9d0
Remove globalize-symbol - now using patched submodule 2022-11-04 22:34:04 +00:00
Ramana Kumar f906fcc6ab
Remove todo about blst submodule 2022-11-04 22:27:38 +00:00
Ramana Kumar 7e779004f0
Merge pull request #3 from dgcoffman/dgc/nodejs-bindings
NodeJS bindings
2022-11-04 22:25:25 +00:00
dancoffman fa8eebbc0b
free earlier when both subsequent branches will free. Throw appropriately on verify_kzg_proof failure 2022-11-04 14:12:11 -07:00
dancoffman d007bf79d0
Do not change the default behavior of src `make` 2022-11-04 13:44:04 -07:00
dancoffman 84bd55b304
Be better at TypeScript 2022-11-04 13:29:52 -07:00
dancoffman 1d20797874
Regen dist 2022-11-04 12:06:06 -07:00