Eric Woolsey
Eric Woolsey
Ah gotcha! I see how that could be useful. So currently I'm maintaining a crate called cosm-utils which consists of 80% boilerplate that could be completely removed if we were...
I see that cosmos_sdk_proto has a `TypeUrl` trait. Is there any chance we could get a `Request` trait that looks something like this? ```rust pub trait Request { type Response:...
> @ewoolsey FWIW I'd like to move to a trait like this in the next release: [tokio-rs/prost#896](https://github.com/tokio-rs/prost/pull/896) Awesome yeah I just saw that PR go up. That looks like a...
@tony-iqlusion It allows you to build queries automatically. Essentially you could write a single function like this (coded from my head please ignore errors): ```rust impl Client { pub async...
> That's what tonic already does with gRPC endpoints Yes that's true for tonic and gRPC, but not true for other clients(tendermint_rpc, http, websocket, etc.)
> (Note: it's already implemented downstream in Ocular) Yeah I also have support for it in the library I'm maintaining for my work. It's currently **very** cumbersome to maintain manually,...
> In #432 we migrated to the new [`prost::Name`](https://docs.rs/prost/0.12.1/prost/trait.Name.html) trait. > > It should eventually get first-class support in `prost-build`: [tokio-rs/prost#926](https://github.com/tokio-rs/prost/issues/926) This is fantastic news! Thanks for the hard work....
Just commenting here for a bump! @ivokub or @Tabaie Would love to get your thoughts.
> Hi @ewoolsey apologies for the delay it's been very busy recently. Will review asap. All good, thanks so much for taking a look! I don't see any reason why...
@hussein-aitlahcen thanks so much for the initial review. If you think this is good to go ahead now then I'll go ahead and translate these changes into the templates.