-
Notifications
You must be signed in to change notification settings - Fork 225
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
Split out tendermint-proto
into separate repository
#1462
Comments
@tony-iqlusion From the |
That sounds fine to me. In the past I’ve suggested getting all of the proto crates into a single repo so cross-cutting changes are easier |
I may be wrong, but I don't expect there should be many such cross-cutting changes when a new version of That said I am not opposed the idea of having a single @Farhad-Shabani @soareschen What do you think? |
From At the very least, I recommend keeping |
To me, the main considerations for whether to put code in the same repository are as follows:
If we choose to go with monorepo, then there is a secondary concern of whether to put the code in the same workspace:
|
Right now They all share the same dependencies (e.g. Just the latter alone seems like a lot of duplicated effort. |
The other argument for consolidating into a single repo is they could share the "proto build" ETL logic for transforming protos into Rust source code, so we can actually share what cool tricks we've developed between them. Here's one example: cosmos/ibc-proto-rs#240 |
from the outside, building application/tooling that uses these crates, I'm very +1 having it all in one repo. It's been painful with some version conflicts and not knowing where to look, so punting with functions like Tbh what I'd really like is one crate focused only on the tonic_build generation, with features so it's all there and kept in sync and I don't even need to think of which Also agree with the benefit of having the build logic in one place for things like that Ofc that's just a view from the outside of wanting to import it all, not necessarily maintain it all, and I don't know the whole scope involved with such a request - please take my vote with a grain of salt :) |
@dakom as of the latest releases of
If you see duplicate types at this point, it's a bug. |
thanks @tony-iqlusion - sorry I missed the notification. most likely I need to update some dependency, or updated and didn't notice that this had been fixed. thanks for the heads up! |
Description
Downstream projects such as ibc-proto and ibc-rs depends only on tendermint-proto, but not the other tendermint crates. By having its own repository and release cycle, we won’t have to depend on the tendermint libraries directly, making it easier to keep tendermint-proto, ibc-proto-rs, and ibc-rs in sync. Plus, we’re aiming to fully decouple the ibc-rs libraries from tendermint (except for the ICS-07 implementation). These together would give us more flexibility, even allowing us to apply upgrades asynchronously.
The text was updated successfully, but these errors were encountered: