Add sequencer reference support for OpNode replicas#3
Merged
kbambridge merged 2 commits intomainfrom Jul 2, 2025
Merged
Conversation
This update introduces a new `sequencerRef` field in the OpNode specification, allowing replica nodes to reference their corresponding sequencer. The change includes updates to the API types, CRD definitions, and sample configurations. Additionally, the `getSequencerEndpoint` function in `statefulset.go` has been enhanced to utilize the sequencer reference for endpoint resolution, improving the overall configuration management for OpNode instances.
This update introduces the optional `L2RpcUrl` field in the OpNode specification, allowing replica nodes to connect to external sequencers. The CRD definitions and sample configurations have been updated accordingly. Additionally, the reconciliation process in the OpNode controller has been streamlined to improve status updates and error handling, ensuring a more efficient management of OpNode states. The `getSequencerEndpoint` function has also been modified to prioritize the `L2RpcUrl` for replica nodes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This update introduces a new
sequencerReffield in the OpNode specification, allowing replica nodes to reference their corresponding sequencer. The change includes updates to the API types, CRD definitions, and sample configurations. Additionally, thegetSequencerEndpointfunction instatefulset.gohas been enhanced to utilize the sequencer reference for endpoint resolution, improving the overall configuration management for OpNode instances.