Skip to content

Conversation

@radik878
Copy link

@radik878 radik878 commented Nov 6, 2025

Problem: processIncludedAttestation() gated timely-flag handling by state.Version() == version.Altair, which disables processing on all forks after Altair (Bellatrix, Capella, Deneb, Electra, Fulu). This causes missing timely flag updates and metrics beyond Altair despite participation bits and flag indices existing in later forks.

Fix: Change the gate to state.Version() >= version.Altair so the logic runs on all post-Altair versions.

Tests: Added TestProcessIncludedAttestation_Bellatrix to ensure timely flags are processed in Bellatrix using a deterministic Bellatrix genesis and participation bits; asserts the same “Attestation included” logs and timely flags as the Altair test.

@prestonvanloon prestonvanloon requested a review from potuz November 6, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant