Commit Graph

448 Commits

Author SHA1 Message Date
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
dancoffman 062e4e0f30
Simplify, given updated API 2022-11-04 11:56:41 -07:00
dancoffman ac65930b15
Use BYTES_PER_FIELD_ELEMENT 2022-11-04 11:44:57 -07:00
dancoffman 8ca4fd9e83
Merge branch '4844_3038' into dgcoffman/nodejs-bindings 2022-11-04 11:41:17 -07:00
dancoffman 82c89e1025
Add gypfile to package.json 2022-11-04 11:35:31 -07:00
Ramana Kumar 36a172f7ca
Update python ckzg.c 2022-11-04 09:18:56 +00:00
Ramana Kumar ce8707b5b7
Update csharp ckzg.c 2022-11-04 09:07:05 +00:00
Ramana Kumar 99a990ff32
Add some of the bytes conversions back to the interface
These might still be needed for the G1 elements even though they're not
needed for blobs now.

Also make FIAT_SHAMIR_PROTOCOL_DOMAIN static to avoid redefinitions.
2022-11-04 09:05:39 +00:00
dancoffman f819fe1f20
Patch blst submodule sha 2022-11-04 00:13:02 -07:00
dancoffman 46fb7cc10b
Update README 2022-11-03 23:44:08 -07:00
dancoffman be0f51bd7e
make blst now works 2022-11-03 23:38:17 -07:00
dancoffman 09d84058a8
nodejs binding make build should do less 2022-11-03 23:27:21 -07:00
dancoffman a29b1580bd
Make task for blst 2022-11-03 23:23:27 -07:00
dancoffman e90e485fdd
Add blst as submodule 2022-11-03 23:15:50 -07:00
dancoffman 92242c725b
Have gyp copy the .node file 2022-11-03 23:14:11 -07:00
dancoffman 3f66b35664
Fix type 2022-11-03 22:57:03 -07:00
dancoffman c3d11f915a
build is a dep of test 2022-11-03 22:52:34 -07:00
dancoffman b6615527e9
Always make, never package.json scripts 2022-11-03 22:49:06 -07:00
dancoffman b031251f59
Do not run prettier on dist 2022-11-03 22:37:56 -07:00
dancoffman 7668c4ffa4
Generate type defs 2022-11-03 22:35:09 -07:00
dancoffman bbc90b7da1
Use rollup to product distributable JS file 2022-11-03 22:30:54 -07:00
dancoffman 83bed363d2
Add return types 2022-11-03 21:54:59 -07:00
dancoffman 0a99015789
Attempt more consistency. Remove test for verifyKzgProof which is not used in 4844 2022-11-03 19:54:45 -07:00
dancoffman 05fd8809ca
Run all the tests 2022-11-03 17:11:25 -07:00
dancoffman ab04cdd85d
Add a test for mismatch 2022-11-03 17:08:36 -07:00
dancoffman 32011119cd
Actually return the result of verify_kzg_proof 2022-11-03 16:54:52 -07:00
dancoffman 4bfce9ad15
Test verifyKzgProof 2022-11-03 16:27:56 -07:00
dancoffman 1514d5b826
computeAggregateKzgProof + verifyAggregateKzgProof test passes 2022-11-03 16:20:33 -07:00
dancoffman b8151db670
Cleanup 2022-11-03 15:13:49 -07:00