95 Commits

Author SHA1 Message Date
Etan Kissling
460d46ddcd
Merge branch 'dev' into lc-electra 2024-07-17 13:30:30 +02:00
Etan Kissling
9db6d3f2ef
Remove unnecessary cast 2024-07-15 14:02:07 +02:00
Etan Kissling
e2c06c32b1
Fix link 2024-07-15 13:56:54 +02:00
Etan Kissling
a86eeb3ee0
Freeze Altair constants at Deneb 2024-07-09 20:23:27 +02:00
Etan Kissling
63433ec847
Use separate constant names for post-Electra gindices 2024-07-09 20:15:31 +02:00
Justin Traglia
7b72cbdfad Fix link to Deneb spec 2024-07-01 18:42:32 -05:00
Justin Traglia
77c371b22a
Replace "updated" with "modified" in Electra spec (#3823) 2024-07-01 15:36:17 -05:00
Justin Traglia
0e03d8c08d Fix beacon-chain.md section header issues 2024-06-28 14:24:49 -05:00
Etan Kissling
67a053d6ce
Refer to Altair gindices as that's where they were introduced 2024-06-21 14:39:01 +02:00
Etan Kissling
ea04148a0d
Lint 2024-06-21 11:44:33 +02:00
Etan Kissling
2035a9fcad
Update light client specifications for Electra
Electra introduces two changes that affect light client data handling:

1. The `ExecutionPayloadHeader` is extended with new fields.
   This is handled similarly as before with the Deneb fork.

2. The `BeaconState` generalized indices change due to lack of EIP-6493.
   This is handled by making the generalized index be fork dependent via
   a helper function that computes it dynamically. Furthermore, the case
   where pre-Electra light client data is consumed by an Electra based
   `LightClientStore` requires normalizing the shorter proof of the
   pre-Electra data to fit into the Electra data structure by prepending
   a zero hash.
2024-06-21 11:33:52 +02:00
Hsiao-Wei Wang
ca6485012f
Merge pull request #3783 from mkalinin/electra-maxeb-preset
Switch the rest of the spec to MAX_EFFECTIVE_BALANCE_ELECTRA
2024-06-14 16:34:24 +08:00
Hsiao-Wei Wang
718aadf263
Fix tests and remove duplicate _WITHDRAWAL_PREFIX definition 2024-06-14 15:57:33 +08:00
Mikhail Kalinin
aa65fd7824
Apply suggestion from @hwwhww
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-06-14 13:26:47 +07:00
Hsiao-Wei Wang
cead0f3407
Merge pull request #3768 from etan-status/at-stability
EIP-7549: Append new `committee_bits` field to end of `Attestation`
2024-06-13 22:15:51 +08:00
Preston Van Loon
5dec87f90f Update TOC 2024-06-05 15:24:59 -05:00
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
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
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
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
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
Justin Traglia
93c043a647 Revert moving IndexedAttestation
I'll do this in a separate PR.
2024-05-07 19:14:48 -05:00
Justin Traglia
f3d0a0e89b Move containers to validator.md 2024-05-07 19:13:24 -05:00
Justin Traglia
8aed03767a Change "new" to "modified" 2024-05-07 16:37:23 -05:00
Justin Traglia
0da03ab5ac Update TOC 2024-05-07 16:33:06 -05:00
Justin Traglia
99ccfe0163 Add electra version of AggregateAndProof 2024-05-07 16:29:49 -05:00