Skip to content
Discussion options

You must be logged in to vote

Thanks for reaching out, @farazshaikh!

I'm working on augmenting the VRF example so that participants can expose the VRF signature per round via an HTTP endpoint. I initially tried using axum, which depends on tokio. However, the example package expects the runtime to come from commonware-runtime. Pulling in commonware-runtime means I’d also need to integrate it with axum, which isn't straightforward—especially since it introduces complexity around generics and compatibility.

We ran into this issue when exposing prometheus metrics over a port exposed by commonware-runtime and actually already implemented axum::serve::Listener for runtime::tokio:

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@farazshaikh
Comment options

Answer selected by farazshaikh
Comment options

You must be logged in to vote
1 reply
@patrick-ogrady
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants