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 |
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 |
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
|
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
|
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
|
c8fab42ac0
|
Fix node.js build - thanks to dgcoffman
|
2022-11-08 22:02:38 +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 |
Alexey Osipov
|
94f4c91e1a
|
Fix `make run-test` for newly cloned repo
|
2022-11-08 17:26:26 +03: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 |
Alexey Osipov
|
08d7384465
|
Remove duplicate files, improve build, change test framework
|
2022-11-07 21:18:23 +03: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 |
Ramana Kumar
|
1ff5eed9d0
|
Remove globalize-symbol - now using patched submodule
|
2022-11-04 22:34:04 +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
|
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 |
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
|
09d84058a8
|
nodejs binding make build should do less
|
2022-11-03 23:27:21 -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
|
fcd7fbd9e7
|
Checkpoint
|
2022-11-03 12:57:59 -07: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
|
b169d4ab6e
|
Remove SWIG
|
2022-11-02 13:27:00 -07:00 |
dancoffman
|
40db00f643
|
Add napi version
|
2022-11-02 13:21:41 -07:00 |
dancoffman
|
fdcab9d035
|
Install node-gyp with yarn
|
2022-11-01 22:22:14 -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
|
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 |
Dankrad Feist
|
2e435a7e26
|
Add py_ecc tests to min-bindings
|
2022-10-04 00:41:24 +01:00 |
Dankrad Feist
|
1e41ed4d36
|
Test equivalence with py_ecc
|
2022-09-19 19:56:43 +01:00 |
Ramana Kumar
|
bd65d49ffd
|
Check the proof fails on wrong data
|
2022-09-19 15:40:18 +01:00 |
Ramana Kumar
|
80b1c973cf
|
Make the tests the default make target
|
2022-09-19 15:40:18 +01:00 |
Ramana Kumar
|
701da680ce
|
Add tests of prove and verify
|
2022-09-19 15:40:18 +01:00 |
Ramana Kumar
|
968b099dab
|
Treat bool specially, avoid allocation
Because bool as a PyObject won't have a normal destroy operation
|
2022-09-19 15:40:18 +01:00 |
Ramana Kumar
|
306dcf5bac
|
Assume word size is 64
Avoids incompatible pointer type warnings on my system.
Ideally this would be sensitive to the host.
|
2022-09-19 15:40:18 +01:00 |
Ramana Kumar
|
43d54b8154
|
Add some comments to Python file, rename to tests
|
2022-09-19 15:40:18 +01:00 |
Ramana Kumar
|
9aa1dc289f
|
Compare result to Python evaluation
|
2022-09-19 15:40:17 +01:00 |
Ramana Kumar
|
8e5209c491
|
Work example up to evaluating a poly_l
|
2022-09-19 15:40:17 +01:00 |
Ramana Kumar
|
560127f1f5
|
Add some rudimentary Python access + example
|
2022-09-19 15:40:17 +01:00 |
Ramana Kumar
|
cd404dbb0a
|
Add array_class for fr_arrays
|
2022-09-19 15:40:17 +01:00 |
Ramana Kumar
|
8eb99bcc96
|
Initial attempt to swig for python
|
2022-09-19 15:40:15 +01:00 |