Commit Graph

173 Commits

Author SHA1 Message Date
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
Alex Stokes 9bcafc87e3
fix lint 2024-04-15 19:37:53 -06:00
Alex Stokes 4d212b4263
tighten conditional logic for withdrawal requests: list len cannot be greater than its bound 2024-04-15 19:37:53 -06:00
Alex Stokes d243afab25
address PR feedback 2024-04-15 19:37:53 -06:00
Alex Stokes 54e0f42752
Apply suggestions from code review
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-04-15 19:37:53 -06:00
Alex Stokes ce3931653d
Add EIP-7251 to Electra fork 2024-04-15 19:37:49 -06:00
terence 497d7999a6
Clarify electra validator spec with EIP7549 2024-04-09 19:12:08 -07:00
Hsiao-Wei Wang 7582b7ffbf
Merge pull request #3665 from jtraglia/upgrade-electra-blob-gas
Track blob gas when upgrading to electra
2024-04-10 07:34:21 +09:00
Justin Traglia d046d07c26 Fix "new in" comment so it's consistent with others 2024-04-09 12:28:03 -05:00
Justin Traglia b641582ed7 Track blob gas when upgrading to electra 2024-04-09 12:24:56 -05:00
Hsiao-Wei Wang 94a0b6c581
Merge branch 'dev' into pr3653 2024-04-09 12:55:56 +09:00
Hsiao-Wei Wang ab8815ba10
Merge branch 'dev' into init-electra 2024-04-09 12:26:07 +09:00
Alex Stokes e4068b5391
Merge EIP-7549 into Electra 2024-04-05 13:56:57 -06:00
Alex Stokes 4287340401
typo: text of electra validator guide 2024-04-05 11:36:49 -06:00
Alex Stokes bba0e63ec4
typo: electra fork summary 2024-04-05 11:36:49 -06:00
Hsiao-Wei Wang 257b2ebe7a
Apply suggestions from code review
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-04-05 11:36:49 -06:00
Hsiao-Wei Wang 55c81e7fa1
Merge EIP7002 into Electra 2024-04-05 11:36:49 -06:00
Hsiao-Wei Wang 9c4e1db821
EIP6110 meta update 2024-04-05 10:53:42 -06:00
Hsiao-Wei Wang d2c69fe3cf
Rename EIP6110 to Electra 2024-04-05 10:53:42 -06:00
Hsiao-Wei Wang e64afbc630
Apply suggestions from code review
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
2024-04-05 06:13:45 +08:00
Hsiao-Wei Wang 806ed66769
Merge branch 'dev' into init-electra 2024-04-05 07:03:29 +09:00
Hsiao-Wei Wang ec9bbfa2ea
Merge EIP7002 into Electra 2024-03-06 14:23:23 +08:00
Hsiao-Wei Wang 82271d1229
EIP6110 meta update 2024-03-06 14:00:55 +08:00
Hsiao-Wei Wang 6ffd27bd60
Rename EIP6110 to Electra 2024-03-06 13:38:49 +08:00