Commit Graph

173 Commits

Author SHA1 Message Date
Mikhail Kalinin 4051ea880b Fix toc 2024-08-14 16:46:56 +06:00
Lucas Saldanha e3ec53fcdc Fix lint 2024-08-14 10:24:55 +12:00
Lucas Saldanha fa78e0d301 PR comments 2024-08-13 21:24:28 +12:00
Mikhail Kalinin a378e8d03b Update correlation penalty computation 2024-08-13 15:19:10 +06:00
Lucas Saldanha 4185c00d23 Fork fix and tests 2024-08-13 20:53:44 +12:00
Lucas Saldanha 5c88de8bb9 Remove requests in execution_payload from full-node lightclient spec 2024-08-13 17:50:31 +12:00
Lucas Saldanha 794b942c9b Undo execution_payload gsync change 2024-08-13 17:47:50 +12:00
Lucas Saldanha 858402fc8a Updated with requests on block body 2024-08-13 12:29:27 +12:00
Lucas Saldanha 9a2e08808e requests_root 2024-08-12 20:17:49 +12:00
Lucas Saldanha e26a3e04b3 New execution payload global index 2024-08-12 10:54:35 +12:00
Lucas Saldanha f9ac90200a Updated light-client block -> header function 2024-08-12 10:53:47 +12:00
Lucas Saldanha f26c9be156 Removing EL requests from ExecutionPayload 2024-08-12 10:24:53 +12:00
Lucas Saldanha ed9b061fdc Comments 2024-08-09 12:15:54 +12:00
Lucas Saldanha 355a9a3d33 Introducing ExecutionPayloadEnvelope 2024-08-09 12:05:23 +12:00
Mikhail Kalinin b665698350 Fix off-by-one in process_pending_balance_deposits 2024-08-06 17:29:13 +06:00
Mikhail Kalinin fcca2b5c71 Fix off-by-one in process_pending_consolidations 2024-08-06 17:17:26 +06:00
0xTylerHolmes 80092b1b14 remove beacon_attestation_subnet from global topics 2024-07-19 12:52:59 -04:00
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
Mikhail Kalinin 85b752be5e
Fix by @pawanjay176
Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
2024-07-09 18:52:23 +06:00
Mikhail Kalinin ee4da7b58a Refactor postponed deposit processing 2024-07-05 18:04:38 +06:00
Mikhail Kalinin 5a2f887f76 Merge remote-tracking branch 'origin/dev' into deposit-queue 2024-07-03 17:30:16 +06:00
Mikhail Kalinin 5c0a8d3b71
Fix off-by-one found by @james-prysm 2024-07-02 15:30:42 +06: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
Mikhail Kalinin 8f6b1e0ba9 Merge remote-tracking branch 'origin/dev' into deposit-queue 2024-06-28 14:55:54 +06:00
Mikhail Kalinin 43e7344143 Refactor process_pending_deposits 2024-06-26 13:42:48 +06:00
Mikhail Kalinin 179ee8ee78 Finalize deposit requests before processing 2024-06-25 17:47:18 +06:00
Mikhail Kalinin 5c3a51ae79 Process deposit requests after Eth1 bridge deposits are applied 2024-06-25 17:26:17 +06: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
Mikhail Kalinin 0b7fef37b3 Limit number of pending deposits to be processed per epoch 2024-06-20 19:09:41 +06:00
Mikhail Kalinin 2a202c8ecb Refactor pending deposit processing 2024-06-20 18:46:38 +06:00
Mikhail Kalinin fd75470eab Add pending_deposits queue and queue deposit requests 2024-06-20 15:48:46 +06: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 dc2a2bd85a.
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
Mikhail Kalinin d8c486bcc5 Rename DepositReceipt to DepositRequest 2024-05-07 23:34:03 +06:00
rkapka c4e8dc23f4 Fix typo in `get_committee_indices` 2024-05-02 16:54:17 +09:00
Hsiao-Wei Wang b625daf421
Merge pull request #3707 from terencechain/patch-145
Minor comment on `ExecutionLayerWithdrawalRequest`
2024-04-27 01:05:03 +08:00
EchoAlice b52182cdd6 Refactor `upgrade_to_electra()` 2024-04-22 13:31:37 -06:00
terence 22a9c726ec
Fix `ExecutionLayerWithdrawalRequest` container to also imply it's for EIP7002 2024-04-19 16:30:04 -07:00
Alex Stokes 82133085a1
clarify pending partial withdrawals handling 2024-04-17 14:17:07 -06:00
Alex Stokes b02be79a05
Merge pull request #3680 from ethereum/validator-guide-aggregate
Use validator guide `compute_on_chain_aggregate` in testing
2024-04-17 14:07:53 -06:00
Mikhail Kalinin 040f3f1f22 Fix off-by-one in churn computations 2024-04-17 18:18:59 +06:00
Hsiao-Wei Wang e6e7c92eca
weird fix 2024-04-17 15:46:22 +08:00
Alex Stokes a07e144adc
Merge pull request #3659 from ethDreamer/activation_rate_limiting
EIP-7251: Enforce Activation Rate Limit at Fork Transition
2024-04-16 16:14:44 -06:00
Alex Stokes 3b259b6a9f
Merge pull request #3676 from ethDreamer/balance_churn_limit
EIP-7251: Rename get_churn_limit() for clarity
2024-04-16 15:57:46 -06:00
Mikhail Kalinin fea074e7c5
Fix toc: attempt 2 2024-04-17 01:07:52 +06:00
Mikhail Kalinin 736e26abfc
Merge branch 'dev' into add-container-change 2024-04-17 00:24:25 +06:00
Mikhail Kalinin 373baa85aa
Update toc 2024-04-17 00:20:52 +06:00
Mark Mackey 8b6b710ccd EIP-7251: rename get_churn_limit() for clarity 2024-04-16 12:01:21 -05:00
Mark Mackey 38dfd4a8b4 Merge remote-tracking branch 'upstream/dev' into activation_rate_limiting 2024-04-16 10:11:00 -05:00
Hsiao-Wei Wang 0252e12d73
Add notes 2024-04-16 19:57:23 +08:00
Hsiao-Wei Wang db2c01a5f5
Reorder by processing seq 2024-04-16 19:54:05 +08:00
NC 5b2f60221e Add modified AttesterSlashing 2024-04-16 19:41:28 +08:00
Alex Stokes c0fa05de1e
Fix tests from 7251 and merge of other EIPs into Electra 2024-04-15 22:30:14 -06:00
Alex Stokes e1840a78a0
bugfix: check for all possible credentials when processing EL withdrawal request 2024-04-15 19:59:07 -06:00
Alex Stokes 35534989ff
reorg some spec functions 2024-04-15 19:37:53 -06:00