Skip to content

Phase 3: OpNode#2

Merged
kbambridge merged 7 commits into
mainfrom
opnode
Jun 19, 2025
Merged

Phase 3: OpNode#2
kbambridge merged 7 commits into
mainfrom
opnode

Conversation

@kbambridge
Copy link
Copy Markdown
Owner

No description provided.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

… service discovery details for L2 connectivity, and refactor getSequencerEndpoint function in statefulset.go to support dynamic endpoint resolution. This improves configuration management and clarifies the separation of L1 and L2 responsibilities.
cursor[bot]

This comment was marked as outdated.

…nerated and user-provided private keys. Update volume and mount configurations to reflect the new logic for determining secret names based on key management method.
…atus fields during updates, improving race condition handling.
cursor[bot]

This comment was marked as outdated.

…after secrets and StatefulSet readiness, improving status management and logging for errors during updates.
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Bug: Replica Nodes Fail to Connect Due to Incorrect Endpoint

The getSequencerEndpoint function incorrectly constructs the sequencer endpoint for replica nodes. It hardcodes the HTTP port to 8545, ignoring the configurable opNode.Spec.OpGeth.Networking.HTTP.Port. Additionally, it assumes a sequencer service name of {network.Name}-sequencer, while OpNode services are actually named after the opNode.Name. This results in replica nodes failing to connect to the sequencer.

pkg/resources/statefulset.go#L514-L525

https://github.com/k/op-stack-operator/blob/c93f04da53ed53fe23c7996370dd7a36cae3f989/pkg/resources/statefulset.go#L514-L525

Fix in Cursor


Was this report helpful? Give feedback by reacting with 👍 or 👎

@kbambridge kbambridge merged commit fe0b853 into main Jun 19, 2025
8 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.

2 participants