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

Bump tendermint-rs dependencies to v0.39 #482

Merged
merged 1 commit into from
Aug 8, 2024
Merged

Conversation

tony-iqlusion
Copy link
Member

@tony-iqlusion tony-iqlusion commented Aug 8, 2024

Also regenerates protos.

This notably switches from sourcing the google.protobuf well-known types from the prost-types crate and using tendermint-proto's definitions instead.

See also: informalsystems/tendermint-rs#1452

Comment on lines +3 to +11
- plugin: buf.build/community/neoeinstein-prost:v0.3.1
out: .
opt:
- extern_path=.tendermint=::tendermint_proto::v0_34
- plugin: buf.build/community/neoeinstein-tonic:v0.3.0
out: .
opt:
- compile_well_known_types
- extern_path=.google.protobuf=::tendermint_proto::google::protobuf
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ash-burnt I more or less cargo culted this from #471 but couldn't actually get it to work, instead proto-build is using a regex substitution instead (see main.rs)

Also regenerates protos.

This notably switches from sourcing the `google.protobuf` well-known
types from the `prost-types` crate and using `tendermint-proto`'s
definitions instead.
@@ -5,3 +5,6 @@ members = [
"cosmos-sdk-proto",
"cosmrs"
]

[patch.crates-io]
tendermint-proto = { git = "https://github.com/informalsystems/tendermint-rs" }
Copy link
Member Author

@tony-iqlusion tony-iqlusion Aug 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This required a few upstream changes to tendermint-proto which should be released soon

@tony-iqlusion tony-iqlusion merged commit 9e1b3d6 into main Aug 8, 2024
12 checks passed
@tony-iqlusion tony-iqlusion deleted the tendermint/v0.39 branch August 8, 2024 19:39
This was referenced Aug 14, 2024
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.

1 participant