ethereum / c-kzg-4844

A minimal implementation of the Polynomial Commitments API for EIP-4844 and EIP-7594, written in C.
Apache License 2.0
118 stars 109 forks source link

feat: update node bindings #421

Closed matthewkeil closed 6 months ago

matthewkeil commented 6 months ago

Updates README.md with new DAS functions.

note: also turned on exceptions for node. Is a bug that needed to be fixed. Node can potentially throw errors and if exceptions are not turned on there are additional checks during allocations and getting data from the isolate that need to happen. Those checks are extremely verbose. Is better to turn on exceptions

https://github.com/nodejs/node-addon-api/blob/main/doc/error_handling.md#handling-errors-with-maybe-type-and-c-exceptions-disabled

matthewkeil commented 6 months ago

@jtraglia Converted to draft until the other PR get approved/denied as I move the exception commit over and will revert that here