Commit Graph

6848 Commits

Author SHA1 Message Date
Danny Ryan
08ea4348c5 Merge branch 'dev' into terminal_blockhash_override_2 2021-09-27 11:01:10 -06:00
Diederik Loerakker
2a98d4c517 Merge pull request #2629 from etan-status/build-proof-test
merkle proof test generator
2021-09-27 18:22:04 +02:00
protolambda
bd8c978965 move merkle tests, output proof.yaml, update format 2021-09-27 18:07:59 +02:00
Etan Kissling
e7317e2283 merkle proof test generator
Building merkle proofs is required functionality for implementing light
client sync. Although the spec currently only defines a function to
verify merkle proofs (`is_valid_merkle_branch`) there are still a few
PySpec unit tests that produce merkle proofs. This patch adds a new
generator to extract test vectors from those static unit tests, so that
light client implementations can validate their merkle proof logic.
2021-09-27 17:34:51 +02:00
Danny Ryan
adfcb79815 Merge pull request #2625 from ethereum/altair-fork
add ALTAIR_FORK_EPOCH for mainnet configuration
2021-09-27 07:57:09 -06:00
Danny Ryan
30fe7ba110 Merge pull request #2627 from ethDreamer/function_rename
Fixed Validation Conditions (Function Renamed)
2021-09-24 15:19:11 -06:00
Danny Ryan
463c234b8a Merge pull request #2626 from ethereum/bump-version
bump version to v1.1.0-beta.5
2021-09-24 13:16:37 -06:00
Mark Mackey
8a76a4143d Fixed Validation Conditions (Function Renamed) 2021-09-24 14:15:42 -05:00
lsankar4033
9353c71a6d Fix spelling 2021-09-24 11:57:58 -07:00
Danny Ryan
af5eef37b2 fix am/pm issue 2021-09-24 12:29:34 -06:00
Danny Ryan
7b0e7ceafa Update configs/mainnet.yaml
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-09-24 12:28:46 -06:00
Danny Ryan
8d5106808f bump version to v1.1.0-beta.5 2021-09-24 12:26:40 -06:00
Danny Ryan
9f037180ba add ALTAIR_FORK_EPOCH for mainnet configuration 2021-09-24 12:14:39 -06:00
Danny Ryan
995e928f42 Merge pull request #2621 from ethDreamer/fix_gossip_block_validation_conditions
Modify Merge Gossip Block Validation Conditions
2021-09-24 06:33:05 -06:00
Danny Ryan
a48a6f46c4 fix lint 2021-09-24 06:32:08 -06:00
Danny Ryan
35a42c9d45 Apply suggestions from code review 2021-09-24 06:23:59 -06:00
Danny Ryan
d7665681a2 simplify merge block gossip conditions 2021-09-24 06:08:01 -06:00
Danny Ryan
940d6b1cc5 Merge pull request #2613 from mkalinin/execution-engine-update
Update execution engine calls
2021-09-24 05:57:27 -06:00
Danny Ryan
3f885c6c0a Merge pull request #2622 from fredriksvantes/patch-2
No longer importing "Paragraph"
2021-09-24 05:45:59 -06:00
Fredrik Svantes
e0eec44e34 No longer importing "Paragraph"
removed Paragraph from being imported from marko.ext.gfm.elements as it is not being used
2021-09-24 12:45:37 +02:00
Mikhail Kalinin
11840ce51f Map EE calls on the PoS events defined in EIP-3675 2021-09-24 16:31:09 +06:00
lsankar4033
c9c7ab7289 Add back newlines in configs 2021-09-23 16:51:20 -07:00
Danny Ryan
5a4e568d2d Merge pull request #2620 from ethDreamer/altair_p2p_link_fix
Fixed Altair p2p-interface.md Link
2021-09-23 14:50:36 -06:00
Mark Mackey
d9a183b5cb Modify Merge Gossip Block Validation Conditions 2021-09-23 13:30:43 -05:00
Mark Mackey
08ca12ba97 Fixed Altair p2p-interface.md Link 2021-09-23 13:16:57 -05:00
lsankar4033
1ccb7d0a52 Inline TERMINAL_BLOCK_HASH and TERMINAL_TOTAL_DIFFICULTY usages 2021-09-23 09:52:02 -07:00
Lakshman Sankar
9d1cdf5ce1 Bytes32 -> Hash32
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2021-09-23 09:31:43 -07: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
Mikhail Kalinin
0e2eb50675 Fix spelling 2021-09-23 15:30:14 +06:00
Mikhail Kalinin
41e06aec1b Introduce PayloadId type 2021-09-23 15:03:43 +06:00
Mikhail Kalinin
7d577ed422 Introduce ExecutionAddress type 2021-09-23 14:35:55 +06:00
Mikhail Kalinin
b7deef1629 Clarity which state should be used in prepare_payload in a better way 2021-09-23 13:50:46 +06:00
Mikhail Kalinin
7ef938da77 Add notify_ prefix to EE functions sending notifications 2021-09-23 13:37:52 +06:00
Mikhail Kalinin
c815f695cd Polish comment in get_payload body
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-09-23 13:17:55 +06:00
Mikhail Kalinin
eada985e9e Better wording for consensus_validated
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2021-09-23 13:16:18 +06:00
lsankar4033
56fc984333 Re-run doctoc 2021-09-22 11:24:05 -07:00
lsankar4033
df6a834889 Add TERMINAL_BLOCK_HASH override 2021-09-22 11:18:41 -07:00
Mikhail Kalinin
f4bd37a108 Fix spelling 2 2021-09-22 23:58:04 +06:00
Mikhail Kalinin
38a4fd907e Fix spelling
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2021-09-22 23:56:10 +06:00
Mikhail Kalinin
24bacafeee Update consensus_validated description 2021-09-22 23:52:15 +06: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
Mikhail Kalinin
06107ce7d8 Polish the description of execution engine functions 2021-09-22 18:29:58 +06: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
Mikhail Kalinin
8cecf405cb Merge branch 'dev' into execution-engine-update 2021-09-22 17:47:02 +06:00
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
Danny Ryan
926e5a3d72 Merge pull request #2605 from mkalinin/hardcoded-ttd
Hardcode terminal total difficulty
2021-09-20 18:40:35 -06:00