Skip to content

Conversation

@torkelrogstad
Copy link
Collaborator

No description provided.

torkelrogstad and others added 2 commits March 4, 2025 12:40
Add capabilities for setting request IDs through header values, which we
include in tracing spans. We then set randomly generated request IDs in
the CLI, such that it's possible to trace requests/responses going
through the system.

This is conceptually very similar to LayerTwo-Labs/bip300301_enforcer#150.

One would think that we could do this with the actual `id` field of the
JSON-RPC bodies. This is not possible, because the `jsonrpsee` library
does not make it possible to configure this.

Upstream issue for this paritytech/jsonrpsee#1524
* multi: add endpoints for best mainchain and sidechain hashes

* human-readable serialization for block hashes

* dev: fmt code

* fixups

---------

Co-authored-by: Ash Manning <ash@layertwolabs.com>
@torkelrogstad torkelrogstad merged commit 8ce1740 into master Mar 4, 2025
7 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