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

Commit b7ee2f8

Browse files
tomtauliamsi
authored andcommitted
bump protobuf version (#68)
* 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
1 parent 2efb9b6 commit b7ee2f8

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "abci"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
authors = ["Adrian Brink <adrian@brink-holdings.com>", "Jackson Lewis <st.japa6@gmail.com>", "Dave Bryson", "Tomas Tauber"]
55
license = "MIT/Apache-2.0"
66
description = "Tendermint ABCI server for Rust"
@@ -12,7 +12,7 @@ include = ["src/**/*", "Cargo.toml"]
1212

1313
[dependencies]
1414
bytes = "0.4"
15-
protobuf = "2.2.0"
15+
protobuf = "2.6.2"
1616
byteorder = "1.2.7"
1717
integer-encoding = "1.0.5"
1818
log = "0.4.6"
@@ -21,4 +21,4 @@ tokio = "0.1"
2121
futures = "0.1"
2222

2323
[build-dependencies]
24-
protobuf-codegen-pure = "2.2.0"
24+
protobuf-codegen-pure = "2.6.2"

src/messages/abci.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 2.6.1. Do not edit
1+
// This file is generated by rust-protobuf 2.6.2. Do not edit
22
// @generated
33

44
// https://github.com/Manishearth/rust-clippy/issues/702
@@ -11453,24 +11453,24 @@ static file_descriptor_proto_data: &'static [u8] = b"\
1145311453
\x01(\x0cB\0\x12\x1e\n\x05proof\x18\x08\x20\x01(\x0b2\r.merkle.ProofB\0\
1145411454
\x12\x10\n\x06height\x18\t\x20\x01(\x03B\0\x12\x13\n\tcodespace\x18\n\
1145511455
\x20\x01(\tB\0:\0\"L\n\x12ResponseBeginBlock\x124\n\x04tags\x18\x01\x20\
11456-
\x03(\x0b2\x0e.common.KVPairB\x16\xea\xde\x1f\x0etags,omitempty\xc8\xde\
11457-
\x1f\0:\0\"\xc7\x01\n\x0fResponseCheckTx\x12\x0e\n\x04code\x18\x01\x20\
11456+
\x03(\x0b2\x0e.common.KVPairB\x16\xc8\xde\x1f\0\xea\xde\x1f\x0etags,omit\
11457+
empty:\0\"\xc7\x01\n\x0fResponseCheckTx\x12\x0e\n\x04code\x18\x01\x20\
1145811458
\x01(\rB\0\x12\x0e\n\x04data\x18\x02\x20\x01(\x0cB\0\x12\r\n\x03log\x18\
1145911459
\x03\x20\x01(\tB\0\x12\x0e\n\x04info\x18\x04\x20\x01(\tB\0\x12\x14\n\nga\
1146011460
s_wanted\x18\x05\x20\x01(\x03B\0\x12\x12\n\x08gas_used\x18\x06\x20\x01(\
11461-
\x03B\0\x124\n\x04tags\x18\x07\x20\x03(\x0b2\x0e.common.KVPairB\x16\xc8\
11462-
\xde\x1f\0\xea\xde\x1f\x0etags,omitempty\x12\x13\n\tcodespace\x18\x08\
11461+
\x03B\0\x124\n\x04tags\x18\x07\x20\x03(\x0b2\x0e.common.KVPairB\x16\xea\
11462+
\xde\x1f\x0etags,omitempty\xc8\xde\x1f\0\x12\x13\n\tcodespace\x18\x08\
1146311463
\x20\x01(\tB\0:\0\"\xc9\x01\n\x11ResponseDeliverTx\x12\x0e\n\x04code\x18\
1146411464
\x01\x20\x01(\rB\0\x12\x0e\n\x04data\x18\x02\x20\x01(\x0cB\0\x12\r\n\x03\
1146511465
log\x18\x03\x20\x01(\tB\0\x12\x0e\n\x04info\x18\x04\x20\x01(\tB\0\x12\
1146611466
\x14\n\ngas_wanted\x18\x05\x20\x01(\x03B\0\x12\x12\n\x08gas_used\x18\x06\
1146711467
\x20\x01(\x03B\0\x124\n\x04tags\x18\x07\x20\x03(\x0b2\x0e.common.KVPairB\
11468-
\x16\xc8\xde\x1f\0\xea\xde\x1f\x0etags,omitempty\x12\x13\n\tcodespace\
11468+
\x16\xea\xde\x1f\x0etags,omitempty\xc8\xde\x1f\0\x12\x13\n\tcodespace\
1146911469
\x18\x08\x20\x01(\tB\0:\0\"\xbc\x01\n\x10ResponseEndBlock\x126\n\x11vali\
1147011470
dator_updates\x18\x01\x20\x03(\x0b2\x15.abci.ValidatorUpdateB\x04\xc8\
1147111471
\xde\x1f\0\x128\n\x17consensus_param_updates\x18\x02\x20\x01(\x0b2\x15.a\
1147211472
bci.ConsensusParamsB\0\x124\n\x04tags\x18\x03\x20\x03(\x0b2\x0e.common.K\
11473-
VPairB\x16\xc8\xde\x1f\0\xea\xde\x1f\x0etags,omitempty:\0\"\"\n\x0eRespo\
11473+
VPairB\x16\xea\xde\x1f\x0etags,omitempty\xc8\xde\x1f\0:\0\"\"\n\x0eRespo\
1147411474
nseCommit\x12\x0e\n\x04data\x18\x02\x20\x01(\x0cB\0:\0\"\x8d\x01\n\x0fCo\
1147511475
nsensusParams\x12\"\n\x05block\x18\x01\x20\x01(\x0b2\x11.abci.BlockParam\
1147611476
sB\0\x12(\n\x08evidence\x18\x02\x20\x01(\x0b2\x14.abci.EvidenceParamsB\0\
@@ -11484,8 +11484,8 @@ static file_descriptor_proto_data: &'static [u8] = b"\
1148411484
\x12$\n\x07version\x18\x01\x20\x01(\x0b2\r.abci.VersionB\x04\xc8\xde\x1f\
1148511485
\0\x12\x1d\n\x08chain_id\x18\x02\x20\x01(\tB\x0b\xe2\xde\x1f\x07ChainID\
1148611486
\x12\x10\n\x06height\x18\x03\x20\x01(\x03B\0\x122\n\x04time\x18\x04\x20\
11487-
\x01(\x0b2\x1a.google.protobuf.TimestampB\x08\x90\xdf\x1f\x01\xc8\xde\
11488-
\x1f\0\x12\x11\n\x07num_txs\x18\x05\x20\x01(\x03B\0\x12\x13\n\ttotal_txs\
11487+
\x01(\x0b2\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\0\x90\xdf\x1f\
11488+
\x01\x12\x11\n\x07num_txs\x18\x05\x20\x01(\x03B\0\x12\x13\n\ttotal_txs\
1148911489
\x18\x06\x20\x01(\x03B\0\x12*\n\rlast_block_id\x18\x07\x20\x01(\x0b2\r.a\
1149011490
bci.BlockIDB\x04\xc8\xde\x1f\0\x12\x1a\n\x10last_commit_hash\x18\x08\x20\
1149111491
\x01(\x0cB\0\x12\x13\n\tdata_hash\x18\t\x20\x01(\x0cB\0\x12\x19\n\x0fval\
@@ -11511,7 +11511,7 @@ static file_descriptor_proto_data: &'static [u8] = b"\
1151111511
\x1f\0\x12\x10\n\x06height\x18\x03\x20\x01(\x03B\0\x122\n\x04time\x18\
1151211512
\x04\x20\x01(\x0b2\x1a.google.protobuf.TimestampB\x08\xc8\xde\x1f\0\x90\
1151311513
\xdf\x1f\x01\x12\x1c\n\x12total_voting_power\x18\x05\x20\x01(\x03B\0:\0B\
11514-
\x1c\xd0\xe2\x1e\x01\xb8\xe2\x1e\x01\xf8\xe1\x1e\x01\xe0\xe2\x1e\x01\xc8\
11514+
\x1c\xd0\xe2\x1e\x01\xf8\xe1\x1e\x01\xb8\xe2\x1e\x01\xc8\xe2\x1e\x01\xe0\
1151511515
\xe2\x1e\x01\xc0\xe3\x1e\x01\xa8\xe2\x1e\x01b\x06proto3\
1151611516
";
1151711517

src/messages/merkle.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 2.6.1. Do not edit
1+
// This file is generated by rust-protobuf 2.6.2. Do not edit
22
// @generated
33

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

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

src/messages/types.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 2.6.1. Do not edit
1+
// This file is generated by rust-protobuf 2.6.2. Do not edit
22
// @generated
33

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

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

0 commit comments

Comments
 (0)