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

chore(rust): update prost to v0.12 #202

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

# Unreleased

## Rust

## Full changes

- chore(rust): update `prost` to v0.12 ([#202](https://github.com/cosmos/ics23/pull/202))

# 0.10.2

## Rust
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ members = ["codegen", "no-std-check"]
anyhow = {version = "1.0.40", default-features = false}
bytes = {version = "1.0.1", default-features = false}
hex = {version = "0.4.3", default-features = false, features = ["alloc"]}
prost = {version = "0.11", default-features = false, features = ["prost-derive"]}
prost = {version = "0.12", default-features = false, features = ["prost-derive"]}
ripemd = {version = "0.1.1", optional = true, default-features = false}
sha2 = {version = "0.10.2", optional = true, default-features = false}
sha3 = {version = "0.10.2", optional = true, default-features = false}
Expand Down
2 changes: 1 addition & 1 deletion rust/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ edition = "2018"

[dependencies]
bytes = "1.0.1"
prost = "0.11"
prost = "0.12"
prost-build = "0.12"
Copy link
Member Author

Choose a reason for hiding this comment

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

For some reason, prost-build was already on v0.12.

informalsystems-pbjson-build = "0.6.0"
4 changes: 2 additions & 2 deletions rust/src/cosmos.ics23.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ pub struct ProofSpec {
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct InnerSpec {
/// Child order is the ordering of the children node, must count from 0
/// iavl tree is [0, 1] (left then right)
/// merk is [0, 2, 1] (left, right, here)
/// iavl tree is \[0, 1\] (left then right)
/// merk is \[0, 2, 1\] (left, right, here)
#[prost(int32, repeated, tag = "1")]
pub child_order: ::prost::alloc::vec::Vec<i32>,
#[prost(int32, tag = "2")]
Expand Down
Loading