Commit Graph

6074 Commits

Author SHA1 Message Date
Potuz abf382a607 Fix 7732 2024-09-04 12:58:50 -03: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
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
Mikhail Kalinin 0526592fe8 Do state.pending_deposits update in a single line 2024-08-27 17:46:43 +06:00
Mikhail Kalinin 7afe8e0742 Update eip7732 with pending_deposits 2024-08-26 17:00:45 +06:00
Mikhail Kalinin 97e6166bf1 Move switch to compounding to process_deposit_request 2024-08-26 16:17:53 +06:00
Mikhail Kalinin a6864d44f1 Merge branch 'dev' into deposit-queue 2024-08-23 14:37:08 +06:00
Mikhail Kalinin ada5524610 Use the right MaxEB to create validator from deposit 2024-08-23 14:32:50 +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
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
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
Alex Stokes 13ac373a2c
Merge pull request #3870 from fradamt/no-peer-sampling
Spec without peer sampling
2024-08-12 15:04:41 -06:00
Hsiao-Wei Wang d8cbca76b2
Merge pull request #3877 from fradamt/dev
remove redundant copy()
2024-08-12 18:39:54 +09: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
fradamt 75e601a167 remove redundant copy() 2024-08-09 09:13:13 +02: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
fradamt 04ee34c504 revert to deneb-style fork-choice (is_data_available in on_block) 2024-08-08 10:01:20 +02:00
Hsiao-Wei Wang f4e3908801
Merge pull request #3868 from mkalinin/fix-consolidation
Fix off-by-one in process_pending_consolidations
2024-08-08 14:43:56 +09:00
Hsiao-Wei Wang bd396a6cee
Merge pull request #3873 from jtraglia/nits-in-7594-p2p-interface
Fix nits in eip7594 p2p-interface spec
2024-08-08 14:21:22 +09:00
Justin Traglia 54093964c9 Fix nits in eip7594 p2p-interface spec 2024-08-07 21:22:00 -05:00
Justin Traglia 80b94ba058
Fix bad suggestion 2024-08-07 15:24:48 -05:00
fradamt 06ead3aa0d
Apply suggestions from code review
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-08-07 22:13:41 +02:00
fradamt 7a6770a732 fix headers
Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
2024-08-07 16:52:06 +02:00
fradamt 111123723a fix function comment 2024-08-07 15:07:37 +02:00
fradamt 376ab85406 Split peer sampling spec from das-core.md 2024-08-07 14:52:36 +02:00
fradamt 4bd2f924de custody-based fork-choice 2024-08-07 11:28:16 +02:00
terence tsao 7c1092216c p2p: clean up payload_attestation_message conditions 2024-08-06 13:30:44 -04:00
Hsiao-Wei Wang 8f8ab03acf
Merge pull request #3828 from potuz/epbs_cl_repo
EIP-7732: Enshrined Proposer-Builder Separation
2024-08-07 01:19:53 +09: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
Hsiao-Wei Wang 572ca9e032
Merge pull request #3821 from dapplion/csc
Add MetadataV3 with custody_subnet_count
2024-08-06 19:43:38 +09:00
Potuz 74124f521b Typo in validator.md 2024-08-02 12:50:25 -03:00
vbuterin 7ab2bbe89b
Make process_withdrawals slightly cleaner (equivalent functionality) (#3761) 2024-08-02 08:35:25 -05:00
George Kadianakis 92aeafeab9
Merge pull request #3863 from b-wagn/patch-3
EIP7594: Remove dead link
2024-08-02 15:35:21 +03:00
Mikhail Kalinin 10becc58b7
Merge pull request #3595 from etan-status/bf-safehash
Rename `get_safe_execution_payload_hash` -> `*_block_hash`
2024-08-02 18:31:10 +06:00
Benedikt Wagner ef3c9dc84d
Remove dead link to no longer existing public method. 2024-08-02 08:35:02 +02:00
b-wagn 225c486183 some punctuation 2024-07-31 17:30:36 +02:00
b-wagn 85a42cd7bf improve comments in recovery 2024-07-31 11:56:39 +02:00
Potuz b082140312 Revert "Remove block_timeliness from the store"
The damned linter complains and there's no problem having it

This reverts commit b7461ac174.
2024-07-24 16:02:53 -03:00
Potuz 0c9ca6de24 solve ties by block slot first 2024-07-23 13:31:21 -03:00
Potuz d0fad1f380 Advance best child with empty until it is higher than every children 2024-07-23 13:06:54 -03:00
Potuz b7461ac174 Remove block_timeliness from the store 2024-07-23 07:53:50 -03:00
Potuz 8c9514ecc1 Restore proposer_boost timeliness calculation 2024-07-22 16:29:55 -03:00
0xTylerHolmes 80092b1b14 remove beacon_attestation_subnet from global topics 2024-07-19 12:52:59 -04:00
Hsiao-Wei Wang a42d6706d8
Merge pull request #3811 from etan-status/lc-electra
Update light client specifications for Electra
2024-07-19 23:18:25 +08:00
kevaundray 233129122b
Replace `recover_data` with `recover_polynomialcoeff` (#3820)
* chore: remove recover_data

* make it look closer to final code

* Improve comments

* Fix lint issue

* Fix tests & clean things up a bit

* Replace a couple uses of "monomial" with "coefficient"

* Revert "Replace a couple uses of "monomial" with "coefficient""

This reverts commit c9a1a757d1a09190eee78767b3d36b2a84066e42.

* Only replace "monomial" with "coefficient"

---------

Co-authored-by: Justin Traglia <95511699+jtraglia@users.noreply.github.com>
Co-authored-by: Justin Traglia <jtraglia@pm.me>
2024-07-17 16:23:59 +03:00
Etan Kissling 460d46ddcd
Merge branch 'dev' into lc-electra 2024-07-17 13:30:30 +02:00
George Kadianakis bb8f3caafc
Merge pull request #3836 from jtraglia/columns-cells-and-proofs
Update get_data_column_sidecars to take cells/proofs
2024-07-16 18:25:24 +03:00
Hsiao-Wei Wang b4432fbef8
Merge pull request #3817 from dapplion/max-blobs-config
Make MAX_BLOBS_PER_BLOCK a config parameter
2024-07-16 22:27:13 +08:00
Potuz 5bb25c8088 remove spurious config prefix 2024-07-15 17:11:26 -03:00
Justin Traglia 5961e26931
Remove unnecessary comment 2024-07-15 15:09:01 -05:00
Potuz 4b43b96f83 doctoc 2024-07-15 15:17:20 -03:00
Justin Traglia 252b852a61
Rename column_index to cell_index in KZG spec (#3841)
* Rename column_index to cell_index in KZG spec

* Fix table of contents

* Replace list(set()) with set()

* Change coset_evals to cell_indices in some places

* Remove punctuation in table description

* Remove "row" from comments & improve docstring

* Replace unique with deduplicated
2024-07-15 19:41:33 +03:00
Potuz 3529b46149 Fix block_header.state_root and forkchoice filtering 2024-07-15 11:31:39 -03: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
dapplion db717702a8 Move to peerdas eip 2024-07-11 14:07:16 +02:00
George Kadianakis dc5f74da0e
Merge pull request #3830 from jtraglia/remove-verify-cell-kzg-proof
Remove `verify_cell_kzg_proof` (non-batch)
2024-07-10 19:49:58 +03:00
Justin Traglia 9a9fa965b0
In batch cell verification, take commitment for each cell (#3834) 2024-07-10 10:41:37 -05: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
Potuz 096e5649c9 Verify kzg-commitments length with the payload 2024-07-09 13:58:10 -03:00
Justin Traglia c402414489
Merge branch 'dev' into remove-verify-cell-kzg-proof 2024-07-09 11:32:28 -05:00
Mikhail Kalinin 85b752be5e
Fix by @pawanjay176
Co-authored-by: Pawan Dhananjay <pawandhananjay@gmail.com>
2024-07-09 18:52:23 +06:00
Alex Stokes b7149ef5fa
Update beacon-chain.md
Typo fix in deneb comment
2024-07-08 17:52:06 -06:00
Justin Traglia 8da90b2702 Fix linter issues 2024-07-08 14:20:45 -05:00
Justin Traglia 1dbb68d3d7 Update get_data_column_sidecars to take cells/proofs 2024-07-08 14:07:53 -05:00