Commit Graph

135 Commits

Author SHA1 Message Date
Pop Chunhapanya 85e2452301
Remove queue_entire_balance_and_reset_validator (#3951) 2024-09-30 18:29:49 -05:00
Mikhail Kalinin ecb4c2aa9c
eip7251: Fix partial withdrawals count (#3943) 2024-09-30 16:21:14 -05:00
Pop Chunhapanya 0c8645ec30
EIP-7251: Flatten get_active_balance (#3949)
We have both get_active_balance and get_total_active_balance which have
totally different meanings, since get_active_balance uses the balance
field while get_total_active_balance uses the effective_balance field.

The names suggest that get_total_active_balance is the total of
get_active_balance which is not true.

The name of get_active_balance doesn't quite make sense and it's used
only in one place, so this commit flattens the logic of get_active_balance
to the place where it's used.
2024-09-30 12:16:50 -05:00
Alex Stokes bda8957153
Merge pull request #3948 from ppopth/refactor-get-max-effective-balance
EIP7251: Revamp process_effective_balance_updates
2024-09-30 10:02:10 -06:00
Suphanat Chunhapanya 0301ec7ae0 EIP7251: Revamp process_effective_balance_updates
Use get_max_effective_balance in process_effective_balance_updates since
the logic is the same.
2024-09-29 10:56:07 +07:00
Mikhail Kalinin c1507f0144
Add notice on attester_slashing topic modification 2024-09-24 11:06:46 +04:00
Nico Flaig 666b63ac38
Remove stale comment on latest_execution_payload_header in Electra (#3929) 2024-09-18 07:35:49 -05:00
Hsiao-Wei Wang cffd21823a
Merge pull request #3915 from ralexstokes/cleanup-signed-consolidation
Remove unnecessary signing domain for consolidations
2024-09-13 17:23:43 +08:00
Alex Stokes 6ebdeb206a
Merge pull request #3875 from lucassaldanha/3865
Moving requests out of execution_payload into beacon_block.body
2024-09-12 15:51:31 -06:00
Alex Stokes 15a5b68260
Remove unnecessary signing domain for consolidations 2024-09-10 11:41:45 -06:00
NC 1702f88f78 Minor fixes 2024-09-05 22:27:28 -07:00
Lucas Saldanha c8dd790484 Fix linter 2024-09-06 09:51:34 +12:00
Lucas Saldanha beff03d4e0 Updated verify_and_notify_new_payload and notify_new_payload 2024-09-06 09:18:26 +12:00
Alex Stokes 6c3868c872
Merge pull request #3882 from mkalinin/correlation-penalty-fix
EIP-7251: Update correlation penalty computation
2024-09-05 13:58:42 -06:00
Lucas Saldanha 38baa573c7 Rename ExecutionLayerRequests to ExecutionRequests 2024-09-02 11:30:54 +12:00
Lucas Saldanha e445cdfb04 Merge branch 'dev' into 3865 2024-09-02 11:14:03 +12:00
Alex Stokes 6938dcc2fa
simplify name of helper `get_validator_max_effective_balance` 2024-08-30 16:16:44 -06:00
Alex Stokes c7631634fb
harmonize `process_withdrawals` spec with #3761 2024-08-28 16:01:10 -06:00
Lucas Saldanha b8ca7cc87b PR comments 2024-08-23 10:12:19 +12:00
Lucas Saldanha dc1892e113 Updated NewPayloadRequest 2024-08-22 21:08:08 +12:00
Lucas Saldanha 98dd1884ae Rename requests to execution_requests 2024-08-16 18:34:22 +12:00
Lucas Saldanha b84316de3f PR Comments 2024-08-16 18:30:06 +12:00
Lucas Saldanha 3527a9b641 Cleaning unchanged ExecutionPayload 2024-08-14 23:16:09 +12:00
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
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