Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reusability of common functionality for other cosmos crates #225

Closed
xla opened this issue May 13, 2022 · 2 comments
Closed

Reusability of common functionality for other cosmos crates #225

xla opened this issue May 13, 2022 · 2 comments

Comments

@xla
Copy link

xla commented May 13, 2022

Hej frens, I'm currently bootstrapping a rust crate for Osmosis very much in the same fashion of this crate, done so for Terra over the last months but that might be less relevant now. I'm finding myself recreating the infrastructure for proto generation, prost extensions and mapping of domain types to proto types.

Wanted to pose an open-ended question as to what could potentially extracted/shared from this repo to be used across app chain crates?

  • Msg trait
  • proto-build
  • proto_ext
@tony-iqlusion
Copy link
Member

As Osmosis and Terra are both Cosmos SDK-based chains, it seems like you'd want to rely on cosmos-sdk-proto/cosmrs as a library anyway?

Re: proto-build, it's come up before. tendermint-proto and ibc-rs have similar functionality.

It might be interesting to upstream proto_ext into tendermint/tendermint-proto.

@xla
Copy link
Author

xla commented May 17, 2022

Your comment over here informalsystems/tendermint-rs#654 (comment) is in line what I'm looking for.

@xla xla closed this as completed May 17, 2022
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

No branches or pull requests

2 participants