Skip to content

INFOPLAT-2963 Wires up Signer for Loop Server#1630

Merged
jmank88 merged 5 commits intomainfrom
INFOPLAT-2963-beholder-rotating-auth-headers-loop-wire-up
Jan 22, 2026
Merged

INFOPLAT-2963 Wires up Signer for Loop Server#1630
jmank88 merged 5 commits intomainfrom
INFOPLAT-2963-beholder-rotating-auth-headers-loop-wire-up

Conversation

@hendoxc
Copy link
Copy Markdown
Contributor

@hendoxc hendoxc commented Oct 20, 2025

No description provided.

@github-actions
Copy link
Copy Markdown

👋 hendoxc, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 20, 2025

✅ API Diff Results - No breaking changes


📄 View full apidiff report

jmank88
jmank88 previously approved these changes Oct 20, 2025
Copy link
Copy Markdown
Contributor

@jmank88 jmank88 left a comment

Choose a reason for hiding this comment

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

LGTM though this will only cover chain relayers.

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity.
Remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Nov 20, 2025
ilija42
ilija42 previously approved these changes Nov 24, 2025
@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open 30 days with no activity.
Remove the stale label or comment or this will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Dec 25, 2025
@engnke
Copy link
Copy Markdown
Contributor

engnke commented Jan 20, 2026

LGTM though this will only cover chain relayers.

Hi @jmank88 we've reopened this PR as it fell though the cracks and went stale but its still relevant & needed. Per this comment is there somewhere else we should be wiring up a signer for loop server?

@jmank88
Copy link
Copy Markdown
Contributor

jmank88 commented Jan 20, 2026

LGTM though this will only cover chain relayers.

Hi @jmank88 we've reopened this PR as it fell though the cracks and went stale but its still relevant & needed. Per this comment is there somewhere else we should be wiring up a signer for loop server?

There is not one general place unfortunately, because we do not have the keystore until some deferred constructor is called like with relayers. However, the capability Initialise method would cover many. We would have to look at each of the others individually.

@engnke engnke dismissed stale reviews from jmank88 and ilija42 via 81a1030 January 20, 2026 20:57
Copilot AI review requested due to automatic review settings January 20, 2026 20:57
@engnke engnke requested a review from a team as a code owner January 20, 2026 20:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR integrates the Beholder client's signing mechanism by setting up CSA and P2P keystores as signers for authentication header generation in both the relayer and standard capabilities components.

Changes:

  • Configured Beholder client to use CSA keystore for signing in the relayer's NewRelayer function
  • Configured Beholder client to use P2P keystore for signing in standard capabilities initialization
  • Removed trailing whitespace from config file

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pkg/loop/internal/relayer/relayer.go Extracts CSA keystore client and sets it as Beholder's signer before creating new relayer
pkg/loop/internal/core/services/capability/standard/standard_capabilities.go Sets P2P keystore as Beholder's signer during standard capabilities initialization
pkg/loop/cmd/loopinstall/config.go Removes trailing newline for formatting consistency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/loop/internal/core/services/capability/standard/standard_capabilities.go Outdated
@github-actions github-actions Bot removed the Stale label Jan 21, 2026
@engnke engnke force-pushed the INFOPLAT-2963-beholder-rotating-auth-headers-loop-wire-up branch from 81a1030 to adc4bf7 Compare January 22, 2026 12:05
@engnke engnke requested a review from jmank88 January 22, 2026 12:22
@engnke
Copy link
Copy Markdown
Contributor

engnke commented Jan 22, 2026

There is not one general place unfortunately, because we do not have the keystore until some deferred constructor is called like with relayers. However, the capability Initialise method would cover many. We would have to look at each of the others individually.

I pushed a change to the suggested Initialise method after the keystore is created. I also tried to look around for other usage of the keystore where its being initialized but didn't find any. Could you point me to the others that need to be looked at? ty

@engnke engnke requested a review from ilija42 January 22, 2026 12:51
@jmank88
Copy link
Copy Markdown
Contributor

jmank88 commented Jan 22, 2026

There is not one general place unfortunately, because we do not have the keystore until some deferred constructor is called like with relayers. However, the capability Initialise method would cover many. We would have to look at each of the others individually.

I pushed a change to the suggested Initialise method after the keystore is created. I also tried to look around for other usage of the keystore where its being initialized but didn't find any. Could you point me to the others that need to be looked at? ty

That is fine for now. The other cases likely don't have the keystore wired up yet, and would take a larger effort (but it is probably just products that we don't run as LOOPPs or at all anymore 🤷 ). You got the important ones.

@engnke
Copy link
Copy Markdown
Contributor

engnke commented Jan 22, 2026

Thanks @chainchad @jmank88 please can you merge?

@jmank88 jmank88 added this pull request to the merge queue Jan 22, 2026
Merged via the queue into main with commit 94e0fad Jan 22, 2026
36 checks passed
@jmank88 jmank88 deleted the INFOPLAT-2963-beholder-rotating-auth-headers-loop-wire-up branch January 22, 2026 17:05
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.

6 participants