Skip to content

feat: change basic clock tick to interval from slot#135

Merged
gballet merged 5 commits intomainfrom
interval-clock
Sep 4, 2025
Merged

feat: change basic clock tick to interval from slot#135
gballet merged 5 commits intomainfrom
interval-clock

Conversation

@g11tech
Copy link
Copy Markdown
Member

@g11tech g11tech commented Sep 3, 2025

change node tick to intervals instead of slots in prep for devnet0 updates

@g11tech g11tech marked this pull request as ready for review September 3, 2025 18:51
self.tickSlot(slot);
pub fn registerValidatorIds(self: *Self, validator_ids: []usize) void {
// right now its simple assignment but eventually it should be a set
// tacking registrations and keeping it alive for 3*2=6 slots
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

so some kind of expiring LRU ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes thats how it handled in the beacon clients, every epoch validators register so that proposal stuff can be timely initiated at start of slot

Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
@gballet gballet merged commit 8c26fa0 into main Sep 4, 2025
5 checks passed
@gballet gballet deleted the interval-clock branch September 4, 2025 12:50
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.

2 participants