1909 Commits

Author SHA1 Message Date
Justin Traglia
d46e4aa36b Split long line into two 2024-05-23 15:55:16 -05:00
Justin Traglia
1d02110a68 Update compute_el_header_block_hash for EIP-7685 2024-05-23 15:30:49 -05:00
terence tsao
eb380c1e83 Remove Deneb from all phases 2024-05-20 12:25:29 -07:00
Hsiao-Wei Wang
0f5f155d1b
fix typo (#3771) 2024-05-17 14:38:58 +08:00
Andrew Davis
d295813155
EIP-7594: add custody settings config (#3766)
* EIP-7594: add custody settings config

* Add `TARGET_NUMBER_OF_PEERS` to config

* add TARGET_NUMBER_OF_PEERS

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>

* fix double TARGET_NUMBER_OF_PEERS

* fix tests

---------

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-05-15 20:34:41 +08:00
George Kadianakis
fdeff744ff
EIP-7594: Add a missing check and a missing test vector (#3765) 2024-05-14 17:18:14 +03:00
George Kadianakis
e5813bd692
Merge pull request #3758 from jtraglia/improve-dup-cell-test
Change duplicate cell id test to use 65 cell ids
2024-05-14 17:14:56 +03:00
Justin Traglia
0891be24f6 Change cell -> cells 2024-05-07 13:34:35 -05:00
Justin Traglia
cd0f8a1201 Change duplicate cell id test to use 65 cell ids 2024-05-07 13:25:53 -05:00
Hsiao-Wei Wang
2cef9ae076
bump version v1.5.0-alpha.2 2024-05-07 22:45:00 +08:00
Hsiao-Wei Wang
313a64e9c1
Merge pull request #3748 from ethereum/fix-get_custody_columns
Fix `get_custody_columns`
2024-05-07 22:43:46 +08:00
Hsiao-Wei Wang
c9e0e6d5df
Add a short node_id test 2024-05-07 21:47:16 +08:00
Hsiao-Wei Wang
1c081a04d0
Merge pull request #3731 from ethereum/rng
Fix rng of tests
2024-05-06 17:28:27 +08:00
Hsiao-Wei Wang
9c1acbb5e5
Fix get_custody_columns 2024-05-06 17:25:47 +08:00
Hsiao-Wei Wang
871c772e3f
Merge pull request #3743 from fradamt/dev
Add .copy() where needed in tests
2024-05-06 15:49:57 +08:00
Hsiao-Wei Wang
bbb506ec75
Merge pull request #3741 from ethereum/fix-test_process_consolidation
Add decorator to all "invalid" test cases
2024-05-06 15:48:48 +08:00
fradamt
4487fb88c7
Merge branch 'ethereum:dev' into dev 2024-05-06 09:04:35 +02:00
Hsiao-Wei Wang
331f1e9a6a
Merge pull request #3736 from ethereum/hotfix-consolidation
Remove `test_consolidation.py` since they are not valid test vectors
2024-05-04 01:08:03 +08: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
fradamt
b237414910 add .copy() where needed in tests 2024-05-03 09:43:12 +02:00
Hsiao-Wei Wang
beea123b0f
Add decorator to all "invalid" test cases 2024-05-02 17:01:25 +08:00
Hsiao-Wei Wang
e733388623
Remove since they are not valid test vectors 2024-04-30 21:55: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
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
ef9af0d85e
Fix consolidation test_invalid_*_signature tests 2024-04-26 20:51:11 +08: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
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
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
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
kevaundray
bd48cefdd7
Update tests/core/pyspec/eth2spec/utils/bls.py 2024-04-23 17:10:15 +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
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