Skip to content

feat: follower node for mev-commit chain#784

Merged
shaspitz merged 35 commits intomainfrom
follower
Sep 12, 2025
Merged

feat: follower node for mev-commit chain#784
shaspitz merged 35 commits intomainfrom
follower

Conversation

@shaspitz
Copy link
Copy Markdown
Contributor

@shaspitz shaspitz commented Sep 10, 2025

Introduces follower node CL for the mev-commit chain. It uses a shared postgres DB with the signer/leader to poll for new payloads available to apply to its own EL. No additional storage is introduced in this PR as the follower CL can rely on its own EL for checkpointing.

@shaspitz shaspitz marked this pull request as ready for review September 11, 2025 01:50
Comment thread cl/singlenode/follower/follower.go Outdated
Comment thread cl/singlenode/follower/follower.go Outdated
Comment thread cl/singlenode/follower/follower.go Outdated
Comment thread cl/singlenode/follower/follower.go Outdated
Comment thread cl/singlenode/follower/store.go Outdated
Comment thread cl/cmd/singlenode/main.go Outdated
Comment thread cl/singlenode/follower/follower.go
Comment thread cl/singlenode/follower/store.go Outdated
@@ -0,0 +1,60 @@
package follower
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This can be removed now no?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes good catch, forgot to remove this stale code. It's deleted now

Comment thread cl/go.mod Outdated
)

replace (
github.com/primev/mev-commit/p2p => ../p2p
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Once you remove store I think this will also change.

@shaspitz shaspitz merged commit 14b2821 into main Sep 12, 2025
5 checks passed
@shaspitz shaspitz deleted the follower branch September 12, 2025 18:21
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.

3 participants