crate-crypto / go-eth-kzg

Apache License 2.0
29 stars 22 forks source link

chore: Add new domain abstraction #86

Closed kevaundray closed 1 month ago

kevaundray commented 1 month ago

This pulls out the domain changes of #85

kevaundray commented 1 month ago

This PR pulls out the domain from kzg since it is also needed for kzg_multi and removes kzg specific methods that were on domain and just made them functions instead. We also added a CosetFFT abstraction since the erasure_code package uses it and kzg verification needs it