Commit Graph

6028 Commits

Author SHA1 Message Date
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
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 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
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
Justin Traglia 07401893a3
Delete g2_lincomb in poly-commits-sampling spec (#3913) 2024-09-05 14:51:26 -05:00
Potuz abf382a607 Fix 7732 2024-09-04 12:58:50 -03:00
Hsiao-Wei Wang 5111cbfdba
Merge pull request #3908 from pawanjay176/csc-u64
Peerdas Change csc types to uint64
2024-09-04 01:48:16 +08:00
Justin Traglia 88a76574b6
Update csc description
Co-authored-by: Anton Nashatyrev <Nashatyrev@users.noreply.github.com>
2024-09-03 09:35:02 -05:00
Lucas Saldanha 31225f1acf Temp fix for linter on eip-7732 beacon chain spec 2024-09-02 13:56:57 +12: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
Pawan Dhananjay 78cc0a6e91
Change csc types to uint64 2024-08-30 12:25:26 -07:00
Hsiao-Wei Wang 2b4d94ab08
Merge pull request #3816 from ethereum/dapplion-patch-2
Simplify is_better_update condition
2024-08-30 23:33:10 +08:00
Hsiao-Wei Wang 405fcd106b
Merge pull request #3888 from potuz/fix_header_slot_validation
Require the builder is active and non-slashed
2024-08-29 23:21:34 +08:00
Hsiao-Wei Wang a95195bf1f
Merge pull request #3890 from StefanBratanov/eip_7732_modify
EIP-7732: Modify `ExecutionPayloadEnvelopeByRoot`
2024-08-29 23:21:07 +08:00
Alex Stokes c7631634fb
harmonize `process_withdrawals` spec with #3761 2024-08-28 16:01:10 -06:00
Barnabas Busa a5990f99ac
EIP-7594: PeerDAS explicit csc integer size (#3897)
* EIP-7594: PeerDAS explicit csc integer size

* add spec test for csc int size

* import uint8

* make linter happy

* add spec

* Update p2p-interface.md

* Update specs/_features/eip7594/das-core.md

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>

* revert metadata name

* Update specs/_features/eip7594/das-core.md

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>

* update tests

* make linter happy

* Make `DATA_COLUMN_SIDECAR_SUBNET_COUNT` in uint8

* add `int` casting for bypassing remerkeable type conversion

---------

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2024-08-29 02:43:34 +08:00
terence tsao d4f27aff1f Fix some EIP-7732 typos 2024-08-27 13:32:46 -07: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
Stefan Bratanov ba99f8bb16
Update specs/_features/eip7732/p2p-interface.md
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-08-20 20:18:55 +03:00
Stefan Bratanov 24aecf554d
Update specs/_features/eip7732/p2p-interface.md
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-08-20 20:18:47 +03:00
Stefan Bratanov edf0ddea3c change to new 2024-08-20 13:59:29 +03:00
Stefan Bratanov 679cb60ee2 Add to table of contents 2024-08-20 13:58:09 +03:00
Stefan Bratanov 7d0a8c6335 EIP-7732: Modify `ExecutionPayloadEnvelopeByRoot` 2024-08-20 13:54:36 +03:00
Potuz fc3640f3c2 Require the builder is active and non-slashed 2024-08-19 09:33:10 -03: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
Justin Traglia 4eee3b0c3b Remove matrix specific configuration value
This also removes references to the "extended matrix" in favor of just "matrix"
which I think is better. It's not an extended matrix, it's a matrix of extended
blobs. Technically it's just a matrix of cells/proofs.
2024-08-14 20:19:50 -05: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