Commit Graph

7549 Commits

Author SHA1 Message Date
Devnet Bot
eb36f0edc2 fix(focil): engine API interop fixes for Besu
- Force engine_newPayloadV6 for Heze blocks (Besu supports V6 but
  capability detection was falling through to broken V5 path)
- Pass parentHash to engine_getInclusionListV1 (was sending empty
  params, Besu/Lodestar expect the parent block hash)
2026-05-06 13:16:32 +00:00
Devnet Bot
0aa7e43e85 wip: early envelope reprocessing and is_heze_fork plumbing 2026-05-06 13:16:05 +00:00
Eitan Seri-Levi
6a9b013a26 Focil stuff 2026-05-04 13:40:12 +03:00
Eitan Seri-Levi
4caa4a1c55 gloas genesis fix 2026-05-01 13:19:01 +02:00
Eitan Seri-Levi
fa87ff23a9 fix payload v5 2026-05-01 10:31:07 +02:00
Jimmy Chen
cbd43d14b0 Merge branch 'unstable' into gloas-fix-genesis-part-deux 2026-05-01 09:49:51 +02:00
Sayan Mallick
5384ab8d67 Update CI: warp runnner to use snapshot and use warm (#9217)
Update the ci workflow to use warpbuild snapshot image and test suit uses `Swatinew/rust-cache` to utilize warpbuild cache


  


Co-Authored-By: lemon <snyxmk@gmail.com>
2026-05-01 00:05:17 +00:00
Josh King
c32b89c902 fix: tighten genesis block fallback to match empty body root only 2026-04-30 17:27:37 +02:00
Josh King
78f22be80c fix: fallback to empty genesis block for external genesis states 2026-04-30 17:12:28 +02:00
Josh King
989eb4dd80 fix: restore genesis_block bid population for ef-tests
The alpha-7 spec tests expect the Gloas genesis block body to contain
the execution payload bid from state. Restores the genesis_block()
function and body_root fixup that were removed in PR #9244.

The fork choice from_anchor fix (reading latest_block_hash when bid
hashes are zero) remains for Kurtosis/external genesis compatibility.
2026-04-30 17:12:27 +02:00
Eitan Seri-Levi
313e2d946c Fmt 2026-04-30 16:22:17 +02:00
Eitan Seri-Levi
e23e3ac794 fix il committee calc 2026-04-30 16:15:43 +02:00
Eitan Seri-Levi
e75eb4758c fix claude dummy 2026-04-30 16:08:10 +02:00
Eitan Seri-Levi
4e3a3c1d7e \engine_getInclusionListV1 fix 2026-04-30 15:40:00 +02:00
Eitan Seri-Levi
afdb61326e inclusion_list_due_bps 2026-04-30 15:36:06 +02:00
Eitan Seri-Levi
81102d5943 should_extend_payload uuse it 2026-04-30 15:33:58 +02:00
Eitan Seri-Levi
49fba11d8d is_inclusion_list_satisfied logic 2026-04-30 15:24:49 +02:00
Eitan Seri-Levi
c9c5a9e7ab should_extend_payload fix 2026-04-30 15:14:02 +02:00
Eitan Seri-Levi
2585096de6 FMT 2026-04-30 15:03:42 +02:00
Eitan Seri-Levi
79c855a1c4 linting 2026-04-30 15:02:35 +02:00
Eitan Seri-Levi
948da5e626 Domain 2026-04-30 14:14:35 +02:00
Eitan Seri-Levi
7918dc2a0d Constants 2026-04-30 13:49:26 +02:00
Eitan Seri-Levi
12d31dbfbf heze block prod 2026-04-30 13:10:11 +02:00
Eitan Seri-Levi
0fe75382da fmt 2026-04-30 13:05:30 +02:00
Eitan Seri-Levi
b4ac2eefda il inclusion list inclusive 2026-04-30 12:53:51 +02:00
hopinheimer
5360e76696 fix genesis_block init in tests 2026-04-30 12:52:17 +02:00
Josh King
0078b6be89 fix: gloas from genesis
- Fix forkchoice update sending zero-hash head to EL at genesis by reading
  latest_block_hash from state when the genesis bid hashes are all zeros
- Simplify genesis block construction — the genesis block body is empty per
  spec, remove the incorrect bid-copying logic and body root override in
  initialize_beacon_state_from_eth1
2026-04-30 12:52:01 +02:00
Eitan Seri-Levi
8559bf0e10 update il cache with is timely 2026-04-30 12:42:34 +02:00
Eitan Seri-Levi
f567674871 Fork choice changes 2026-04-30 12:03:59 +02:00
Eitan Seri-Levi
9a5feb67c6 Engine api changes 2026-04-30 11:51:23 +02:00
Eitan Seri-Levi
effcd08223 Gloas proposer preferences alpha 7 (#9239)
We yolo'd to alpha 7. We're just changing the proposer preference to include dependent root, instead of checkpoint root. This way we can actually construct it within the VC without needing a view of fork choice.


  


Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
2026-04-30 09:36:45 +00:00
Eitan Seri-Levi
4d97dd774d Clean up 2026-04-30 11:34:50 +02:00
Eitan Seri-Levi
71fb4c7346 Add new field 2026-04-30 11:20:50 +02:00
Michael Sproul
8bb14d6f3d Gloas HTTP API tests passing (#9154)
Get the Gloas HTTP API tests passing, partly through fixes and partly through disabling tests that don't fit the Gloas paradigm.


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

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

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

Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-04-30 08:15:26 +00:00
Eitan Seri-Levi
87dee4bd23 Merge branch 'unstable' of https://github.com/sigp/lighthouse into electra-focil-branch 2026-04-30 10:05:37 +02:00
Eitan Seri-Levi
5d40dd6196 Merge remote-tracking branch, resolve conflicts preserving FOCIL/Heze logic
- test_utils: Heze branch uses DataColumnSidecarGloas (shared format), keeps
  heze_enabled() check ahead of gloas_enabled() so Heze blocks are handled first
- genesis.rs: Keep both Gloas and Heze bid initialisation in genesis_block()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-30 10:04:04 +02:00
Eitan Seri-Levi
027fdc1a68 Merge conflicts 2026-04-30 09:48:04 +02:00
Eitan Seri-Levi
af196a5558 Merge conflicts 2026-04-30 09:27:49 +02:00
Eitan Seri-Levi
c57a49b3af Heze fork 2026-04-30 09:23:00 +02:00
Eitan Seri-Levi
728356ad03 Submit ptc votes that we produce to the ptc op pool (#9231)
We are not submitting ptc votes that we produce to our lcoal ptc op pool. So when we are the block producer we don't include our own ptc votes!


  


Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
2026-04-30 06:43:14 +00:00
chonghe
8d77b1c08d Remove test_logger feature (#9125)
- #9107


  Remove all instances of `test_logger` in the code


Co-Authored-By: Tan Chee Keong <tanck@sigmaprime.io>
2026-04-30 04:57:47 +00:00
Eitan Seri-Levi
bab71429f8 resolve merge conflicts 2026-04-30 01:51:26 +02:00
Eitan Seri-Levi
a2dcd2d6de fix 2026-04-29 22:38:13 +02:00
Jimmy Chen
04b2589807 Import execution payload envelope locally during HTTP API publication (#9226)
Fixes a bug where a proposer votes payload missing on its own block.

The payload is published to the network but never imported locally. This PR adds gossip verification and import when a payload is sent to the http API


  


Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-04-29 15:43:30 +00:00
Eitan Seri-Levi
a3c91f6ecb FMT 2026-04-29 17:22:13 +02:00
Michael Sproul
f406e9c3fb Update proposer boost calculation (#9215)
Closes:

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


  - Calculate the proposer index on the canonical chain (from canonical head) at `slot` and plumb it through to fork choice so it can be used to determine whether or not to apply the proposer boost. We use the proposer cache to handle state advances and avoid duplicate work.
- Update our FC tests to use `block.message().proposer_index()` (always pass), we are not attempting to test this feature in those tests. The EF tests use the correct canonical proposer idnex via `on_block`, except for invalid blocks which just auto-pass this check (these blocks get rejected by other checks in `on_block` anyway).


Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-04-29 12:19:44 +00:00
Lion - dapplion
0e427ab77b Add Gloas bid inclusion (#9221)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
2026-04-29 12:02:12 +00:00
jking-aus
16132a3694 Spec v1.7.0-alpha.6 and Gloas genesis (#9190)
Co-Authored-By: Josh King <josh@sigmaprime.io>

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

Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
2026-04-29 08:23:24 +00:00
Eitan Seri-Levi
e8c865dcc6 Gossip reprocessed payload envelopes that are timely (#9210)
Payloads from the reprocess queue should be gossiped after import if they are still timely. In devnets this happens frequently since there are many cases where the envelope arrives before the block


  


Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu>
2026-04-28 21:50:07 +00:00
Eitan Seri-Levi
6258eadc91 Gloas publish data columns during local block building (#9182)
Make sure we are publishing columns during local block production


  


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

Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
2026-04-28 13:19:47 +00:00