From f7d775337b9d9212ae990eb3f5cc945b0b0edcc2 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Mon, 14 May 2018 18:54:48 -0400 Subject: [PATCH] absent_validators: repeated int -> repeated bytes --- types/types.pb.go | 8 ++++---- types/types.proto | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/types/types.pb.go b/types/types.pb.go index 4c31bf1de..fc55a6723 100644 --- a/types/types.pb.go +++ b/types/types.pb.go @@ -598,7 +598,7 @@ func (m *RequestQuery) GetProve() bool { type RequestBeginBlock struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Header Header `protobuf:"bytes,2,opt,name=header" json:"header"` - AbsentValidators []int32 `protobuf:"varint,3,rep,packed,name=absent_validators,json=absentValidators" json:"absent_validators,omitempty"` + AbsentValidators [][]byte `protobuf:"bytes,3,rep,name=absent_validators,json=absentValidators" json:"absent_validators,omitempty"` ByzantineValidators []Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators" json:"byzantine_validators"` } @@ -621,7 +621,7 @@ func (m *RequestBeginBlock) GetHeader() Header { return Header{} } -func (m *RequestBeginBlock) GetAbsentValidators() []int32 { +func (m *RequestBeginBlock) GetAbsentValidators() [][]byte { if m != nil { return m.AbsentValidators } @@ -2288,7 +2288,7 @@ var fileDescriptorTypes = []byte{ 0xad, 0x8a, 0xa5, 0x25, 0x74, 0x2b, 0x58, 0xf9, 0xd7, 0x4c, 0xde, 0xa2, 0xa6, 0xa5, 0x04, 0xf3, 0x5f, 0x25, 0xd8, 0xbb, 0x13, 0x76, 0x38, 0xee, 0x82, 0xf2, 0x45, 0x38, 0x17, 0xb6, 0xc9, 0x23, 0x1c, 0x97, 0xda, 0x6c, 0xa5, 0x6f, 0xf7, 0xb6, 0x76, 0x74, 0x24, 0x3b, 0xb5, 0x97, 0x1a, 0x42, - 0x1e, 0xc1, 0x1e, 0x9d, 0x72, 0xe6, 0x89, 0x49, 0x62, 0x83, 0x2a, 0x47, 0x95, 0x7e, 0xcd, 0xda, + 0x1e, 0xc1, 0x1e, 0x9d, 0x72, 0xe6, 0x89, 0x49, 0x62, 0x83, 0x2a, 0x47, 0x95, 0x7e, 0xdb, 0xda, 0x55, 0x8a, 0xb7, 0xf1, 0x76, 0x8c, 0xe0, 0x60, 0x7a, 0xf3, 0x9e, 0x7a, 0xc2, 0xf1, 0x58, 0x12, 0x5f, 0x95, 0x1b, 0xba, 0xa3, 0xe7, 0x79, 0x71, 0xed, 0xd8, 0xcc, 0x9b, 0x31, 0x3d, 0xd3, 0x7e, 0x64, 0x12, 0x8f, 0x64, 0x1e, 0x41, 0x27, 0x7d, 0x13, 0x48, 0x07, 0xca, 0x62, 0xa3, 0xfd, 0x28, @@ -2358,5 +2358,5 @@ var fileDescriptorTypes = []byte{ 0x41, 0x2f, 0xbf, 0xe8, 0x45, 0x27, 0xe3, 0x52, 0xac, 0xe8, 0xc1, 0xa6, 0x57, 0xf8, 0xf1, 0x41, 0xce, 0x01, 0x12, 0x1f, 0xbe, 0x85, 0x2f, 0x31, 0xbd, 0xe2, 0x8f, 0x0a, 0x82, 0xe1, 0x18, 0x7d, 0x28, 0xe6, 0xbf, 0x90, 0xf4, 0x8a, 0xea, 0xfc, 0x69, 0x5d, 0xbe, 0xa2, 0x7d, 0xf2, 0xdf, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x2c, 0x07, 0x8a, 0x4d, 0xc1, 0x13, 0x00, 0x00, + 0x00, 0x00, 0xff, 0xff, 0xd0, 0x8a, 0xd9, 0x79, 0xc1, 0x13, 0x00, 0x00, } diff --git a/types/types.proto b/types/types.proto index ad6fd4be6..fc1994ed2 100644 --- a/types/types.proto +++ b/types/types.proto @@ -61,7 +61,7 @@ message RequestQuery { message RequestBeginBlock { bytes hash = 1; Header header = 2 [(gogoproto.nullable)=false]; - repeated int32 absent_validators = 3; + repeated bytes absent_validators = 3; repeated Evidence byzantine_validators = 4 [(gogoproto.nullable)=false]; }