Commit Graph

3920 Commits

Author SHA1 Message Date
Eitan Seri-Levi
36b70dad2b Merge branch 'gloas-range-sync-fix' into glamsterdam-devnet-6 2026-06-25 17:30:37 +03:00
Eitan Seri-Levi
9f65973b1b Merge branch 'unstable' of https://github.com/sigp/lighthouse into gloas-range-sync-fix 2026-06-25 16:12:38 +03:00
Eitan Seri-Levi
9494c0e5b5 Resolve merge conflicts 2026-06-25 14:59:08 +03:00
ethDreamer
a4c4cccf04 Refactor Custody Context Availability Checks (#9515)
Co-Authored-By: Mark Mackey <mark@sigmaprime.io>
2026-06-25 02:53:43 +00:00
Michael Sproul
af90f6a496 Remove redundant is_gloas checks in reorg tests (#9529)
Remove some `is_gloas` checks that are unnecessary in the `gloas_reorg_tests.rs`.

I found myself wanting to make this change while tweaking these tests in another PR. Figured it makes sense as a simple standalone PR.


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

Co-Authored-By: hopinheimer <48147533+hopinheimer@users.noreply.github.com>
2026-06-25 01:15:13 +00:00
Lion - dapplion
dba5a8e268 Fix peerless lookup getting stuck while awaiting download (#9516)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>

Co-Authored-By: Pawan Dhananjay <pawandhananjay@gmail.com>
2026-06-24 17:28:25 +00:00
Lion - dapplion
5e54cfbf86 Remove seen_timestamp tracking from sync (#9454)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>

Co-Authored-By: Pawan Dhananjay <pawandhananjay@gmail.com>
2026-06-23 18:29:39 +00:00
Eitan Seri-Levi
ff927ff609 Merge remote-tracking branch 'origin/gloas-head-block-number' into glamsterdam-devnet-6 2026-06-23 15:11:20 +03:00
Eitan Seri-Levi
c4c6252a29 Merge branch 'alpha-spec-11' into glamsterdam-devnet-6 2026-06-23 15:10:35 +03:00
Eitan Seri-Levi
bb57e02803 Remove comment 2026-06-23 15:09:40 +03:00
Eitan Seri-Levi
caabd0c771 Fix json_strucutres for gloas variant and add tests 2026-06-23 13:25:53 +03:00
Eitan Seri-Levi
1960447cd7 Merge branch 'alpha-spec-11' into glamsterdam-devnet-6 2026-06-23 12:15:09 +03:00
Eitan Seri-Levi
524c82a295 Clean up useless fn 2026-06-23 12:14:05 +03:00
Eitan Seri-Levi
e8287758d5 Revert comment removal 2026-06-23 11:40:50 +03:00
Eitan Seri-Levi
d685ba1e4a Fix execution payload request block prod code path 2026-06-23 11:38:35 +03:00
Michael Sproul
84407b3033 Update payload verif tests with correct prev_randao 2026-06-23 12:17:46 +10:00
Michael Sproul
245496b30a Merge remote-tracking branch 'origin/unstable' into alpha-spec-11 2026-06-23 10:58:17 +10:00
Lion - dapplion
e7c027cfa8 Run Gloas sync tests instead of skipping them (#9446)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>

Co-Authored-By: Pawan Dhananjay <pawandhananjay@gmail.com>
2026-06-23 00:21:25 +00:00
Pawan Dhananjay
8121189c91 Reduce diff 2026-06-22 15:51:56 -07:00
Pawan Dhananjay
e1c1f07137 Cleanup signature_verify_chain_segment 2026-06-22 15:48:20 -07:00
Pawan Dhananjay
8f23b587df Add tests 2026-06-22 15:45:04 -07:00
Pawan Dhananjay
20c909c027 Get it working without check_payload_relevency 2026-06-22 15:44:57 -07:00
Eitan Seri-Levi
08adaea4fb Merge remote-tracking branch 'origin/gloas-fix-proposer-pref-gossip-verification' into glamsterdam-devnet-6 2026-06-22 15:37:53 +03:00
Eitan Seri-Levi
8dd3d00480 Merge branch 'gloas-fix-proposer-pref-gossip-verification' into glamsterdam-devnet-6 2026-06-22 14:55:04 +03:00
Eitan Seri-Levi
ccf0fb9078 lint fixes 2026-06-22 14:09:29 +03:00
Eitan Seri-Levi
f4e9426a0c Merge branch 'unstable' of https://github.com/sigp/lighthouse into unstable 2026-06-22 12:55:45 +03:00
Eitan Seri-Levi
edf34c5575 Builder deposit requests 2026-06-22 12:55:40 +03:00
Lion - dapplion
b05badb5f2 Gate sync peer selection on per-protocol concurrent-request limit (#9456)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
2026-06-21 16:34:29 +00:00
Eitan Seri-Levi
affdfb0d13 Payload builder version 2026-06-21 17:57:16 +03:00
Eitan Seri-Levi
be705c8409 should_extend_payload and gossip bid verification changes 2026-06-21 17:29:59 +03:00
Eitan Seri-Levi
10568b139b Add proposer preferences SSE event (#9308)
This is needed to connect to buildoor (Kurtosis package, acts as a trustless builder)


  


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

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

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
2026-06-20 19:41:34 +00:00
Pawan Dhananjay
94587753a2 Special cases checkpoint envelope processing 2026-06-19 15:43:23 -07:00
Daniel Knopik
560f90611e Fix and improve handling of empty columns after getBlobs response (#9361)
This PR fixes two issues:

1. This condition is inverted: dfb259171a/beacon_node/network/src/network_beacon_processor/gossip_methods.rs (L1507-L1508)
We are supposed to filter out incomplete columns when we DON'T have local blobs yet!
2. When the EL returns no blobs, we never store a partial in the assembler, and this code fails to publish our need to the network, as no partials are returned: dfb259171a/beacon_node/network/src/network_beacon_processor/mod.rs (L1038-L1050)


  The simple fix for 1 would be to invert the condition, but we can improve the flow here: Instead of not publishing anything, we can publish what we got, but not request anything. This ties into the fix for 2: After get blobs completes, we not only publish anything in the partial assembler, but also for every missing custody column in there, publish an empty column and a request for all cells.

In particular:
- When sending a partial message to `network`, allow specifying a request bitmap instead of hardcoding an all-ones bitmap.
- For clarity and to prepare for Gloas integration, add a `PubsubPartialMessage` enum with a `DataColumnFulu` variant.
- On republishing after merging a gossip column: always publish, but only request cells if local blobs are known or get blobs is disabled. This also prepares us to request only *some* cells, e.g. in cases where we are aware of the blobs that the EL is going to send us, e.g. via `engine_hasBlobs`.
- Move guards in `fetch_engine_blobs_and_publish` to ensure everything works fine if there are no blobs or if get_blobs is disabled.


Co-Authored-By: Daniel Knopik <daniel@dknopik.de>
2026-06-19 00:50:24 +00:00
hopinheimer
ddfc265123 Enable late re-org and re-org interactive tests (#9405)
https://github.com/sigp/lighthouse/issues/8959

WIP still working on adding more re-org tests and refactoring existing.


  


Co-Authored-By: hopinheimer <knmanas6@gmail.com>

Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-06-18 08:57:13 +00:00
Eitan Seri-Levi
69cb097ca8 Resolve merge conflicts 2026-06-17 16:55:37 +03:00
Michael Sproul
716528f44e Correct unrealized justification for blocks with slashings (#9471)
Fix a bug in fork choice whereby the unrealized justified and finalized checkpoints from a parent block would be incorrectly carried over to a child block in the same epoch. The documented optimisation in `fork_choice.rs` was wrong because it failed to account for slashings.

This bug is not considered to be sensitive due to the difficulty of triggering it, and the low payoff for doing so (fleeting divergence).


  Keep the optimisation, updating it to correctly skip reusing the parent checkpoints when slashings are present.

A more minimal alternative would be to scrap the optimisation altogether (always compute the checkpoints), however this would come with a minor performance downside. I think the updated optimisation is simple enough to be worth retaining.

There are 3 regression tests added which confirm the correct behaviour. Temporarily setting `has_slashings` to `false` causes all 3 tests to fail.


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

Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
2026-06-17 13:40:07 +00:00
Lion - dapplion
a46620155b Gloas attestation payload reprocess (#9440)
Handle payload-present attestations before the payload is seen (gloas)

A gloas beacon_attestation with index == 1 claims a past block's payload is already present. If we haven't seen that block's payload envelope yet, we shouldn't reject it the envelope may just be in flight.

So instead we IGNORE it (new AttnError::UnknownPayloadEnvelope), ask sync to fetch the envelope, and park the attestation in the reprocess queue. When the envelope is imported, the parked attestations are released and  re-verified.

The envelope lookup itself is stubbed here and wired up in #9155 or a follow up PR


  


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

Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
2026-06-17 12:44:21 +00:00
Eitan Seri-Levi
7f827fbc81 revert 2026-06-17 14:24:36 +03:00
Eitan Seri-Levi
c00dff7b7d Fix 2026-06-17 14:21:09 +03:00
Vansh Sahay
eb0da57044 fix(http_api): ignore committee_index in attestation data endpoint (#9437)
Co-Authored-By: Vansh Sahay <vansh.sahay1234@gmail.com>

Co-Authored-By: chonghe <44791194+chong-he@users.noreply.github.com>
2026-06-17 01:16:09 +00:00
Daniel Knopik
e8472b9d77 Remove --disable-partial-columns in favour of bool argument to --enable... (#9478)
Similar to https://github.com/sigp/lighthouse/pull/9476, partial columns is a feature expected to become the default soon, so instead of introducing a CLI option that will be removed again soon, consolidate into `--enable-partial-columns` which now takes a boolean argument.


Co-Authored-By: Daniel Knopik <daniel@dknopik.de>
2026-06-17 00:45:30 +00:00
Daniel Knopik
9de2e9e6e1 Make single block lookup respect earliest_available_slot for column requests (#9447)
Single block lookups do not respect the `earliest_available_slot` peers sent. This causes us to potentially request columns from peers that do not custody columns yet (but will soon).


  Pass down the block's slot and only consider peers where `earliest_available_slot <= block_slot` for custody column requests.


Co-Authored-By: Daniel Knopik <daniel@dknopik.de>
2026-06-16 23:54:00 +00:00
Mac L
e0ff3b5709 Use hashlink over lru for LruCache (#8911)
Use the `LruCache` implementation provided by `hashlink` instead of the current `lru` one.
This is mostly a 1-to-1 swap with only slight API incompatibilities.
I have decided to leave some config files which previously used `NonZeroUsize` but they may not be required anymore and could potentially switch to `usize`.


Co-Authored-By: Mac L <mjladson@pm.me>
2026-06-16 06:54:11 +00:00
Daniel Knopik
41dff2d965 Enable mplex by default and change --enable-mplex to take bool (#9476)
Enable Mplex by default, and let `--enable-mplex` take a bool argument.


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

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

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
2026-06-16 06:53:25 +00:00
Eitan Seri-Levi
58e35bc96f Gloas alpha spec 9 (#9393)
Changes implemented

Ensure bids are for a higher slot than their parent (https://github.com/ethereum/consensus-specs/pull/5302)
Ignore PTC attestations for empty assigned slots (https://github.com/ethereum/consensus-specs/pull/5281)
Limit should_build_on_full checks to the previous slot (https://github.com/ethereum/consensus-specs/pull/5309)
Apply proposer boost if dependent roots match (https://github.com/ethereum/consensus-specs/pull/5306)
Exclude slashed validators from proposing (EIP-8045) (https://github.com/ethereum/consensus-specs/pull/5115)
Force the proposer to reorg late payloads (https://github.com/ethereum/consensus-specs/pull/5210)
Remove support for old deposit mechanism in Fulu (https://github.com/ethereum/consensus-specs/pull/4704)


  


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

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

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

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

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
2026-06-15 23:56:09 +00:00
Eitan Seri-Levi
696ca8dcc0 Add tests 2026-06-15 15:32:22 +03:00
Eitan Seri-Levi
3dd6be37b0 Clean up 2026-06-15 14:25:27 +03:00
Eitan Seri-Levi
180aee1fdc Allow for reimporting block+envelope in certain cases 2026-06-15 13:21:01 +03:00
chonghe
d8e406b6ac Append client version info to user graffiti by default (#9313)
Closes issue #9287


  


Co-Authored-By: Tan Chee Keong <tanck@sigmaprime.io>

Co-Authored-By: chonghe <44791194+chong-he@users.noreply.github.com>

Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-06-15 06:03:13 +00:00
hopinheimer
227a7c976f deprecate disallowed-offsets config for re-orgs (#9449)
https://github.com/ethereum/consensus-specs/pull/5348. As per discussions in issue we no longer need to support `disallowed-offsets` for pre-Fulu forks.


  


Co-Authored-By: hopinheimer <knmanas6@gmail.com>
2026-06-14 03:02:48 +00:00