10079 Commits

Author SHA1 Message Date
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
Hsiao-Wei Wang
adc5edd95c
Merge pull request #3914 from ensi321/dev
Minor fixes on Electra spec and test helper
2024-09-10 16:59:32 +08:00
NC
1702f88f78 Minor fixes 2024-09-05 22:27:28 -07:00
Lucas Saldanha
622ccd1d4b Updated ElectraSpecBuilder (NoopExecutionEngine#notify_new_payload) 2024-09-06 10:08:36 +12: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
Potuz
abf382a607 Fix 7732 2024-09-04 12:58:50 -03:00
Mikhail Kalinin
8c726ff723 Fix get_max_effective_balance call 2024-09-04 09:56:43 +06:00
Mikhail Kalinin
3ebddad511 Merge branch 'dev' into deposit-queue 2024-09-04 09:30:00 +06: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
Hsiao-Wei Wang
aa3b140197
Merge pull request #3909 from ralexstokes/rename-get-max-eb-helper
simplify name of helper `get_validator_max_effective_balance`
2024-09-02 22:19:54 +08: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
Hsiao-Wei Wang
0dd76d3e18
Merge pull request #3905 from ralexstokes/harmonize-electra-withdrawals
harmonize `process_withdrawals` spec with #3761
2024-08-29 17:39:47 +08:00
Hsiao-Wei Wang
534cb06440
Merge pull request #3879 from ethpandaops/update-readme-deps
Updating readme and dependencies
2024-08-29 17:38:18 +08:00
Hsiao-Wei Wang
daf1002720
Merge pull request #3892 from ensi321/dev
Randomize validator index in partial withdrawal test
2024-08-29 17:37:52 +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
Etan Kissling
d61f95e138
Fix blob transaction serialization to use RLP
EIP-4844 uses RLP not SSZ for blob transactions.
2024-08-28 13:04:44 +02:00
Hsiao-Wei Wang
423bb4d0eb
Merge pull request #3902 from terencechain/fix-eip7732-typos
Fix some EIP-7732 typos
2024-08-28 14:40:18 +08:00
Hsiao-Wei Wang
7259a6cf23
Merge pull request #3878 from mkalinin/remove-compute_state_by_epoch_processing_to
Get rid of compute_state_by_epoch_processing_to
2024-08-28 14:38:11 +08:00
Jacek Sieka
0833551328
spelling 2024-08-28 07:35:12 +02:00
Jacek Sieka
5761fb4d97
update list of checks 2024-08-28 07:31:49 +02:00
terence tsao
d4f27aff1f Fix some EIP-7732 typos 2024-08-27 13:32:46 -07:00
Mikhail Kalinin
0526592fe8 Do state.pending_deposits update in a single line 2024-08-27 17:46:43 +06:00
Mikhail Kalinin
22bb1de62d Fix code spell 2024-08-27 17:32:38 +06:00
Mikhail Kalinin
ad8f54ff7d Update pending deposits tests 2024-08-27 17:26:54 +06:00
Justin Traglia
725f96349b
Add blank lines to fix linter 2024-08-26 17:02:42 -05:00
Jacek Sieka
0b95012c2e
Separate type for unaggregated network attestations
As a complement to
https://github.com/ethereum/consensus-specs/pull/3787, this PR
introduces a `SingleAttestation` type used for network propagation only.

In Electra, the on-chain attestation format introduced in
[EIP-7549](https://github.com/ethereum/consensus-specs/pull/3559)
presents several difficulties - not only are the new fields to be
interpreted differently during network processing and onchain which adds
complexity in clients, they also introduce inefficiency both in hash
computation and bandwidth.

The new type puts the validator and committee indices directly in the
attestation type, this simplifying processing and increasing security.

* placing the validator index directly in the attestation allows
verifying the signature without computing a shuffling - this closes a
loophole where clients either must drop attestations or risk being
overwhelmed by shuffling computations during attestation verification
* the simpler "structure" of the attestation saves several hash calls
during processing (a single-item List has significant hashing overhead
compared to a field)
* we save a few bytes here and there - we can also put stricter bounds
on message size on the attestation topic because `SingleAttestation` is
now fixed-size
* the ambiguity of interpreting the `attestation_bits` list indices
which became contextual under EIP-7549 is removed

Because this change only affects the network encoding (and not block
contents), the implementation impact on clients should be minimal.
2024-08-26 15:54:59 +02:00
Mikhail Kalinin
7afe8e0742 Update eip7732 with pending_deposits 2024-08-26 17:00:45 +06:00
Mikhail Kalinin
c183be4914 Update consolidation tests with pending deposit 2024-08-26 16:33:46 +06:00
Mikhail Kalinin
990de16c0f Add more deposit tests 2024-08-26 16:18:53 +06:00
Mikhail Kalinin
97e6166bf1 Move switch to compounding to process_deposit_request 2024-08-26 16:17:53 +06:00
Parithosh Jayanthi
33a8e197aa
Merge branch 'ethereum:dev' into update-readme-deps 2024-08-23 15:00:59 +02:00
Jacek Sieka
08e020e98d
remove timeout constants 2024-08-23 13:38:12 +02:00
Mikhail Kalinin
a6864d44f1 Merge branch 'dev' into deposit-queue 2024-08-23 14:37:08 +06:00