Commit Graph

7703 Commits

Author SHA1 Message Date
Danny Ryan 9ec97badf3
Merge pull request #3000 from ethereum/sync-readme
Add a redirection README.md for the sync tests
2022-09-20 08:12:31 -06:00
Hsiao-Wei Wang 0f8e12e929
Add a redirection README.md for the sync tests 2022-09-20 18:13:15 +08:00
Danny Ryan 00a8a13491
Merge pull request #2995 from ethereum/version-bump
bump version to v1.2.0
2022-09-19 13:27:41 -06:00
Dankrad Feist b35155005b
Rename matrix_lincomb to vector_lincomb and lincomb to g1_lincomb 2022-09-19 20:16:19 +01:00
Dankrad Feist b63ed22588
Fix signature of compute_aggregated_poly_and_commitment 2022-09-19 20:10:48 +01:00
Danny Ryan 70f90c5296
rmove withdrawn_epoch 2022-09-19 11:39:46 -06:00
Danny Ryan 63d284a85c
bump version to v1.2.0 2022-09-16 09:55:36 -06:00
Hsiao-Wei Wang 9a2fcc05a2
Merge pull request #2993 from barnjamin/patch-1
Fix link to beacon-chain doc
2022-09-16 13:39:02 +08:00
Ben Guidarelli d70dcd9926
Fix link to beacon-chain doc 2022-09-15 10:21:06 -04:00
Danny Ryan 770a603af9
Merge pull request #2989 from ethereum/deposit-zero-pk
Add `test_process_deposit::test_key_validate_invalid`
2022-09-13 14:05:13 -06:00
Hsiao-Wei Wang 4d2cfff2d6
Add `test_key_validate_invalid_decompression` 2022-09-12 22:59:29 +08:00
Hsiao-Wei Wang e4407c64e3
Add `test_process_deposit::test_key_validate_invalid` 2022-09-12 22:31:49 +08:00
Hsiao-Wei Wang f2c26560d5
Merge pull request #2982 from ethereum/optimistic-sync-tests
Add optimistic sync tests
2022-09-12 18:06:40 +08:00
Hsiao-Wei Wang 97c61fed2e
Merge pull request #2965 from mkalinin/optimistic-sync-tests
Extend fork_choice test format with on_payload_info
2022-09-12 17:53:08 +08:00
Hsiao-Wei Wang e639a3b4f9
Merge branch 'dev' into pr2965 2022-09-08 22:54:07 +08:00
Hsiao-Wei Wang 2e73091258
Add `get_valid_flag_value` helper to determine the `valid` flag value 2022-09-08 22:42:39 +08:00
Hsiao-Wei Wang 0f8b5ae6bd
Apply PR feedback from @michaelsproul 2022-09-02 20:45:51 +08:00
Hsiao-Wei Wang ac717b106a
Address PR feedback from @mkalinin 2022-08-31 22:02:47 +08:00
George Kadianakis d8e74090cf
Merge pull request #2981 from ethereum/hash_to_bls_field-with-serialize
Modify `hash_to_bls_field` logic to use straight hashing
2022-08-25 09:31:54 -07:00
Mikhail Kalinin b67fb5b049
Update tests/formats/fork_choice/README.md
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2022-08-24 23:29:59 +06:00
Hsiao-Wei Wang f8d92c3bd8
Add basic test case 2022-08-24 23:20:31 +08:00
Hsiao-Wei Wang 109250b963
Replace `hash_tree_root(x)` with `hash(ssz_serialize(x))` 2022-08-22 16:00:40 +08:00
Danny Ryan eff79b2be7
Merge pull request #2979 from ethereum/update-operation-testgen
Update operations test generator
2022-08-18 12:49:43 -06:00
Hsiao-Wei Wang 5db5b87e5e
Add bellatrix deposit and voluntary_exit tests 2022-08-19 01:52:34 +08:00
Danny Ryan 2099f7630b
Merge pull request #2978 from ethereum/bump-version
bump VERSION.txt
2022-08-18 11:37:24 -06:00
Danny Ryan efc4d45bbc
bump VERSION.txt 2022-08-18 11:35:39 -06:00
Danny Ryan 9bd248e1dd
Merge pull request #2976 from ethereum/fork-version-tests
Add tests of processing objects of `N-2` fork version
2022-08-18 11:29:47 -06:00
Hsiao-Wei Wang bafb5870c1
Update tests/core/pyspec/eth2spec/test/bellatrix/block_processing/test_process_deposit.py
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2022-08-19 01:20:53 +08:00
Hsiao-Wei Wang 6c00b48dca
PR feedback from @djrtwo: add `is_before_fork_epoch` and more param combinations 2022-08-19 00:29:56 +08:00
Hsiao-Wei Wang 806a6ad414
Apply suggestions from code review
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2022-08-19 00:03:58 +08:00
Hsiao-Wei Wang b3ef9b2b3e
Add invalid fork version tests 2022-08-18 22:49:02 +08:00
Hsiao-Wei Wang d133dae471
Fix codespell errors (#2975) 2022-08-18 22:08:44 +08:00
Danny Ryan 5225034044
Merge pull request #2974 from 0xYYY/readme-bellatrix-fork-epoch
Update Bellatrix fork epoch in README
2022-08-18 06:22:51 -06:00
0xYYY cadb94aaaf Update Bellatrix fork epoch in README 2022-08-17 22:46:47 +08:00
Alex Stokes 5e026f5a45
Merge pull request #2973 from terencechain/patch-136
EIP4844: fix format
2022-08-17 08:14:34 -06:00
terencechain cc9a5fe61e
EIP4844: fix format 2022-08-17 06:48:05 -07:00
Danny Ryan ff6181f8f5
Merge branch 'master' into dev 2022-08-16 09:04:43 -06:00
Danny Ryan 64b3321640
Merge pull request #2972 from ethereum/transition-testgen-fix
Fix transition test generator
2022-08-16 08:39:50 -06:00
Hsiao-Wei Wang d95c45523f
Fix path: the bellatrix-new tests have been moved to altair file 2022-08-16 14:29:56 +08:00
Danny Ryan 91b584eb21
bump VERSION.txt (#2971) 2022-08-15 09:11:41 -06:00
Mikhail Kalinin 1d0dce75b4
Opti-sync: extend optimistic node definition (#2955)
* Extend optimistic node definition

* Update sync/optimistic.md

Co-authored-by: terencechain <terence@prysmaticlabs.com>

Co-authored-by: terencechain <terence@prysmaticlabs.com>
2022-08-15 08:34:51 -06:00
Danny Ryan 5d0f4af063
Merge mainnet ttd and bellatrix values (#2969)
* merge mainnet ttd and bellatrix values

* Update configs/minimal.yaml

Co-authored-by: Paul Harris <paul.harris@consensys.net>

Co-authored-by: Paul Harris <paul.harris@consensys.net>
2022-08-15 08:00:14 -06:00
Danny Ryan ccc40e1982
a few more bellatrix tests (#2962)
* Do not overload index with WithdrawalIndex and ValidatorIndex

* a few more bellatrix tests

* use function from other PR

* fix tests

* Update tests/core/pyspec/eth2spec/test/bellatrix/transition/test_transition.py

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

* refactor to reuse bellatrix transitio ntests for all transitions

Co-authored-by: Potuz <potuz@prysmaticlabs.com>
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2022-08-15 07:49:53 -06:00
Danny Ryan c04f221fad
Merge pull request #2958 from ethereum/mkalinin-patch-4
Opti sync: elaborate on why sync optimistically
2022-08-09 08:34:59 -06:00
Hsiao-Wei Wang f92312c59d
Update ToC 2022-08-09 22:00:00 +08:00
Hsiao-Wei Wang d26232775f
Merge branch 'dev' into mkalinin-patch-4 2022-08-09 21:59:29 +08:00
Danny Ryan 9352f127ef
minor typo 2022-08-09 07:49:41 -06:00
Danny Ryan 18dc61f4c5
Merge pull request #2961 from ethereum/execution_payload_tests
more execution payload tests and cleanup old ones
2022-08-04 07:44:53 -06:00
Danny Ryan 3d785dad7a
pr feedback from @hwwhww 2022-08-03 08:24:32 -06:00
Mikhail Kalinin 39852767e4
Merge pull request #2954 from ethereum/mkalinin-patch-2
Opti sync: how to apply `latestValidHash` when payload is `INVALID`
2022-08-03 18:31:50 +06:00