Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine which blocks are finalized in sequencer duty executor #90

Closed
1 task done
bewakes opened this issue Jul 5, 2024 · 0 comments · Fixed by #164
Closed
1 task done

Determine which blocks are finalized in sequencer duty executor #90

bewakes opened this issue Jul 5, 2024 · 0 comments · Fixed by #164
Assignees
Labels
enhancement New feature or request

Comments

@bewakes
Copy link
Contributor

bewakes commented Jul 5, 2024

Sequencer's duty executor uses what's called duty::StateUpdate in order to determine what existing duties are expired. The name StateUpdate is quite misleading, probably it should be renamed to DutiesStateUpdate.

The newly_finalized_blocks inside StateUpdate need to be populated with appropriate finalized blocks using the current Clientstate and database.

Location: crates/consensus-logic/src/duty_executor.rs::update_tracker()

Depends on:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants