Commit Graph

7552 Commits

Author SHA1 Message Date
Eitan Seri- Levi
4e8415f3dc Enable optimistic sync and change rate limitis 2026-04-06 00:50:04 -07:00
Eitan Seri- Levi
f7cf8fca8d Temp fixes 2026-04-06 00:16:02 -07:00
Eitan Seri- Levi
c8f69b5a73 Temp dart throws 2026-04-05 02:15:57 -07:00
Eitan Seri- Levi
0d36ee0fbe testing 2026-04-05 01:01:27 -07:00
Eitan Seri- Levi
286b4dc867 Resolve merge conflicts 2026-04-04 23:02:58 -07:00
Eitan Seri- Levi
81262adb6e Resolve merge conflicts 2026-04-04 22:53:13 -07:00
Eitan Seri- Levi
2002651cd6 merge conflicts 2026-04-04 22:38:34 -07:00
Eitan Seri- Levi
6419e609c2 Merge branch 'epbs-devnet-1' of https://github.com/sigp/lighthouse into epbs-devnet-1 2026-04-04 22:36:51 -07:00
Eitan Seri- Levi
818a83e658 Resolve merge confclits from unstable 2026-04-04 22:36:06 -07:00
Lion - dapplion
7559dd2809 Use spec constants for PTC thresholds in fork choice (#9088)
Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
2026-04-04 22:36:26 +00:00
Eitan Seri- Levi
9c825cf2e1 Fmt 2026-04-04 01:19:02 -07:00
Eitan Seri- Levi
a12969a4d2 Clean up 2026-04-04 01:06:42 -07:00
Eitan Seri- Levi
9306767d1a add test 2026-04-04 01:06:42 -07:00
Eitan Seri- Levi
5472c300dc Relax requirements that a checkpoint state must be epoch aligned post-gloas 2026-04-04 01:06:42 -07:00
Jimmy Chen
27af0ed82c Add test for protocol registration completeness (#8920)
Co-Authored-By: Jimmy Chen <jchen.tc@gmail.com>
2026-04-03 16:35:08 +00:00
Eitan Seri-Levi
a42444de4e Merge branch 'gloas-walk-always' into epbs-devnet-1 2026-04-04 01:18:38 +09:00
Eitan Seri- Levi
e7dd95131d Resolve merge conflicts 2026-04-03 01:40:40 -07:00
Michael Sproul
65c2e01612 Gloas fork choice redux (#9025)
Co-Authored-By: hopinheimer <knmanas6@gmail.com>

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

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

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

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

Co-Authored-By: Michael Sproul <michaelsproul@users.noreply.github.com>

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

Co-Authored-By: Daniel Knopik <107140945+dknopik@users.noreply.github.com>
2026-04-03 08:35:02 +00:00
Eitan Seri- Levi
b333841229 update 2026-04-03 01:04:34 -07:00
Eitan Seri- Levi
f897215684 refactor awaiting_parent field and some metrics 2026-04-03 01:02:57 -07:00
Eitan Seri- Levi
214e3ce9f0 Cleanup 2026-04-03 00:02:24 -07:00
Eitan Seri- Levi
1cd4d57204 Fixes 2026-04-02 19:37:51 -07:00
Eitan Seri- Levi
3523804515 cleanup 2026-04-02 19:30:12 -07:00
Eitan Seri- Levi
86ddd0d88d Add EnvelopeRequestState logic 2026-04-02 19:09:56 -07:00
Eitan Seri-Levi
93cfa0ffdb Merge branch 'unstable' into gloas-parent-envelope-unknown-lookup 2026-04-02 21:43:18 +09:00
Michael Sproul
68f18efbe5 Fix minimal spec 2026-04-02 19:24:29 +11:00
dapplion
6763862e0f Add attestation_due_bps_gloas and payload_attestation_due_bps to ChainSpec
Spec: `get_attestation_due_ms(epoch)` uses ATTESTATION_DUE_BPS_GLOAS
(2500) for Gloas epochs vs ATTESTATION_DUE_BPS (3333) pre-Gloas.
`get_payload_attestation_due_ms` uses PAYLOAD_ATTESTATION_DUE_BPS (7500).

- Add both BPS fields to ChainSpec with derived Duration values
- Add `get_attestation_due::<E>(slot)` that returns epoch-appropriate
  threshold matching the spec
- Add `get_payload_attestation_due()` matching the spec
- Use them in proto_array record_block_timeliness instead of hardcoded
  values
2026-04-02 01:23:18 -05:00
dapplion
9db37b8bd3 Document is_head_weak spec divergence and impact 2026-04-02 00:50:46 -05:00
Michael Sproul
a1296fc0c7 Fix block_timeliness_ptc_threshold hardcoded constants 2026-04-02 16:38:40 +11:00
Michael Sproul
f5413c6e97 Remove useless let _ 2026-04-02 15:42:57 +11:00
Michael Sproul
6df55970aa Simplify find_head_walk 2026-04-02 14:24:37 +11:00
Michael Sproul
eceedaf7b6 Revert parent->child optimisation AGAIN 2026-04-02 14:10:27 +11:00
Michael Sproul
7570fd1555 Remove comment 2026-04-02 14:10:11 +11:00
Michael Sproul
5284486af0 Break out of invalidation loop on Gloas block 2026-04-02 13:55:29 +11:00
Michael Sproul
85934b4d5f Remove some noisy TODOs 2026-04-02 13:52:21 +11:00
Michael Sproul
6cc65848da Remove dead code 2026-04-02 13:35:51 +11:00
Michael Sproul
d7f67dae21 Remove incorrect comment 2026-04-02 13:27:43 +11:00
Michael Sproul
727535bcc9 Remove spurious payload attestation condition 2026-04-02 11:50:16 +11:00
Michael Sproul
cc7e727f90 Tidy latest_message 2026-04-02 11:46:34 +11:00
Michael Sproul
bc7864b076 Split out InvalidPayloadAttestation error 2026-04-02 11:44:02 +11:00
Michael Sproul
69d7250971 Tidy up payload attestation verification 2026-04-02 11:27:55 +11:00
Michael Sproul
958c8cad39 Rename fork choice test def for clarity 2026-04-02 11:05:33 +11:00
Michael Sproul
1c5a7bed74 Clarify name of on_valid_payload_envelope_received 2026-04-02 10:56:34 +11:00
Michael Sproul
5f8605f67e Disable optimistic sync for Gloas 2026-04-02 10:40:23 +11:00
Eitan Seri- Levi
a5bdd0c597 Smol revert 2026-04-01 00:59:00 -07:00
Eitan Seri- Levi
2660856dc8 Merge branch 'gloas-fork-choice-fixes' into epbs-devnet-1 2026-04-01 00:35:27 -07:00
Eitan Seri- Levi
d978e3dabe revbert 2026-04-01 00:35:14 -07:00
Eitan Seri- Levi
12e6595b32 revcert 2026-04-01 00:02:11 -07:00
Michael Sproul
5aae563d84 Remove proposer boost weight during upgrade 2026-04-01 17:59:45 +11:00
Eitan Seri- Levi
f6baea4b08 revert 2026-03-31 23:55:42 -07:00