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
Justin Traglia
73637c84b2
EIP-7594: Add asserts for public functions ( #3684 )
...
* Add length asserts for public PeerDAS functions
* Fix cell asserts
* Rename field variable to satisfy linter
* Add asserts for row/column indices
* Use CELLS_PER_EXT_BLOB
* Update to work with new spec changes
* Fix indentation
* Add explict check for cell_id
2024-04-23 12:12:26 +03:00
EchoAlice
b52182cdd6
Refactor `upgrade_to_electra()`
2024-04-22 13:31:37 -06:00
kevaundray
e51f7df77d
chore: make list copy explicit in `divide_polynomialcoeff` ( #3706 )
2024-04-22 10:43:04 -05:00
George Kadianakis
4fceca2b75
Merge pull request #3710 from kevaundray/kw/rm-field-elements-from-das-core
...
chore: use CELLS_PER_EXT_BLOB to compute the number of columns
2024-04-22 17:59:31 +03: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
79d255b15a
use CELLS_PER_EXT_BLOB in das-core
2024-04-22 14:08:44 +01:00