-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Test generators for kzg-4844 libraries #3274
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
Merged
Merged
Changes from 24 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
b2b7a98
bls.py : Abstract away usage of py_ecc methods
kevaundray 773addb
polynomial-commitments: Remove usage of concrete py_ecc types
kevaundray b2d413e
fix lint
kevaundray 636c572
Arkworks integration
dankrad 4a61089
add py_arkworks to setup.py
kevaundray f59dd7c
add setuptools-rust to see if it adds the rust compiler
kevaundray d8e0cf1
remove setuptools: seems easier to install rust via the CI
kevaundray 1a34476
Fix bug when using milagro bls
dankrad dbfb1ac
Add new 'fastest' BLS option that combines arkworks and milagro
dankrad df9167f
Test generators for compute_kzg_proof
dankrad 55e00f3
update to use 0.3.2
kevaundray 882fc72
fix linter
kevaundray 927f673
Bump py_arkworks_bls12381 to v0.3.2
hwwhww ca27126
upgrade to 0.3.3
kevaundray e4c938d
More test generators for 4844
dankrad e47f0a8
Merge branch 'kw/py-ecc-agnostic-4844' into kzg-4844-generators
dankrad 5d8d9c8
Lint
dankrad 70de749
Whitespace
dankrad 8cb5976
Add tests for verify_blob_kzg_proof
dankrad ecd7654
Add tests for compute_blob_kzg_proof
dankrad 484fbe1
Tests for verify_blob_kzg_proof_batch
dankrad f771ed1
Lint
dankrad 5d49e20
Refactor and more systematic invalid blob/z tests
dankrad 8043669
Line too long
dankrad 95f7a56
update py-arkworks to 0.3.4
kevaundray 34dc5e5
Update tests/core/pyspec/eth2spec/utils/bls.py
kevaundray 39e6c45
Update bls.py
kevaundray 169bde6
fix lint
kevaundray e614ae4
Update tests/generators/kzg_4844/main.py
dankrad 078096f
Update tests/generators/kzg_4844/main.py
dankrad d6c0a50
Update tests/generators/kzg_4844/main.py
dankrad 7425b43
Add another root of unity
dankrad ce6a3fd
Update tests/generators/kzg_4844/main.py
dankrad fd4c189
Long line
dankrad 7c71baf
minor nits from code review
djrtwo 66c1e14
Plurals
dankrad e5dcb36
Merge branch 'dev' into kzg-4844-generators
dankrad cad12c1
Merge branch 'kw/py-ecc-agnostic-4844' into kzg-4844-generators
dankrad f41cf35
Add test format docs
dankrad 0768d52
Update tests/formats/kzg/blob_to_kzg_commitment.md
dankrad def5c48
Update tests/formats/kzg/compute_blob_kzg_proof.md
dankrad aaf00c7
Update tests/formats/kzg/verify_blob_kzg_proof.md
dankrad 69e7d18
Update tests/formats/kzg/compute_kzg_proof.md
dankrad c23fe5f
Update tests/formats/kzg/verify_blob_kzg_proof_batch.md
dankrad 695b49a
Update tests/formats/kzg/verify_kzg_proof.md
dankrad f1c3c7d
INVALID_BLOB -> blob
dankrad d52da28
another INVALID_BLOB -> blob
dankrad 01873c0
Simplify incorrect proof in batch test
dankrad c497ef9
Lint
dankrad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1174,5 +1174,6 @@ def run(self): | |
| RUAMEL_YAML_VERSION, | ||
| "lru-dict==1.1.8", | ||
| MARKO_VERSION, | ||
| "py_arkworks_bls12381==0.3.3", | ||
| ] | ||
| ) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # KZG 4844 Test Generator | ||
|
|
||
| These tests are specific to the KZG API required for implementing EIP-4844 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.