Skip to content

Commit

Permalink
chore(rust): update prost to v0.12 (#202)
Browse files Browse the repository at this point in the history
* Update `prost` to v0.12

* Update changelog
  • Loading branch information
romac committed Sep 29, 2023
1 parent 16760df commit 3d19483
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
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"
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

0 comments on commit 3d19483

Please sign in to comment.