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
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
a12969a4d2
Clean up
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
Eitan Seri-Levi
a42444de4e
Merge branch 'gloas-walk-always' into epbs-devnet-1
2026-04-04 01:18:38 +09: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
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
Eitan Seri- Levi
a5bdd0c597
Smol revert
2026-04-01 00:59:00 -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
Eitan Seri- Levi
dc5489d20c
Merge branch 'gloas-walk-always' of https://github.com/sigp/lighthouse into gloas-fork-choice-fixes
2026-03-31 23:53:09 -07:00
Eitan Seri- Levi
39f07106af
revert
2026-03-31 23:53:06 -07:00
Michael Sproul
f5b2445d09
Remove stupid GLOAS comments
2026-04-01 16:46:02 +11:00
Michael Sproul
ddff03d26f
Store parent_payload_hash in ProtoNode
2026-04-01 16:42:49 +11:00
Pawan Dhananjay
08c5ec44d8
Fix fork choice bug
2026-03-31 22:39:22 -07:00
Michael Sproul
3cf19e724f
Fix Gloas check in on_block
2026-04-01 15:47:10 +11:00
Michael Sproul
ab023a7231
Fix the VoteTrackerV28 definition
2026-04-01 14:54:18 +11:00
Michael Sproul
4e44cec249
Fix markdown lint
2026-04-01 13:45:19 +11:00
Michael Sproul
edae39cc29
Fix fork transition case
2026-04-01 13:29:48 +11:00
Michael Sproul
afb1f0ae2d
Fix VoteTracker decoding
2026-04-01 12:50:55 +11:00
Michael Sproul
9ef73d0af0
Add new cross-boundary test
2026-04-01 12:25:22 +11:00
Michael Sproul
ad0f3cf89b
Use None for post-Gloas payload hashes pre-Gloas
2026-04-01 12:10:11 +11:00
Michael Sproul
f6f9eae4ef
More cleanup
2026-04-01 12:04:32 +11:00
Michael Sproul
51e78fd157
Fix queued attestation decoding from disk
2026-04-01 11:51:03 +11:00
Michael Sproul
4684d972e0
Remove TOCTOU early return
2026-04-01 11:31:51 +11:00
Michael Sproul
bc6cf0f882
Remove payload attestation queueing and more cleanups
2026-04-01 11:17:33 +11:00
Michael Sproul
1ee2ce4258
Fix schema migrations
2026-04-01 10:38:03 +11:00
dapplion
993cecee83
Clear best_child/best_descendant during V28->V29 conversion
2026-03-31 15:22:31 -05:00