diff --git a/Cargo.lock b/Cargo.lock index c0ae48c..cd360a8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -308,9 +308,9 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "676c5bae3939f3a7cbda3ff160fdcf85bbc997cb95dde092c2709099077564d8" dependencies = [ - "prost", - "prost-types", - "tendermint-proto", + "prost 0.7.0", + "prost-types 0.7.0", + "tendermint-proto 0.22.0", ] [[package]] @@ -325,11 +325,11 @@ dependencies = [ "eyre", "getrandom 0.2.3", "k256", - "prost", - "prost-types", + "prost 0.7.0", + "prost-types 0.7.0", "rand_core 0.6.3", "subtle-encoding", - "tendermint", + "tendermint 0.22.0", "thiserror", ] @@ -458,14 +458,14 @@ dependencies = [ "iqhttp", "once_cell", "percent-encoding", - "prost", + "prost 0.7.0", "rand 0.8.4", "rust_decimal", "serde", "serde_json", "sha2", "stdtx", - "tendermint", + "tendermint 0.23.1", "tendermint-rpc", "thiserror", "tokio", @@ -580,9 +580,9 @@ dependencies = [ [[package]] name = "flex-error" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e8de6bf49fb8856ee814e288a518e0d45598b6f78a95c1233b96eedba8bc06a" +checksum = "c606d892c9de11507fa0dcffc116434f94e105d0bbdc4e405b61519464c49d7b" dependencies = [ "eyre", "paste", @@ -1061,6 +1061,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.10.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "0.4.8" @@ -1494,7 +1503,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e6984d2f1a23009bd270b8bb56d0926810a3d483f59c987d77969e9d8e840b2" dependencies = [ "bytes 1.1.0", - "prost-derive", + "prost-derive 0.7.0", +] + +[[package]] +name = "prost" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "444879275cb4fd84958b1a1d5420d15e6fcf7c235fe47f053c9c2a80aceb6001" +dependencies = [ + "bytes 1.1.0", + "prost-derive 0.9.0", ] [[package]] @@ -1534,6 +1553,19 @@ dependencies = [ "syn", ] +[[package]] +name = "prost-derive" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cc1a3263e07e0bf68e96268f37665207b49560d98739662cdfaae215c720fe" +dependencies = [ + "anyhow", + "itertools 0.10.1", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "prost-types" version = "0.7.0" @@ -1541,7 +1573,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b518d7cdd93dab1d1122cf07fa9a60771836c668dde9d9e2a139f957f0d9f1bb" dependencies = [ "bytes 1.1.0", - "prost", + "prost 0.7.0", +] + +[[package]] +name = "prost-types" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "534b7a0e836e3c482d2693070f982e39e7611da9695d4d1f5a4b186b51faef0a" +dependencies = [ + "bytes 1.1.0", + "prost 0.9.0", ] [[package]] @@ -2114,8 +2156,8 @@ dependencies = [ "k256", "num-traits", "once_cell", - "prost", - "prost-types", + "prost 0.7.0", + "prost-types 0.7.0", "ripemd160", "serde", "serde_bytes", @@ -2125,13 +2167,42 @@ dependencies = [ "signature", "subtle", "subtle-encoding", - "tendermint-proto", + "tendermint-proto 0.22.0", "time", "toml", "url", "zeroize", ] +[[package]] +name = "tendermint" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "02880339f0e89dc7de809cb300a7dbe5e066c71937a7a55472438ae02e4a841b" +dependencies = [ + "async-trait", + "bytes 1.1.0", + "chrono", + "ed25519", + "ed25519-dalek", + "flex-error", + "futures", + "num-traits", + "once_cell", + "prost 0.9.0", + "prost-types 0.9.0", + "serde", + "serde_bytes", + "serde_json", + "serde_repr", + "sha2", + "signature", + "subtle", + "subtle-encoding", + "tendermint-proto 0.23.1", + "zeroize", +] + [[package]] name = "tendermint-proto" version = "0.22.0" @@ -2143,8 +2214,26 @@ dependencies = [ "flex-error", "num-derive", "num-traits", - "prost", - "prost-types", + "prost 0.7.0", + "prost-types 0.7.0", + "serde", + "serde_bytes", + "subtle-encoding", +] + +[[package]] +name = "tendermint-proto" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d1b8319fcf0860833eabe3278cf2d94ca20ef04bee6a77d892f986026fb1c252" +dependencies = [ + "bytes 1.1.0", + "chrono", + "flex-error", + "num-derive", + "num-traits", + "prost 0.9.0", + "prost-types 0.9.0", "serde", "serde_bytes", "subtle-encoding", @@ -2166,8 +2255,8 @@ dependencies = [ "serde_bytes", "serde_json", "subtle-encoding", - "tendermint", - "tendermint-proto", + "tendermint 0.22.0", + "tendermint-proto 0.22.0", "thiserror", "url", "uuid", diff --git a/Cargo.toml b/Cargo.toml index d8cfc1f..9415993 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ serde = { version = "1", features = ["serde_derive"] } serde_json = "1" sha2 = "0.9" stdtx = "0.5" -tendermint = "0.22" +tendermint = "0.23" tendermint-rpc = "0.22" thiserror = "1" tokio = { version = "1", features = ["full"] }