Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
bump protobuf version (#68)
Browse files Browse the repository at this point in the history
* bump protobuf version

as https://github.com/RustSec/advisory-db/blob/master/crates/protobuf/RUSTSEC-2019-0003.toml

* Update Cargo.toml

Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>

* Update Cargo.toml

Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>

* regenerated protobuf files using 2.6.2
  • Loading branch information
tomtau authored and liamsi committed Jun 14, 2019
1 parent 2efb9b6 commit b7ee2f8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "abci"
version = "0.5.3"
version = "0.5.4"
authors = ["Adrian Brink <adrian@brink-holdings.com>", "Jackson Lewis <st.japa6@gmail.com>", "Dave Bryson", "Tomas Tauber"]
license = "MIT/Apache-2.0"
description = "Tendermint ABCI server for Rust"
Expand All @@ -12,7 +12,7 @@ include = ["src/**/*", "Cargo.toml"]

[dependencies]
bytes = "0.4"
protobuf = "2.2.0"
protobuf = "2.6.2"
byteorder = "1.2.7"
integer-encoding = "1.0.5"
log = "0.4.6"
Expand All @@ -21,4 +21,4 @@ tokio = "0.1"
futures = "0.1"

[build-dependencies]
protobuf-codegen-pure = "2.2.0"
protobuf-codegen-pure = "2.6.2"
20 changes: 10 additions & 10 deletions src/messages/abci.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.6.1. Do not edit
// This file is generated by rust-protobuf 2.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
Expand Down Expand Up @@ -11453,24 +11453,24 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x01(\x0cB\0\x12\x1e\n\x05proof\x18\x08\x20\x01(\x0b2\r.merkle.ProofB\0\
\x12\x10\n\x06height\x18\t\x20\x01(\x03B\0\x12\x13\n\tcodespace\x18\n\
\x20\x01(\tB\0:\0\"L\n\x12ResponseBeginBlock\x124\n\x04tags\x18\x01\x20\
\x03(\x0b2\x0e.common.KVPairB\x16\xea\xde\x1f\x0etags,omitempty\xc8\xde\
\x1f\0:\0\"\xc7\x01\n\x0fResponseCheckTx\x12\x0e\n\x04code\x18\x01\x20\
\x03(\x0b2\x0e.common.KVPairB\x16\xc8\xde\x1f\0\xea\xde\x1f\x0etags,omit\
empty:\0\"\xc7\x01\n\x0fResponseCheckTx\x12\x0e\n\x04code\x18\x01\x20\
\x01(\rB\0\x12\x0e\n\x04data\x18\x02\x20\x01(\x0cB\0\x12\r\n\x03log\x18\
\x03\x20\x01(\tB\0\x12\x0e\n\x04info\x18\x04\x20\x01(\tB\0\x12\x14\n\nga\
s_wanted\x18\x05\x20\x01(\x03B\0\x12\x12\n\x08gas_used\x18\x06\x20\x01(\
\x03B\0\x124\n\x04tags\x18\x07\x20\x03(\x0b2\x0e.common.KVPairB\x16\xc8\
\xde\x1f\0\xea\xde\x1f\x0etags,omitempty\x12\x13\n\tcodespace\x18\x08\
\x03B\0\x124\n\x04tags\x18\x07\x20\x03(\x0b2\x0e.common.KVPairB\x16\xea\
\xde\x1f\x0etags,omitempty\xc8\xde\x1f\0\x12\x13\n\tcodespace\x18\x08\
\x20\x01(\tB\0:\0\"\xc9\x01\n\x11ResponseDeliverTx\x12\x0e\n\x04code\x18\
\x01\x20\x01(\rB\0\x12\x0e\n\x04data\x18\x02\x20\x01(\x0cB\0\x12\r\n\x03\
log\x18\x03\x20\x01(\tB\0\x12\x0e\n\x04info\x18\x04\x20\x01(\tB\0\x12\
\x14\n\ngas_wanted\x18\x05\x20\x01(\x03B\0\x12\x12\n\x08gas_used\x18\x06\
\x20\x01(\x03B\0\x124\n\x04tags\x18\x07\x20\x03(\x0b2\x0e.common.KVPairB\
\x16\xc8\xde\x1f\0\xea\xde\x1f\x0etags,omitempty\x12\x13\n\tcodespace\
\x16\xea\xde\x1f\x0etags,omitempty\xc8\xde\x1f\0\x12\x13\n\tcodespace\
\x18\x08\x20\x01(\tB\0:\0\"\xbc\x01\n\x10ResponseEndBlock\x126\n\x11vali\
dator_updates\x18\x01\x20\x03(\x0b2\x15.abci.ValidatorUpdateB\x04\xc8\
\xde\x1f\0\x128\n\x17consensus_param_updates\x18\x02\x20\x01(\x0b2\x15.a\
bci.ConsensusParamsB\0\x124\n\x04tags\x18\x03\x20\x03(\x0b2\x0e.common.K\
VPairB\x16\xc8\xde\x1f\0\xea\xde\x1f\x0etags,omitempty:\0\"\"\n\x0eRespo\
VPairB\x16\xea\xde\x1f\x0etags,omitempty\xc8\xde\x1f\0:\0\"\"\n\x0eRespo\
nseCommit\x12\x0e\n\x04data\x18\x02\x20\x01(\x0cB\0:\0\"\x8d\x01\n\x0fCo\
nsensusParams\x12\"\n\x05block\x18\x01\x20\x01(\x0b2\x11.abci.BlockParam\
sB\0\x12(\n\x08evidence\x18\x02\x20\x01(\x0b2\x14.abci.EvidenceParamsB\0\
Expand All @@ -11484,8 +11484,8 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x12$\n\x07version\x18\x01\x20\x01(\x0b2\r.abci.VersionB\x04\xc8\xde\x1f\
\0\x12\x1d\n\x08chain_id\x18\x02\x20\x01(\tB\x0b\xe2\xde\x1f\x07ChainID\
\x12\x10\n\x06height\x18\x03\x20\x01(\x03B\0\x122\n\x04time\x18\x04\x20\
\x01(\x0b2\x1a.google.protobuf.TimestampB\x08\x90\xdf\x1f\x01\xc8\xde\
\x1f\0\x12\x11\n\x07num_txs\x18\x05\x20\x01(\x03B\0\x12\x13\n\ttotal_txs\
\x01(\x0b2\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\0\x90\xdf\x1f\
\x01\x12\x11\n\x07num_txs\x18\x05\x20\x01(\x03B\0\x12\x13\n\ttotal_txs\
\x18\x06\x20\x01(\x03B\0\x12*\n\rlast_block_id\x18\x07\x20\x01(\x0b2\r.a\
bci.BlockIDB\x04\xc8\xde\x1f\0\x12\x1a\n\x10last_commit_hash\x18\x08\x20\
\x01(\x0cB\0\x12\x13\n\tdata_hash\x18\t\x20\x01(\x0cB\0\x12\x19\n\x0fval\
Expand All @@ -11511,7 +11511,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\x1f\0\x12\x10\n\x06height\x18\x03\x20\x01(\x03B\0\x122\n\x04time\x18\
\x04\x20\x01(\x0b2\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\0\x90\
\xdf\x1f\x01\x12\x1c\n\x12total_voting_power\x18\x05\x20\x01(\x03B\0:\0B\
\x1c\xd0\xe2\x1e\x01\xb8\xe2\x1e\x01\xf8\xe1\x1e\x01\xe0\xe2\x1e\x01\xc8\
\x1c\xd0\xe2\x1e\x01\xf8\xe1\x1e\x01\xb8\xe2\x1e\x01\xc8\xe2\x1e\x01\xe0\
\xe2\x1e\x01\xc0\xe3\x1e\x01\xa8\xe2\x1e\x01b\x06proto3\
";

Expand Down
6 changes: 3 additions & 3 deletions src/messages/merkle.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.6.1. Do not edit
// This file is generated by rust-protobuf 2.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
Expand Down Expand Up @@ -455,8 +455,8 @@ static file_descriptor_proto_data: &'static [u8] = b"\
rkle\":\n\x07ProofOp\x12\x0e\n\x04type\x18\x01\x20\x01(\tB\0\x12\r\n\x03\
key\x18\x02\x20\x01(\x0cB\0\x12\x0e\n\x04data\x18\x03\x20\x01(\x0cB\0:\0\
\"-\n\x05Proof\x12\"\n\x03ops\x18\x01\x20\x03(\x0b2\x0f.merkle.ProofOpB\
\x04\xc8\xde\x1f\0:\0B\x14\xe0\xe2\x1e\x01\xd0\xe2\x1e\x01\xc8\xe2\x1e\
\x01\xa8\xe2\x1e\x01\xf8\xe1\x1e\x01b\x06proto3\
\x04\xc8\xde\x1f\0:\0B\x14\xc8\xe2\x1e\x01\xa8\xe2\x1e\x01\xe0\xe2\x1e\
\x01\xf8\xe1\x1e\x01\xd0\xe2\x1e\x01b\x06proto3\
";

static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
Expand Down
8 changes: 4 additions & 4 deletions src/messages/types.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file is generated by rust-protobuf 2.6.1. Do not edit
// This file is generated by rust-protobuf 2.6.2. Do not edit
// @generated

// https://github.com/Manishearth/rust-clippy/issues/702
Expand Down Expand Up @@ -440,9 +440,9 @@ static file_descriptor_proto_data: &'static [u8] = b"\
\n8github.com/tendermint/tendermint/libs/common/types.proto\x12\x06commo\
n\"*\n\x06KVPair\x12\r\n\x03key\x18\x01\x20\x01(\x0cB\0\x12\x0f\n\x05val\
ue\x18\x02\x20\x01(\x0cB\0:\0\",\n\x08KI64Pair\x12\r\n\x03key\x18\x01\
\x20\x01(\x0cB\0\x12\x0f\n\x05value\x18\x02\x20\x01(\x03B\0:\0B\x1c\xb8\
\xe2\x1e\x01\xc8\xe2\x1e\x01\xd0\xe2\x1e\x01\xe0\xe2\x1e\x01\xc0\xe3\x1e\
\x01\xa8\xe2\x1e\x01\xf8\xe1\x1e\x01b\x06proto3\
\x20\x01(\x0cB\0\x12\x0f\n\x05value\x18\x02\x20\x01(\x03B\0:\0B\x1c\xf8\
\xe1\x1e\x01\xb8\xe2\x1e\x01\xc0\xe3\x1e\x01\xd0\xe2\x1e\x01\xa8\xe2\x1e\
\x01\xe0\xe2\x1e\x01\xc8\xe2\x1e\x01b\x06proto3\
";

static mut file_descriptor_proto_lazy: ::protobuf::lazy::Lazy<::protobuf::descriptor::FileDescriptorProto> = ::protobuf::lazy::Lazy {
Expand Down

0 comments on commit b7ee2f8

Please sign in to comment.