Skip to content

Commit 3d19483

Browse files
authored
chore(rust): update prost to v0.12 (#202)
* Update `prost` to v0.12 * Update changelog
1 parent 16760df commit 3d19483

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
# Unreleased
4+
5+
## Rust
6+
7+
## Full changes
8+
9+
- chore(rust): update `prost` to v0.12 ([#202](https://github.com/cosmos/ics23/pull/202))
10+
311
# 0.10.2
412

513
## Rust

rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ members = ["codegen", "no-std-check"]
1717
anyhow = {version = "1.0.40", default-features = false}
1818
bytes = {version = "1.0.1", default-features = false}
1919
hex = {version = "0.4.3", default-features = false, features = ["alloc"]}
20-
prost = {version = "0.11", default-features = false, features = ["prost-derive"]}
20+
prost = {version = "0.12", default-features = false, features = ["prost-derive"]}
2121
ripemd = {version = "0.1.1", optional = true, default-features = false}
2222
sha2 = {version = "0.10.2", optional = true, default-features = false}
2323
sha3 = {version = "0.10.2", optional = true, default-features = false}

rust/codegen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ edition = "2018"
88

99
[dependencies]
1010
bytes = "1.0.1"
11-
prost = "0.11"
11+
prost = "0.12"
1212
prost-build = "0.12"
1313
informalsystems-pbjson-build = "0.6.0"

rust/src/cosmos.ics23.v1.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ pub struct ProofSpec {
170170
#[derive(Clone, PartialEq, ::prost::Message)]
171171
pub struct InnerSpec {
172172
/// Child order is the ordering of the children node, must count from 0
173-
/// iavl tree is [0, 1] (left then right)
174-
/// merk is [0, 2, 1] (left, right, here)
173+
/// iavl tree is \[0, 1\] (left then right)
174+
/// merk is \[0, 2, 1\] (left, right, here)
175175
#[prost(int32, repeated, tag = "1")]
176176
pub child_order: ::prost::alloc::vec::Vec<i32>,
177177
#[prost(int32, tag = "2")]

0 commit comments

Comments
 (0)