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

feat: re-export google protos from tendermint_proto #242

Merged
merged 2 commits into from
Sep 25, 2024

Conversation

Farhad-Shabani
Copy link
Member

Description

Re-exporting Google protos from tendermint_proto because I couldn't properly upgrade ibc-proto-rs to v0.48.0 in ibc-rs. Starting with v0.48, ibc-proto-rs no longer includes WKT types, which forces ibc-rs to add a tendermint-proto dependency in several crates. We're trying to decouple ibc-rs from the tendermint-rs crates (except for the ICS-07 Tendermint light client), so this feels like a step back. Ideally, ibc-rs should stay only dependant on ibc-proto-rs.

In the future, if tendermint-proto is split into a separate repository and the IBC core proto types are decoupled from the tendermint-proto dependency as well, we achieve full separation and avoid any potential dependency conflicts in ibc-rs. Though it's not urgent now, stating it as a longer term goal.

@romac
Copy link
Member

romac commented Sep 25, 2024

Thanks for the PR and sorry for the oversight!

@romac
Copy link
Member

romac commented Sep 25, 2024

Perhaps in the future we should consider extracting these wkt protos into their own crate, much like prost-types or prost-wkt.

@Farhad-Shabani
Copy link
Member Author

Perhaps in the future we should consider extracting these wkt protos into their own crate, much like prost-types or prost-wkt.

Makes sense to me.

@Farhad-Shabani Farhad-Shabani merged commit 15a74ff into main Sep 25, 2024
10 checks passed
@Farhad-Shabani Farhad-Shabani deleted the farhad/re-export-google-protos branch September 25, 2024 16:47
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

Successfully merging this pull request may close these issues.

2 participants