Skip to content

Conversation

@0xmrree
Copy link
Contributor

@0xmrree 0xmrree commented Dec 30, 2025

Description:

Given that interval_per_slot in phase0 is not mentioned in any code in the specs or the config itself, can we just remove it from the fork choice spec to avoid confusion? I'm realizing that Lighthouse uses this variable in its internal slot timing and may need to refactor away from it to make it easier to implement the new GLOAS timing configs such as:

ATTESTATION_DUE_BPS_GLOAS,AGGREGATE_DUE_BPS_GLOAS,SYNC_MESSAGE_DUE_BPS_GLOAS,CONTRIBUTION_DUE_BPS_GLOAS,PAYLOAD_ATTESTATION_DUE_BPS

@jtraglia jtraglia changed the title removed interval_per_slot Remove deprecated INTERVALS_PER_SLOT constant Dec 30, 2025
Copy link
Member

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @0xmrree yeah we can remove this constant. We semi-recently refactored away from intervals.

@jtraglia
Copy link
Member

@0xmrree Please run make lint and commit the changes.

@0xmrree
Copy link
Contributor Author

0xmrree commented Dec 30, 2025

@jtraglia bet, done

@0xmrree 0xmrree requested a review from jtraglia December 30, 2025 20:16
@0xmrree
Copy link
Contributor Author

0xmrree commented Dec 30, 2025

@jtraglia Also would you have anytime to peek at #4799?

@jtraglia jtraglia merged commit ef27ce4 into ethereum:master Dec 30, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants