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
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
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
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
Justin Traglia
bcd0a09e68
Integrate new Coset/CosetEvals types ( #3701 )
...
* Add CellBytes type
* Use ByteVector, not Vector
* Fix tests
* Replace b"" with []
* Apply suggestions for bytes_to_cell
* Add/integrate new CosetEvals type
* Remove accidental new line
* Fix recover_all_cells
* Fix recover_matrix
* fix CosetEvals abstraction leak
* Introduce internal Coset type for `coset_for_cell()`
* Use CosetEvals in compute_kzg_proof_multi_impl()
* update test
* satisfy linter
* Fix two nits I noticed
---------
Co-authored-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Co-authored-by: George Kadianakis <desnacked@riseup.net>
2024-04-22 17:03:57 +03:00
Kevaundray Wedderburn
3f2d498cee
rename
2024-04-22 13:02:42 +01:00
Hsiao-Wei Wang
e46c4c39fb
workaround: add a new config `MAX_EXTENDED_MATRIX_SIZE` to avoid `class Container(List[c, a*b])`
2024-04-22 10:31:58 +01:00
Justin Traglia
8707a4c2c1
Fix test_recover_all_cells
2024-04-19 11:18:11 -05:00
Kevaundray Wedderburn
988412ec2c
modify test
2024-04-19 12:53:47 +01:00
Kevaundray Wedderburn
b06d431eb6
fix lint
2024-04-18 18:28:10 +01:00
Kevaundray Wedderburn
c9e1291860
update tests
2024-04-18 18:14:32 +01:00
Hsiao-Wei Wang
313ed1a962
Fix tests
2024-04-18 17:15:43 +08:00