diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cf8d50d..665d9895 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 0edd7849..67364ebb 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -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} diff --git a/rust/codegen/Cargo.toml b/rust/codegen/Cargo.toml index f273f702..88737f2f 100644 --- a/rust/codegen/Cargo.toml +++ b/rust/codegen/Cargo.toml @@ -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" diff --git a/rust/src/cosmos.ics23.v1.rs b/rust/src/cosmos.ics23.v1.rs index a383fe73..d3c2226a 100644 --- a/rust/src/cosmos.ics23.v1.rs +++ b/rust/src/cosmos.ics23.v1.rs @@ -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, #[prost(int32, tag = "2")]