Commit Graph

9566 Commits

Author SHA1 Message Date
George Kadianakis 2abf4ce4d1
Merge pull request #3745 from kevaundray/kw/pad-column-indices
chore: Pad column indices when calling `verify_cell_kzg_proof_batch`
2024-05-03 19:36:12 +03:00
Kevaundray Wedderburn fa550212c7 lint 2024-05-03 17:10:08 +01:00
Kevaundray Wedderburn a18c05e7e2 add assert 2024-05-03 17:06:09 +01:00
George Kadianakis 1ef75e0875 Be consistent between ids and indices 2024-05-03 19:00:51 +03:00
Kevaundray Wedderburn 5699eedd4d pad column_indices 2024-05-03 16:43:11 +01:00
fradamt b237414910 add .copy() where needed in tests 2024-05-03 09:43:12 +02:00
Mikhail Kalinin e0ee2808d8
Merge pull request #3740 from rkapka/get-committee-indices-typo
EIP-7549: Fix typo in `get_committee_indices`
2024-05-02 17:48:42 +06:00
Hsiao-Wei Wang beea123b0f
Add decorator to all "invalid" test cases 2024-05-02 17:01:25 +08:00
rkapka c4e8dc23f4 Fix typo in `get_committee_indices` 2024-05-02 16:54:17 +09:00
Hsiao-Wei Wang e733388623
Remove since they are not valid test vectors 2024-04-30 21:55:45 +08:00
kevaundray e7b49dc670
chore: Add type casts reducing the diff for #3697 (#3734) 2024-04-29 08:14:55 -05:00
Hsiao-Wei Wang c2544435f4
Merge pull request #3733 from ethereum/dev
patch for v1.5.0-alpha.1 release
2024-04-27 16:40:51 +08:00
Hsiao-Wei Wang 186c9435dd
Merge pull request #3732 from ethereum/enable-eip7594-merkle-proof-testgen
Enable EIP7594 merkle proof testgen
2024-04-27 16:26:45 +08:00
Hsiao-Wei Wang b681552cf3
Use `bls.use_fastest()` in default testgen 2024-04-27 16:23:08 +08:00
Hsiao-Wei Wang fbccef319b
Enable EIP7594 merkle proof testgen 2024-04-27 15:41:32 +08:00
Hsiao-Wei Wang 594daf424d
Merge pull request #3725 from ethereum/dev
release v1.5.0-alpha.1
2024-04-27 15:14:15 +08:00
Hsiao-Wei Wang c70bcba878
Fix rng of tests 2024-04-27 14:49:49 +08:00
Hsiao-Wei Wang 3c96d41f4c
Merge pull request #3730 from ethereum/misc-fix
Misc fix for `v1.5.0-alpha.1`
2024-04-27 13:36:26 +08:00
Hsiao-Wei Wang 53357e33a5
Merge pull request #3726 from ethereum/bump-version
Bump version to v1.5.0-alpha.1
2024-04-27 12:15:34 +08:00
Hsiao-Wei Wang a4e04ebf64
Misc fix 2024-04-27 12:11:29 +08:00
Hsiao-Wei Wang b625daf421
Merge pull request #3707 from terencechain/patch-145
Minor comment on `ExecutionLayerWithdrawalRequest`
2024-04-27 01:05:03 +08:00
Hsiao-Wei Wang 8ca7c03574
Merge pull request #3728 from ethereum/fix-sig-tests
Fix consolidation `test_invalid_*_signature` tests
2024-04-26 23:41:18 +08:00
Hsiao-Wei Wang ef9af0d85e
Fix consolidation `test_invalid_*_signature` tests 2024-04-26 20:51:11 +08:00
George Kadianakis b5f22cdd6c
Merge pull request #3727 from jtraglia/rename-verify-cell-proof
EIP-7594: Replace "proofs" with "kzg_proofs" in function names
2024-04-26 11:11:18 +03:00
Justin Traglia b4188829b3 Rename compute_cells_and_proofs to compute_cells_and_kzg_proofs 2024-04-25 21:57:22 -05:00
Justin Traglia 4f66521208 Fix parameter indentations 2024-04-25 17:34:10 -05:00
Justin Traglia ac1ce3b3f0 Rename verify_cell_proof to verify_cell_kzg_proof 2024-04-25 17:31:22 -05:00
Hsiao-Wei Wang 6ecff3ed94
Bump version to v1.5.0-alpha.1 2024-04-26 00:20:49 +08:00
Hsiao-Wei Wang e5ba8bc56a
Merge pull request #3724 from ethereum/fix-multiple_consolidations-tests
Fix and move `test_multiple_consolidations_*` tests to sanity block tests
2024-04-26 00:10:51 +08:00
Hsiao-Wei Wang 7819e7f558
Fix and move `test_multiple_consolidations_*` tests to sanity block tests 2024-04-25 23:30:40 +08:00
Alex Stokes 39ec741cd2
Merge pull request #3720 from ethereum/electra-fork-tests
Add Electra fork tests
2024-04-25 08:39:51 -06:00
Hsiao-Wei Wang daea3c0404
Merge pull request #3721 from ethereum/testgen_forks
Add EIP-7594 to `TESTGEN_FORKS`
2024-04-25 11:51:18 +08:00
Hsiao-Wei Wang e973b8d77b
Add EIP-7594 to `TESTGEN_FORKS` 2024-04-25 03:13:05 +08:00
Hsiao-Wei Wang e1d71216bb
Merge pull request #3715 from ethereum/das-test-vectors
Make `get_custody_columns` return sorted values and add `get_custody_columns` tests
2024-04-25 03:01:51 +08:00
Justin Traglia f5277700e3
Add initial version of kzg_7594 test generator (#3693) 2024-04-24 11:40:27 -05:00
Hsiao-Wei Wang e793fe2698
Add Electra fork tests 2024-04-24 20:08:56 +08:00
Hsiao-Wei Wang 24899b7fba
Apply suggestions from @jtraglia 2024-04-24 19:04:40 +08:00
Hsiao-Wei Wang b25740052a
Apply suggestions from code review
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-04-24 18:40:56 +08:00
Justin Traglia 731caf8573
Rename formats/kzg to formats/kzg_4844 (#3716) 2024-04-23 15:01:09 -05:00
Alex Stokes b13e03e671
Merge pull request #3714 from kevaundray/kw/use-optimized-bls-msm
chore: use py-arkworks's multi-exp method inside of `g1_lincomb` and `g2_lincomb`
2024-04-23 11:57:13 -06:00
Alex Stokes 830b2557b3
Merge pull request #3718 from jtraglia/kzg-7594-formats
Add kzg_7594 test formats
2024-04-23 11:12:00 -06:00
Alex Stokes ddee2cefc8
Merge pull request #3711 from EchoAlice/dev
Refactor `upgrade_to_electra()`
2024-04-23 11:08:31 -06:00
Hsiao-Wei Wang a526cdf446
Fix: use TypeVar for "point" rather than bytes 2024-04-24 00:22:20 +08:00
kevaundray bd48cefdd7
Update tests/core/pyspec/eth2spec/utils/bls.py 2024-04-23 17:10:15 +01:00
Hsiao-Wei Wang bab254b0ba
Add description of `multi_exp` 2024-04-24 00:08:42 +08:00
Kevaundray Wedderburn 736fe5300d Empty commit 2024-04-23 17:07:32 +01:00
Justin Traglia e514ac6328 Add kzg_7594 test formats 2024-04-23 10:15:21 -05:00
Kevaundray Wedderburn f3302a3836 - return serialized identity points
- result = None initially
2024-04-23 15:11:46 +01:00
Kevaundray Wedderburn 309979d778 add check for multi_exp 2024-04-23 14:58:32 +01:00
Kevaundray Wedderburn d28a0164d2 add is_zero check 2024-04-23 14:55:37 +01:00