Commit Graph

6027 Commits

Author SHA1 Message Date
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
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
Potuz f97f0b4ef2 use List with limit to hash withdrawals 2024-07-08 15:12:56 -03:00
Potuz 9274a66199 fix Merkle proof generator 2024-07-08 14:36:50 -03:00
Potuz 0e94fc956b Rename changed preset 2024-07-08 14:36:50 -03:00
Potuz b556420e5a linter 2 2024-07-08 14:36:50 -03:00
Potuz 19c6f84562 linter 2024-07-08 14:36:50 -03:00
Potuz 17b7905e5c modify get_blob_sidecars to use nested proof 2024-07-08 14:36:50 -03:00
Potuz 9181e2937f modify get_blob_sidecars to take the commitments 2024-07-08 14:36:49 -03:00
Potuz e93f923bb5 fix typo last_withdrawals_root 2024-07-08 14:36:49 -03:00
Potuz bb7ce4fa6e minor fixes 2024-07-08 14:36:49 -03:00
Hsiao-Wei Wang 2af6e7d22c Minor refactoring 2024-07-08 14:36:49 -03:00
terence 614284c32a Fix p2p to use eip7732 (#14) 2024-07-08 14:36:49 -03:00
Potuz 3d48e72570 Deal with attestations from previous forks 2024-07-08 14:36:49 -03:00
Potuz 53aaf26ba2 Fix python execution 7 2024-07-08 14:36:49 -03:00
Potuz 603cf53fab add fork fixes 2024-07-08 14:36:49 -03:00
Hsiao-Wei Wang b2d6e68e62 Fix and add `EIP7732_FORK_EPOCH` and `EIP7594_FORK_VERSION` 2024-07-08 14:36:49 -03:00
Potuz a11ffb5278 use definitive EIP number 2024-07-08 14:36:49 -03:00
Potuz 181ce5e9dc add type annotation 2024-07-08 14:36:49 -03:00
terence 5013e5724e Fix epbs pre fork (#13) 2024-07-08 14:36:49 -03:00
Potuz d7a199fe09 Fix python execution 3 2024-07-08 14:36:49 -03:00
Potuz 4500eabf8c Fix python execution 2 2024-07-08 14:36:49 -03:00
Potuz 2a43ce54d6 doctoc 2024-07-08 14:36:49 -03:00
Potuz ad8d71dbdb Fix python execution 1 2024-07-08 14:36:49 -03:00
Potuz 4997588793 add fake value to KZG indices 2024-07-08 14:36:49 -03:00
Potuz 752a804db6 use boolean instead of bool in forkchoice 2024-07-08 14:36:49 -03:00
Potuz 95dd081357 codespell 2024-07-08 14:36:49 -03:00
Potuz ed7f17e0bf Add gas_limit to the execution payload header 2024-07-08 14:36:49 -03:00
Potuz 25a0fdc991 doctoc 2024-07-08 14:36:49 -03:00
DanGoron 51e47ff6e4 small typo fixes (#12) 2024-07-08 14:36:49 -03:00
Potuz b7b1de93e9 Verify withdrawals only when present 2024-07-08 14:36:49 -03:00
Potuz a01f124286 modify INTEVALS_PER_SLOT 2024-07-08 14:36:49 -03:00
terence 6e02cb4ea4 Fix epbs consensus spec to be executable (#10)
Fix epbs consensus spec to be executable
2024-07-08 14:36:49 -03:00
Potuz 0d082fdc0e Add comment about attestations and sync committee duties 2024-07-08 14:36:49 -03:00
Potuz 6d6ef7baa4 Fork logic 2024-07-08 14:36:49 -03:00
Potuz cd7dbef16f P2P changes 2024-07-08 14:36:49 -03:00
Potuz 614e14ed8a Honest Builder Guide 2024-07-08 14:36:49 -03:00
Potuz 971c57c8ea Honest validator guide 2024-07-08 14:36:49 -03:00
Potuz 673c75cab3 Forkchoice changes 2024-07-08 14:36:49 -03:00