Commit Graph

7550 Commits

Author SHA1 Message Date
Eitan Seri- Levi
c606ba306b Merge branch 'unstable' of https://github.com/sigp/lighthouse into gloas-data-availability-checker 2026-02-04 11:05:19 -08:00
Michael Sproul
7df2972d41 Run all ssz_static tests for Gloas (#8755)
- Ensure all ssz_static tests are running and passing for Gloas 🎉
- Refine file ignores for Gloas EF tests


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

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-02-04 09:15:38 +00:00
Eitan Seri- Levi
b5b5b0c654 Rename 2026-02-03 22:17:52 -08:00
Eitan Seri- Levi
2abb5f122a fmt 2026-02-03 22:08:32 -08:00
Eitan Seri- Levi
16611452c5 Clean up 2026-02-03 22:07:49 -08:00
Eitan Seri- Levi
0a111f51af Resolve merge conflicts 2026-02-03 21:27:18 -08:00
Pawan Dhananjay
e50bab098e Remove state lru cache (#8724)
N/A


  In https://github.com/sigp/lighthouse/pull/4801 , we added a state lru cache to avoid having too many states in memory which was a concern with 200mb+ states pre tree-states.
With https://github.com/sigp/lighthouse/pull/5891 , we made the overflow cache a simpler in memory lru cache that can only hold 32 pending states at the most and doesn't flush anything to disk. As noted in #5891, we can always fetch older blocks which never became available over rpc if they become available later.

Since we merged tree states, I don't think the state lru cache is relevant anymore. Instead of having the `DietAvailabilityPendingExecutedBlock` that stores only the state root, we can just store the full state in the `AvailabilityPendingExecutedBlock`.
Given entries in the cache can span max 1 epoch (cache size is 32), the underlying `BeaconState` objects in the cache share most of their memory. The state_lru_cache is one level of indirection that doesn't give us any benefit.
Please check me on this cc @dapplion


Co-Authored-By: Pawan Dhananjay <pawandhananjay@gmail.com>
2026-02-04 04:55:53 +00:00
Jimmy Chen
1dd0f7bcbb Remove kzg_commitments from DataColumnSidecarGloas (#8739)
Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>

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

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

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
2026-02-04 03:37:05 +00:00
Eitan Seri-Levi
39727aa406 Move KZG commitments from payload envelope to payload bid and spec alpha.2 (#8725)
Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>

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

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

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
2026-02-04 02:52:40 +00:00
hopinheimer
819dae3d94 fix bootnode entry (#8748) 2026-02-04 12:49:56 +11:00
hopinheimer
bd1966353a Use events API to eager send attestations (#7892)
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: Michael Sproul <michael@sigmaprime.io>

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
2026-02-04 01:40:16 +00:00
Michael Sproul
90a593aaea Merge remote-tracking branch 'origin/release-v8.1' into unstable 2026-02-04 12:12:06 +11:00
Jimmy Chen
c25a975929 Bump bytes to 1.11.1 to fix RUSTSEC-2026-0007 (#8743) 2026-02-04 12:09:05 +11:00
Michael Sproul
d42327bb86 Implement Gloas withdrawals and refactor (#8692)
Co-Authored-By: Michael Sproul <michael@sigmaprime.io>

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>
2026-02-03 07:36:20 +00:00
Eitan Seri-Levi
ed7354d460 Payload envelope db operations (#8717)
Adds support for payload envelopes in the db. This is the minimum we'll need to store and fetch payloads.


  


Co-Authored-By: Eitan Seri- Levi <eserilev@gmail.com>
2026-02-03 05:46:10 +00:00
Michael Sproul
99e957ad35 Merge remote-tracking branch 'origin/stable' into unstable 2026-02-03 10:47:12 +11:00
Michael Sproul
940fa81a5b Fast path for /eth/v1/beacon/blocks/head/root (#8729)
Closes:

- https://github.com/sigp/lighthouse/issues/8667


  Use the `early_attester_cache` to serve the head block root (if present). This should be faster than waiting for the head to finish importing.


Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-02-02 06:41:43 +00:00
Eitan Seri-Levi
3ecf964385 Replace INTERVALS_PER_SLOT with explicit slot component times (#7944)
https://github.com/ethereum/consensus-specs/pull/4476


  


Co-Authored-By: Barnabas Busa <barnabas.busa@ethereum.org>

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>

Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-02-02 05:58:42 +00:00
Eitan Seri- Levi
dae45294b6 Merge branch 'gloas-move-commitments-to-bid' into gloas-data-availability-checker 2026-01-30 14:37:30 -08:00
Eitan Seri- Levi
047599aac9 Fix CI 2026-01-30 14:36:56 -08:00
Eitan Seri- Levi
63e1e26ea3 Cache the bid instead of the block 2026-01-30 14:10:28 -08:00
Eitan Seri- Levi
4e04399e21 Use module level imports 2026-01-30 11:21:47 -08:00
Eitan Seri- Levi
479fa3ff6a Remove unused error type 2026-01-30 11:19:25 -08:00
Eitan Seri- Levi
fadf12e79e Merge branch 'gloas-move-commitments-to-bid' into gloas-data-availability-checker 2026-01-30 11:13:56 -08:00
Eitan Seri- Levi
e1439e61e0 Use module level imports 2026-01-30 11:08:11 -08:00
Eitan Seri- Levi
78c61a0621 DA cache updated 2026-01-30 10:59:43 -08:00
Eitan Seri- Levi
d047ace41f new da checker doesn't need payloads 2026-01-30 09:24:41 -08:00
Eitan Seri- Levi
ec892bd36d Merge branch 'gloas-move-commitments-to-bid' into gloas-data-availability-checker 2026-01-29 21:24:11 -08:00
Eitan Seri- Levi
dee394cf0f Lint fixes 2026-01-29 21:23:21 -08:00
Eitan Seri- Levi
0b92379532 Remove state LRU cache for da checker v2 2026-01-29 21:11:59 -08:00
Eitan Seri- Levi
4e00426c4b Test only execute for glosa 2026-01-29 13:40:41 -08:00
Eitan Seri- Levi
72f0a7b9c1 move commitments to bid 2026-01-29 12:59:52 -08:00
Eitan Seri- Levi
d122561444 Test fixes 2026-01-29 12:37:36 -08:00
Eitan Seri- Levi
1098f5d071 Merge branch 'unstable' of https://github.com/sigp/lighthouse into gloas-data-availability-checker 2026-01-29 11:35:53 -08:00
Eitan Seri- Levi
6ea966846c Some test fixes 2026-01-29 11:02:55 -08:00
Jimmy Chen
cd8049a696 Emit NewHead SSE event earlier in block import (#8718)
Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-01-29 07:39:05 +00:00
chonghe
119dc565a1 Call beacon_committee_selections only once per epoch (#8699)
* #8381


  Add another if in the if/else branch for selections_endpoint case, and leaving the current code for non-selections_endpoint case mostly untouched. Now the if/else branch in `fill_in_selection_proofs` has 3 branches:
- 1 for DVT with selections_endpoint (added in this PR)
- 1 for DVT without selections_endpoint (Anchor) (untouched)
- Non-DVT (untouched)

Tested and it's working, also thanks very much to @KaloyanTanev for helping to test and confirmed that the calling has reduced and aggregated attestations are still working


Co-Authored-By: Tan Chee Keong <tanck@sigmaprime.io>
2026-01-29 06:44:17 +00:00
Mac L
bbb074692c Disable sqlite by default (#8708)
Compiling types with the `sqlite` feature more than doubles the total compile time. Most downstream users don't need `sqlite` compatibility for `Slot` and `Epoch` types.


  Disable the `sqlite` feature by default.


Co-Authored-By: Mac L <mjladson@pm.me>
2026-01-29 06:30:22 +00:00
Eitan Seri- Levi
534e3c7976 Merge remote-tracking branch 'origin/payload-envelope-db' into gloas-data-availability-checker 2026-01-28 20:33:42 -08:00
Eitan Seri- Levi
bb9bfafa4c fix 2026-01-28 20:33:04 -08:00
Eitan Seri- Levi
b10af224d4 Fix 2026-01-28 18:31:47 -08:00
Eitan Seri- Levi
c26ad962bf small fixes 2026-01-28 18:30:46 -08:00
Eitan Seri- Levi
3df2cf8f7e Add db boilerplate for payload envelope 2026-01-28 18:26:56 -08:00
Eitan Seri- Levi
e9f9ad6c45 Small rename 2026-01-28 16:46:25 -08:00
Eitan Seri- Levi
de0d604243 Merge branch 'unstable' of https://github.com/sigp/lighthouse into gloas-data-availability-checker 2026-01-28 16:44:14 -08:00
Eitan Seri-Levi
b202e98dd9 Gloas gossip boilerplate (#8700)
All the required boilerplate for gloas gossip. We'll include the gossip message processing logic in a separate PR


  


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

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-01-28 07:12:48 +00:00
Eitan Seri- Levi
aba7d45fd5 Resolve merge conflicts 2026-01-27 22:49:08 -08:00
Eitan Seri- Levi
4a9aaa2b46 Resolve merge conflicts 2026-01-27 22:46:46 -08:00
Eitan Seri-Levi
f7b5c7ee3f Convert RpcBlock to an enum that indicates availability (#8424)
Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>

Co-Authored-By: Mark Mackey <mark@sigmaprime.io>

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

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-01-28 05:59:32 +00:00
Jimmy Chen
c4409cdf28 Remove unused anvil references (#8710)
AFAICT `anvil` is not used anywhere in the codebase. Lighthouse has its own `MockExecutionLayer` for testing. This PR remove `anvil` installations and references in developer documentation.


  


Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-01-28 05:21:01 +00:00