5880 Commits

Author SHA1 Message Date
Preston Van Loon
5910aeed4d Rename ExecutionLayerConsolidationRequest->ConsolidationRequest 2024-06-05 15:12:56 -05:00
Preston Van Loon
2e6c59393f Rename ExecutionLayerWithdrawalRequest->WithdrawalRequest 2024-06-05 15:12:56 -05:00
Hsiao-Wei Wang
3644f360b8
Merge pull request #3757 from mkalinin/receipt-to-request
Rename DepositReceipt to DepositRequest
2024-06-05 14:41:01 +08:00
Hsiao-Wei Wang
12d95da0da
Merge branch 'dev' into pr3757 2024-06-05 00:42:37 +08:00
Hsiao-Wei Wang
4223bc0ae6
Merge branch 'dev' into pr3776 2024-06-05 00:34:22 +08:00
Hsiao-Wei Wang
0de125274c
Merge pull request #3775 from fradamt/EL-consolidations
EL-triggered consolidations
2024-06-04 23:31:12 +08:00
Csaba Kiraly
4c57399887
self-contained get_extended_sample_count
Importing scipy is not preferred. This is a self-contained
version. Eventually an import of math and use of math.comb
makes it simpler.
Solving other formatting issues as well.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-06-04 09:41:29 +02:00
Hsiao-Wei Wang
143b9e623d
Switch the order of process_deposit_receipt and process_execution_layer_withdrawal_request 2024-06-04 01:40:41 +08:00
Mikhail Kalinin
3fd125f078
Applied suggestions by @hwwhww
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-06-03 14:56:39 +06:00
Mikhail Kalinin
a0a23245f0 Fix lint 2024-05-31 22:16:18 +06:00
Mikhail Kalinin
85adbfbc4d Switch spec to MAX_EFFECTIVE_BALANCE_ELECTRA 2024-05-31 15:59:05 +06:00
Csaba Kiraly
436e58e3f8
add get_extended_sample_count helper function
add LossyDAS sample count generation helper function

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-29 14:27:31 +02:00
Csaba Kiraly
5f3beca871
remove LossyDAS naming from spec
While the technique was introduced as LossyDAS, we don't need the name
in the specification itself.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-29 11:08:52 +02:00
Csaba Kiraly
a04cd87c38
fix the (source-view) formatting of the table
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-29 11:04:10 +02:00
Csaba Kiraly
4e1d566c43
improve candidate peer text
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-29 11:01:50 +02:00
Hsiao-Wei Wang
7b4d23c0ba
fix toc 2024-05-28 22:57:52 +08:00
Csaba Kiraly
8d332788b9
clarify the use of LossyDAS
Clarify that what matters is the false positive threshold, allowing
different sampling strategies as protocol compliant behavior.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-28 13:54:27 +02:00
Csaba Kiraly
b848ca6dc7
improved sampling description
- describe sample selection
- describe sample queries

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2024-05-28 13:54:27 +02:00
Guillaume Ballet
8737e69c21
use execution_witness_root in header 2024-05-28 10:39:35 +02:00
Hsiao-Wei Wang
744ae2e687
Add EIP-6800 linter checks.
Fix the lint errors.
Remove custom type `StateDiff` and then use `List[StemStateDiff, MAX_STEMS]` directly in `ExecutionWitness`.
2024-05-28 16:24:11 +08:00
Hsiao-Wei Wang
fd246d8ebf
Merge branch 'dev' into pr3230 2024-05-28 12:55:33 +08:00
Hsiao-Wei Wang
071f0a3097
Merge pull request #3769 from ethDreamer/fix_compute_proposer_index
Electra: Properly Calculate Proposer Probabilities
2024-05-28 11:40:50 +08:00
Guillaume Ballet
0fd49c1a32 fix spelling error 2024-05-27 14:10:58 +02:00
Guillaume Ballet
7fbbb252d8 rebase on top of deneb 2024-05-27 12:46:30 +02:00
Guillaume Ballet
5c13f5c651
fix depth+extension serialization type
Co-authored-by: g11tech <develop@g11tech.io>
2024-05-27 11:53:38 +02:00
fradamt
69ee35d4e3 handle top-ups to exiting/exited validators 2024-05-22 12:31:22 +02:00
fradamt
96db63ea29 doctoc 2024-05-22 10:11:39 +02:00
fradamt
6a731e9115 fix lint 2024-05-22 10:03:03 +02:00
fradamt
f0ef76ada1 minor fixes 2024-05-21 23:03:34 +02:00
fradamt
6b6936836a Revert "minor fixes, doctoc"
This reverts commit dc2a2bd85ae1e8c7c2e426faba3167069ef548a5.
2024-05-21 22:54:25 +02:00
fradamt
5998e74447 typos. electra tests passing 2024-05-21 22:30:14 +02:00
fradamt
dc2a2bd85a minor fixes, doctoc 2024-05-21 22:30:14 +02:00
fradamt
7c4b32a717 renaming consolidations to consolidation_requests 2024-05-21 22:29:30 +02:00
fradamt
901a2491b4 fix typo 2024-05-21 22:15:33 +02:00
fradamt
e030f2cd60 Small fixes
Co-authored-by: Mikhail Kalinin <kalinin128@gmail.com>
2024-05-21 22:15:33 +02:00
fradamt
8a6ca1c568 fix consolidation churn limit check 2024-05-21 22:15:33 +02:00
fradamt
74eaf57668 add consolidations_root where needed 2024-05-21 22:15:33 +02:00
fradamt
204b39dd74 ensure that target has execution credentials 2024-05-21 22:15:33 +02:00
fradamt
1292bd9375 move to EL consolidations 2024-05-21 22:15:33 +02:00
Manu NALEPA
64b93c9361
Fix table. 2024-05-17 17:47:38 +03:00
Manu NALEPA
f7bb8aab1a
EIP-7594 - Update ENR record
Proposal for https://github.com/ethereum/consensus-specs/issues/3744
2024-05-17 17:31:08 +03:00
Mikhail Kalinin
32b441d381
Fix lint 2 2024-05-16 17:03:10 +03:00
Mikhail Kalinin
222e980b7e
Fix lint 2024-05-16 16:55:23 +03:00
Mark Mackey
74be5b2436 Electra: Properly Calculate Proposer Probabilities 2024-05-16 15:29:32 +03:00
Etan Kissling
8bf606884b
EIP-7549: Append new committee_bits field to end of Attestation
Introducing new fields in the middle of an existing `Container`
pointlessly breaks merkleization of all subsequent fields.
In the case of `committee_bits`, it is also misleading, as
`signature` only covers `data` inside `Attestation`.
2024-05-16 10:59:51 +03:00
George Kadianakis
fdeff744ff
EIP-7594: Add a missing check and a missing test vector (#3765) 2024-05-14 17:18:14 +03:00
Nishant Das
8f73a47423
Update p2p-interface.md 2024-05-09 16:14:52 +08:00
Nishant Das
b9befda08b
Update p2p-interface.md 2024-05-09 16:03:55 +08:00
Hsiao-Wei Wang
812ac2ce8f
Merge pull request #3759 from jtraglia/ext-aggregate-and-proof
Add electra version of AggregateAndProof
2024-05-08 20:25:06 +08:00
Justin Traglia
93c043a647 Revert moving IndexedAttestation
I'll do this in a separate PR.
2024-05-07 19:14:48 -05:00