Skip to content

Added design doc for Blaire debug service - #27

Open
AmHelm wants to merge 3 commits into
mainfrom
blaire-doc
Open

Added design doc for Blaire debug service#27
AmHelm wants to merge 3 commits into
mainfrom
blaire-doc

Conversation

@AmHelm

@AmHelm AmHelm commented Aug 11, 2026

Copy link
Copy Markdown
Owner

A first draft for the foreign chain configurations debug service. A lot of feedback is needed. I am aware that the rust functions and structs are incomplete. There are also some comments left in parentheses here and there.

@AmHelm
AmHelm requested a review from kevindeforth August 11, 2026 14:01

@kevindeforth kevindeforth left a comment

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.

Thanks, this looks really good already!
I left some comments and suggestions.

Slightly off-topic / open-ended discussion points:

  • One thing I am curious is what the long-term plan for this service will be. If the goal is just to have access to node-operators configs, then I think we could also turn this on its head:

    • each MPC node serves the config on a restricted endpoint
    • a nearone employee can access the config via that endpoint.

    Access controls will be a bit more complicated though, so that might not be ideal.

  • Also, looking at this, I do wonder if we could also use this service for the nodes to fetch information. E.g. we have been discussing with @netrome that we store way too much information on-chain. So, the nodes could use this endpoint to fetch data and then compare its hash to something stored on-chain.

Comment thread debug-information-service-blaire.md Outdated
Comment thread debug-information-service-blaire.md Outdated
Comment thread debug-information-service-blaire.md
Comment thread debug-information-service-blaire.md Outdated
Comment thread debug-information-service-blaire.md Outdated
Comment thread debug-information-service-blaire.md Outdated
Comment thread debug-information-service-blaire.md Outdated
Comment thread debug-information-service-blaire.md
Comment thread debug-information-service-blaire.md Outdated
@AmHelm
AmHelm requested a review from kevindeforth August 15, 2026 12:25

@kevindeforth kevindeforth left a comment

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.

Open question:

  • authentication between service and nodes (could be mTLS and we re-use code from backup-service and node, which would require Blaire to have access to the MPC contract state, but it can be fetched via RPC node).
  • authentication between service and users (probably, preference SSO via github?)

Remark:
We can pass the IP / web-address of Blaire service to the node in any of the following ways:

  • via MPC contract (in which case the address would be public, probably not desired)
  • via config-file (probably preferred)

Comment thread debug-information-service-blaire.md Outdated
Comment thread debug-information-service-blaire.md
Comment thread debug-information-service-blaire.md Outdated
Comment thread debug-information-service-blaire.md Outdated
@AmHelm
AmHelm requested a review from kevindeforth August 18, 2026 15:14
Comment thread debug-information-service-blaire.md
Comment thread debug-information-service-blaire.md
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