diff --git a/CHANGELOG.md b/CHANGELOG.md index 74caf62dd..c52875fb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # CHANGELOG +## v0.33.1 + +*Aug 29th, 2023* + +`tendermint-proto`: This release adds an optional `grpc-server` feature to the proto crate. When enabled the feature will include gRPC service definitions for the RPC and ABCI servers. + +### FEATURES + +- `[tendermint-proto]` add `grpc`/`grpc-server` features to include gRPC server definitions for the RPC/ABCI services. +([#1338](https://github.com/informalsystems/tendermint-rs/issues/1338)) + ## v0.33.0 This release adds support for CometBFT 0.38 protocols. @@ -707,18 +718,18 @@ not yet support `no_std`. - Upgraded Prost to the official v0.9 release to finally resolve the security issue introduced by v0.7 ([#925](https://github.com/informalsystems/tendermint-rs/issues/925)) -- `[tendermint, tendermint-config]` The `tendermint::config` - module has now been broken out into its own crate (`tendermint- - config`) to help towards facilitating `no_std` compatibility - ([#983](https://github.com/informalsystems/tendermint-rs/issues/983)) -- `[tendermint]` The `tendermint::node::info::OtherInfo::rpc_address` - field type has been changed from `tendermint::net::Address` - to `String` toward facilitating `no_std` compatibility - ([#983](https://github.com/informalsystems/tendermint-rs/issues/983)) - `[tendermint]` The `tendermint::node::info::ListenAddress::to_net_address` method was replaced with a simple `as_str` method toward facilitating `no_std` compatibility ([#983](https://github.com/informalsystems/tendermint- rs/issues/983)) +- `[tendermint]` The `tendermint::node::info::OtherInfo::rpc_address` + field type has been changed from `tendermint::net::Address` + to `String` toward facilitating `no_std` compatibility + ([#983](https://github.com/informalsystems/tendermint-rs/issues/983)) +- `[tendermint, tendermint-config]` The `tendermint::config` + module has now been broken out into its own crate (`tendermint- + config`) to help towards facilitating `no_std` compatibility + ([#983](https://github.com/informalsystems/tendermint-rs/issues/983)) ### FEATURES diff --git a/abci/Cargo.toml b/abci/Cargo.toml index bd98b1e02..46c953ba7 100644 --- a/abci/Cargo.toml +++ b/abci/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-abci" -version = "0.33.0" +version = "0.33.1" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" @@ -33,7 +33,7 @@ binary = [ [dependencies] bytes = { version = "1.0", default-features = false } prost = { version = "0.11", default-features = false } -tendermint-proto = { version = "0.33.0", default-features = false, path = "../proto" } +tendermint-proto = { version = "0.33.1", default-features = false, path = "../proto" } tracing = { version = "0.1", default-features = false } flex-error = { version = "0.4.4", default-features = false } structopt = { version = "0.3", optional = true, default-features = false } diff --git a/config/Cargo.toml b/config/Cargo.toml index 34e4c0ded..223fbb775 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-config" -version = "0.33.0" # Also update depending crates (rpc, light-node, ..) when bumping this. +version = "0.33.1" # Also update depending crates (rpc, light-node, ..) when bumping this. license = "Apache-2.0" homepage = "https://www.tendermint.com/" repository = "https://github.com/informalsystems/tendermint-rs/tree/main/tendermint" @@ -24,7 +24,7 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -tendermint = { version = "0.33.0", default-features = false, features = ["rust-crypto"], path = "../tendermint" } +tendermint = { version = "0.33.1", default-features = false, features = ["rust-crypto"], path = "../tendermint" } flex-error = { version = "0.4.4", default-features = false } serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/light-client-cli/Cargo.toml b/light-client-cli/Cargo.toml index b3a3f281d..904090cf5 100644 --- a/light-client-cli/Cargo.toml +++ b/light-client-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-light-client-cli" -version = "0.33.0" +version = "0.33.1" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -23,10 +23,10 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -tendermint = { version = "0.33.0", path = "../tendermint" } -tendermint-rpc = { version = "0.33.0", path = "../rpc", features = ["http-client"] } -tendermint-light-client = { version = "0.33.0", path = "../light-client" } -tendermint-light-client-detector = { version = "0.33.0", path = "../light-client-detector" } +tendermint = { version = "0.33.1", path = "../tendermint" } +tendermint-rpc = { version = "0.33.1", path = "../rpc", features = ["http-client"] } +tendermint-light-client = { version = "0.33.1", path = "../light-client" } +tendermint-light-client-detector = { version = "0.33.1", path = "../light-client-detector" } clap = { version = "4.1.8", features = ["derive"] } color-eyre = "0.6.2" diff --git a/light-client-detector/Cargo.toml b/light-client-detector/Cargo.toml index d40043a32..b8a154cef 100644 --- a/light-client-detector/Cargo.toml +++ b/light-client-detector/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-light-client-detector" -version = "0.33.0" +version = "0.33.1" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -23,10 +23,10 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -tendermint = { version = "0.33.0", path = "../tendermint" } -tendermint-rpc = { version = "0.33.0", path = "../rpc", features = ["http-client"] } -tendermint-proto = { version = "0.33.0", path = "../proto" } -tendermint-light-client = { version = "0.33.0", path = "../light-client" } +tendermint = { version = "0.33.1", path = "../tendermint" } +tendermint-rpc = { version = "0.33.1", path = "../rpc", features = ["http-client"] } +tendermint-proto = { version = "0.33.1", path = "../proto" } +tendermint-light-client = { version = "0.33.1", path = "../light-client" } contracts = { version = "0.6.2", default-features = false } crossbeam-channel = { version = "0.4.2", default-features = false } diff --git a/light-client-js/Cargo.toml b/light-client-js/Cargo.toml index 397e0f249..88d0a579f 100644 --- a/light-client-js/Cargo.toml +++ b/light-client-js/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-light-client-js" -version = "0.33.0" +version = "0.33.1" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" @@ -22,8 +22,8 @@ default = ["console_error_panic_hook"] [dependencies] serde = { version = "1.0", default-features = false, features = [ "derive" ] } serde_json = { version = "1.0", default-features = false } -tendermint = { version = "0.33.0", default-features = false, path = "../tendermint" } -tendermint-light-client-verifier = { version = "0.33.0", features = ["rust-crypto"], default-features = false, path = "../light-client-verifier" } +tendermint = { version = "0.33.1", default-features = false, path = "../tendermint" } +tendermint-light-client-verifier = { version = "0.33.1", features = ["rust-crypto"], default-features = false, path = "../light-client-verifier" } wasm-bindgen = { version = "0.2.63", default-features = false, features = [ "serde-serialize" ] } serde-wasm-bindgen = { version = "0.4.5", default-features = false } diff --git a/light-client-verifier/Cargo.toml b/light-client-verifier/Cargo.toml index a0a0000ec..718fe7cc0 100644 --- a/light-client-verifier/Cargo.toml +++ b/light-client-verifier/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-light-client-verifier" -version = "0.33.0" +version = "0.33.1" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -27,7 +27,7 @@ default = ["rust-crypto", "flex-error/std", "flex-error/eyre_tracer"] rust-crypto = ["tendermint/rust-crypto"] [dependencies] -tendermint = { version = "0.33.0", path = "../tendermint", default-features = false } +tendermint = { version = "0.33.1", path = "../tendermint", default-features = false } derive_more = { version = "0.99.5", default-features = false, features = ["display"] } serde = { version = "1.0.106", default-features = false } diff --git a/light-client/Cargo.toml b/light-client/Cargo.toml index 0b63ae184..ce4b20ce1 100644 --- a/light-client/Cargo.toml +++ b/light-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-light-client" -version = "0.33.0" +version = "0.33.1" edition = "2021" license = "Apache-2.0" readme = "README.md" @@ -35,9 +35,9 @@ unstable = ["rust-crypto"] mbt = ["rust-crypto"] [dependencies] -tendermint = { version = "0.33.0", path = "../tendermint", default-features = false } -tendermint-rpc = { version = "0.33.0", path = "../rpc", default-features = false } -tendermint-light-client-verifier = { version = "0.33.0", path = "../light-client-verifier", default-features = false } +tendermint = { version = "0.33.1", path = "../tendermint", default-features = false } +tendermint-rpc = { version = "0.33.1", path = "../rpc", default-features = false } +tendermint-light-client-verifier = { version = "0.33.1", path = "../light-client-verifier", default-features = false } contracts = { version = "0.6.2", default-features = false } crossbeam-channel = { version = "0.4.2", default-features = false } diff --git a/p2p/Cargo.toml b/p2p/Cargo.toml index 3e3f8570d..8d27f2832 100644 --- a/p2p/Cargo.toml +++ b/p2p/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-p2p" -version = "0.33.0" +version = "0.33.1" edition = "2021" license = "Apache-2.0" repository = "https://github.com/informalsystems/tendermint-rs" @@ -44,9 +44,9 @@ aead = { version = "0.4.1", default-features = false } flex-error = { version = "0.4.4", default-features = false } # path dependencies -tendermint = { path = "../tendermint", version = "0.33.0", default-features = false } -tendermint-proto = { path = "../proto", version = "0.33.0", default-features = false } -tendermint-std-ext = { path = "../std-ext", version = "0.33.0", default-features = false } +tendermint = { path = "../tendermint", version = "0.33.1", default-features = false } +tendermint-proto = { path = "../proto", version = "0.33.1", default-features = false } +tendermint-std-ext = { path = "../std-ext", version = "0.33.1", default-features = false } # optional dependencies prost-derive = { version = "0.11", optional = true } diff --git a/p2p/src/secret_connection.rs b/p2p/src/secret_connection.rs index 163c509d0..6f8b7a6f3 100644 --- a/p2p/src/secret_connection.rs +++ b/p2p/src/secret_connection.rs @@ -108,7 +108,9 @@ impl Handshake { &mut self, remote_eph_pubkey: EphemeralPublic, ) -> Result, Error> { - let Some(local_eph_privkey) = self.state.local_eph_privkey.take() else { return Err(Error::missing_secret()) }; + let Some(local_eph_privkey) = self.state.local_eph_privkey.take() else { + return Err(Error::missing_secret()); + }; let local_eph_pubkey = EphemeralPublic::from(&local_eph_privkey); // Compute common shared secret. diff --git a/pbt-gen/Cargo.toml b/pbt-gen/Cargo.toml index e6777847b..de418eebe 100644 --- a/pbt-gen/Cargo.toml +++ b/pbt-gen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-pbt-gen" -version = "0.33.0" +version = "0.33.1" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" diff --git a/proto/Cargo.toml b/proto/Cargo.toml index ea01615a5..9293e6973 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-proto" -version = "0.33.0" +version = "0.33.1" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0" diff --git a/rpc/Cargo.toml b/rpc/Cargo.toml index 5d024bc47..af30341be 100644 --- a/rpc/Cargo.toml +++ b/rpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-rpc" -version = "0.33.0" +version = "0.33.1" edition = "2021" license = "Apache-2.0" homepage = "https://www.tendermint.com/" @@ -60,9 +60,9 @@ websocket-client = [ ] [dependencies] -tendermint = { version = "0.33.0", default-features = false, path = "../tendermint" } -tendermint-config = { version = "0.33.0", path = "../config", default-features = false } -tendermint-proto = { version = "0.33.0", path = "../proto", default-features = false } +tendermint = { version = "0.33.1", default-features = false, path = "../tendermint" } +tendermint-config = { version = "0.33.1", path = "../config", default-features = false } +tendermint-proto = { version = "0.33.1", path = "../proto", default-features = false } async-trait = { version = "0.1", default-features = false } bytes = { version = "1.0", default-features = false } diff --git a/std-ext/Cargo.toml b/std-ext/Cargo.toml index 91daafec6..15f467fec 100644 --- a/std-ext/Cargo.toml +++ b/std-ext/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-std-ext" -version = "0.33.0" +version = "0.33.1" edition = "2021" license = "Apache-2.0" homepage = "https://www.tendermint.com/" diff --git a/tendermint/Cargo.toml b/tendermint/Cargo.toml index ec2606a2f..b06ce654d 100644 --- a/tendermint/Cargo.toml +++ b/tendermint/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint" -version = "0.33.0" # Also update depending crates (rpc, light-node, etc..) when bumping this . +version = "0.33.1" # Also update depending crates (rpc, light-node, etc..) when bumping this . license = "Apache-2.0" homepage = "https://www.tendermint.com/" repository = "https://github.com/informalsystems/tendermint-rs/tree/main/tendermint" @@ -44,7 +44,7 @@ serde_repr = { version = "0.1", default-features = false } signature = { version = "2", default-features = false, features = ["alloc"] } subtle = { version = "2", default-features = false } subtle-encoding = { version = "0.5", default-features = false, features = ["bech32-preview"] } -tendermint-proto = { version = "0.33.0", default-features = false, path = "../proto" } +tendermint-proto = { version = "0.33.1", default-features = false, path = "../proto" } time = { version = "0.3", default-features = false, features = ["macros", "parsing"] } zeroize = { version = "1.1", default-features = false, features = ["zeroize_derive", "alloc"] } flex-error = { version = "0.4.4", default-features = false } diff --git a/test/Cargo.toml b/test/Cargo.toml index 76d19f260..758cc5498 100644 --- a/test/Cargo.toml +++ b/test/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tendermint-test" description = "Tendermint workspace tests and common utilities for testing." -version = "0.33.0" +version = "0.33.1" edition = "2021" license = "Apache-2.0" categories = ["development", "test", "tools"] diff --git a/testgen/Cargo.toml b/testgen/Cargo.toml index 890451835..2909a2e31 100644 --- a/testgen/Cargo.toml +++ b/testgen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-testgen" -version = "0.33.0" +version = "0.33.1" authors = ["Informal Systems "] edition = "2021" readme = "README.md" @@ -16,7 +16,7 @@ description = """ """ [dependencies] -tendermint = { version = "0.33.0", path = "../tendermint", features = ["clock"] } +tendermint = { version = "0.33.1", path = "../tendermint", features = ["clock"] } serde = { version = "1", default-features = false, features = ["derive"] } serde_json = { version = "1", default-features = false, features = ["std"] } ed25519-consensus = { version = "2", default-features = false } diff --git a/tools/abci-test/Cargo.toml b/tools/abci-test/Cargo.toml index eaaa3d911..3401becd3 100644 --- a/tools/abci-test/Cargo.toml +++ b/tools/abci-test/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "abci-test" -version = "0.33.0" +version = "0.33.1" authors = ["Informal Systems "] edition = "2021" description = """ @@ -14,9 +14,9 @@ description = """ flex-error = { version = "0.4.4", default-features = false, features = ["std", "eyre_tracer"] } futures = "0.3" structopt = "0.3" -tendermint = { version = "0.33.0", path = "../../tendermint" } -tendermint-config = { version = "0.33.0", path = "../../config" } -tendermint-rpc = { version = "0.33.0", path = "../../rpc", features = [ "websocket-client" ] } +tendermint = { version = "0.33.1", path = "../../tendermint" } +tendermint-config = { version = "0.33.1", path = "../../config" } +tendermint-rpc = { version = "0.33.1", path = "../../rpc", features = [ "websocket-client" ] } tracing = "0.1" tracing-subscriber = "0.2" tokio = { version = "1.20", features = ["full"] } diff --git a/tools/kvstore-test/Cargo.toml b/tools/kvstore-test/Cargo.toml index 9f9e7b31a..801b2b473 100644 --- a/tools/kvstore-test/Cargo.toml +++ b/tools/kvstore-test/Cargo.toml @@ -11,9 +11,9 @@ edition = "2021" [dev-dependencies] futures = "0.3" sha2 = "0.10" -tendermint = { version = "0.33.0", path = "../../tendermint" } -tendermint-light-client = { version = "0.33.0", path = "../../light-client", features = ["unstable"] } -tendermint-rpc = { version = "0.33.0", path = "../../rpc", features = [ "http-client", "websocket-client" ] } +tendermint = { version = "0.33.1", path = "../../tendermint" } +tendermint-light-client = { version = "0.33.1", path = "../../light-client", features = ["unstable"] } +tendermint-rpc = { version = "0.33.1", path = "../../rpc", features = [ "http-client", "websocket-client" ] } tokio = { version = "1.0", features = [ "rt-multi-thread", "macros" ] } tracing = "0.1" tracing-subscriber = "0.3" diff --git a/tools/rpc-probe/Cargo.toml b/tools/rpc-probe/Cargo.toml index 59d4bc1b7..c89dae172 100644 --- a/tools/rpc-probe/Cargo.toml +++ b/tools/rpc-probe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tendermint-rpc-probe" -version = "0.33.0" +version = "0.33.1" authors = ["Informal Systems "] edition = "2021" license = "Apache-2.0"