Commit Graph

6911 Commits

Author SHA1 Message Date
Mikhail Kalinin 18bfe3555f
Apply suggestions from code review
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-09-22 17:45:26 +06:00
Anton Nashatyrev b292f0b7b3 Remove beacon_block_root field from ShardBlob 2021-09-21 18:04:39 +03:00
Dmitrii Shmatko cdcf366007 merge tests updated to be in line with transition_store removal 2021-09-21 15:20:19 +03:00
Dmitrii Shmatko 9bd95c4709 Changed terminal total difficulty to have some difficulty range for tests without overflow 2021-09-21 15:18:46 +03:00
Danny Ryan 926e5a3d72
Merge pull request #2605 from mkalinin/hardcoded-ttd
Hardcode terminal total difficulty
2021-09-20 18:40:35 -06:00
Dmitrii Shmatko 8bfa5188c1 Merge branch 'hardcoded-ttd' into tests/merge 2021-09-20 22:26:35 +03:00
Mikhail Kalinin 4018bef1ac Merge branch 'dev' into hardcoded-ttd 2021-09-20 23:23:08 +06:00
Danny Ryan e2af59c8cd ensure random is validated for all payloads including transition 2021-09-20 23:18:39 +06:00
ethDreamer 731bcad317 fixed client-settings.md link 2021-09-20 23:18:39 +06:00
Mikhail Kalinin cb9e65ab85 Bring on extra_data field 2021-09-20 23:18:39 +06:00
Mikhail Kalinin b530e01761 Update calls to execution_engine 2021-09-20 20:57:45 +06:00
Danny Ryan 5811046f1a
Merge pull request #2581 from mkalinin/set-random-to-prev-randao-mix
Set the value of the random field to the previous randao_mix
2021-09-20 08:17:55 -06:00
Mikhail Kalinin 9ca8c592c5 Add TBD for TTD and add the value to the configs 2021-09-18 12:39:54 +06:00
Mikhail Kalinin e5463d708f
Merge pull request #2609 from ethereum/fix-random
Fix random validation
2021-09-18 10:44:33 +06:00
Danny Ryan 3ef13561e6
ensure random is validated for all payloads including transition 2021-09-17 11:00:32 -06:00
Danny Ryan a552b50160
Merge pull request #2602 from ethDreamer/client_settings_link_fix
fixed client-settings.md link
2021-09-17 10:05:50 -06:00
Danny Ryan 29a6d7153b
Merge pull request #2606 from mkalinin/extra-data
Add extra_data field to the execution payload
2021-09-17 10:05:27 -06:00
Mikhail Kalinin c2084ad5b0 Bring on extra_data field 2021-09-17 18:23:21 +06:00
Mikhail Kalinin a48ea83ab8 Fix toc 2021-09-17 16:54:06 +06:00
Mikhail Kalinin d0889b9001 Hardcode terminal total difficulty 2021-09-17 16:20:25 +06:00
Mikhail Kalinin 26c78b540a Fix test_blocks#test_parent_from_same_slot 2021-09-17 16:01:15 +06:00
Mikhail Kalinin df657f7c93 Merge branch 'dev' into set-random-to-prev-randao-mix 2021-09-17 14:41:43 +06:00
Mikhail Kalinin 6f78e6a3ee Remove randao_reveal from validator.md 2021-09-16 11:28:04 +06:00
ethDreamer 1f486c1b32
fixed client-settings.md link 2021-09-15 18:47:44 -05:00
Danny Ryan c396ee1e3f
Merge pull request #2595 from mkalinin/terminal-pow-block-verification
Verify terminal PoW block after call to state_transition
2021-09-15 17:11:27 -06:00
Danny Ryan 49c7fbb2d1
Merge pull request #2601 from etan-status/sync-proto-slot-consistency
pass sync committee sig consistently in tests
2021-09-15 16:35:35 -06:00
Etan Kissling 370b9e86e3
pass sync committee sig consistently in tests
There are three defined unit tests for the light client sync protocol.
They all follow a similar structure. However, there is an inconcistency
how they pass the slot to compute_aggregate_sync_committee_signature.
In one instance it is passed as `block.slot`. In the other two cases
it is passed as `block_header.slot`. As the `block_header` is created
from the `block`, they share the same value. This patch makes the way
how the slot is passed consistent across all of the test cases.
2021-09-15 21:34:10 +02:00
Dmitrii Shmatko 829c6e7325 Enable genesis client tests for MERGE 2021-09-15 18:27:20 +03:00
Dmitrii Shmatko b99720ec26 Renamed test_on_block -> test_terminal_validity to avoid misleading as generator test 2021-09-14 17:56:49 +03:00
Hsiao-Wei Wang ac4156a910
Merge pull request #2597 from ethereum/ralexstokes-patch-1
Rename client_settings.md to client-settings.md
2021-09-14 22:41:12 +08:00
Hsiao-Wei Wang a3ea4c20a1
Merge pull request #2596 from etan-status/is-built-typo
"is build" -> "is built" typo
2021-09-14 22:40:10 +08:00
Dmitrii Shmatko cf1bd6ccc0 Fixed lint errors for merge tests 2021-09-14 15:26:10 +03:00
Dmitrii Shmatko 7ff173bd0b Added new Merge tests 2021-09-14 11:51:37 +03:00
Dmitrii Shmatko 9acf60fe07 Extracted `process_merge_execution_payload`, terminal block validation function 2021-09-14 11:51:23 +03:00
Dmitrii Shmatko 14a38251ed Fixed uint256 type misalign 2021-09-14 11:50:43 +03:00
Alex Stokes 899bde0873
Rename client_settings.md to client-settings.md 2021-09-13 06:31:11 -07:00
Etan Kissling 559ca86e2a
"is build" -> "is built" typo
Corrects a typo in a Makefile comment.
2021-09-10 16:56:27 +02:00
Dmitrii Shmatko f38750ae61 Merge branch 'dev' into tests/merge 2021-09-10 17:43:48 +03:00
Mikhail Kalinin 960a49afc9 Verify terminal PoW block after call to state_transition 2021-09-10 16:07:26 +06:00
Danny Ryan 70de0c3fa3
Merge pull request #2594 from ethereum/fix-agg-test
fix sync agg test for mainnet
2021-09-09 20:05:10 -06:00
Danny Ryan d6b5cbd94c
fix sync agg test for mainnet 2021-09-09 19:53:30 -06:00
Danny Ryan 8683c1758d
Merge pull request #2593 from ethereum/bump-version
bump version.txt to 1.1.0-beta.4
2021-09-09 19:25:09 -06:00
Danny Ryan 8f064d104f
bmp version.txt to 1.1.0-beta-4 2021-09-09 17:11:27 -06:00
Danny Ryan a3e2e79ce7
Merge pull request #2591 from ralexstokes/add-exited-sync-comm-member-test
Add sync committee tests with exited and withdrawable members
2021-09-09 17:09:10 -06:00
Alex Stokes 0cee5660db
pr feedback 2021-09-09 15:43:42 -07:00
Danny Ryan b660892ca3
Merge pull request #2586 from ethereum/churn-test
Add churn tests for when churn limit scales with v-set size
2021-09-09 16:41:37 -06:00
Danny Ryan dd6a01c66d
Merge pull request #2588 from ralexstokes/add-rewards-exit-test-in-current-epoch
add rewards spec test with exit in current epoch
2021-09-09 16:41:15 -06:00
Danny Ryan 5348b9a3b9
randomize state can result in some exited vals for current epoch 2021-09-09 15:56:08 -06:00
Danny Ryan a47ade3ba6
pr feedback 2021-09-09 15:27:23 -06:00
Alex Stokes c0994e6736
Add sync committee tests with exited and withdrawable members 2021-09-09 13:27:54 -07:00