Commit Graph

670 Commits

Author SHA1 Message Date
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
dancoffman 672346f017
Closer to working 2022-11-03 14:39:20 -07:00
dancoffman a5ca06450f
Some cleanup 2022-11-03 13:31:02 -07:00
dancoffman fcd7fbd9e7
Checkpoint 2022-11-03 12:57:59 -07:00
Ramana Kumar 2b0f6a5c09
Update src for merged-3038 specs
bindings/tests not updated
2022-11-03 17:16:57 +00:00
dancoffman dbf2a1d905
Plausibly working BlobToKzgCommitment 2022-11-02 17:17:17 -07:00
dancoffman da8d5dde42
Try to test VerifyKzgProof (does not work) 2022-11-02 15:50:04 -07:00
dancoffman ac1762382a
TypeScript test 2022-11-02 13:45:29 -07:00
dancoffman 726fd38a5e
Revert unnecessary platform-specific makefile change 2022-11-02 13:32:15 -07:00
dancoffman d478234491
Revert changes that were only to make SWIG work 2022-11-02 13:30:19 -07:00
Ramana Kumar cd9d142079
Tidy away some more unused things 2022-11-02 20:29:20 +00:00
dancoffman b169d4ab6e
Remove SWIG 2022-11-02 13:27:00 -07:00
dancoffman 40db00f643
Add napi version 2022-11-02 13:21:41 -07:00
Ramana Kumar 3b0d68036b
Fix bug in compute_powers 2022-11-02 15:51:06 +00:00
dancoffman fdcab9d035
Install node-gyp with yarn 2022-11-01 22:22:14 -07:00
dancoffman 002fc3fa54
Tweaks 2022-11-01 21:58:21 -07:00
dancoffman 203033613f
I learned about extern C 2022-11-01 21:39:04 -07:00
dancoffman 2846d0b470
checkpoint 2 2022-11-01 19:40:28 -07:00
dancoffman 354281a9d8
Checkpoint 2022-11-01 17:56:34 -07:00
dancoffman 6ec86af547
Generate bindings using SWIG and node-gyp 2022-11-01 15:00:00 -07:00
dancoffman a581964b11
Working node-gyp 2022-11-01 12:56:38 -07:00
Ramana Kumar d3465ec8d4
Remove some unused gitignore 2022-11-01 14:37:00 +00:00
Ramana Kumar 270ba19030
Add back trusted_setup.txt
was lost in the move
2022-11-01 14:36:23 +00:00
Ramana Kumar 37e9be5705
Fix references to min-src 2022-11-01 14:28:51 +00:00
Ramana Kumar 434c9ae9b9
Remove unused code, remove min- prefix 2022-11-01 14:24:02 +00:00
Ramana Kumar 54e01973cf
Add verify_kzg_proof back to csharp bindings 2022-10-31 13:42:38 +00:00
Ramana Kumar af895c8d2c
Add verify_kzg_proof back to interface 2022-10-31 13:42:06 +00:00
Ramana Kumar c37a1234e1
Include initializer in hash_to_bls_field (now hash_to_bytes) 2022-10-22 15:43:10 +01:00
Ramana Kumar 140ee4c187
Sketch update to csharp interface 2022-10-20 19:29:36 +01:00