Commit Graph

9555 Commits

Author SHA1 Message Date
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
Kevaundray Wedderburn 274d013d5c mke multi_exp polymorphic for pyecc 2024-04-23 14:53:06 +01:00
Kevaundray Wedderburn b58012845f check if there are any points 2024-04-23 14:28:53 +01:00
Kevaundray Wedderburn 5230d8e81e fix: function description 2024-04-23 14:22:13 +01:00
Kevaundray Wedderburn 5eb19b3cef modify g1_lincomb and g2_lincomb 2024-04-23 14:21:54 +01:00
Kevaundray Wedderburn d55da1bdb1 use one method for both G1 and G2 multiexp 2024-04-23 14:21:37 +01:00
Kevaundray Wedderburn 941d9a9476 trigger CI again 2024-04-23 13:55:23 +01:00
Kevaundray Wedderburn 5a74f40442 g2_lincomb uses g2_multi_exp 2024-04-23 13:38:27 +01:00
Kevaundray Wedderburn e7e49ec71a lint fixes 2024-04-23 13:38:14 +01:00
Kevaundray Wedderburn 6aa950e1dd add g2_multi_exp and lint fixes 2024-04-23 13:38:04 +01:00
Hsiao-Wei Wang 57c14e5400
Add `get_custody_columns` tests 2024-04-23 20:21:33 +08:00
Kevaundray Wedderburn 640675f628 add `g1_multi_exp` 2024-04-23 12:44:50 +01:00