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

feat(node/engine): Engine Controller #1131

Open
refcell opened this issue Feb 26, 2025 · 0 comments
Open

feat(node/engine): Engine Controller #1131

refcell opened this issue Feb 26, 2025 · 0 comments
Assignees
Labels
A-binaries Area: binaries K-feature Kind: feature M-help-wanted Meta: Extra attention is needed

Comments

@refcell
Copy link
Collaborator

refcell commented Feb 26, 2025

Description

A core part of the rollup node is the component responsible for tracking the execution engine.

At the top level, that is an EngineController, which contains the engine client implemented for kona in #1120.

This ticket is to set up the EngineController inside bins/node/src/engine/controller.rs. For reference, hilo had a decently along implementation of the EngineController.

Once the EngineController is brought into kona-node's engine module, it should be used by the "Pilot" instead of the EngineClient.

How I envision the end-game communication for kona-node is through a message-based actor system. But to start, kona-node should use the Pilot to "orchestrate" different services and handle message passing. For example, when the node is started, the Pilot will have a sync service (might be spun into a separate thread) that will send messages to the Pilot to try and update the engine on sync. This is similar to how the op-node syncs with it's event-based-system and it's SyncDeriver.

@refcell refcell added A-binaries Area: binaries K-feature Kind: feature M-help-wanted Meta: Extra attention is needed labels Feb 26, 2025
@refcell refcell self-assigned this Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-binaries Area: binaries K-feature Kind: feature M-help-wanted Meta: Extra attention is needed
Projects
Status: Backlog
Development

No branches or pull requests

1 participant