prysm
prysm copied to clipboard
chore: Add Go-Eth-KZG
What type of PR is this?
Feature
What does this PR do? Why is it needed?
This adds the go-eth-kzg package and adds a constant that allows us to switch between go-eth-kzg and c-kzg.
Although we want to remove c-kzg in the end, I think we can have the code for it there until we want to merge into unstable or until mainnet. (unclear if the previous issues with it, that were noted in the past, arose when the library was not being used)
Which issues(s) does this PR fix?
Fixes #
Other notes for review
Using this PR as a way to debug the current issue that @nisdas is facing re slow computeCellsAndProofs time. Ideally we rule out the issue being the cryptography libraries, which then may mean that there is an issue with the way tasks are being scheduled or some other yet to be discovered component icreasing the latency