informalsystems / tendermint-rs

Client libraries for Tendermint/CometBFT in Rust!
Apache License 2.0
605 stars 224 forks source link

feat: add a way to provide a custom User-Agent #1429

Closed freak12techno closed 4 months ago

freak12techno commented 4 months ago

Fixes https://github.com/informalsystems/tendermint-rs/issues/1425.

Need this to be able to specify a custom User-Agent for Hermes requests.

I am unsure how to test it properly with Hermes though; if someone can give me any hint on how to compile Hermes with this version of tendermint-rpc, I'd appreciate that.

freak12techno commented 4 months ago

@romac can you review this or ask someone to do so? also, if you know how to compile Hermes with this version of tendermint-rpc, this would help testing using custom User-Agent on Hermes itself. disregard that, I figured it out.