Skip to content

Conversation

@greged93
Copy link
Contributor

@greged93 greged93 commented Mar 12, 2025

Introduces the L1 watcher in the rollup node.

Resolves #4

greged93 and others added 22 commits March 12, 2025 10:47
* init bridge implementation

* extend bridge implementation

* refactor and clean up dependencies

* add .vscode to .gitignore

* lint

* spacing

* cleanup

* wrap inner block import in bridge

* add bridge integration test

* refactor and clean up

* add comments

* migrate shared dependencies to workspace

* feature propogation

* lints and feature fix

* remove scroll feature

* add scroll feature

* integrate reth upstream changes

* address PR feedback

* stash

* add systemd service file

* update systemd file

* update systemd file

* address comments

* rollup node manager

* merge main

* add Cargo.lock

* lint

* lint

* lint

* lint

* ci remove no-dev-deps

* fix serde dep - scroll-wire

* skip no_std on scroll-engine and scroll-rollup-node

* skip no_std on scroll-engine and scroll-rollup-node

* address comments

* lints

* cleanup

* tsets

* lint + refactor

* refactor engine api call ordering

* lint

* fix fcu

* lint

* remove syncing error return on new payload

* update forkchoice state after succesfully new payload

* update reth following chainspec fork id logic change

* PR feedback

* lints

* lints
address!("0x0d7E906BD9cAFa154b048cFa766Cc1E54E39AF9B");

/// The [`Filter`] used by the [`crate::L1Watcher`] to index events relevant to the rollup node.
pub static L1_WATCHER_LOG_FILTER: LazyLock<Filter> = LazyLock::new(|| {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

if we add the hook solution in the L1 watcher, this can go


/// The L1 notification type yielded by the [`L1Watcher`].
#[derive(Debug, PartialEq, Eq)]
pub enum L1Notification {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This needs to evolve based on the primitives PR discussion

Copy link
Collaborator

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

Excellent job on this! I've left a few comments inline. Let me know what you think.

Copy link
Collaborator

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

Added a few more comments inline.

Copy link
Collaborator

@frisitano frisitano left a comment

Choose a reason for hiding this comment

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

Looks great! LGTM

@frisitano frisitano merged commit de3c39e into main Mar 19, 2025
12 checks passed
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.

Design Watcher Component

3 participants