Mark Mackey
08ca12ba97
Fixed Altair p2p-interface.md Link
2021-09-23 13:16:57 -05:00
Hsiao-Wei Wang
d8da784af1
Merge pull request #2619 from etan-status/test-next-sync-tree-fix
...
fix merkle proof test for mainnet
2021-09-23 22:58:37 +08:00
Etan Kissling
0c65f79d82
fix merkle proof test for mainnet
...
The `test_next_sync_committee_tree` currently only supports the minimal
preset, as it incorrectly initializes the `next_sync_committee`. On the
mainnet preset, `SYNC_COMMITTEE_SIZE` is 512, but the default states use
only 256 validators, leading to an IndexError during the test execution.
`next_sync_committee` is already initialized correctly prior to the test
run using the spec's `get_next_sync_committee` function, which fills up
extra committee slots with duplicate validators in this scenario. This
makes it unnecessary to manually initialize the `next_sync_committee`.
Removed the incorrect initialization to allow testing on mainnet preset.
2021-09-23 15:20:18 +02:00
Diederik Loerakker
ab99ba47fb
Merge pull request #2616 from etan-status/bls-gen-lang
...
improve grammar in BLS test comments
2021-09-22 18:18:35 +02:00
Diederik Loerakker
de623f0393
Merge pull request #2615 from Nashatyrev/feature/shard-remove-beacon-block-root
...
Remove beacon_block_root field from ShardBlob
2021-09-22 18:15:18 +02:00
Anton Nashatyrev
df01588464
Return back `proposer_index` validation for Gossip messages
2021-09-22 18:40:10 +03:00
Etan Kissling
41c12bfcb2
improve grammar in BLS test comments
...
The comments for the PRIVKEYS definition in the BLS test generator were
a bit difficult to read. Improved by rewording them slightly.
2021-09-22 14:15:07 +02:00
Anton Nashatyrev
b292f0b7b3
Remove beacon_block_root field from ShardBlob
2021-09-21 18:04:39 +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
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
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
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
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
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
Lakshman Sankar
39788054ca
Merge pull request #2587 from lsankar4033/merge-ttd-override
...
terminal total difficulty override setting
2021-09-09 11:47:22 -07:00
lsankar4033
879a60a169
Run doctoc
2021-09-09 08:45:21 -07:00
Lakshman Sankar
83471fe461
Apply suggestions from code review
...
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-09-09 08:38:33 -07:00
Lakshman Sankar
252f4ea14a
Wording change
...
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-09-09 08:37:39 -07:00
Lakshman Sankar
771933d1a7
Stronger language around usage of the setting
...
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-09-09 08:37:27 -07:00