Commit Graph

6074 Commits

Author SHA1 Message Date
Justin Traglia 1a3e3addde
Merge branch 'dev' into execution-requests-list 2024-10-08 14:02:19 -05:00
Justin Traglia d40c797acc
Re-add `execution_payload` to `notify_new_payload` call 2024-10-08 13:16:17 -05:00
Justin Traglia b671a1c031
Merge branch 'dev' into execution-requests-list 2024-10-08 13:00:42 -05:00
Justin Traglia c9ea712389
Fix table of contents 2024-10-08 12:27:50 -05:00
Justin Traglia a44071a9a5
Pass execution requests to Engine API as a list of bytes 2024-10-08 12:19:13 -05:00
Justin Traglia a624d4cd93
Move execution_requests after parent_beacon_block_root 2024-10-08 11:08:11 -05:00
Justin Traglia 7df1ce3038
Merge pull request #3818 from mkalinin/deposit-queue
eip6110: Queue deposit requests and apply them during epoch processing
2024-10-04 12:29:15 -05:00
Lucas Saldanha ef65fbc394
Fix EIP reference 2024-10-04 09:43:18 +13:00
Justin Traglia 358378dccf
Merge branch 'dev' into deposit-queue 2024-10-03 13:49:42 -05:00
Justin Traglia 3ffaf68dec
Merge pull request #3958 from ppopth/correct-get-data-column-sidecars-usage 2024-10-03 13:33:05 -05:00
Suphanat Chunhapanya f97cd619f4 Correct the use of get_data_column_sidecars 2024-10-04 00:53:49 +07:00
Justin Traglia 24874f3013
Merge pull request #3953 from jtraglia/reject-invalid-dcs 2024-10-03 11:52:28 -05:00
Justin Traglia 30f6aba593
Put "and" at the beginning of the next line
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-10-03 11:04:33 -05:00
Mikhail Kalinin beb2718182 Apply suggestions by @ppopth 2024-10-03 18:49:08 +04:00
Justin Traglia 3e80dc8ed0
Add new verification to is_data_available 2024-10-03 07:42:45 -05:00
Justin Traglia 2ceb0fd74d
Fix some nits 2024-10-02 16:51:46 -05:00
Justin Traglia 3196487a68
Add missing semicolon 2024-10-02 16:05:10 -05:00
Justin Traglia 3984bd3604
Convert assert to return False 2024-10-02 16:02:39 -05:00
Justin Traglia e02cbab59f
Move index check to top 2024-10-02 15:55:16 -05:00
Justin Traglia df987b5e50
Create new verify_data_column_sidecar() function 2024-10-02 15:47:42 -05:00
Justin Traglia 578407a4c3
Reject invalid DataColumnSidecar for zero blobs 2024-10-02 12:56:47 -05:00
Mikhail Kalinin a04e4c3b88 Fix fork logic 2024-10-02 13:28:09 +04:00
Mikhail Kalinin 4ee4105192
Merge branch 'dev' into deposit-queue 2024-10-02 13:08:13 +04:00
Mikhail Kalinin 11cfd96487
Merge branch 'dev' into consolidation-switch-to-comp 2024-10-01 15:39:28 +04:00
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
Justin Traglia a9e3aada7f
Use `bls.Scalar` as the base class for `BLSFieldElement` (#3907) 2024-09-27 07:19:04 -05:00
Mikhail Kalinin 33302651f9
Apply suggestions from @jtraglia
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-09-27 12:17:24 +04:00
Mikhail Kalinin 2bc2604706
Apply suggestions from @jtraglia
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-09-27 11:02:22 +04:00
Mikhail Kalinin 5913960651 Add notes on add_validator_to_registry, process_deposit modifications 2024-09-25 16:11:36 +04:00
Mikhail Kalinin c1507f0144
Add notice on attester_slashing topic modification 2024-09-24 11:06:46 +04:00
Stefan Bratanov e12b9abbf6
EIP-7732: Refactor Beacon chain state transition function (#3898) 2024-09-18 09:03:26 -05:00
Nico Flaig 666b63ac38
Remove stale comment on latest_execution_payload_header in Electra (#3929) 2024-09-18 07:35:49 -05:00
Mikhail Kalinin 083402fe7d Remove switch_to_compounding from deposit flow 2024-09-18 16:23:27 +04:00
Mikhail Kalinin 1513492944 Merge branch 'dev' into deposit-queue 2024-09-18 16:01:11 +04:00
Mikhail Kalinin b29a1d36d1 Isolate switch to compounding flow 2024-09-18 13:27:03 +04:00
Mikhail Kalinin 747a5a7891
Apply suggestions from @dapplion
Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>
2024-09-16 11:01:06 +04: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
Mikhail Kalinin 0eda70cfcb Switch to compounding when consolidating with source==target 2024-09-12 20:02:39 +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
Justin Traglia 07401893a3
Delete g2_lincomb in poly-commits-sampling spec (#3913) 2024-09-05 14:51:26 -05:00
Mikhail Kalinin 67cc3a5ac2 Rename MAX_PENDING_DEPOSITS_PER_EPOCH_PROCESSING to MAX_PENDING_DEPOSITS_PER_EPOCH 2024-09-05 14:14:23 +06:00