Commit Graph

3845 Commits

Author SHA1 Message Date
Eitan Seri-Levi
d2ec1cda51 merge conflicts 2026-04-27 17:16:11 +02:00
Eitan Seri-Levi
028b5a42a9 Add payload attestation validator duty (#9178)
Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-04-27 15:13:35 +00:00
hopinheimer
6ab48a76f0 Gloas PayloadAttestation gossip verification (#9145)
Co-Authored-By: hopinheimer <knmanas6@gmail.com>

Co-Authored-By: hopinheimer <48147533+hopinheimer@users.noreply.github.com>

Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-04-27 09:51:20 +00:00
Eitan Seri-Levi
9bb72ab65f Merge branch 'gloas-ptc-gossip-verification' into glamsterdam-devnet-0 2026-04-27 10:40:15 +02:00
Eitan Seri-Levi
5c221e8a83 skip all 2026-04-27 10:34:31 +02:00
Eitan Seri-Levi
ea9664dc91 Drop read lock 2026-04-27 10:32:48 +02:00
Eitan Seri-Levi
f2f051db45 merge conflicts 2026-04-27 10:10:41 +02:00
Eitan Seri-Levi
812dc31b15 Fix 2026-04-27 10:10:06 +02:00
Eitan Seri-Levi
ffedc9d65b merge ptc branch chagnes 2026-04-27 09:58:01 +02:00
Eitan Seri-Levi
68bfb33430 Add tests and ssz suppport 2026-04-27 09:46:09 +02:00
Eitan Seri-Levi
0a1bdf840b Add payload attestation validator duty 2026-04-27 08:49:45 +02:00
Eitan Seri-Levi
0fe60af63a Add payload attestation validator duty 2026-04-27 08:48:06 +02:00
hopinheimer
2f98ca6d55 fmt 2026-04-27 01:57:44 -04:00
hopinheimer
aca9765ae7 fix genesis_block init in tests 2026-04-27 01:57:22 -04:00
hopinheimer
8d3bda0115 fmt 2026-04-27 01:15:12 -04:00
hopinheimer
c261d8687a Merge branch 'unstable' of github.com:sigp/lighthouse into gloas-ptc-gossip-verification 2026-04-27 01:06:03 -04:00
hopinheimer
774b6dca92 fetching from hot_state in case of liveness fault 2026-04-27 01:04:15 -04:00
Eitan Seri-Levi
80f1b4b521 merge conflicts 2026-04-26 20:05:49 +02:00
Shane K Moore
fae7941b2d Gloas ptc duties beacon node response (#8415)
Co-Authored-By: shane-moore <skm1790@gmail.com>

Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>

Co-Authored-By: Eitan Seri-Levi <eserilev@gmail.com>

Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
2026-04-26 15:25:00 +00:00
Eitan Seri-Levi
276c4d5ff3 Gloas set AttestationData.index (#9100)
For gloas `attestation.data.index` should be set to 1 if we are attesting to a block whose slot is not the attestation duty slot and slot payload_status is `FULL`


  


Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>

Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>

Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
2026-04-26 13:40:22 +00:00
hopinheimer
98fe0bbda5 merge with unstable 2026-04-25 17:57:30 -04:00
Eitan Seri-Levi
030146f560 Merge branch 'gloas-attestation-index' into glamsterdam-devnet-0 2026-04-25 23:29:49 +02:00
Eitan Seri-Levi
4a2a7e2a4e Merge branch 'gloas-parent-envelope-unknown-lookup' into glamsterdam-devnet-0 2026-04-25 15:31:55 +02:00
Eitan Seri-Levi
eadf7f2d30 Merge branch 'unstable' of https://github.com/sigp/lighthouse into gloas-default-to-available-envelope 2026-04-25 15:31:09 +02:00
Eitan Seri-Levi
269e474f49 Resolve merge conflicts 2026-04-25 17:14:57 +09:00
hopinheimer
df764ffa9a Re-issue ForkchoiceUpdate based on updated PayloadStatus (#9102)
Co-Authored-By: hopinheimer <knmanas6@gmail.com>

Co-Authored-By: Michael Sproul <michael@sigmaprime.io>

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
2026-04-25 08:04:09 +00:00
Eitan Seri-Levi
3f8621fd52 Disable early attester cache test for non same slot attestaitons psot gloas 2026-04-25 16:48:56 +09:00
Eitan Seri-Levi
9ef3799c36 Add same slot attestation logic to early attester cache 2026-04-25 16:34:17 +09:00
Eitan Seri-Levi
a7fc388a9a Fix early attester cache 2026-04-25 16:15:54 +09:00
Eitan Seri-Levi
5beddd17ce Fix tests 2026-04-25 15:52:11 +09:00
Eitan Seri-Levi
2e561a2a9f Handle historic attestations correctly 2026-04-25 15:44:33 +09:00
Eitan Seri-Levi
dacb8aeffe Small fix 2026-04-25 15:30:34 +09:00
Eitan Seri-Levi
7e16aadde5 Lint 2026-04-25 14:32:49 +09:00
Eitan Seri-Levi
1229abf5cf Fix test 2026-04-25 14:22:24 +09:00
Eitan Seri-Levi
b36219d83d Add canonicity check and tests 2026-04-25 14:08:55 +09:00
Eitan Seri-Levi
2a9948d042 Merge branch 'unstable' into gloas-attestation-index 2026-04-25 13:27:32 +09:00
Daniel Knopik
8a384ff445 Cell Dissemination (Partial messages) (#8314)
- https://github.com/ethereum/consensus-specs/pull/4558
- https://eips.ethereum.org/EIPS/eip-8136


  


Co-Authored-By: Daniel Knopik <daniel@dknopik.de>

Co-Authored-By: Pawan Dhananjay <pawandhananjay@gmail.com>

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-04-23 18:52:28 +00:00
Eitan Seri-Levi
82dc8b4edc Ensure payload envelope streamer always serves canonical envelopes after the split slot (#9085)
Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>

Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
2026-04-23 11:32:26 +00:00
Eitan Seri-Levi
ca59cf453e Merge conflicts' 2026-04-23 02:34:34 +09:00
Eitan Seri-Levi
755b8d8510 resolve merge conlfict 2026-04-23 02:15:26 +09:00
Eitan Seri-Levi
f2ce147f79 Update 2026-04-23 01:52:47 +09:00
Eitan Seri-Levi
29f6dfa460 Default envelope to always avail 2026-04-23 01:47:47 +09:00
Eitan Seri-Levi
cfc748309f At the fork transition ensure we build ontop of the correct parent block hash (#9160)
When producing a block at the fork, treat parent payload status as full

I've been testing on kurtosis and this fixes an issue where we cant propose a block at the fork.

This is a screenshot of the fix. The envelope shows missing because we are missing an SSE event, but the envelope is in fact being imported and the chain is progressing just fine
<img width="652" height="748" alt="image" src="https://github.com/user-attachments/assets/7764a68c-33fb-4987-a691-0af71f0bea02" />


  


Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
2026-04-22 15:43:17 +00:00
Michael Sproul
4de08f1b4a Remove more mentions of "pending"/"full" states (#9156)
Just a little naming cleanup (no semantic changes) to remove mentions of pending and full states that were still lurking.

This hopefully helps Claude forget about the concept (it defaults to naming variables `pending_state`s without this change).


  


Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-04-22 02:03:13 +00:00
Eitan Seri-Levi
7731b5f250 Gloas engine api updates (#9150)
Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
2026-04-21 07:36:22 +00:00
Michael Sproul
02c2841db0 Revert Gloas API changes from 9092 (#9151)
This reverts commit 2749e18d0e, from:

- #9092

We no longer need those changes since the abolition of pending/full states.


  


Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-04-21 07:23:07 +00:00
Michael Sproul
cf3d5e285e Gloas spec v1.7.0-alpha.5 and beacon_chain tests (#8998)
Fix database pruning post-Gloas


  - Fix DB pruning logic (and state summaries DAG)
- Get the `beacon_chain` tests running with `FORK_NAME=gloas` 🎉


Co-Authored-By: Michael Sproul <michael@sigmaprime.io>

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>

Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>

Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>

Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
2026-04-21 06:29:15 +00:00
hopinheimer
8e9627ce11 consolidate IGNORE cases and tests 2026-04-20 23:49:09 -04:00
Michael Sproul
c028bac28d Fix slasher OOM (#9141)
Fix a vulnerability in the slasher whereby it would OOM upon processing an invalid attestation with an artificially high `validator_index`. This fix has already been made available to affected users on the `slasher-fix` branch.


  - Prevent attestations from being passed to the slasher prior to signature verification. This was unnecessary, as they would later be passed on successful validation as well.
- Add a defensive cap on the maximum validator index processable by the slasher. The cap is high enough that it shouldn't be reached for several years, and will quickly result in warning logs if forgotten.
- Add a regression test that confirms that the issue is fixed.


Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-04-20 00:59:42 +00:00
hopinheimer
96feda027d invert BeaconChain dependency 2026-04-19 13:33:22 -04:00