* test(node-bindings): add argument count unit tests
* test(node-bindings): make arg length check more explicit
* refactor(node-bindings): make getValidTest to DRY code
* test(node-bindings): extra args give same result
* refactor(node-bindings): adjust unit test spacing
* refactor(node-bindings): move argument length checks to it block
* refactor(node-bindings): simplify arg slicing
* chore(node-bindings): lint/format code
* docs(node-bindings): add docstring to test helper functions
* test(node-bindings): fix bytesEqual and add docstrings to all helper functions
* refactor(node-bindings): change name to assertBytesEqual
* Replace g1 points with g1 lagrange points
* Swap out validate_kzg_g1 with blst funcs
* Update minimal preset too
* Fix java & nodejs bindings
* Put variables in smaller scope
* Update some comments
* Remove FFTSettings (#2)
* Fix issue when expanding roots of unity
* Fix formatting
* Revert back to using intermediate array
* Add missing c_kzg_free
* Fix some nits
* Replace free_kzg_settings with free_trusted_setup
* Add parens to NUM_ELEMENTS
Co-authored-by: George Kadianakis <desnacked@riseup.net>
* Move memcpy to the end
* Revert "Move memcpy to the end"
This reverts commit 5331c7feadc92e4b5dd5d4e7512e4be563d7f386.
* Add comment about free_trusted_setup
* Move check before alloc
* Add remark
* Delete unnecessary blank line
* Fix asn's nits
* Update comment for roots_of_unity in header
Co-authored-by: Gottfried Herold <GottfriedHerold@users.noreply.github.com>
* Fix formatting
* Update comment about max_scale
Co-authored-by: Gottfried Herold <GottfriedHerold@users.noreply.github.com>
---------
Co-authored-by: Suphanat Chunhapanya <haxx.pop@gmail.com>
Co-authored-by: George Kadianakis <desnacked@riseup.net>
Co-authored-by: Gottfried Herold <GottfriedHerold@users.noreply.github.com>
* add eslint and run for TS files
* add eslint and run for JS/TS
* remove eslint file comments
* add endOfLine: "auto" for windows
* fix yarn command to remove excess output
* update eslint versions
* feat(node-bindings): move KzgSettings to c
* fix(node-bindings): typo in comment
* fix(node-bindings): remove unnecessary SetInstanceData
* feat(node-bindings): use C for setting instance data
* docs(node-bindings): fix comment on struct
* refactor(node-bindings): revert export order to minimize diff
* Update nodejs bindings to support YAML ref tests
* Remove c-kzg from deps
* Fix test checks
* Add return statements in error checks
* Fix uint8array comparisons
* Revert test_dir to original value
* Cleanup the Makefile some
* Fix compiler error
* Fix compiler errors in tests
* Fix problems on Linux
* Add test_c_kzg_4844_cov to gitignore
* Add back closing brace for cpp
* Split clean rule into two lines
* Not echo commands when running them
* Allow other compilers to be used
* Update comment
* Only allow clang, actually
* Expose computeKzgProof
* Revert changes to bytes_to/from_bls_field
* Update comments
* Revert changes to bytes_from_bls_field
* Revert change to parameter name
* Add compute_kzg_proof to readme
* Refactor in support of asn's PR
* Clean up a little
* Fix param name doc
* Introduce Bytes32 type
* Update bindings
* Replaces bytes with b to match spec