Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initial version of kzg_7594 test generator #3693

Merged
merged 28 commits into from
Apr 24, 2024

Conversation

jtraglia
Copy link
Member

@jtraglia jtraglia commented Apr 18, 2024

This PR adds a new kzg_7594 generator and an initial set of tests. The structure and a lot of the variables are copied from the kzg_4844 generator. We can add more tests later, after this is merged.

Depends on #3684, it must be merged prior to this.

Edit: I can confirm that c-kzg passes these reference tests. Added in this commit.

@hwwhww hwwhww added the EIP-7594 PeerDAS label Apr 18, 2024
@jtraglia jtraglia changed the title Add initial version of kzg_peerdas test generator Add initial version of kzg_7594 test generator Apr 23, 2024
Copy link
Contributor

@hwwhww hwwhww left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work!

I mainly check if the folder names are correct. looks solid.

Comment on lines 17 to 19
###############################################################################
# Helper functions
###############################################################################
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably good to move the 4844 duplicate helpers / constants to a tests/core/pyspec/eth2spec/test/utils/kzg_tests.py and import everything from it.

Copy link
Contributor

@asn-d6 asn-d6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work as always!

@jtraglia
Copy link
Member Author

Thanks @asn-d6 😄

I can confirm that c-kzg-4844:das passes all of these tests.

@jtraglia jtraglia merged commit f527770 into ethereum:dev Apr 24, 2024
28 checks passed
@jtraglia jtraglia deleted the kzg-peerdas-generator branch April 24, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants