github.com/badrootd/nibiru-cometbft@v0.37.5-0.20240307173500-2a75559eee9b/abci/types/types.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: tendermint/abci/types.proto
     3  
     4  package types
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	crypto "github.com/badrootd/nibiru-cometbft/proto/tendermint/crypto"
    10  	types1 "github.com/badrootd/nibiru-cometbft/proto/tendermint/types"
    11  	_ "github.com/cosmos/gogoproto/gogoproto"
    12  	grpc1 "github.com/cosmos/gogoproto/grpc"
    13  	proto "github.com/cosmos/gogoproto/proto"
    14  	_ "github.com/cosmos/gogoproto/types"
    15  	github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types"
    16  	grpc "google.golang.org/grpc"
    17  	codes "google.golang.org/grpc/codes"
    18  	status "google.golang.org/grpc/status"
    19  	io "io"
    20  	math "math"
    21  	math_bits "math/bits"
    22  	time "time"
    23  )
    24  
    25  // Reference imports to suppress errors if they are not otherwise used.
    26  var _ = proto.Marshal
    27  var _ = fmt.Errorf
    28  var _ = math.Inf
    29  var _ = time.Kitchen
    30  
    31  // This is a compile-time assertion to ensure that this generated file
    32  // is compatible with the proto package it is being compiled against.
    33  // A compilation error at this line likely means your copy of the
    34  // proto package needs to be updated.
    35  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    36  
    37  type CheckTxType int32
    38  
    39  const (
    40  	CheckTxType_New     CheckTxType = 0
    41  	CheckTxType_Recheck CheckTxType = 1
    42  )
    43  
    44  var CheckTxType_name = map[int32]string{
    45  	0: "NEW",
    46  	1: "RECHECK",
    47  }
    48  
    49  var CheckTxType_value = map[string]int32{
    50  	"NEW":     0,
    51  	"RECHECK": 1,
    52  }
    53  
    54  func (x CheckTxType) String() string {
    55  	return proto.EnumName(CheckTxType_name, int32(x))
    56  }
    57  
    58  func (CheckTxType) EnumDescriptor() ([]byte, []int) {
    59  	return fileDescriptor_252557cfdd89a31a, []int{0}
    60  }
    61  
    62  type MisbehaviorType int32
    63  
    64  const (
    65  	MisbehaviorType_UNKNOWN             MisbehaviorType = 0
    66  	MisbehaviorType_DUPLICATE_VOTE      MisbehaviorType = 1
    67  	MisbehaviorType_LIGHT_CLIENT_ATTACK MisbehaviorType = 2
    68  )
    69  
    70  var MisbehaviorType_name = map[int32]string{
    71  	0: "UNKNOWN",
    72  	1: "DUPLICATE_VOTE",
    73  	2: "LIGHT_CLIENT_ATTACK",
    74  }
    75  
    76  var MisbehaviorType_value = map[string]int32{
    77  	"UNKNOWN":             0,
    78  	"DUPLICATE_VOTE":      1,
    79  	"LIGHT_CLIENT_ATTACK": 2,
    80  }
    81  
    82  func (x MisbehaviorType) String() string {
    83  	return proto.EnumName(MisbehaviorType_name, int32(x))
    84  }
    85  
    86  func (MisbehaviorType) EnumDescriptor() ([]byte, []int) {
    87  	return fileDescriptor_252557cfdd89a31a, []int{1}
    88  }
    89  
    90  type ResponseOfferSnapshot_Result int32
    91  
    92  const (
    93  	ResponseOfferSnapshot_UNKNOWN       ResponseOfferSnapshot_Result = 0
    94  	ResponseOfferSnapshot_ACCEPT        ResponseOfferSnapshot_Result = 1
    95  	ResponseOfferSnapshot_ABORT         ResponseOfferSnapshot_Result = 2
    96  	ResponseOfferSnapshot_REJECT        ResponseOfferSnapshot_Result = 3
    97  	ResponseOfferSnapshot_REJECT_FORMAT ResponseOfferSnapshot_Result = 4
    98  	ResponseOfferSnapshot_REJECT_SENDER ResponseOfferSnapshot_Result = 5
    99  )
   100  
   101  var ResponseOfferSnapshot_Result_name = map[int32]string{
   102  	0: "UNKNOWN",
   103  	1: "ACCEPT",
   104  	2: "ABORT",
   105  	3: "REJECT",
   106  	4: "REJECT_FORMAT",
   107  	5: "REJECT_SENDER",
   108  }
   109  
   110  var ResponseOfferSnapshot_Result_value = map[string]int32{
   111  	"UNKNOWN":       0,
   112  	"ACCEPT":        1,
   113  	"ABORT":         2,
   114  	"REJECT":        3,
   115  	"REJECT_FORMAT": 4,
   116  	"REJECT_SENDER": 5,
   117  }
   118  
   119  func (x ResponseOfferSnapshot_Result) String() string {
   120  	return proto.EnumName(ResponseOfferSnapshot_Result_name, int32(x))
   121  }
   122  
   123  func (ResponseOfferSnapshot_Result) EnumDescriptor() ([]byte, []int) {
   124  	return fileDescriptor_252557cfdd89a31a, []int{30, 0}
   125  }
   126  
   127  type ResponseApplySnapshotChunk_Result int32
   128  
   129  const (
   130  	ResponseApplySnapshotChunk_UNKNOWN         ResponseApplySnapshotChunk_Result = 0
   131  	ResponseApplySnapshotChunk_ACCEPT          ResponseApplySnapshotChunk_Result = 1
   132  	ResponseApplySnapshotChunk_ABORT           ResponseApplySnapshotChunk_Result = 2
   133  	ResponseApplySnapshotChunk_RETRY           ResponseApplySnapshotChunk_Result = 3
   134  	ResponseApplySnapshotChunk_RETRY_SNAPSHOT  ResponseApplySnapshotChunk_Result = 4
   135  	ResponseApplySnapshotChunk_REJECT_SNAPSHOT ResponseApplySnapshotChunk_Result = 5
   136  )
   137  
   138  var ResponseApplySnapshotChunk_Result_name = map[int32]string{
   139  	0: "UNKNOWN",
   140  	1: "ACCEPT",
   141  	2: "ABORT",
   142  	3: "RETRY",
   143  	4: "RETRY_SNAPSHOT",
   144  	5: "REJECT_SNAPSHOT",
   145  }
   146  
   147  var ResponseApplySnapshotChunk_Result_value = map[string]int32{
   148  	"UNKNOWN":         0,
   149  	"ACCEPT":          1,
   150  	"ABORT":           2,
   151  	"RETRY":           3,
   152  	"RETRY_SNAPSHOT":  4,
   153  	"REJECT_SNAPSHOT": 5,
   154  }
   155  
   156  func (x ResponseApplySnapshotChunk_Result) String() string {
   157  	return proto.EnumName(ResponseApplySnapshotChunk_Result_name, int32(x))
   158  }
   159  
   160  func (ResponseApplySnapshotChunk_Result) EnumDescriptor() ([]byte, []int) {
   161  	return fileDescriptor_252557cfdd89a31a, []int{32, 0}
   162  }
   163  
   164  type ResponseProcessProposal_ProposalStatus int32
   165  
   166  const (
   167  	ResponseProcessProposal_UNKNOWN ResponseProcessProposal_ProposalStatus = 0
   168  	ResponseProcessProposal_ACCEPT  ResponseProcessProposal_ProposalStatus = 1
   169  	ResponseProcessProposal_REJECT  ResponseProcessProposal_ProposalStatus = 2
   170  )
   171  
   172  var ResponseProcessProposal_ProposalStatus_name = map[int32]string{
   173  	0: "UNKNOWN",
   174  	1: "ACCEPT",
   175  	2: "REJECT",
   176  }
   177  
   178  var ResponseProcessProposal_ProposalStatus_value = map[string]int32{
   179  	"UNKNOWN": 0,
   180  	"ACCEPT":  1,
   181  	"REJECT":  2,
   182  }
   183  
   184  func (x ResponseProcessProposal_ProposalStatus) String() string {
   185  	return proto.EnumName(ResponseProcessProposal_ProposalStatus_name, int32(x))
   186  }
   187  
   188  func (ResponseProcessProposal_ProposalStatus) EnumDescriptor() ([]byte, []int) {
   189  	return fileDescriptor_252557cfdd89a31a, []int{34, 0}
   190  }
   191  
   192  type Request struct {
   193  	// Types that are valid to be assigned to Value:
   194  	//	*Request_Echo
   195  	//	*Request_Flush
   196  	//	*Request_Info
   197  	//	*Request_InitChain
   198  	//	*Request_Query
   199  	//	*Request_BeginBlock
   200  	//	*Request_CheckTx
   201  	//	*Request_DeliverTx
   202  	//	*Request_EndBlock
   203  	//	*Request_Commit
   204  	//	*Request_ListSnapshots
   205  	//	*Request_OfferSnapshot
   206  	//	*Request_LoadSnapshotChunk
   207  	//	*Request_ApplySnapshotChunk
   208  	//	*Request_PrepareProposal
   209  	//	*Request_ProcessProposal
   210  	Value isRequest_Value `protobuf_oneof:"value"`
   211  }
   212  
   213  func (m *Request) Reset()         { *m = Request{} }
   214  func (m *Request) String() string { return proto.CompactTextString(m) }
   215  func (*Request) ProtoMessage()    {}
   216  func (*Request) Descriptor() ([]byte, []int) {
   217  	return fileDescriptor_252557cfdd89a31a, []int{0}
   218  }
   219  func (m *Request) XXX_Unmarshal(b []byte) error {
   220  	return m.Unmarshal(b)
   221  }
   222  func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   223  	if deterministic {
   224  		return xxx_messageInfo_Request.Marshal(b, m, deterministic)
   225  	} else {
   226  		b = b[:cap(b)]
   227  		n, err := m.MarshalToSizedBuffer(b)
   228  		if err != nil {
   229  			return nil, err
   230  		}
   231  		return b[:n], nil
   232  	}
   233  }
   234  func (m *Request) XXX_Merge(src proto.Message) {
   235  	xxx_messageInfo_Request.Merge(m, src)
   236  }
   237  func (m *Request) XXX_Size() int {
   238  	return m.Size()
   239  }
   240  func (m *Request) XXX_DiscardUnknown() {
   241  	xxx_messageInfo_Request.DiscardUnknown(m)
   242  }
   243  
   244  var xxx_messageInfo_Request proto.InternalMessageInfo
   245  
   246  type isRequest_Value interface {
   247  	isRequest_Value()
   248  	MarshalTo([]byte) (int, error)
   249  	Size() int
   250  }
   251  
   252  type Request_Echo struct {
   253  	Echo *RequestEcho `protobuf:"bytes,1,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
   254  }
   255  type Request_Flush struct {
   256  	Flush *RequestFlush `protobuf:"bytes,2,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
   257  }
   258  type Request_Info struct {
   259  	Info *RequestInfo `protobuf:"bytes,3,opt,name=info,proto3,oneof" json:"info,omitempty"`
   260  }
   261  type Request_InitChain struct {
   262  	InitChain *RequestInitChain `protobuf:"bytes,5,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
   263  }
   264  type Request_Query struct {
   265  	Query *RequestQuery `protobuf:"bytes,6,opt,name=query,proto3,oneof" json:"query,omitempty"`
   266  }
   267  type Request_BeginBlock struct {
   268  	BeginBlock *RequestBeginBlock `protobuf:"bytes,7,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
   269  }
   270  type Request_CheckTx struct {
   271  	CheckTx *RequestCheckTx `protobuf:"bytes,8,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
   272  }
   273  type Request_DeliverTx struct {
   274  	DeliverTx *RequestDeliverTx `protobuf:"bytes,9,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
   275  }
   276  type Request_EndBlock struct {
   277  	EndBlock *RequestEndBlock `protobuf:"bytes,10,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
   278  }
   279  type Request_Commit struct {
   280  	Commit *RequestCommit `protobuf:"bytes,11,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
   281  }
   282  type Request_ListSnapshots struct {
   283  	ListSnapshots *RequestListSnapshots `protobuf:"bytes,12,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
   284  }
   285  type Request_OfferSnapshot struct {
   286  	OfferSnapshot *RequestOfferSnapshot `protobuf:"bytes,13,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
   287  }
   288  type Request_LoadSnapshotChunk struct {
   289  	LoadSnapshotChunk *RequestLoadSnapshotChunk `protobuf:"bytes,14,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
   290  }
   291  type Request_ApplySnapshotChunk struct {
   292  	ApplySnapshotChunk *RequestApplySnapshotChunk `protobuf:"bytes,15,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
   293  }
   294  type Request_PrepareProposal struct {
   295  	PrepareProposal *RequestPrepareProposal `protobuf:"bytes,16,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof" json:"prepare_proposal,omitempty"`
   296  }
   297  type Request_ProcessProposal struct {
   298  	ProcessProposal *RequestProcessProposal `protobuf:"bytes,17,opt,name=process_proposal,json=processProposal,proto3,oneof" json:"process_proposal,omitempty"`
   299  }
   300  
   301  func (*Request_Echo) isRequest_Value()               {}
   302  func (*Request_Flush) isRequest_Value()              {}
   303  func (*Request_Info) isRequest_Value()               {}
   304  func (*Request_InitChain) isRequest_Value()          {}
   305  func (*Request_Query) isRequest_Value()              {}
   306  func (*Request_BeginBlock) isRequest_Value()         {}
   307  func (*Request_CheckTx) isRequest_Value()            {}
   308  func (*Request_DeliverTx) isRequest_Value()          {}
   309  func (*Request_EndBlock) isRequest_Value()           {}
   310  func (*Request_Commit) isRequest_Value()             {}
   311  func (*Request_ListSnapshots) isRequest_Value()      {}
   312  func (*Request_OfferSnapshot) isRequest_Value()      {}
   313  func (*Request_LoadSnapshotChunk) isRequest_Value()  {}
   314  func (*Request_ApplySnapshotChunk) isRequest_Value() {}
   315  func (*Request_PrepareProposal) isRequest_Value()    {}
   316  func (*Request_ProcessProposal) isRequest_Value()    {}
   317  
   318  func (m *Request) GetValue() isRequest_Value {
   319  	if m != nil {
   320  		return m.Value
   321  	}
   322  	return nil
   323  }
   324  
   325  func (m *Request) GetEcho() *RequestEcho {
   326  	if x, ok := m.GetValue().(*Request_Echo); ok {
   327  		return x.Echo
   328  	}
   329  	return nil
   330  }
   331  
   332  func (m *Request) GetFlush() *RequestFlush {
   333  	if x, ok := m.GetValue().(*Request_Flush); ok {
   334  		return x.Flush
   335  	}
   336  	return nil
   337  }
   338  
   339  func (m *Request) GetInfo() *RequestInfo {
   340  	if x, ok := m.GetValue().(*Request_Info); ok {
   341  		return x.Info
   342  	}
   343  	return nil
   344  }
   345  
   346  func (m *Request) GetInitChain() *RequestInitChain {
   347  	if x, ok := m.GetValue().(*Request_InitChain); ok {
   348  		return x.InitChain
   349  	}
   350  	return nil
   351  }
   352  
   353  func (m *Request) GetQuery() *RequestQuery {
   354  	if x, ok := m.GetValue().(*Request_Query); ok {
   355  		return x.Query
   356  	}
   357  	return nil
   358  }
   359  
   360  func (m *Request) GetBeginBlock() *RequestBeginBlock {
   361  	if x, ok := m.GetValue().(*Request_BeginBlock); ok {
   362  		return x.BeginBlock
   363  	}
   364  	return nil
   365  }
   366  
   367  func (m *Request) GetCheckTx() *RequestCheckTx {
   368  	if x, ok := m.GetValue().(*Request_CheckTx); ok {
   369  		return x.CheckTx
   370  	}
   371  	return nil
   372  }
   373  
   374  func (m *Request) GetDeliverTx() *RequestDeliverTx {
   375  	if x, ok := m.GetValue().(*Request_DeliverTx); ok {
   376  		return x.DeliverTx
   377  	}
   378  	return nil
   379  }
   380  
   381  func (m *Request) GetEndBlock() *RequestEndBlock {
   382  	if x, ok := m.GetValue().(*Request_EndBlock); ok {
   383  		return x.EndBlock
   384  	}
   385  	return nil
   386  }
   387  
   388  func (m *Request) GetCommit() *RequestCommit {
   389  	if x, ok := m.GetValue().(*Request_Commit); ok {
   390  		return x.Commit
   391  	}
   392  	return nil
   393  }
   394  
   395  func (m *Request) GetListSnapshots() *RequestListSnapshots {
   396  	if x, ok := m.GetValue().(*Request_ListSnapshots); ok {
   397  		return x.ListSnapshots
   398  	}
   399  	return nil
   400  }
   401  
   402  func (m *Request) GetOfferSnapshot() *RequestOfferSnapshot {
   403  	if x, ok := m.GetValue().(*Request_OfferSnapshot); ok {
   404  		return x.OfferSnapshot
   405  	}
   406  	return nil
   407  }
   408  
   409  func (m *Request) GetLoadSnapshotChunk() *RequestLoadSnapshotChunk {
   410  	if x, ok := m.GetValue().(*Request_LoadSnapshotChunk); ok {
   411  		return x.LoadSnapshotChunk
   412  	}
   413  	return nil
   414  }
   415  
   416  func (m *Request) GetApplySnapshotChunk() *RequestApplySnapshotChunk {
   417  	if x, ok := m.GetValue().(*Request_ApplySnapshotChunk); ok {
   418  		return x.ApplySnapshotChunk
   419  	}
   420  	return nil
   421  }
   422  
   423  func (m *Request) GetPrepareProposal() *RequestPrepareProposal {
   424  	if x, ok := m.GetValue().(*Request_PrepareProposal); ok {
   425  		return x.PrepareProposal
   426  	}
   427  	return nil
   428  }
   429  
   430  func (m *Request) GetProcessProposal() *RequestProcessProposal {
   431  	if x, ok := m.GetValue().(*Request_ProcessProposal); ok {
   432  		return x.ProcessProposal
   433  	}
   434  	return nil
   435  }
   436  
   437  // XXX_OneofWrappers is for the internal use of the proto package.
   438  func (*Request) XXX_OneofWrappers() []interface{} {
   439  	return []interface{}{
   440  		(*Request_Echo)(nil),
   441  		(*Request_Flush)(nil),
   442  		(*Request_Info)(nil),
   443  		(*Request_InitChain)(nil),
   444  		(*Request_Query)(nil),
   445  		(*Request_BeginBlock)(nil),
   446  		(*Request_CheckTx)(nil),
   447  		(*Request_DeliverTx)(nil),
   448  		(*Request_EndBlock)(nil),
   449  		(*Request_Commit)(nil),
   450  		(*Request_ListSnapshots)(nil),
   451  		(*Request_OfferSnapshot)(nil),
   452  		(*Request_LoadSnapshotChunk)(nil),
   453  		(*Request_ApplySnapshotChunk)(nil),
   454  		(*Request_PrepareProposal)(nil),
   455  		(*Request_ProcessProposal)(nil),
   456  	}
   457  }
   458  
   459  type RequestEcho struct {
   460  	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
   461  }
   462  
   463  func (m *RequestEcho) Reset()         { *m = RequestEcho{} }
   464  func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
   465  func (*RequestEcho) ProtoMessage()    {}
   466  func (*RequestEcho) Descriptor() ([]byte, []int) {
   467  	return fileDescriptor_252557cfdd89a31a, []int{1}
   468  }
   469  func (m *RequestEcho) XXX_Unmarshal(b []byte) error {
   470  	return m.Unmarshal(b)
   471  }
   472  func (m *RequestEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   473  	if deterministic {
   474  		return xxx_messageInfo_RequestEcho.Marshal(b, m, deterministic)
   475  	} else {
   476  		b = b[:cap(b)]
   477  		n, err := m.MarshalToSizedBuffer(b)
   478  		if err != nil {
   479  			return nil, err
   480  		}
   481  		return b[:n], nil
   482  	}
   483  }
   484  func (m *RequestEcho) XXX_Merge(src proto.Message) {
   485  	xxx_messageInfo_RequestEcho.Merge(m, src)
   486  }
   487  func (m *RequestEcho) XXX_Size() int {
   488  	return m.Size()
   489  }
   490  func (m *RequestEcho) XXX_DiscardUnknown() {
   491  	xxx_messageInfo_RequestEcho.DiscardUnknown(m)
   492  }
   493  
   494  var xxx_messageInfo_RequestEcho proto.InternalMessageInfo
   495  
   496  func (m *RequestEcho) GetMessage() string {
   497  	if m != nil {
   498  		return m.Message
   499  	}
   500  	return ""
   501  }
   502  
   503  type RequestFlush struct {
   504  }
   505  
   506  func (m *RequestFlush) Reset()         { *m = RequestFlush{} }
   507  func (m *RequestFlush) String() string { return proto.CompactTextString(m) }
   508  func (*RequestFlush) ProtoMessage()    {}
   509  func (*RequestFlush) Descriptor() ([]byte, []int) {
   510  	return fileDescriptor_252557cfdd89a31a, []int{2}
   511  }
   512  func (m *RequestFlush) XXX_Unmarshal(b []byte) error {
   513  	return m.Unmarshal(b)
   514  }
   515  func (m *RequestFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   516  	if deterministic {
   517  		return xxx_messageInfo_RequestFlush.Marshal(b, m, deterministic)
   518  	} else {
   519  		b = b[:cap(b)]
   520  		n, err := m.MarshalToSizedBuffer(b)
   521  		if err != nil {
   522  			return nil, err
   523  		}
   524  		return b[:n], nil
   525  	}
   526  }
   527  func (m *RequestFlush) XXX_Merge(src proto.Message) {
   528  	xxx_messageInfo_RequestFlush.Merge(m, src)
   529  }
   530  func (m *RequestFlush) XXX_Size() int {
   531  	return m.Size()
   532  }
   533  func (m *RequestFlush) XXX_DiscardUnknown() {
   534  	xxx_messageInfo_RequestFlush.DiscardUnknown(m)
   535  }
   536  
   537  var xxx_messageInfo_RequestFlush proto.InternalMessageInfo
   538  
   539  type RequestInfo struct {
   540  	Version      string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
   541  	BlockVersion uint64 `protobuf:"varint,2,opt,name=block_version,json=blockVersion,proto3" json:"block_version,omitempty"`
   542  	P2PVersion   uint64 `protobuf:"varint,3,opt,name=p2p_version,json=p2pVersion,proto3" json:"p2p_version,omitempty"`
   543  	AbciVersion  string `protobuf:"bytes,4,opt,name=abci_version,json=abciVersion,proto3" json:"abci_version,omitempty"`
   544  }
   545  
   546  func (m *RequestInfo) Reset()         { *m = RequestInfo{} }
   547  func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
   548  func (*RequestInfo) ProtoMessage()    {}
   549  func (*RequestInfo) Descriptor() ([]byte, []int) {
   550  	return fileDescriptor_252557cfdd89a31a, []int{3}
   551  }
   552  func (m *RequestInfo) XXX_Unmarshal(b []byte) error {
   553  	return m.Unmarshal(b)
   554  }
   555  func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   556  	if deterministic {
   557  		return xxx_messageInfo_RequestInfo.Marshal(b, m, deterministic)
   558  	} else {
   559  		b = b[:cap(b)]
   560  		n, err := m.MarshalToSizedBuffer(b)
   561  		if err != nil {
   562  			return nil, err
   563  		}
   564  		return b[:n], nil
   565  	}
   566  }
   567  func (m *RequestInfo) XXX_Merge(src proto.Message) {
   568  	xxx_messageInfo_RequestInfo.Merge(m, src)
   569  }
   570  func (m *RequestInfo) XXX_Size() int {
   571  	return m.Size()
   572  }
   573  func (m *RequestInfo) XXX_DiscardUnknown() {
   574  	xxx_messageInfo_RequestInfo.DiscardUnknown(m)
   575  }
   576  
   577  var xxx_messageInfo_RequestInfo proto.InternalMessageInfo
   578  
   579  func (m *RequestInfo) GetVersion() string {
   580  	if m != nil {
   581  		return m.Version
   582  	}
   583  	return ""
   584  }
   585  
   586  func (m *RequestInfo) GetBlockVersion() uint64 {
   587  	if m != nil {
   588  		return m.BlockVersion
   589  	}
   590  	return 0
   591  }
   592  
   593  func (m *RequestInfo) GetP2PVersion() uint64 {
   594  	if m != nil {
   595  		return m.P2PVersion
   596  	}
   597  	return 0
   598  }
   599  
   600  func (m *RequestInfo) GetAbciVersion() string {
   601  	if m != nil {
   602  		return m.AbciVersion
   603  	}
   604  	return ""
   605  }
   606  
   607  type RequestInitChain struct {
   608  	Time            time.Time               `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"`
   609  	ChainId         string                  `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
   610  	ConsensusParams *types1.ConsensusParams `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"`
   611  	Validators      []ValidatorUpdate       `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators"`
   612  	AppStateBytes   []byte                  `protobuf:"bytes,5,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"`
   613  	InitialHeight   int64                   `protobuf:"varint,6,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
   614  }
   615  
   616  func (m *RequestInitChain) Reset()         { *m = RequestInitChain{} }
   617  func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
   618  func (*RequestInitChain) ProtoMessage()    {}
   619  func (*RequestInitChain) Descriptor() ([]byte, []int) {
   620  	return fileDescriptor_252557cfdd89a31a, []int{4}
   621  }
   622  func (m *RequestInitChain) XXX_Unmarshal(b []byte) error {
   623  	return m.Unmarshal(b)
   624  }
   625  func (m *RequestInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   626  	if deterministic {
   627  		return xxx_messageInfo_RequestInitChain.Marshal(b, m, deterministic)
   628  	} else {
   629  		b = b[:cap(b)]
   630  		n, err := m.MarshalToSizedBuffer(b)
   631  		if err != nil {
   632  			return nil, err
   633  		}
   634  		return b[:n], nil
   635  	}
   636  }
   637  func (m *RequestInitChain) XXX_Merge(src proto.Message) {
   638  	xxx_messageInfo_RequestInitChain.Merge(m, src)
   639  }
   640  func (m *RequestInitChain) XXX_Size() int {
   641  	return m.Size()
   642  }
   643  func (m *RequestInitChain) XXX_DiscardUnknown() {
   644  	xxx_messageInfo_RequestInitChain.DiscardUnknown(m)
   645  }
   646  
   647  var xxx_messageInfo_RequestInitChain proto.InternalMessageInfo
   648  
   649  func (m *RequestInitChain) GetTime() time.Time {
   650  	if m != nil {
   651  		return m.Time
   652  	}
   653  	return time.Time{}
   654  }
   655  
   656  func (m *RequestInitChain) GetChainId() string {
   657  	if m != nil {
   658  		return m.ChainId
   659  	}
   660  	return ""
   661  }
   662  
   663  func (m *RequestInitChain) GetConsensusParams() *types1.ConsensusParams {
   664  	if m != nil {
   665  		return m.ConsensusParams
   666  	}
   667  	return nil
   668  }
   669  
   670  func (m *RequestInitChain) GetValidators() []ValidatorUpdate {
   671  	if m != nil {
   672  		return m.Validators
   673  	}
   674  	return nil
   675  }
   676  
   677  func (m *RequestInitChain) GetAppStateBytes() []byte {
   678  	if m != nil {
   679  		return m.AppStateBytes
   680  	}
   681  	return nil
   682  }
   683  
   684  func (m *RequestInitChain) GetInitialHeight() int64 {
   685  	if m != nil {
   686  		return m.InitialHeight
   687  	}
   688  	return 0
   689  }
   690  
   691  type RequestQuery struct {
   692  	Data   []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
   693  	Path   string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
   694  	Height int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
   695  	Prove  bool   `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"`
   696  }
   697  
   698  func (m *RequestQuery) Reset()         { *m = RequestQuery{} }
   699  func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
   700  func (*RequestQuery) ProtoMessage()    {}
   701  func (*RequestQuery) Descriptor() ([]byte, []int) {
   702  	return fileDescriptor_252557cfdd89a31a, []int{5}
   703  }
   704  func (m *RequestQuery) XXX_Unmarshal(b []byte) error {
   705  	return m.Unmarshal(b)
   706  }
   707  func (m *RequestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   708  	if deterministic {
   709  		return xxx_messageInfo_RequestQuery.Marshal(b, m, deterministic)
   710  	} else {
   711  		b = b[:cap(b)]
   712  		n, err := m.MarshalToSizedBuffer(b)
   713  		if err != nil {
   714  			return nil, err
   715  		}
   716  		return b[:n], nil
   717  	}
   718  }
   719  func (m *RequestQuery) XXX_Merge(src proto.Message) {
   720  	xxx_messageInfo_RequestQuery.Merge(m, src)
   721  }
   722  func (m *RequestQuery) XXX_Size() int {
   723  	return m.Size()
   724  }
   725  func (m *RequestQuery) XXX_DiscardUnknown() {
   726  	xxx_messageInfo_RequestQuery.DiscardUnknown(m)
   727  }
   728  
   729  var xxx_messageInfo_RequestQuery proto.InternalMessageInfo
   730  
   731  func (m *RequestQuery) GetData() []byte {
   732  	if m != nil {
   733  		return m.Data
   734  	}
   735  	return nil
   736  }
   737  
   738  func (m *RequestQuery) GetPath() string {
   739  	if m != nil {
   740  		return m.Path
   741  	}
   742  	return ""
   743  }
   744  
   745  func (m *RequestQuery) GetHeight() int64 {
   746  	if m != nil {
   747  		return m.Height
   748  	}
   749  	return 0
   750  }
   751  
   752  func (m *RequestQuery) GetProve() bool {
   753  	if m != nil {
   754  		return m.Prove
   755  	}
   756  	return false
   757  }
   758  
   759  type RequestBeginBlock struct {
   760  	Hash                []byte        `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
   761  	Header              types1.Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header"`
   762  	LastCommitInfo      CommitInfo    `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info"`
   763  	ByzantineValidators []Misbehavior `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"`
   764  }
   765  
   766  func (m *RequestBeginBlock) Reset()         { *m = RequestBeginBlock{} }
   767  func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) }
   768  func (*RequestBeginBlock) ProtoMessage()    {}
   769  func (*RequestBeginBlock) Descriptor() ([]byte, []int) {
   770  	return fileDescriptor_252557cfdd89a31a, []int{6}
   771  }
   772  func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error {
   773  	return m.Unmarshal(b)
   774  }
   775  func (m *RequestBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   776  	if deterministic {
   777  		return xxx_messageInfo_RequestBeginBlock.Marshal(b, m, deterministic)
   778  	} else {
   779  		b = b[:cap(b)]
   780  		n, err := m.MarshalToSizedBuffer(b)
   781  		if err != nil {
   782  			return nil, err
   783  		}
   784  		return b[:n], nil
   785  	}
   786  }
   787  func (m *RequestBeginBlock) XXX_Merge(src proto.Message) {
   788  	xxx_messageInfo_RequestBeginBlock.Merge(m, src)
   789  }
   790  func (m *RequestBeginBlock) XXX_Size() int {
   791  	return m.Size()
   792  }
   793  func (m *RequestBeginBlock) XXX_DiscardUnknown() {
   794  	xxx_messageInfo_RequestBeginBlock.DiscardUnknown(m)
   795  }
   796  
   797  var xxx_messageInfo_RequestBeginBlock proto.InternalMessageInfo
   798  
   799  func (m *RequestBeginBlock) GetHash() []byte {
   800  	if m != nil {
   801  		return m.Hash
   802  	}
   803  	return nil
   804  }
   805  
   806  func (m *RequestBeginBlock) GetHeader() types1.Header {
   807  	if m != nil {
   808  		return m.Header
   809  	}
   810  	return types1.Header{}
   811  }
   812  
   813  func (m *RequestBeginBlock) GetLastCommitInfo() CommitInfo {
   814  	if m != nil {
   815  		return m.LastCommitInfo
   816  	}
   817  	return CommitInfo{}
   818  }
   819  
   820  func (m *RequestBeginBlock) GetByzantineValidators() []Misbehavior {
   821  	if m != nil {
   822  		return m.ByzantineValidators
   823  	}
   824  	return nil
   825  }
   826  
   827  type RequestCheckTx struct {
   828  	Tx   []byte      `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
   829  	Type CheckTxType `protobuf:"varint,2,opt,name=type,proto3,enum=tendermint.abci.CheckTxType" json:"type,omitempty"`
   830  }
   831  
   832  func (m *RequestCheckTx) Reset()         { *m = RequestCheckTx{} }
   833  func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) }
   834  func (*RequestCheckTx) ProtoMessage()    {}
   835  func (*RequestCheckTx) Descriptor() ([]byte, []int) {
   836  	return fileDescriptor_252557cfdd89a31a, []int{7}
   837  }
   838  func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error {
   839  	return m.Unmarshal(b)
   840  }
   841  func (m *RequestCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   842  	if deterministic {
   843  		return xxx_messageInfo_RequestCheckTx.Marshal(b, m, deterministic)
   844  	} else {
   845  		b = b[:cap(b)]
   846  		n, err := m.MarshalToSizedBuffer(b)
   847  		if err != nil {
   848  			return nil, err
   849  		}
   850  		return b[:n], nil
   851  	}
   852  }
   853  func (m *RequestCheckTx) XXX_Merge(src proto.Message) {
   854  	xxx_messageInfo_RequestCheckTx.Merge(m, src)
   855  }
   856  func (m *RequestCheckTx) XXX_Size() int {
   857  	return m.Size()
   858  }
   859  func (m *RequestCheckTx) XXX_DiscardUnknown() {
   860  	xxx_messageInfo_RequestCheckTx.DiscardUnknown(m)
   861  }
   862  
   863  var xxx_messageInfo_RequestCheckTx proto.InternalMessageInfo
   864  
   865  func (m *RequestCheckTx) GetTx() []byte {
   866  	if m != nil {
   867  		return m.Tx
   868  	}
   869  	return nil
   870  }
   871  
   872  func (m *RequestCheckTx) GetType() CheckTxType {
   873  	if m != nil {
   874  		return m.Type
   875  	}
   876  	return CheckTxType_New
   877  }
   878  
   879  type RequestDeliverTx struct {
   880  	Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
   881  }
   882  
   883  func (m *RequestDeliverTx) Reset()         { *m = RequestDeliverTx{} }
   884  func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) }
   885  func (*RequestDeliverTx) ProtoMessage()    {}
   886  func (*RequestDeliverTx) Descriptor() ([]byte, []int) {
   887  	return fileDescriptor_252557cfdd89a31a, []int{8}
   888  }
   889  func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error {
   890  	return m.Unmarshal(b)
   891  }
   892  func (m *RequestDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   893  	if deterministic {
   894  		return xxx_messageInfo_RequestDeliverTx.Marshal(b, m, deterministic)
   895  	} else {
   896  		b = b[:cap(b)]
   897  		n, err := m.MarshalToSizedBuffer(b)
   898  		if err != nil {
   899  			return nil, err
   900  		}
   901  		return b[:n], nil
   902  	}
   903  }
   904  func (m *RequestDeliverTx) XXX_Merge(src proto.Message) {
   905  	xxx_messageInfo_RequestDeliverTx.Merge(m, src)
   906  }
   907  func (m *RequestDeliverTx) XXX_Size() int {
   908  	return m.Size()
   909  }
   910  func (m *RequestDeliverTx) XXX_DiscardUnknown() {
   911  	xxx_messageInfo_RequestDeliverTx.DiscardUnknown(m)
   912  }
   913  
   914  var xxx_messageInfo_RequestDeliverTx proto.InternalMessageInfo
   915  
   916  func (m *RequestDeliverTx) GetTx() []byte {
   917  	if m != nil {
   918  		return m.Tx
   919  	}
   920  	return nil
   921  }
   922  
   923  type RequestEndBlock struct {
   924  	Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
   925  }
   926  
   927  func (m *RequestEndBlock) Reset()         { *m = RequestEndBlock{} }
   928  func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
   929  func (*RequestEndBlock) ProtoMessage()    {}
   930  func (*RequestEndBlock) Descriptor() ([]byte, []int) {
   931  	return fileDescriptor_252557cfdd89a31a, []int{9}
   932  }
   933  func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error {
   934  	return m.Unmarshal(b)
   935  }
   936  func (m *RequestEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   937  	if deterministic {
   938  		return xxx_messageInfo_RequestEndBlock.Marshal(b, m, deterministic)
   939  	} else {
   940  		b = b[:cap(b)]
   941  		n, err := m.MarshalToSizedBuffer(b)
   942  		if err != nil {
   943  			return nil, err
   944  		}
   945  		return b[:n], nil
   946  	}
   947  }
   948  func (m *RequestEndBlock) XXX_Merge(src proto.Message) {
   949  	xxx_messageInfo_RequestEndBlock.Merge(m, src)
   950  }
   951  func (m *RequestEndBlock) XXX_Size() int {
   952  	return m.Size()
   953  }
   954  func (m *RequestEndBlock) XXX_DiscardUnknown() {
   955  	xxx_messageInfo_RequestEndBlock.DiscardUnknown(m)
   956  }
   957  
   958  var xxx_messageInfo_RequestEndBlock proto.InternalMessageInfo
   959  
   960  func (m *RequestEndBlock) GetHeight() int64 {
   961  	if m != nil {
   962  		return m.Height
   963  	}
   964  	return 0
   965  }
   966  
   967  type RequestCommit struct {
   968  }
   969  
   970  func (m *RequestCommit) Reset()         { *m = RequestCommit{} }
   971  func (m *RequestCommit) String() string { return proto.CompactTextString(m) }
   972  func (*RequestCommit) ProtoMessage()    {}
   973  func (*RequestCommit) Descriptor() ([]byte, []int) {
   974  	return fileDescriptor_252557cfdd89a31a, []int{10}
   975  }
   976  func (m *RequestCommit) XXX_Unmarshal(b []byte) error {
   977  	return m.Unmarshal(b)
   978  }
   979  func (m *RequestCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   980  	if deterministic {
   981  		return xxx_messageInfo_RequestCommit.Marshal(b, m, deterministic)
   982  	} else {
   983  		b = b[:cap(b)]
   984  		n, err := m.MarshalToSizedBuffer(b)
   985  		if err != nil {
   986  			return nil, err
   987  		}
   988  		return b[:n], nil
   989  	}
   990  }
   991  func (m *RequestCommit) XXX_Merge(src proto.Message) {
   992  	xxx_messageInfo_RequestCommit.Merge(m, src)
   993  }
   994  func (m *RequestCommit) XXX_Size() int {
   995  	return m.Size()
   996  }
   997  func (m *RequestCommit) XXX_DiscardUnknown() {
   998  	xxx_messageInfo_RequestCommit.DiscardUnknown(m)
   999  }
  1000  
  1001  var xxx_messageInfo_RequestCommit proto.InternalMessageInfo
  1002  
  1003  // lists available snapshots
  1004  type RequestListSnapshots struct {
  1005  }
  1006  
  1007  func (m *RequestListSnapshots) Reset()         { *m = RequestListSnapshots{} }
  1008  func (m *RequestListSnapshots) String() string { return proto.CompactTextString(m) }
  1009  func (*RequestListSnapshots) ProtoMessage()    {}
  1010  func (*RequestListSnapshots) Descriptor() ([]byte, []int) {
  1011  	return fileDescriptor_252557cfdd89a31a, []int{11}
  1012  }
  1013  func (m *RequestListSnapshots) XXX_Unmarshal(b []byte) error {
  1014  	return m.Unmarshal(b)
  1015  }
  1016  func (m *RequestListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1017  	if deterministic {
  1018  		return xxx_messageInfo_RequestListSnapshots.Marshal(b, m, deterministic)
  1019  	} else {
  1020  		b = b[:cap(b)]
  1021  		n, err := m.MarshalToSizedBuffer(b)
  1022  		if err != nil {
  1023  			return nil, err
  1024  		}
  1025  		return b[:n], nil
  1026  	}
  1027  }
  1028  func (m *RequestListSnapshots) XXX_Merge(src proto.Message) {
  1029  	xxx_messageInfo_RequestListSnapshots.Merge(m, src)
  1030  }
  1031  func (m *RequestListSnapshots) XXX_Size() int {
  1032  	return m.Size()
  1033  }
  1034  func (m *RequestListSnapshots) XXX_DiscardUnknown() {
  1035  	xxx_messageInfo_RequestListSnapshots.DiscardUnknown(m)
  1036  }
  1037  
  1038  var xxx_messageInfo_RequestListSnapshots proto.InternalMessageInfo
  1039  
  1040  // offers a snapshot to the application
  1041  type RequestOfferSnapshot struct {
  1042  	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
  1043  	AppHash  []byte    `protobuf:"bytes,2,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  1044  }
  1045  
  1046  func (m *RequestOfferSnapshot) Reset()         { *m = RequestOfferSnapshot{} }
  1047  func (m *RequestOfferSnapshot) String() string { return proto.CompactTextString(m) }
  1048  func (*RequestOfferSnapshot) ProtoMessage()    {}
  1049  func (*RequestOfferSnapshot) Descriptor() ([]byte, []int) {
  1050  	return fileDescriptor_252557cfdd89a31a, []int{12}
  1051  }
  1052  func (m *RequestOfferSnapshot) XXX_Unmarshal(b []byte) error {
  1053  	return m.Unmarshal(b)
  1054  }
  1055  func (m *RequestOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1056  	if deterministic {
  1057  		return xxx_messageInfo_RequestOfferSnapshot.Marshal(b, m, deterministic)
  1058  	} else {
  1059  		b = b[:cap(b)]
  1060  		n, err := m.MarshalToSizedBuffer(b)
  1061  		if err != nil {
  1062  			return nil, err
  1063  		}
  1064  		return b[:n], nil
  1065  	}
  1066  }
  1067  func (m *RequestOfferSnapshot) XXX_Merge(src proto.Message) {
  1068  	xxx_messageInfo_RequestOfferSnapshot.Merge(m, src)
  1069  }
  1070  func (m *RequestOfferSnapshot) XXX_Size() int {
  1071  	return m.Size()
  1072  }
  1073  func (m *RequestOfferSnapshot) XXX_DiscardUnknown() {
  1074  	xxx_messageInfo_RequestOfferSnapshot.DiscardUnknown(m)
  1075  }
  1076  
  1077  var xxx_messageInfo_RequestOfferSnapshot proto.InternalMessageInfo
  1078  
  1079  func (m *RequestOfferSnapshot) GetSnapshot() *Snapshot {
  1080  	if m != nil {
  1081  		return m.Snapshot
  1082  	}
  1083  	return nil
  1084  }
  1085  
  1086  func (m *RequestOfferSnapshot) GetAppHash() []byte {
  1087  	if m != nil {
  1088  		return m.AppHash
  1089  	}
  1090  	return nil
  1091  }
  1092  
  1093  // loads a snapshot chunk
  1094  type RequestLoadSnapshotChunk struct {
  1095  	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  1096  	Format uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
  1097  	Chunk  uint32 `protobuf:"varint,3,opt,name=chunk,proto3" json:"chunk,omitempty"`
  1098  }
  1099  
  1100  func (m *RequestLoadSnapshotChunk) Reset()         { *m = RequestLoadSnapshotChunk{} }
  1101  func (m *RequestLoadSnapshotChunk) String() string { return proto.CompactTextString(m) }
  1102  func (*RequestLoadSnapshotChunk) ProtoMessage()    {}
  1103  func (*RequestLoadSnapshotChunk) Descriptor() ([]byte, []int) {
  1104  	return fileDescriptor_252557cfdd89a31a, []int{13}
  1105  }
  1106  func (m *RequestLoadSnapshotChunk) XXX_Unmarshal(b []byte) error {
  1107  	return m.Unmarshal(b)
  1108  }
  1109  func (m *RequestLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1110  	if deterministic {
  1111  		return xxx_messageInfo_RequestLoadSnapshotChunk.Marshal(b, m, deterministic)
  1112  	} else {
  1113  		b = b[:cap(b)]
  1114  		n, err := m.MarshalToSizedBuffer(b)
  1115  		if err != nil {
  1116  			return nil, err
  1117  		}
  1118  		return b[:n], nil
  1119  	}
  1120  }
  1121  func (m *RequestLoadSnapshotChunk) XXX_Merge(src proto.Message) {
  1122  	xxx_messageInfo_RequestLoadSnapshotChunk.Merge(m, src)
  1123  }
  1124  func (m *RequestLoadSnapshotChunk) XXX_Size() int {
  1125  	return m.Size()
  1126  }
  1127  func (m *RequestLoadSnapshotChunk) XXX_DiscardUnknown() {
  1128  	xxx_messageInfo_RequestLoadSnapshotChunk.DiscardUnknown(m)
  1129  }
  1130  
  1131  var xxx_messageInfo_RequestLoadSnapshotChunk proto.InternalMessageInfo
  1132  
  1133  func (m *RequestLoadSnapshotChunk) GetHeight() uint64 {
  1134  	if m != nil {
  1135  		return m.Height
  1136  	}
  1137  	return 0
  1138  }
  1139  
  1140  func (m *RequestLoadSnapshotChunk) GetFormat() uint32 {
  1141  	if m != nil {
  1142  		return m.Format
  1143  	}
  1144  	return 0
  1145  }
  1146  
  1147  func (m *RequestLoadSnapshotChunk) GetChunk() uint32 {
  1148  	if m != nil {
  1149  		return m.Chunk
  1150  	}
  1151  	return 0
  1152  }
  1153  
  1154  // Applies a snapshot chunk
  1155  type RequestApplySnapshotChunk struct {
  1156  	Index  uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
  1157  	Chunk  []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"`
  1158  	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
  1159  }
  1160  
  1161  func (m *RequestApplySnapshotChunk) Reset()         { *m = RequestApplySnapshotChunk{} }
  1162  func (m *RequestApplySnapshotChunk) String() string { return proto.CompactTextString(m) }
  1163  func (*RequestApplySnapshotChunk) ProtoMessage()    {}
  1164  func (*RequestApplySnapshotChunk) Descriptor() ([]byte, []int) {
  1165  	return fileDescriptor_252557cfdd89a31a, []int{14}
  1166  }
  1167  func (m *RequestApplySnapshotChunk) XXX_Unmarshal(b []byte) error {
  1168  	return m.Unmarshal(b)
  1169  }
  1170  func (m *RequestApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1171  	if deterministic {
  1172  		return xxx_messageInfo_RequestApplySnapshotChunk.Marshal(b, m, deterministic)
  1173  	} else {
  1174  		b = b[:cap(b)]
  1175  		n, err := m.MarshalToSizedBuffer(b)
  1176  		if err != nil {
  1177  			return nil, err
  1178  		}
  1179  		return b[:n], nil
  1180  	}
  1181  }
  1182  func (m *RequestApplySnapshotChunk) XXX_Merge(src proto.Message) {
  1183  	xxx_messageInfo_RequestApplySnapshotChunk.Merge(m, src)
  1184  }
  1185  func (m *RequestApplySnapshotChunk) XXX_Size() int {
  1186  	return m.Size()
  1187  }
  1188  func (m *RequestApplySnapshotChunk) XXX_DiscardUnknown() {
  1189  	xxx_messageInfo_RequestApplySnapshotChunk.DiscardUnknown(m)
  1190  }
  1191  
  1192  var xxx_messageInfo_RequestApplySnapshotChunk proto.InternalMessageInfo
  1193  
  1194  func (m *RequestApplySnapshotChunk) GetIndex() uint32 {
  1195  	if m != nil {
  1196  		return m.Index
  1197  	}
  1198  	return 0
  1199  }
  1200  
  1201  func (m *RequestApplySnapshotChunk) GetChunk() []byte {
  1202  	if m != nil {
  1203  		return m.Chunk
  1204  	}
  1205  	return nil
  1206  }
  1207  
  1208  func (m *RequestApplySnapshotChunk) GetSender() string {
  1209  	if m != nil {
  1210  		return m.Sender
  1211  	}
  1212  	return ""
  1213  }
  1214  
  1215  type RequestPrepareProposal struct {
  1216  	// the modified transactions cannot exceed this size.
  1217  	MaxTxBytes int64 `protobuf:"varint,1,opt,name=max_tx_bytes,json=maxTxBytes,proto3" json:"max_tx_bytes,omitempty"`
  1218  	// txs is an array of transactions that will be included in a block,
  1219  	// sent to the app for possible modifications.
  1220  	Txs                [][]byte           `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
  1221  	LocalLastCommit    ExtendedCommitInfo `protobuf:"bytes,3,opt,name=local_last_commit,json=localLastCommit,proto3" json:"local_last_commit"`
  1222  	Misbehavior        []Misbehavior      `protobuf:"bytes,4,rep,name=misbehavior,proto3" json:"misbehavior"`
  1223  	Height             int64              `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
  1224  	Time               time.Time          `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"`
  1225  	NextValidatorsHash []byte             `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
  1226  	// address of the public key of the validator proposing the block.
  1227  	ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
  1228  }
  1229  
  1230  func (m *RequestPrepareProposal) Reset()         { *m = RequestPrepareProposal{} }
  1231  func (m *RequestPrepareProposal) String() string { return proto.CompactTextString(m) }
  1232  func (*RequestPrepareProposal) ProtoMessage()    {}
  1233  func (*RequestPrepareProposal) Descriptor() ([]byte, []int) {
  1234  	return fileDescriptor_252557cfdd89a31a, []int{15}
  1235  }
  1236  func (m *RequestPrepareProposal) XXX_Unmarshal(b []byte) error {
  1237  	return m.Unmarshal(b)
  1238  }
  1239  func (m *RequestPrepareProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1240  	if deterministic {
  1241  		return xxx_messageInfo_RequestPrepareProposal.Marshal(b, m, deterministic)
  1242  	} else {
  1243  		b = b[:cap(b)]
  1244  		n, err := m.MarshalToSizedBuffer(b)
  1245  		if err != nil {
  1246  			return nil, err
  1247  		}
  1248  		return b[:n], nil
  1249  	}
  1250  }
  1251  func (m *RequestPrepareProposal) XXX_Merge(src proto.Message) {
  1252  	xxx_messageInfo_RequestPrepareProposal.Merge(m, src)
  1253  }
  1254  func (m *RequestPrepareProposal) XXX_Size() int {
  1255  	return m.Size()
  1256  }
  1257  func (m *RequestPrepareProposal) XXX_DiscardUnknown() {
  1258  	xxx_messageInfo_RequestPrepareProposal.DiscardUnknown(m)
  1259  }
  1260  
  1261  var xxx_messageInfo_RequestPrepareProposal proto.InternalMessageInfo
  1262  
  1263  func (m *RequestPrepareProposal) GetMaxTxBytes() int64 {
  1264  	if m != nil {
  1265  		return m.MaxTxBytes
  1266  	}
  1267  	return 0
  1268  }
  1269  
  1270  func (m *RequestPrepareProposal) GetTxs() [][]byte {
  1271  	if m != nil {
  1272  		return m.Txs
  1273  	}
  1274  	return nil
  1275  }
  1276  
  1277  func (m *RequestPrepareProposal) GetLocalLastCommit() ExtendedCommitInfo {
  1278  	if m != nil {
  1279  		return m.LocalLastCommit
  1280  	}
  1281  	return ExtendedCommitInfo{}
  1282  }
  1283  
  1284  func (m *RequestPrepareProposal) GetMisbehavior() []Misbehavior {
  1285  	if m != nil {
  1286  		return m.Misbehavior
  1287  	}
  1288  	return nil
  1289  }
  1290  
  1291  func (m *RequestPrepareProposal) GetHeight() int64 {
  1292  	if m != nil {
  1293  		return m.Height
  1294  	}
  1295  	return 0
  1296  }
  1297  
  1298  func (m *RequestPrepareProposal) GetTime() time.Time {
  1299  	if m != nil {
  1300  		return m.Time
  1301  	}
  1302  	return time.Time{}
  1303  }
  1304  
  1305  func (m *RequestPrepareProposal) GetNextValidatorsHash() []byte {
  1306  	if m != nil {
  1307  		return m.NextValidatorsHash
  1308  	}
  1309  	return nil
  1310  }
  1311  
  1312  func (m *RequestPrepareProposal) GetProposerAddress() []byte {
  1313  	if m != nil {
  1314  		return m.ProposerAddress
  1315  	}
  1316  	return nil
  1317  }
  1318  
  1319  type RequestProcessProposal struct {
  1320  	Txs                [][]byte      `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
  1321  	ProposedLastCommit CommitInfo    `protobuf:"bytes,2,opt,name=proposed_last_commit,json=proposedLastCommit,proto3" json:"proposed_last_commit"`
  1322  	Misbehavior        []Misbehavior `protobuf:"bytes,3,rep,name=misbehavior,proto3" json:"misbehavior"`
  1323  	// hash is the merkle root hash of the fields of the proposed block.
  1324  	Hash               []byte    `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
  1325  	Height             int64     `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
  1326  	Time               time.Time `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"`
  1327  	NextValidatorsHash []byte    `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
  1328  	// address of the public key of the original proposer of the block.
  1329  	ProposerAddress []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
  1330  }
  1331  
  1332  func (m *RequestProcessProposal) Reset()         { *m = RequestProcessProposal{} }
  1333  func (m *RequestProcessProposal) String() string { return proto.CompactTextString(m) }
  1334  func (*RequestProcessProposal) ProtoMessage()    {}
  1335  func (*RequestProcessProposal) Descriptor() ([]byte, []int) {
  1336  	return fileDescriptor_252557cfdd89a31a, []int{16}
  1337  }
  1338  func (m *RequestProcessProposal) XXX_Unmarshal(b []byte) error {
  1339  	return m.Unmarshal(b)
  1340  }
  1341  func (m *RequestProcessProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1342  	if deterministic {
  1343  		return xxx_messageInfo_RequestProcessProposal.Marshal(b, m, deterministic)
  1344  	} else {
  1345  		b = b[:cap(b)]
  1346  		n, err := m.MarshalToSizedBuffer(b)
  1347  		if err != nil {
  1348  			return nil, err
  1349  		}
  1350  		return b[:n], nil
  1351  	}
  1352  }
  1353  func (m *RequestProcessProposal) XXX_Merge(src proto.Message) {
  1354  	xxx_messageInfo_RequestProcessProposal.Merge(m, src)
  1355  }
  1356  func (m *RequestProcessProposal) XXX_Size() int {
  1357  	return m.Size()
  1358  }
  1359  func (m *RequestProcessProposal) XXX_DiscardUnknown() {
  1360  	xxx_messageInfo_RequestProcessProposal.DiscardUnknown(m)
  1361  }
  1362  
  1363  var xxx_messageInfo_RequestProcessProposal proto.InternalMessageInfo
  1364  
  1365  func (m *RequestProcessProposal) GetTxs() [][]byte {
  1366  	if m != nil {
  1367  		return m.Txs
  1368  	}
  1369  	return nil
  1370  }
  1371  
  1372  func (m *RequestProcessProposal) GetProposedLastCommit() CommitInfo {
  1373  	if m != nil {
  1374  		return m.ProposedLastCommit
  1375  	}
  1376  	return CommitInfo{}
  1377  }
  1378  
  1379  func (m *RequestProcessProposal) GetMisbehavior() []Misbehavior {
  1380  	if m != nil {
  1381  		return m.Misbehavior
  1382  	}
  1383  	return nil
  1384  }
  1385  
  1386  func (m *RequestProcessProposal) GetHash() []byte {
  1387  	if m != nil {
  1388  		return m.Hash
  1389  	}
  1390  	return nil
  1391  }
  1392  
  1393  func (m *RequestProcessProposal) GetHeight() int64 {
  1394  	if m != nil {
  1395  		return m.Height
  1396  	}
  1397  	return 0
  1398  }
  1399  
  1400  func (m *RequestProcessProposal) GetTime() time.Time {
  1401  	if m != nil {
  1402  		return m.Time
  1403  	}
  1404  	return time.Time{}
  1405  }
  1406  
  1407  func (m *RequestProcessProposal) GetNextValidatorsHash() []byte {
  1408  	if m != nil {
  1409  		return m.NextValidatorsHash
  1410  	}
  1411  	return nil
  1412  }
  1413  
  1414  func (m *RequestProcessProposal) GetProposerAddress() []byte {
  1415  	if m != nil {
  1416  		return m.ProposerAddress
  1417  	}
  1418  	return nil
  1419  }
  1420  
  1421  type Response struct {
  1422  	// Types that are valid to be assigned to Value:
  1423  	//
  1424  	//	*Response_Exception
  1425  	//	*Response_Echo
  1426  	//	*Response_Flush
  1427  	//	*Response_Info
  1428  	//	*Response_InitChain
  1429  	//	*Response_Query
  1430  	//	*Response_BeginBlock
  1431  	//	*Response_CheckTx
  1432  	//	*Response_DeliverTx
  1433  	//	*Response_EndBlock
  1434  	//	*Response_Commit
  1435  	//	*Response_ListSnapshots
  1436  	//	*Response_OfferSnapshot
  1437  	//	*Response_LoadSnapshotChunk
  1438  	//	*Response_ApplySnapshotChunk
  1439  	//	*Response_PrepareProposal
  1440  	//	*Response_ProcessProposal
  1441  	Value isResponse_Value `protobuf_oneof:"value"`
  1442  }
  1443  
  1444  func (m *Response) Reset()         { *m = Response{} }
  1445  func (m *Response) String() string { return proto.CompactTextString(m) }
  1446  func (*Response) ProtoMessage()    {}
  1447  func (*Response) Descriptor() ([]byte, []int) {
  1448  	return fileDescriptor_252557cfdd89a31a, []int{17}
  1449  }
  1450  func (m *Response) XXX_Unmarshal(b []byte) error {
  1451  	return m.Unmarshal(b)
  1452  }
  1453  func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1454  	if deterministic {
  1455  		return xxx_messageInfo_Response.Marshal(b, m, deterministic)
  1456  	} else {
  1457  		b = b[:cap(b)]
  1458  		n, err := m.MarshalToSizedBuffer(b)
  1459  		if err != nil {
  1460  			return nil, err
  1461  		}
  1462  		return b[:n], nil
  1463  	}
  1464  }
  1465  func (m *Response) XXX_Merge(src proto.Message) {
  1466  	xxx_messageInfo_Response.Merge(m, src)
  1467  }
  1468  func (m *Response) XXX_Size() int {
  1469  	return m.Size()
  1470  }
  1471  func (m *Response) XXX_DiscardUnknown() {
  1472  	xxx_messageInfo_Response.DiscardUnknown(m)
  1473  }
  1474  
  1475  var xxx_messageInfo_Response proto.InternalMessageInfo
  1476  
  1477  type isResponse_Value interface {
  1478  	isResponse_Value()
  1479  	MarshalTo([]byte) (int, error)
  1480  	Size() int
  1481  }
  1482  
  1483  type Response_Exception struct {
  1484  	Exception *ResponseException `protobuf:"bytes,1,opt,name=exception,proto3,oneof" json:"exception,omitempty"`
  1485  }
  1486  type Response_Echo struct {
  1487  	Echo *ResponseEcho `protobuf:"bytes,2,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
  1488  }
  1489  type Response_Flush struct {
  1490  	Flush *ResponseFlush `protobuf:"bytes,3,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
  1491  }
  1492  type Response_Info struct {
  1493  	Info *ResponseInfo `protobuf:"bytes,4,opt,name=info,proto3,oneof" json:"info,omitempty"`
  1494  }
  1495  type Response_InitChain struct {
  1496  	InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
  1497  }
  1498  type Response_Query struct {
  1499  	Query *ResponseQuery `protobuf:"bytes,7,opt,name=query,proto3,oneof" json:"query,omitempty"`
  1500  }
  1501  type Response_BeginBlock struct {
  1502  	BeginBlock *ResponseBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
  1503  }
  1504  type Response_CheckTx struct {
  1505  	CheckTx *ResponseCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
  1506  }
  1507  type Response_DeliverTx struct {
  1508  	DeliverTx *ResponseDeliverTx `protobuf:"bytes,10,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
  1509  }
  1510  type Response_EndBlock struct {
  1511  	EndBlock *ResponseEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
  1512  }
  1513  type Response_Commit struct {
  1514  	Commit *ResponseCommit `protobuf:"bytes,12,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
  1515  }
  1516  type Response_ListSnapshots struct {
  1517  	ListSnapshots *ResponseListSnapshots `protobuf:"bytes,13,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
  1518  }
  1519  type Response_OfferSnapshot struct {
  1520  	OfferSnapshot *ResponseOfferSnapshot `protobuf:"bytes,14,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
  1521  }
  1522  type Response_LoadSnapshotChunk struct {
  1523  	LoadSnapshotChunk *ResponseLoadSnapshotChunk `protobuf:"bytes,15,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
  1524  }
  1525  type Response_ApplySnapshotChunk struct {
  1526  	ApplySnapshotChunk *ResponseApplySnapshotChunk `protobuf:"bytes,16,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
  1527  }
  1528  type Response_PrepareProposal struct {
  1529  	PrepareProposal *ResponsePrepareProposal `protobuf:"bytes,17,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof" json:"prepare_proposal,omitempty"`
  1530  }
  1531  type Response_ProcessProposal struct {
  1532  	ProcessProposal *ResponseProcessProposal `protobuf:"bytes,18,opt,name=process_proposal,json=processProposal,proto3,oneof" json:"process_proposal,omitempty"`
  1533  }
  1534  
  1535  func (*Response_Exception) isResponse_Value()          {}
  1536  func (*Response_Echo) isResponse_Value()               {}
  1537  func (*Response_Flush) isResponse_Value()              {}
  1538  func (*Response_Info) isResponse_Value()               {}
  1539  func (*Response_InitChain) isResponse_Value()          {}
  1540  func (*Response_Query) isResponse_Value()              {}
  1541  func (*Response_BeginBlock) isResponse_Value()         {}
  1542  func (*Response_CheckTx) isResponse_Value()            {}
  1543  func (*Response_DeliverTx) isResponse_Value()          {}
  1544  func (*Response_EndBlock) isResponse_Value()           {}
  1545  func (*Response_Commit) isResponse_Value()             {}
  1546  func (*Response_ListSnapshots) isResponse_Value()      {}
  1547  func (*Response_OfferSnapshot) isResponse_Value()      {}
  1548  func (*Response_LoadSnapshotChunk) isResponse_Value()  {}
  1549  func (*Response_ApplySnapshotChunk) isResponse_Value() {}
  1550  func (*Response_PrepareProposal) isResponse_Value()    {}
  1551  func (*Response_ProcessProposal) isResponse_Value()    {}
  1552  
  1553  func (m *Response) GetValue() isResponse_Value {
  1554  	if m != nil {
  1555  		return m.Value
  1556  	}
  1557  	return nil
  1558  }
  1559  
  1560  func (m *Response) GetException() *ResponseException {
  1561  	if x, ok := m.GetValue().(*Response_Exception); ok {
  1562  		return x.Exception
  1563  	}
  1564  	return nil
  1565  }
  1566  
  1567  func (m *Response) GetEcho() *ResponseEcho {
  1568  	if x, ok := m.GetValue().(*Response_Echo); ok {
  1569  		return x.Echo
  1570  	}
  1571  	return nil
  1572  }
  1573  
  1574  func (m *Response) GetFlush() *ResponseFlush {
  1575  	if x, ok := m.GetValue().(*Response_Flush); ok {
  1576  		return x.Flush
  1577  	}
  1578  	return nil
  1579  }
  1580  
  1581  func (m *Response) GetInfo() *ResponseInfo {
  1582  	if x, ok := m.GetValue().(*Response_Info); ok {
  1583  		return x.Info
  1584  	}
  1585  	return nil
  1586  }
  1587  
  1588  func (m *Response) GetInitChain() *ResponseInitChain {
  1589  	if x, ok := m.GetValue().(*Response_InitChain); ok {
  1590  		return x.InitChain
  1591  	}
  1592  	return nil
  1593  }
  1594  
  1595  func (m *Response) GetQuery() *ResponseQuery {
  1596  	if x, ok := m.GetValue().(*Response_Query); ok {
  1597  		return x.Query
  1598  	}
  1599  	return nil
  1600  }
  1601  
  1602  func (m *Response) GetBeginBlock() *ResponseBeginBlock {
  1603  	if x, ok := m.GetValue().(*Response_BeginBlock); ok {
  1604  		return x.BeginBlock
  1605  	}
  1606  	return nil
  1607  }
  1608  
  1609  func (m *Response) GetCheckTx() *ResponseCheckTx {
  1610  	if x, ok := m.GetValue().(*Response_CheckTx); ok {
  1611  		return x.CheckTx
  1612  	}
  1613  	return nil
  1614  }
  1615  
  1616  func (m *Response) GetDeliverTx() *ResponseDeliverTx {
  1617  	if x, ok := m.GetValue().(*Response_DeliverTx); ok {
  1618  		return x.DeliverTx
  1619  	}
  1620  	return nil
  1621  }
  1622  
  1623  func (m *Response) GetEndBlock() *ResponseEndBlock {
  1624  	if x, ok := m.GetValue().(*Response_EndBlock); ok {
  1625  		return x.EndBlock
  1626  	}
  1627  	return nil
  1628  }
  1629  
  1630  func (m *Response) GetCommit() *ResponseCommit {
  1631  	if x, ok := m.GetValue().(*Response_Commit); ok {
  1632  		return x.Commit
  1633  	}
  1634  	return nil
  1635  }
  1636  
  1637  func (m *Response) GetListSnapshots() *ResponseListSnapshots {
  1638  	if x, ok := m.GetValue().(*Response_ListSnapshots); ok {
  1639  		return x.ListSnapshots
  1640  	}
  1641  	return nil
  1642  }
  1643  
  1644  func (m *Response) GetOfferSnapshot() *ResponseOfferSnapshot {
  1645  	if x, ok := m.GetValue().(*Response_OfferSnapshot); ok {
  1646  		return x.OfferSnapshot
  1647  	}
  1648  	return nil
  1649  }
  1650  
  1651  func (m *Response) GetLoadSnapshotChunk() *ResponseLoadSnapshotChunk {
  1652  	if x, ok := m.GetValue().(*Response_LoadSnapshotChunk); ok {
  1653  		return x.LoadSnapshotChunk
  1654  	}
  1655  	return nil
  1656  }
  1657  
  1658  func (m *Response) GetApplySnapshotChunk() *ResponseApplySnapshotChunk {
  1659  	if x, ok := m.GetValue().(*Response_ApplySnapshotChunk); ok {
  1660  		return x.ApplySnapshotChunk
  1661  	}
  1662  	return nil
  1663  }
  1664  
  1665  func (m *Response) GetPrepareProposal() *ResponsePrepareProposal {
  1666  	if x, ok := m.GetValue().(*Response_PrepareProposal); ok {
  1667  		return x.PrepareProposal
  1668  	}
  1669  	return nil
  1670  }
  1671  
  1672  func (m *Response) GetProcessProposal() *ResponseProcessProposal {
  1673  	if x, ok := m.GetValue().(*Response_ProcessProposal); ok {
  1674  		return x.ProcessProposal
  1675  	}
  1676  	return nil
  1677  }
  1678  
  1679  // XXX_OneofWrappers is for the internal use of the proto package.
  1680  func (*Response) XXX_OneofWrappers() []interface{} {
  1681  	return []interface{}{
  1682  		(*Response_Exception)(nil),
  1683  		(*Response_Echo)(nil),
  1684  		(*Response_Flush)(nil),
  1685  		(*Response_Info)(nil),
  1686  		(*Response_InitChain)(nil),
  1687  		(*Response_Query)(nil),
  1688  		(*Response_BeginBlock)(nil),
  1689  		(*Response_CheckTx)(nil),
  1690  		(*Response_DeliverTx)(nil),
  1691  		(*Response_EndBlock)(nil),
  1692  		(*Response_Commit)(nil),
  1693  		(*Response_ListSnapshots)(nil),
  1694  		(*Response_OfferSnapshot)(nil),
  1695  		(*Response_LoadSnapshotChunk)(nil),
  1696  		(*Response_ApplySnapshotChunk)(nil),
  1697  		(*Response_PrepareProposal)(nil),
  1698  		(*Response_ProcessProposal)(nil),
  1699  	}
  1700  }
  1701  
  1702  // nondeterministic
  1703  type ResponseException struct {
  1704  	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  1705  }
  1706  
  1707  func (m *ResponseException) Reset()         { *m = ResponseException{} }
  1708  func (m *ResponseException) String() string { return proto.CompactTextString(m) }
  1709  func (*ResponseException) ProtoMessage()    {}
  1710  func (*ResponseException) Descriptor() ([]byte, []int) {
  1711  	return fileDescriptor_252557cfdd89a31a, []int{18}
  1712  }
  1713  func (m *ResponseException) XXX_Unmarshal(b []byte) error {
  1714  	return m.Unmarshal(b)
  1715  }
  1716  func (m *ResponseException) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1717  	if deterministic {
  1718  		return xxx_messageInfo_ResponseException.Marshal(b, m, deterministic)
  1719  	} else {
  1720  		b = b[:cap(b)]
  1721  		n, err := m.MarshalToSizedBuffer(b)
  1722  		if err != nil {
  1723  			return nil, err
  1724  		}
  1725  		return b[:n], nil
  1726  	}
  1727  }
  1728  func (m *ResponseException) XXX_Merge(src proto.Message) {
  1729  	xxx_messageInfo_ResponseException.Merge(m, src)
  1730  }
  1731  func (m *ResponseException) XXX_Size() int {
  1732  	return m.Size()
  1733  }
  1734  func (m *ResponseException) XXX_DiscardUnknown() {
  1735  	xxx_messageInfo_ResponseException.DiscardUnknown(m)
  1736  }
  1737  
  1738  var xxx_messageInfo_ResponseException proto.InternalMessageInfo
  1739  
  1740  func (m *ResponseException) GetError() string {
  1741  	if m != nil {
  1742  		return m.Error
  1743  	}
  1744  	return ""
  1745  }
  1746  
  1747  type ResponseEcho struct {
  1748  	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
  1749  }
  1750  
  1751  func (m *ResponseEcho) Reset()         { *m = ResponseEcho{} }
  1752  func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
  1753  func (*ResponseEcho) ProtoMessage()    {}
  1754  func (*ResponseEcho) Descriptor() ([]byte, []int) {
  1755  	return fileDescriptor_252557cfdd89a31a, []int{19}
  1756  }
  1757  func (m *ResponseEcho) XXX_Unmarshal(b []byte) error {
  1758  	return m.Unmarshal(b)
  1759  }
  1760  func (m *ResponseEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1761  	if deterministic {
  1762  		return xxx_messageInfo_ResponseEcho.Marshal(b, m, deterministic)
  1763  	} else {
  1764  		b = b[:cap(b)]
  1765  		n, err := m.MarshalToSizedBuffer(b)
  1766  		if err != nil {
  1767  			return nil, err
  1768  		}
  1769  		return b[:n], nil
  1770  	}
  1771  }
  1772  func (m *ResponseEcho) XXX_Merge(src proto.Message) {
  1773  	xxx_messageInfo_ResponseEcho.Merge(m, src)
  1774  }
  1775  func (m *ResponseEcho) XXX_Size() int {
  1776  	return m.Size()
  1777  }
  1778  func (m *ResponseEcho) XXX_DiscardUnknown() {
  1779  	xxx_messageInfo_ResponseEcho.DiscardUnknown(m)
  1780  }
  1781  
  1782  var xxx_messageInfo_ResponseEcho proto.InternalMessageInfo
  1783  
  1784  func (m *ResponseEcho) GetMessage() string {
  1785  	if m != nil {
  1786  		return m.Message
  1787  	}
  1788  	return ""
  1789  }
  1790  
  1791  type ResponseFlush struct {
  1792  }
  1793  
  1794  func (m *ResponseFlush) Reset()         { *m = ResponseFlush{} }
  1795  func (m *ResponseFlush) String() string { return proto.CompactTextString(m) }
  1796  func (*ResponseFlush) ProtoMessage()    {}
  1797  func (*ResponseFlush) Descriptor() ([]byte, []int) {
  1798  	return fileDescriptor_252557cfdd89a31a, []int{20}
  1799  }
  1800  func (m *ResponseFlush) XXX_Unmarshal(b []byte) error {
  1801  	return m.Unmarshal(b)
  1802  }
  1803  func (m *ResponseFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1804  	if deterministic {
  1805  		return xxx_messageInfo_ResponseFlush.Marshal(b, m, deterministic)
  1806  	} else {
  1807  		b = b[:cap(b)]
  1808  		n, err := m.MarshalToSizedBuffer(b)
  1809  		if err != nil {
  1810  			return nil, err
  1811  		}
  1812  		return b[:n], nil
  1813  	}
  1814  }
  1815  func (m *ResponseFlush) XXX_Merge(src proto.Message) {
  1816  	xxx_messageInfo_ResponseFlush.Merge(m, src)
  1817  }
  1818  func (m *ResponseFlush) XXX_Size() int {
  1819  	return m.Size()
  1820  }
  1821  func (m *ResponseFlush) XXX_DiscardUnknown() {
  1822  	xxx_messageInfo_ResponseFlush.DiscardUnknown(m)
  1823  }
  1824  
  1825  var xxx_messageInfo_ResponseFlush proto.InternalMessageInfo
  1826  
  1827  type ResponseInfo struct {
  1828  	Data             string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  1829  	Version          string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
  1830  	AppVersion       uint64 `protobuf:"varint,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
  1831  	LastBlockHeight  int64  `protobuf:"varint,4,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
  1832  	LastBlockAppHash []byte `protobuf:"bytes,5,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"`
  1833  }
  1834  
  1835  func (m *ResponseInfo) Reset()         { *m = ResponseInfo{} }
  1836  func (m *ResponseInfo) String() string { return proto.CompactTextString(m) }
  1837  func (*ResponseInfo) ProtoMessage()    {}
  1838  func (*ResponseInfo) Descriptor() ([]byte, []int) {
  1839  	return fileDescriptor_252557cfdd89a31a, []int{21}
  1840  }
  1841  func (m *ResponseInfo) XXX_Unmarshal(b []byte) error {
  1842  	return m.Unmarshal(b)
  1843  }
  1844  func (m *ResponseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1845  	if deterministic {
  1846  		return xxx_messageInfo_ResponseInfo.Marshal(b, m, deterministic)
  1847  	} else {
  1848  		b = b[:cap(b)]
  1849  		n, err := m.MarshalToSizedBuffer(b)
  1850  		if err != nil {
  1851  			return nil, err
  1852  		}
  1853  		return b[:n], nil
  1854  	}
  1855  }
  1856  func (m *ResponseInfo) XXX_Merge(src proto.Message) {
  1857  	xxx_messageInfo_ResponseInfo.Merge(m, src)
  1858  }
  1859  func (m *ResponseInfo) XXX_Size() int {
  1860  	return m.Size()
  1861  }
  1862  func (m *ResponseInfo) XXX_DiscardUnknown() {
  1863  	xxx_messageInfo_ResponseInfo.DiscardUnknown(m)
  1864  }
  1865  
  1866  var xxx_messageInfo_ResponseInfo proto.InternalMessageInfo
  1867  
  1868  func (m *ResponseInfo) GetData() string {
  1869  	if m != nil {
  1870  		return m.Data
  1871  	}
  1872  	return ""
  1873  }
  1874  
  1875  func (m *ResponseInfo) GetVersion() string {
  1876  	if m != nil {
  1877  		return m.Version
  1878  	}
  1879  	return ""
  1880  }
  1881  
  1882  func (m *ResponseInfo) GetAppVersion() uint64 {
  1883  	if m != nil {
  1884  		return m.AppVersion
  1885  	}
  1886  	return 0
  1887  }
  1888  
  1889  func (m *ResponseInfo) GetLastBlockHeight() int64 {
  1890  	if m != nil {
  1891  		return m.LastBlockHeight
  1892  	}
  1893  	return 0
  1894  }
  1895  
  1896  func (m *ResponseInfo) GetLastBlockAppHash() []byte {
  1897  	if m != nil {
  1898  		return m.LastBlockAppHash
  1899  	}
  1900  	return nil
  1901  }
  1902  
  1903  type ResponseInitChain struct {
  1904  	ConsensusParams *types1.ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"`
  1905  	Validators      []ValidatorUpdate       `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators"`
  1906  	AppHash         []byte                  `protobuf:"bytes,3,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  1907  }
  1908  
  1909  func (m *ResponseInitChain) Reset()         { *m = ResponseInitChain{} }
  1910  func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
  1911  func (*ResponseInitChain) ProtoMessage()    {}
  1912  func (*ResponseInitChain) Descriptor() ([]byte, []int) {
  1913  	return fileDescriptor_252557cfdd89a31a, []int{22}
  1914  }
  1915  func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error {
  1916  	return m.Unmarshal(b)
  1917  }
  1918  func (m *ResponseInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1919  	if deterministic {
  1920  		return xxx_messageInfo_ResponseInitChain.Marshal(b, m, deterministic)
  1921  	} else {
  1922  		b = b[:cap(b)]
  1923  		n, err := m.MarshalToSizedBuffer(b)
  1924  		if err != nil {
  1925  			return nil, err
  1926  		}
  1927  		return b[:n], nil
  1928  	}
  1929  }
  1930  func (m *ResponseInitChain) XXX_Merge(src proto.Message) {
  1931  	xxx_messageInfo_ResponseInitChain.Merge(m, src)
  1932  }
  1933  func (m *ResponseInitChain) XXX_Size() int {
  1934  	return m.Size()
  1935  }
  1936  func (m *ResponseInitChain) XXX_DiscardUnknown() {
  1937  	xxx_messageInfo_ResponseInitChain.DiscardUnknown(m)
  1938  }
  1939  
  1940  var xxx_messageInfo_ResponseInitChain proto.InternalMessageInfo
  1941  
  1942  func (m *ResponseInitChain) GetConsensusParams() *types1.ConsensusParams {
  1943  	if m != nil {
  1944  		return m.ConsensusParams
  1945  	}
  1946  	return nil
  1947  }
  1948  
  1949  func (m *ResponseInitChain) GetValidators() []ValidatorUpdate {
  1950  	if m != nil {
  1951  		return m.Validators
  1952  	}
  1953  	return nil
  1954  }
  1955  
  1956  func (m *ResponseInitChain) GetAppHash() []byte {
  1957  	if m != nil {
  1958  		return m.AppHash
  1959  	}
  1960  	return nil
  1961  }
  1962  
  1963  type ResponseQuery struct {
  1964  	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  1965  	// bytes data = 2; // use "value" instead.
  1966  	Log       string           `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  1967  	Info      string           `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  1968  	Index     int64            `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
  1969  	Key       []byte           `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
  1970  	Value     []byte           `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
  1971  	ProofOps  *crypto.ProofOps `protobuf:"bytes,8,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty"`
  1972  	Height    int64            `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
  1973  	Codespace string           `protobuf:"bytes,10,opt,name=codespace,proto3" json:"codespace,omitempty"`
  1974  }
  1975  
  1976  func (m *ResponseQuery) Reset()         { *m = ResponseQuery{} }
  1977  func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
  1978  func (*ResponseQuery) ProtoMessage()    {}
  1979  func (*ResponseQuery) Descriptor() ([]byte, []int) {
  1980  	return fileDescriptor_252557cfdd89a31a, []int{23}
  1981  }
  1982  func (m *ResponseQuery) XXX_Unmarshal(b []byte) error {
  1983  	return m.Unmarshal(b)
  1984  }
  1985  func (m *ResponseQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1986  	if deterministic {
  1987  		return xxx_messageInfo_ResponseQuery.Marshal(b, m, deterministic)
  1988  	} else {
  1989  		b = b[:cap(b)]
  1990  		n, err := m.MarshalToSizedBuffer(b)
  1991  		if err != nil {
  1992  			return nil, err
  1993  		}
  1994  		return b[:n], nil
  1995  	}
  1996  }
  1997  func (m *ResponseQuery) XXX_Merge(src proto.Message) {
  1998  	xxx_messageInfo_ResponseQuery.Merge(m, src)
  1999  }
  2000  func (m *ResponseQuery) XXX_Size() int {
  2001  	return m.Size()
  2002  }
  2003  func (m *ResponseQuery) XXX_DiscardUnknown() {
  2004  	xxx_messageInfo_ResponseQuery.DiscardUnknown(m)
  2005  }
  2006  
  2007  var xxx_messageInfo_ResponseQuery proto.InternalMessageInfo
  2008  
  2009  func (m *ResponseQuery) GetCode() uint32 {
  2010  	if m != nil {
  2011  		return m.Code
  2012  	}
  2013  	return 0
  2014  }
  2015  
  2016  func (m *ResponseQuery) GetLog() string {
  2017  	if m != nil {
  2018  		return m.Log
  2019  	}
  2020  	return ""
  2021  }
  2022  
  2023  func (m *ResponseQuery) GetInfo() string {
  2024  	if m != nil {
  2025  		return m.Info
  2026  	}
  2027  	return ""
  2028  }
  2029  
  2030  func (m *ResponseQuery) GetIndex() int64 {
  2031  	if m != nil {
  2032  		return m.Index
  2033  	}
  2034  	return 0
  2035  }
  2036  
  2037  func (m *ResponseQuery) GetKey() []byte {
  2038  	if m != nil {
  2039  		return m.Key
  2040  	}
  2041  	return nil
  2042  }
  2043  
  2044  func (m *ResponseQuery) GetValue() []byte {
  2045  	if m != nil {
  2046  		return m.Value
  2047  	}
  2048  	return nil
  2049  }
  2050  
  2051  func (m *ResponseQuery) GetProofOps() *crypto.ProofOps {
  2052  	if m != nil {
  2053  		return m.ProofOps
  2054  	}
  2055  	return nil
  2056  }
  2057  
  2058  func (m *ResponseQuery) GetHeight() int64 {
  2059  	if m != nil {
  2060  		return m.Height
  2061  	}
  2062  	return 0
  2063  }
  2064  
  2065  func (m *ResponseQuery) GetCodespace() string {
  2066  	if m != nil {
  2067  		return m.Codespace
  2068  	}
  2069  	return ""
  2070  }
  2071  
  2072  type ResponseBeginBlock struct {
  2073  	Events []Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
  2074  }
  2075  
  2076  func (m *ResponseBeginBlock) Reset()         { *m = ResponseBeginBlock{} }
  2077  func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
  2078  func (*ResponseBeginBlock) ProtoMessage()    {}
  2079  func (*ResponseBeginBlock) Descriptor() ([]byte, []int) {
  2080  	return fileDescriptor_252557cfdd89a31a, []int{24}
  2081  }
  2082  func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error {
  2083  	return m.Unmarshal(b)
  2084  }
  2085  func (m *ResponseBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2086  	if deterministic {
  2087  		return xxx_messageInfo_ResponseBeginBlock.Marshal(b, m, deterministic)
  2088  	} else {
  2089  		b = b[:cap(b)]
  2090  		n, err := m.MarshalToSizedBuffer(b)
  2091  		if err != nil {
  2092  			return nil, err
  2093  		}
  2094  		return b[:n], nil
  2095  	}
  2096  }
  2097  func (m *ResponseBeginBlock) XXX_Merge(src proto.Message) {
  2098  	xxx_messageInfo_ResponseBeginBlock.Merge(m, src)
  2099  }
  2100  func (m *ResponseBeginBlock) XXX_Size() int {
  2101  	return m.Size()
  2102  }
  2103  func (m *ResponseBeginBlock) XXX_DiscardUnknown() {
  2104  	xxx_messageInfo_ResponseBeginBlock.DiscardUnknown(m)
  2105  }
  2106  
  2107  var xxx_messageInfo_ResponseBeginBlock proto.InternalMessageInfo
  2108  
  2109  func (m *ResponseBeginBlock) GetEvents() []Event {
  2110  	if m != nil {
  2111  		return m.Events
  2112  	}
  2113  	return nil
  2114  }
  2115  
  2116  type ResponseCheckTx struct {
  2117  	Code      uint32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  2118  	Data      []byte  `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  2119  	Log       string  `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  2120  	Info      string  `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  2121  	GasWanted int64   `protobuf:"varint,5,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"`
  2122  	GasUsed   int64   `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"`
  2123  	Events    []Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
  2124  	Codespace string  `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
  2125  	Sender    string  `protobuf:"bytes,9,opt,name=sender,proto3" json:"sender,omitempty"`
  2126  	Priority  int64   `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"`
  2127  	// mempool_error is set by CometBFT.
  2128  	// ABCI applictions creating a ResponseCheckTX should not set mempool_error.
  2129  	MempoolError string `protobuf:"bytes,11,opt,name=mempool_error,json=mempoolError,proto3" json:"mempool_error,omitempty"`
  2130  }
  2131  
  2132  func (m *ResponseCheckTx) Reset()         { *m = ResponseCheckTx{} }
  2133  func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
  2134  func (*ResponseCheckTx) ProtoMessage()    {}
  2135  func (*ResponseCheckTx) Descriptor() ([]byte, []int) {
  2136  	return fileDescriptor_252557cfdd89a31a, []int{25}
  2137  }
  2138  func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error {
  2139  	return m.Unmarshal(b)
  2140  }
  2141  func (m *ResponseCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2142  	if deterministic {
  2143  		return xxx_messageInfo_ResponseCheckTx.Marshal(b, m, deterministic)
  2144  	} else {
  2145  		b = b[:cap(b)]
  2146  		n, err := m.MarshalToSizedBuffer(b)
  2147  		if err != nil {
  2148  			return nil, err
  2149  		}
  2150  		return b[:n], nil
  2151  	}
  2152  }
  2153  func (m *ResponseCheckTx) XXX_Merge(src proto.Message) {
  2154  	xxx_messageInfo_ResponseCheckTx.Merge(m, src)
  2155  }
  2156  func (m *ResponseCheckTx) XXX_Size() int {
  2157  	return m.Size()
  2158  }
  2159  func (m *ResponseCheckTx) XXX_DiscardUnknown() {
  2160  	xxx_messageInfo_ResponseCheckTx.DiscardUnknown(m)
  2161  }
  2162  
  2163  var xxx_messageInfo_ResponseCheckTx proto.InternalMessageInfo
  2164  
  2165  func (m *ResponseCheckTx) GetCode() uint32 {
  2166  	if m != nil {
  2167  		return m.Code
  2168  	}
  2169  	return 0
  2170  }
  2171  
  2172  func (m *ResponseCheckTx) GetData() []byte {
  2173  	if m != nil {
  2174  		return m.Data
  2175  	}
  2176  	return nil
  2177  }
  2178  
  2179  func (m *ResponseCheckTx) GetLog() string {
  2180  	if m != nil {
  2181  		return m.Log
  2182  	}
  2183  	return ""
  2184  }
  2185  
  2186  func (m *ResponseCheckTx) GetInfo() string {
  2187  	if m != nil {
  2188  		return m.Info
  2189  	}
  2190  	return ""
  2191  }
  2192  
  2193  func (m *ResponseCheckTx) GetGasWanted() int64 {
  2194  	if m != nil {
  2195  		return m.GasWanted
  2196  	}
  2197  	return 0
  2198  }
  2199  
  2200  func (m *ResponseCheckTx) GetGasUsed() int64 {
  2201  	if m != nil {
  2202  		return m.GasUsed
  2203  	}
  2204  	return 0
  2205  }
  2206  
  2207  func (m *ResponseCheckTx) GetEvents() []Event {
  2208  	if m != nil {
  2209  		return m.Events
  2210  	}
  2211  	return nil
  2212  }
  2213  
  2214  func (m *ResponseCheckTx) GetCodespace() string {
  2215  	if m != nil {
  2216  		return m.Codespace
  2217  	}
  2218  	return ""
  2219  }
  2220  
  2221  func (m *ResponseCheckTx) GetSender() string {
  2222  	if m != nil {
  2223  		return m.Sender
  2224  	}
  2225  	return ""
  2226  }
  2227  
  2228  func (m *ResponseCheckTx) GetPriority() int64 {
  2229  	if m != nil {
  2230  		return m.Priority
  2231  	}
  2232  	return 0
  2233  }
  2234  
  2235  func (m *ResponseCheckTx) GetMempoolError() string {
  2236  	if m != nil {
  2237  		return m.MempoolError
  2238  	}
  2239  	return ""
  2240  }
  2241  
  2242  type ResponseDeliverTx struct {
  2243  	Code      uint32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  2244  	Data      []byte  `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  2245  	Log       string  `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  2246  	Info      string  `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  2247  	GasWanted int64   `protobuf:"varint,5,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"`
  2248  	GasUsed   int64   `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"`
  2249  	Events    []Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
  2250  	Codespace string  `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
  2251  }
  2252  
  2253  func (m *ResponseDeliverTx) Reset()         { *m = ResponseDeliverTx{} }
  2254  func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
  2255  func (*ResponseDeliverTx) ProtoMessage()    {}
  2256  func (*ResponseDeliverTx) Descriptor() ([]byte, []int) {
  2257  	return fileDescriptor_252557cfdd89a31a, []int{26}
  2258  }
  2259  func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error {
  2260  	return m.Unmarshal(b)
  2261  }
  2262  func (m *ResponseDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2263  	if deterministic {
  2264  		return xxx_messageInfo_ResponseDeliverTx.Marshal(b, m, deterministic)
  2265  	} else {
  2266  		b = b[:cap(b)]
  2267  		n, err := m.MarshalToSizedBuffer(b)
  2268  		if err != nil {
  2269  			return nil, err
  2270  		}
  2271  		return b[:n], nil
  2272  	}
  2273  }
  2274  func (m *ResponseDeliverTx) XXX_Merge(src proto.Message) {
  2275  	xxx_messageInfo_ResponseDeliverTx.Merge(m, src)
  2276  }
  2277  func (m *ResponseDeliverTx) XXX_Size() int {
  2278  	return m.Size()
  2279  }
  2280  func (m *ResponseDeliverTx) XXX_DiscardUnknown() {
  2281  	xxx_messageInfo_ResponseDeliverTx.DiscardUnknown(m)
  2282  }
  2283  
  2284  var xxx_messageInfo_ResponseDeliverTx proto.InternalMessageInfo
  2285  
  2286  func (m *ResponseDeliverTx) GetCode() uint32 {
  2287  	if m != nil {
  2288  		return m.Code
  2289  	}
  2290  	return 0
  2291  }
  2292  
  2293  func (m *ResponseDeliverTx) GetData() []byte {
  2294  	if m != nil {
  2295  		return m.Data
  2296  	}
  2297  	return nil
  2298  }
  2299  
  2300  func (m *ResponseDeliverTx) GetLog() string {
  2301  	if m != nil {
  2302  		return m.Log
  2303  	}
  2304  	return ""
  2305  }
  2306  
  2307  func (m *ResponseDeliverTx) GetInfo() string {
  2308  	if m != nil {
  2309  		return m.Info
  2310  	}
  2311  	return ""
  2312  }
  2313  
  2314  func (m *ResponseDeliverTx) GetGasWanted() int64 {
  2315  	if m != nil {
  2316  		return m.GasWanted
  2317  	}
  2318  	return 0
  2319  }
  2320  
  2321  func (m *ResponseDeliverTx) GetGasUsed() int64 {
  2322  	if m != nil {
  2323  		return m.GasUsed
  2324  	}
  2325  	return 0
  2326  }
  2327  
  2328  func (m *ResponseDeliverTx) GetEvents() []Event {
  2329  	if m != nil {
  2330  		return m.Events
  2331  	}
  2332  	return nil
  2333  }
  2334  
  2335  func (m *ResponseDeliverTx) GetCodespace() string {
  2336  	if m != nil {
  2337  		return m.Codespace
  2338  	}
  2339  	return ""
  2340  }
  2341  
  2342  type ResponseEndBlock struct {
  2343  	ValidatorUpdates      []ValidatorUpdate       `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates"`
  2344  	ConsensusParamUpdates *types1.ConsensusParams `protobuf:"bytes,2,opt,name=consensus_param_updates,json=consensusParamUpdates,proto3" json:"consensus_param_updates,omitempty"`
  2345  	Events                []Event                 `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
  2346  }
  2347  
  2348  func (m *ResponseEndBlock) Reset()         { *m = ResponseEndBlock{} }
  2349  func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
  2350  func (*ResponseEndBlock) ProtoMessage()    {}
  2351  func (*ResponseEndBlock) Descriptor() ([]byte, []int) {
  2352  	return fileDescriptor_252557cfdd89a31a, []int{27}
  2353  }
  2354  func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error {
  2355  	return m.Unmarshal(b)
  2356  }
  2357  func (m *ResponseEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2358  	if deterministic {
  2359  		return xxx_messageInfo_ResponseEndBlock.Marshal(b, m, deterministic)
  2360  	} else {
  2361  		b = b[:cap(b)]
  2362  		n, err := m.MarshalToSizedBuffer(b)
  2363  		if err != nil {
  2364  			return nil, err
  2365  		}
  2366  		return b[:n], nil
  2367  	}
  2368  }
  2369  func (m *ResponseEndBlock) XXX_Merge(src proto.Message) {
  2370  	xxx_messageInfo_ResponseEndBlock.Merge(m, src)
  2371  }
  2372  func (m *ResponseEndBlock) XXX_Size() int {
  2373  	return m.Size()
  2374  }
  2375  func (m *ResponseEndBlock) XXX_DiscardUnknown() {
  2376  	xxx_messageInfo_ResponseEndBlock.DiscardUnknown(m)
  2377  }
  2378  
  2379  var xxx_messageInfo_ResponseEndBlock proto.InternalMessageInfo
  2380  
  2381  func (m *ResponseEndBlock) GetValidatorUpdates() []ValidatorUpdate {
  2382  	if m != nil {
  2383  		return m.ValidatorUpdates
  2384  	}
  2385  	return nil
  2386  }
  2387  
  2388  func (m *ResponseEndBlock) GetConsensusParamUpdates() *types1.ConsensusParams {
  2389  	if m != nil {
  2390  		return m.ConsensusParamUpdates
  2391  	}
  2392  	return nil
  2393  }
  2394  
  2395  func (m *ResponseEndBlock) GetEvents() []Event {
  2396  	if m != nil {
  2397  		return m.Events
  2398  	}
  2399  	return nil
  2400  }
  2401  
  2402  type ResponseCommit struct {
  2403  	// reserve 1
  2404  	Data         []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  2405  	RetainHeight int64  `protobuf:"varint,3,opt,name=retain_height,json=retainHeight,proto3" json:"retain_height,omitempty"`
  2406  }
  2407  
  2408  func (m *ResponseCommit) Reset()         { *m = ResponseCommit{} }
  2409  func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
  2410  func (*ResponseCommit) ProtoMessage()    {}
  2411  func (*ResponseCommit) Descriptor() ([]byte, []int) {
  2412  	return fileDescriptor_252557cfdd89a31a, []int{28}
  2413  }
  2414  func (m *ResponseCommit) XXX_Unmarshal(b []byte) error {
  2415  	return m.Unmarshal(b)
  2416  }
  2417  func (m *ResponseCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2418  	if deterministic {
  2419  		return xxx_messageInfo_ResponseCommit.Marshal(b, m, deterministic)
  2420  	} else {
  2421  		b = b[:cap(b)]
  2422  		n, err := m.MarshalToSizedBuffer(b)
  2423  		if err != nil {
  2424  			return nil, err
  2425  		}
  2426  		return b[:n], nil
  2427  	}
  2428  }
  2429  func (m *ResponseCommit) XXX_Merge(src proto.Message) {
  2430  	xxx_messageInfo_ResponseCommit.Merge(m, src)
  2431  }
  2432  func (m *ResponseCommit) XXX_Size() int {
  2433  	return m.Size()
  2434  }
  2435  func (m *ResponseCommit) XXX_DiscardUnknown() {
  2436  	xxx_messageInfo_ResponseCommit.DiscardUnknown(m)
  2437  }
  2438  
  2439  var xxx_messageInfo_ResponseCommit proto.InternalMessageInfo
  2440  
  2441  func (m *ResponseCommit) GetData() []byte {
  2442  	if m != nil {
  2443  		return m.Data
  2444  	}
  2445  	return nil
  2446  }
  2447  
  2448  func (m *ResponseCommit) GetRetainHeight() int64 {
  2449  	if m != nil {
  2450  		return m.RetainHeight
  2451  	}
  2452  	return 0
  2453  }
  2454  
  2455  type ResponseListSnapshots struct {
  2456  	Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
  2457  }
  2458  
  2459  func (m *ResponseListSnapshots) Reset()         { *m = ResponseListSnapshots{} }
  2460  func (m *ResponseListSnapshots) String() string { return proto.CompactTextString(m) }
  2461  func (*ResponseListSnapshots) ProtoMessage()    {}
  2462  func (*ResponseListSnapshots) Descriptor() ([]byte, []int) {
  2463  	return fileDescriptor_252557cfdd89a31a, []int{29}
  2464  }
  2465  func (m *ResponseListSnapshots) XXX_Unmarshal(b []byte) error {
  2466  	return m.Unmarshal(b)
  2467  }
  2468  func (m *ResponseListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2469  	if deterministic {
  2470  		return xxx_messageInfo_ResponseListSnapshots.Marshal(b, m, deterministic)
  2471  	} else {
  2472  		b = b[:cap(b)]
  2473  		n, err := m.MarshalToSizedBuffer(b)
  2474  		if err != nil {
  2475  			return nil, err
  2476  		}
  2477  		return b[:n], nil
  2478  	}
  2479  }
  2480  func (m *ResponseListSnapshots) XXX_Merge(src proto.Message) {
  2481  	xxx_messageInfo_ResponseListSnapshots.Merge(m, src)
  2482  }
  2483  func (m *ResponseListSnapshots) XXX_Size() int {
  2484  	return m.Size()
  2485  }
  2486  func (m *ResponseListSnapshots) XXX_DiscardUnknown() {
  2487  	xxx_messageInfo_ResponseListSnapshots.DiscardUnknown(m)
  2488  }
  2489  
  2490  var xxx_messageInfo_ResponseListSnapshots proto.InternalMessageInfo
  2491  
  2492  func (m *ResponseListSnapshots) GetSnapshots() []*Snapshot {
  2493  	if m != nil {
  2494  		return m.Snapshots
  2495  	}
  2496  	return nil
  2497  }
  2498  
  2499  type ResponseOfferSnapshot struct {
  2500  	Result ResponseOfferSnapshot_Result `protobuf:"varint,1,opt,name=result,proto3,enum=tendermint.abci.ResponseOfferSnapshot_Result" json:"result,omitempty"`
  2501  }
  2502  
  2503  func (m *ResponseOfferSnapshot) Reset()         { *m = ResponseOfferSnapshot{} }
  2504  func (m *ResponseOfferSnapshot) String() string { return proto.CompactTextString(m) }
  2505  func (*ResponseOfferSnapshot) ProtoMessage()    {}
  2506  func (*ResponseOfferSnapshot) Descriptor() ([]byte, []int) {
  2507  	return fileDescriptor_252557cfdd89a31a, []int{30}
  2508  }
  2509  func (m *ResponseOfferSnapshot) XXX_Unmarshal(b []byte) error {
  2510  	return m.Unmarshal(b)
  2511  }
  2512  func (m *ResponseOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2513  	if deterministic {
  2514  		return xxx_messageInfo_ResponseOfferSnapshot.Marshal(b, m, deterministic)
  2515  	} else {
  2516  		b = b[:cap(b)]
  2517  		n, err := m.MarshalToSizedBuffer(b)
  2518  		if err != nil {
  2519  			return nil, err
  2520  		}
  2521  		return b[:n], nil
  2522  	}
  2523  }
  2524  func (m *ResponseOfferSnapshot) XXX_Merge(src proto.Message) {
  2525  	xxx_messageInfo_ResponseOfferSnapshot.Merge(m, src)
  2526  }
  2527  func (m *ResponseOfferSnapshot) XXX_Size() int {
  2528  	return m.Size()
  2529  }
  2530  func (m *ResponseOfferSnapshot) XXX_DiscardUnknown() {
  2531  	xxx_messageInfo_ResponseOfferSnapshot.DiscardUnknown(m)
  2532  }
  2533  
  2534  var xxx_messageInfo_ResponseOfferSnapshot proto.InternalMessageInfo
  2535  
  2536  func (m *ResponseOfferSnapshot) GetResult() ResponseOfferSnapshot_Result {
  2537  	if m != nil {
  2538  		return m.Result
  2539  	}
  2540  	return ResponseOfferSnapshot_UNKNOWN
  2541  }
  2542  
  2543  type ResponseLoadSnapshotChunk struct {
  2544  	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
  2545  }
  2546  
  2547  func (m *ResponseLoadSnapshotChunk) Reset()         { *m = ResponseLoadSnapshotChunk{} }
  2548  func (m *ResponseLoadSnapshotChunk) String() string { return proto.CompactTextString(m) }
  2549  func (*ResponseLoadSnapshotChunk) ProtoMessage()    {}
  2550  func (*ResponseLoadSnapshotChunk) Descriptor() ([]byte, []int) {
  2551  	return fileDescriptor_252557cfdd89a31a, []int{31}
  2552  }
  2553  func (m *ResponseLoadSnapshotChunk) XXX_Unmarshal(b []byte) error {
  2554  	return m.Unmarshal(b)
  2555  }
  2556  func (m *ResponseLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2557  	if deterministic {
  2558  		return xxx_messageInfo_ResponseLoadSnapshotChunk.Marshal(b, m, deterministic)
  2559  	} else {
  2560  		b = b[:cap(b)]
  2561  		n, err := m.MarshalToSizedBuffer(b)
  2562  		if err != nil {
  2563  			return nil, err
  2564  		}
  2565  		return b[:n], nil
  2566  	}
  2567  }
  2568  func (m *ResponseLoadSnapshotChunk) XXX_Merge(src proto.Message) {
  2569  	xxx_messageInfo_ResponseLoadSnapshotChunk.Merge(m, src)
  2570  }
  2571  func (m *ResponseLoadSnapshotChunk) XXX_Size() int {
  2572  	return m.Size()
  2573  }
  2574  func (m *ResponseLoadSnapshotChunk) XXX_DiscardUnknown() {
  2575  	xxx_messageInfo_ResponseLoadSnapshotChunk.DiscardUnknown(m)
  2576  }
  2577  
  2578  var xxx_messageInfo_ResponseLoadSnapshotChunk proto.InternalMessageInfo
  2579  
  2580  func (m *ResponseLoadSnapshotChunk) GetChunk() []byte {
  2581  	if m != nil {
  2582  		return m.Chunk
  2583  	}
  2584  	return nil
  2585  }
  2586  
  2587  type ResponseApplySnapshotChunk struct {
  2588  	Result        ResponseApplySnapshotChunk_Result `protobuf:"varint,1,opt,name=result,proto3,enum=tendermint.abci.ResponseApplySnapshotChunk_Result" json:"result,omitempty"`
  2589  	RefetchChunks []uint32                          `protobuf:"varint,2,rep,packed,name=refetch_chunks,json=refetchChunks,proto3" json:"refetch_chunks,omitempty"`
  2590  	RejectSenders []string                          `protobuf:"bytes,3,rep,name=reject_senders,json=rejectSenders,proto3" json:"reject_senders,omitempty"`
  2591  }
  2592  
  2593  func (m *ResponseApplySnapshotChunk) Reset()         { *m = ResponseApplySnapshotChunk{} }
  2594  func (m *ResponseApplySnapshotChunk) String() string { return proto.CompactTextString(m) }
  2595  func (*ResponseApplySnapshotChunk) ProtoMessage()    {}
  2596  func (*ResponseApplySnapshotChunk) Descriptor() ([]byte, []int) {
  2597  	return fileDescriptor_252557cfdd89a31a, []int{32}
  2598  }
  2599  func (m *ResponseApplySnapshotChunk) XXX_Unmarshal(b []byte) error {
  2600  	return m.Unmarshal(b)
  2601  }
  2602  func (m *ResponseApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2603  	if deterministic {
  2604  		return xxx_messageInfo_ResponseApplySnapshotChunk.Marshal(b, m, deterministic)
  2605  	} else {
  2606  		b = b[:cap(b)]
  2607  		n, err := m.MarshalToSizedBuffer(b)
  2608  		if err != nil {
  2609  			return nil, err
  2610  		}
  2611  		return b[:n], nil
  2612  	}
  2613  }
  2614  func (m *ResponseApplySnapshotChunk) XXX_Merge(src proto.Message) {
  2615  	xxx_messageInfo_ResponseApplySnapshotChunk.Merge(m, src)
  2616  }
  2617  func (m *ResponseApplySnapshotChunk) XXX_Size() int {
  2618  	return m.Size()
  2619  }
  2620  func (m *ResponseApplySnapshotChunk) XXX_DiscardUnknown() {
  2621  	xxx_messageInfo_ResponseApplySnapshotChunk.DiscardUnknown(m)
  2622  }
  2623  
  2624  var xxx_messageInfo_ResponseApplySnapshotChunk proto.InternalMessageInfo
  2625  
  2626  func (m *ResponseApplySnapshotChunk) GetResult() ResponseApplySnapshotChunk_Result {
  2627  	if m != nil {
  2628  		return m.Result
  2629  	}
  2630  	return ResponseApplySnapshotChunk_UNKNOWN
  2631  }
  2632  
  2633  func (m *ResponseApplySnapshotChunk) GetRefetchChunks() []uint32 {
  2634  	if m != nil {
  2635  		return m.RefetchChunks
  2636  	}
  2637  	return nil
  2638  }
  2639  
  2640  func (m *ResponseApplySnapshotChunk) GetRejectSenders() []string {
  2641  	if m != nil {
  2642  		return m.RejectSenders
  2643  	}
  2644  	return nil
  2645  }
  2646  
  2647  type ResponsePrepareProposal struct {
  2648  	Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
  2649  }
  2650  
  2651  func (m *ResponsePrepareProposal) Reset()         { *m = ResponsePrepareProposal{} }
  2652  func (m *ResponsePrepareProposal) String() string { return proto.CompactTextString(m) }
  2653  func (*ResponsePrepareProposal) ProtoMessage()    {}
  2654  func (*ResponsePrepareProposal) Descriptor() ([]byte, []int) {
  2655  	return fileDescriptor_252557cfdd89a31a, []int{33}
  2656  }
  2657  func (m *ResponsePrepareProposal) XXX_Unmarshal(b []byte) error {
  2658  	return m.Unmarshal(b)
  2659  }
  2660  func (m *ResponsePrepareProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2661  	if deterministic {
  2662  		return xxx_messageInfo_ResponsePrepareProposal.Marshal(b, m, deterministic)
  2663  	} else {
  2664  		b = b[:cap(b)]
  2665  		n, err := m.MarshalToSizedBuffer(b)
  2666  		if err != nil {
  2667  			return nil, err
  2668  		}
  2669  		return b[:n], nil
  2670  	}
  2671  }
  2672  func (m *ResponsePrepareProposal) XXX_Merge(src proto.Message) {
  2673  	xxx_messageInfo_ResponsePrepareProposal.Merge(m, src)
  2674  }
  2675  func (m *ResponsePrepareProposal) XXX_Size() int {
  2676  	return m.Size()
  2677  }
  2678  func (m *ResponsePrepareProposal) XXX_DiscardUnknown() {
  2679  	xxx_messageInfo_ResponsePrepareProposal.DiscardUnknown(m)
  2680  }
  2681  
  2682  var xxx_messageInfo_ResponsePrepareProposal proto.InternalMessageInfo
  2683  
  2684  func (m *ResponsePrepareProposal) GetTxs() [][]byte {
  2685  	if m != nil {
  2686  		return m.Txs
  2687  	}
  2688  	return nil
  2689  }
  2690  
  2691  type ResponseProcessProposal struct {
  2692  	Status ResponseProcessProposal_ProposalStatus `protobuf:"varint,1,opt,name=status,proto3,enum=tendermint.abci.ResponseProcessProposal_ProposalStatus" json:"status,omitempty"`
  2693  }
  2694  
  2695  func (m *ResponseProcessProposal) Reset()         { *m = ResponseProcessProposal{} }
  2696  func (m *ResponseProcessProposal) String() string { return proto.CompactTextString(m) }
  2697  func (*ResponseProcessProposal) ProtoMessage()    {}
  2698  func (*ResponseProcessProposal) Descriptor() ([]byte, []int) {
  2699  	return fileDescriptor_252557cfdd89a31a, []int{34}
  2700  }
  2701  func (m *ResponseProcessProposal) XXX_Unmarshal(b []byte) error {
  2702  	return m.Unmarshal(b)
  2703  }
  2704  func (m *ResponseProcessProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2705  	if deterministic {
  2706  		return xxx_messageInfo_ResponseProcessProposal.Marshal(b, m, deterministic)
  2707  	} else {
  2708  		b = b[:cap(b)]
  2709  		n, err := m.MarshalToSizedBuffer(b)
  2710  		if err != nil {
  2711  			return nil, err
  2712  		}
  2713  		return b[:n], nil
  2714  	}
  2715  }
  2716  func (m *ResponseProcessProposal) XXX_Merge(src proto.Message) {
  2717  	xxx_messageInfo_ResponseProcessProposal.Merge(m, src)
  2718  }
  2719  func (m *ResponseProcessProposal) XXX_Size() int {
  2720  	return m.Size()
  2721  }
  2722  func (m *ResponseProcessProposal) XXX_DiscardUnknown() {
  2723  	xxx_messageInfo_ResponseProcessProposal.DiscardUnknown(m)
  2724  }
  2725  
  2726  var xxx_messageInfo_ResponseProcessProposal proto.InternalMessageInfo
  2727  
  2728  func (m *ResponseProcessProposal) GetStatus() ResponseProcessProposal_ProposalStatus {
  2729  	if m != nil {
  2730  		return m.Status
  2731  	}
  2732  	return ResponseProcessProposal_UNKNOWN
  2733  }
  2734  
  2735  type CommitInfo struct {
  2736  	Round int32      `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
  2737  	Votes []VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"`
  2738  }
  2739  
  2740  func (m *CommitInfo) Reset()         { *m = CommitInfo{} }
  2741  func (m *CommitInfo) String() string { return proto.CompactTextString(m) }
  2742  func (*CommitInfo) ProtoMessage()    {}
  2743  func (*CommitInfo) Descriptor() ([]byte, []int) {
  2744  	return fileDescriptor_252557cfdd89a31a, []int{35}
  2745  }
  2746  func (m *CommitInfo) XXX_Unmarshal(b []byte) error {
  2747  	return m.Unmarshal(b)
  2748  }
  2749  func (m *CommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2750  	if deterministic {
  2751  		return xxx_messageInfo_CommitInfo.Marshal(b, m, deterministic)
  2752  	} else {
  2753  		b = b[:cap(b)]
  2754  		n, err := m.MarshalToSizedBuffer(b)
  2755  		if err != nil {
  2756  			return nil, err
  2757  		}
  2758  		return b[:n], nil
  2759  	}
  2760  }
  2761  func (m *CommitInfo) XXX_Merge(src proto.Message) {
  2762  	xxx_messageInfo_CommitInfo.Merge(m, src)
  2763  }
  2764  func (m *CommitInfo) XXX_Size() int {
  2765  	return m.Size()
  2766  }
  2767  func (m *CommitInfo) XXX_DiscardUnknown() {
  2768  	xxx_messageInfo_CommitInfo.DiscardUnknown(m)
  2769  }
  2770  
  2771  var xxx_messageInfo_CommitInfo proto.InternalMessageInfo
  2772  
  2773  func (m *CommitInfo) GetRound() int32 {
  2774  	if m != nil {
  2775  		return m.Round
  2776  	}
  2777  	return 0
  2778  }
  2779  
  2780  func (m *CommitInfo) GetVotes() []VoteInfo {
  2781  	if m != nil {
  2782  		return m.Votes
  2783  	}
  2784  	return nil
  2785  }
  2786  
  2787  type ExtendedCommitInfo struct {
  2788  	// The round at which the block proposer decided in the previous height.
  2789  	Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
  2790  	// List of validators' addresses in the last validator set with their voting
  2791  	// information, including vote extensions.
  2792  	Votes []ExtendedVoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"`
  2793  }
  2794  
  2795  func (m *ExtendedCommitInfo) Reset()         { *m = ExtendedCommitInfo{} }
  2796  func (m *ExtendedCommitInfo) String() string { return proto.CompactTextString(m) }
  2797  func (*ExtendedCommitInfo) ProtoMessage()    {}
  2798  func (*ExtendedCommitInfo) Descriptor() ([]byte, []int) {
  2799  	return fileDescriptor_252557cfdd89a31a, []int{36}
  2800  }
  2801  func (m *ExtendedCommitInfo) XXX_Unmarshal(b []byte) error {
  2802  	return m.Unmarshal(b)
  2803  }
  2804  func (m *ExtendedCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2805  	if deterministic {
  2806  		return xxx_messageInfo_ExtendedCommitInfo.Marshal(b, m, deterministic)
  2807  	} else {
  2808  		b = b[:cap(b)]
  2809  		n, err := m.MarshalToSizedBuffer(b)
  2810  		if err != nil {
  2811  			return nil, err
  2812  		}
  2813  		return b[:n], nil
  2814  	}
  2815  }
  2816  func (m *ExtendedCommitInfo) XXX_Merge(src proto.Message) {
  2817  	xxx_messageInfo_ExtendedCommitInfo.Merge(m, src)
  2818  }
  2819  func (m *ExtendedCommitInfo) XXX_Size() int {
  2820  	return m.Size()
  2821  }
  2822  func (m *ExtendedCommitInfo) XXX_DiscardUnknown() {
  2823  	xxx_messageInfo_ExtendedCommitInfo.DiscardUnknown(m)
  2824  }
  2825  
  2826  var xxx_messageInfo_ExtendedCommitInfo proto.InternalMessageInfo
  2827  
  2828  func (m *ExtendedCommitInfo) GetRound() int32 {
  2829  	if m != nil {
  2830  		return m.Round
  2831  	}
  2832  	return 0
  2833  }
  2834  
  2835  func (m *ExtendedCommitInfo) GetVotes() []ExtendedVoteInfo {
  2836  	if m != nil {
  2837  		return m.Votes
  2838  	}
  2839  	return nil
  2840  }
  2841  
  2842  // Event allows application developers to attach additional information to
  2843  // ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx.
  2844  // Later, transactions may be queried using these events.
  2845  type Event struct {
  2846  	Type       string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  2847  	Attributes []EventAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
  2848  }
  2849  
  2850  func (m *Event) Reset()         { *m = Event{} }
  2851  func (m *Event) String() string { return proto.CompactTextString(m) }
  2852  func (*Event) ProtoMessage()    {}
  2853  func (*Event) Descriptor() ([]byte, []int) {
  2854  	return fileDescriptor_252557cfdd89a31a, []int{37}
  2855  }
  2856  func (m *Event) XXX_Unmarshal(b []byte) error {
  2857  	return m.Unmarshal(b)
  2858  }
  2859  func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2860  	if deterministic {
  2861  		return xxx_messageInfo_Event.Marshal(b, m, deterministic)
  2862  	} else {
  2863  		b = b[:cap(b)]
  2864  		n, err := m.MarshalToSizedBuffer(b)
  2865  		if err != nil {
  2866  			return nil, err
  2867  		}
  2868  		return b[:n], nil
  2869  	}
  2870  }
  2871  func (m *Event) XXX_Merge(src proto.Message) {
  2872  	xxx_messageInfo_Event.Merge(m, src)
  2873  }
  2874  func (m *Event) XXX_Size() int {
  2875  	return m.Size()
  2876  }
  2877  func (m *Event) XXX_DiscardUnknown() {
  2878  	xxx_messageInfo_Event.DiscardUnknown(m)
  2879  }
  2880  
  2881  var xxx_messageInfo_Event proto.InternalMessageInfo
  2882  
  2883  func (m *Event) GetType() string {
  2884  	if m != nil {
  2885  		return m.Type
  2886  	}
  2887  	return ""
  2888  }
  2889  
  2890  func (m *Event) GetAttributes() []EventAttribute {
  2891  	if m != nil {
  2892  		return m.Attributes
  2893  	}
  2894  	return nil
  2895  }
  2896  
  2897  // EventAttribute is a single key-value pair, associated with an event.
  2898  type EventAttribute struct {
  2899  	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  2900  	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  2901  	Index bool   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
  2902  }
  2903  
  2904  func (m *EventAttribute) Reset()         { *m = EventAttribute{} }
  2905  func (m *EventAttribute) String() string { return proto.CompactTextString(m) }
  2906  func (*EventAttribute) ProtoMessage()    {}
  2907  func (*EventAttribute) Descriptor() ([]byte, []int) {
  2908  	return fileDescriptor_252557cfdd89a31a, []int{38}
  2909  }
  2910  func (m *EventAttribute) XXX_Unmarshal(b []byte) error {
  2911  	return m.Unmarshal(b)
  2912  }
  2913  func (m *EventAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2914  	if deterministic {
  2915  		return xxx_messageInfo_EventAttribute.Marshal(b, m, deterministic)
  2916  	} else {
  2917  		b = b[:cap(b)]
  2918  		n, err := m.MarshalToSizedBuffer(b)
  2919  		if err != nil {
  2920  			return nil, err
  2921  		}
  2922  		return b[:n], nil
  2923  	}
  2924  }
  2925  func (m *EventAttribute) XXX_Merge(src proto.Message) {
  2926  	xxx_messageInfo_EventAttribute.Merge(m, src)
  2927  }
  2928  func (m *EventAttribute) XXX_Size() int {
  2929  	return m.Size()
  2930  }
  2931  func (m *EventAttribute) XXX_DiscardUnknown() {
  2932  	xxx_messageInfo_EventAttribute.DiscardUnknown(m)
  2933  }
  2934  
  2935  var xxx_messageInfo_EventAttribute proto.InternalMessageInfo
  2936  
  2937  func (m *EventAttribute) GetKey() string {
  2938  	if m != nil {
  2939  		return m.Key
  2940  	}
  2941  	return ""
  2942  }
  2943  
  2944  func (m *EventAttribute) GetValue() string {
  2945  	if m != nil {
  2946  		return m.Value
  2947  	}
  2948  	return ""
  2949  }
  2950  
  2951  func (m *EventAttribute) GetIndex() bool {
  2952  	if m != nil {
  2953  		return m.Index
  2954  	}
  2955  	return false
  2956  }
  2957  
  2958  // TxResult contains results of executing the transaction.
  2959  //
  2960  // One usage is indexing transaction results.
  2961  type TxResult struct {
  2962  	Height int64             `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  2963  	Index  uint32            `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
  2964  	Tx     []byte            `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
  2965  	Result ResponseDeliverTx `protobuf:"bytes,4,opt,name=result,proto3" json:"result"`
  2966  }
  2967  
  2968  func (m *TxResult) Reset()         { *m = TxResult{} }
  2969  func (m *TxResult) String() string { return proto.CompactTextString(m) }
  2970  func (*TxResult) ProtoMessage()    {}
  2971  func (*TxResult) Descriptor() ([]byte, []int) {
  2972  	return fileDescriptor_252557cfdd89a31a, []int{39}
  2973  }
  2974  func (m *TxResult) XXX_Unmarshal(b []byte) error {
  2975  	return m.Unmarshal(b)
  2976  }
  2977  func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2978  	if deterministic {
  2979  		return xxx_messageInfo_TxResult.Marshal(b, m, deterministic)
  2980  	} else {
  2981  		b = b[:cap(b)]
  2982  		n, err := m.MarshalToSizedBuffer(b)
  2983  		if err != nil {
  2984  			return nil, err
  2985  		}
  2986  		return b[:n], nil
  2987  	}
  2988  }
  2989  func (m *TxResult) XXX_Merge(src proto.Message) {
  2990  	xxx_messageInfo_TxResult.Merge(m, src)
  2991  }
  2992  func (m *TxResult) XXX_Size() int {
  2993  	return m.Size()
  2994  }
  2995  func (m *TxResult) XXX_DiscardUnknown() {
  2996  	xxx_messageInfo_TxResult.DiscardUnknown(m)
  2997  }
  2998  
  2999  var xxx_messageInfo_TxResult proto.InternalMessageInfo
  3000  
  3001  func (m *TxResult) GetHeight() int64 {
  3002  	if m != nil {
  3003  		return m.Height
  3004  	}
  3005  	return 0
  3006  }
  3007  
  3008  func (m *TxResult) GetIndex() uint32 {
  3009  	if m != nil {
  3010  		return m.Index
  3011  	}
  3012  	return 0
  3013  }
  3014  
  3015  func (m *TxResult) GetTx() []byte {
  3016  	if m != nil {
  3017  		return m.Tx
  3018  	}
  3019  	return nil
  3020  }
  3021  
  3022  func (m *TxResult) GetResult() ResponseDeliverTx {
  3023  	if m != nil {
  3024  		return m.Result
  3025  	}
  3026  	return ResponseDeliverTx{}
  3027  }
  3028  
  3029  // Validator
  3030  type Validator struct {
  3031  	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  3032  	// PubKey pub_key = 2 [(gogoproto.nullable)=false];
  3033  	Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"`
  3034  }
  3035  
  3036  func (m *Validator) Reset()         { *m = Validator{} }
  3037  func (m *Validator) String() string { return proto.CompactTextString(m) }
  3038  func (*Validator) ProtoMessage()    {}
  3039  func (*Validator) Descriptor() ([]byte, []int) {
  3040  	return fileDescriptor_252557cfdd89a31a, []int{40}
  3041  }
  3042  func (m *Validator) XXX_Unmarshal(b []byte) error {
  3043  	return m.Unmarshal(b)
  3044  }
  3045  func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3046  	if deterministic {
  3047  		return xxx_messageInfo_Validator.Marshal(b, m, deterministic)
  3048  	} else {
  3049  		b = b[:cap(b)]
  3050  		n, err := m.MarshalToSizedBuffer(b)
  3051  		if err != nil {
  3052  			return nil, err
  3053  		}
  3054  		return b[:n], nil
  3055  	}
  3056  }
  3057  func (m *Validator) XXX_Merge(src proto.Message) {
  3058  	xxx_messageInfo_Validator.Merge(m, src)
  3059  }
  3060  func (m *Validator) XXX_Size() int {
  3061  	return m.Size()
  3062  }
  3063  func (m *Validator) XXX_DiscardUnknown() {
  3064  	xxx_messageInfo_Validator.DiscardUnknown(m)
  3065  }
  3066  
  3067  var xxx_messageInfo_Validator proto.InternalMessageInfo
  3068  
  3069  func (m *Validator) GetAddress() []byte {
  3070  	if m != nil {
  3071  		return m.Address
  3072  	}
  3073  	return nil
  3074  }
  3075  
  3076  func (m *Validator) GetPower() int64 {
  3077  	if m != nil {
  3078  		return m.Power
  3079  	}
  3080  	return 0
  3081  }
  3082  
  3083  // ValidatorUpdate
  3084  type ValidatorUpdate struct {
  3085  	PubKey crypto.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
  3086  	Power  int64            `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
  3087  }
  3088  
  3089  func (m *ValidatorUpdate) Reset()         { *m = ValidatorUpdate{} }
  3090  func (m *ValidatorUpdate) String() string { return proto.CompactTextString(m) }
  3091  func (*ValidatorUpdate) ProtoMessage()    {}
  3092  func (*ValidatorUpdate) Descriptor() ([]byte, []int) {
  3093  	return fileDescriptor_252557cfdd89a31a, []int{41}
  3094  }
  3095  func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error {
  3096  	return m.Unmarshal(b)
  3097  }
  3098  func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3099  	if deterministic {
  3100  		return xxx_messageInfo_ValidatorUpdate.Marshal(b, m, deterministic)
  3101  	} else {
  3102  		b = b[:cap(b)]
  3103  		n, err := m.MarshalToSizedBuffer(b)
  3104  		if err != nil {
  3105  			return nil, err
  3106  		}
  3107  		return b[:n], nil
  3108  	}
  3109  }
  3110  func (m *ValidatorUpdate) XXX_Merge(src proto.Message) {
  3111  	xxx_messageInfo_ValidatorUpdate.Merge(m, src)
  3112  }
  3113  func (m *ValidatorUpdate) XXX_Size() int {
  3114  	return m.Size()
  3115  }
  3116  func (m *ValidatorUpdate) XXX_DiscardUnknown() {
  3117  	xxx_messageInfo_ValidatorUpdate.DiscardUnknown(m)
  3118  }
  3119  
  3120  var xxx_messageInfo_ValidatorUpdate proto.InternalMessageInfo
  3121  
  3122  func (m *ValidatorUpdate) GetPubKey() crypto.PublicKey {
  3123  	if m != nil {
  3124  		return m.PubKey
  3125  	}
  3126  	return crypto.PublicKey{}
  3127  }
  3128  
  3129  func (m *ValidatorUpdate) GetPower() int64 {
  3130  	if m != nil {
  3131  		return m.Power
  3132  	}
  3133  	return 0
  3134  }
  3135  
  3136  // VoteInfo
  3137  type VoteInfo struct {
  3138  	Validator       Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
  3139  	SignedLastBlock bool      `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"`
  3140  }
  3141  
  3142  func (m *VoteInfo) Reset()         { *m = VoteInfo{} }
  3143  func (m *VoteInfo) String() string { return proto.CompactTextString(m) }
  3144  func (*VoteInfo) ProtoMessage()    {}
  3145  func (*VoteInfo) Descriptor() ([]byte, []int) {
  3146  	return fileDescriptor_252557cfdd89a31a, []int{42}
  3147  }
  3148  func (m *VoteInfo) XXX_Unmarshal(b []byte) error {
  3149  	return m.Unmarshal(b)
  3150  }
  3151  func (m *VoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3152  	if deterministic {
  3153  		return xxx_messageInfo_VoteInfo.Marshal(b, m, deterministic)
  3154  	} else {
  3155  		b = b[:cap(b)]
  3156  		n, err := m.MarshalToSizedBuffer(b)
  3157  		if err != nil {
  3158  			return nil, err
  3159  		}
  3160  		return b[:n], nil
  3161  	}
  3162  }
  3163  func (m *VoteInfo) XXX_Merge(src proto.Message) {
  3164  	xxx_messageInfo_VoteInfo.Merge(m, src)
  3165  }
  3166  func (m *VoteInfo) XXX_Size() int {
  3167  	return m.Size()
  3168  }
  3169  func (m *VoteInfo) XXX_DiscardUnknown() {
  3170  	xxx_messageInfo_VoteInfo.DiscardUnknown(m)
  3171  }
  3172  
  3173  var xxx_messageInfo_VoteInfo proto.InternalMessageInfo
  3174  
  3175  func (m *VoteInfo) GetValidator() Validator {
  3176  	if m != nil {
  3177  		return m.Validator
  3178  	}
  3179  	return Validator{}
  3180  }
  3181  
  3182  func (m *VoteInfo) GetSignedLastBlock() bool {
  3183  	if m != nil {
  3184  		return m.SignedLastBlock
  3185  	}
  3186  	return false
  3187  }
  3188  
  3189  type ExtendedVoteInfo struct {
  3190  	Validator       Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
  3191  	SignedLastBlock bool      `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"`
  3192  	VoteExtension   []byte    `protobuf:"bytes,3,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"`
  3193  }
  3194  
  3195  func (m *ExtendedVoteInfo) Reset()         { *m = ExtendedVoteInfo{} }
  3196  func (m *ExtendedVoteInfo) String() string { return proto.CompactTextString(m) }
  3197  func (*ExtendedVoteInfo) ProtoMessage()    {}
  3198  func (*ExtendedVoteInfo) Descriptor() ([]byte, []int) {
  3199  	return fileDescriptor_252557cfdd89a31a, []int{43}
  3200  }
  3201  func (m *ExtendedVoteInfo) XXX_Unmarshal(b []byte) error {
  3202  	return m.Unmarshal(b)
  3203  }
  3204  func (m *ExtendedVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3205  	if deterministic {
  3206  		return xxx_messageInfo_ExtendedVoteInfo.Marshal(b, m, deterministic)
  3207  	} else {
  3208  		b = b[:cap(b)]
  3209  		n, err := m.MarshalToSizedBuffer(b)
  3210  		if err != nil {
  3211  			return nil, err
  3212  		}
  3213  		return b[:n], nil
  3214  	}
  3215  }
  3216  func (m *ExtendedVoteInfo) XXX_Merge(src proto.Message) {
  3217  	xxx_messageInfo_ExtendedVoteInfo.Merge(m, src)
  3218  }
  3219  func (m *ExtendedVoteInfo) XXX_Size() int {
  3220  	return m.Size()
  3221  }
  3222  func (m *ExtendedVoteInfo) XXX_DiscardUnknown() {
  3223  	xxx_messageInfo_ExtendedVoteInfo.DiscardUnknown(m)
  3224  }
  3225  
  3226  var xxx_messageInfo_ExtendedVoteInfo proto.InternalMessageInfo
  3227  
  3228  func (m *ExtendedVoteInfo) GetValidator() Validator {
  3229  	if m != nil {
  3230  		return m.Validator
  3231  	}
  3232  	return Validator{}
  3233  }
  3234  
  3235  func (m *ExtendedVoteInfo) GetSignedLastBlock() bool {
  3236  	if m != nil {
  3237  		return m.SignedLastBlock
  3238  	}
  3239  	return false
  3240  }
  3241  
  3242  func (m *ExtendedVoteInfo) GetVoteExtension() []byte {
  3243  	if m != nil {
  3244  		return m.VoteExtension
  3245  	}
  3246  	return nil
  3247  }
  3248  
  3249  type Misbehavior struct {
  3250  	Type MisbehaviorType `protobuf:"varint,1,opt,name=type,proto3,enum=tendermint.abci.MisbehaviorType" json:"type,omitempty"`
  3251  	// The offending validator
  3252  	Validator Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
  3253  	// The height when the offense occurred
  3254  	Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
  3255  	// The corresponding time where the offense occurred
  3256  	Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
  3257  	// Total voting power of the validator set in case the ABCI application does
  3258  	// not store historical validators.
  3259  	// https://github.com/tendermint/tendermint/issues/4581
  3260  	TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
  3261  }
  3262  
  3263  func (m *Misbehavior) Reset()         { *m = Misbehavior{} }
  3264  func (m *Misbehavior) String() string { return proto.CompactTextString(m) }
  3265  func (*Misbehavior) ProtoMessage()    {}
  3266  func (*Misbehavior) Descriptor() ([]byte, []int) {
  3267  	return fileDescriptor_252557cfdd89a31a, []int{44}
  3268  }
  3269  func (m *Misbehavior) XXX_Unmarshal(b []byte) error {
  3270  	return m.Unmarshal(b)
  3271  }
  3272  func (m *Misbehavior) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3273  	if deterministic {
  3274  		return xxx_messageInfo_Misbehavior.Marshal(b, m, deterministic)
  3275  	} else {
  3276  		b = b[:cap(b)]
  3277  		n, err := m.MarshalToSizedBuffer(b)
  3278  		if err != nil {
  3279  			return nil, err
  3280  		}
  3281  		return b[:n], nil
  3282  	}
  3283  }
  3284  func (m *Misbehavior) XXX_Merge(src proto.Message) {
  3285  	xxx_messageInfo_Misbehavior.Merge(m, src)
  3286  }
  3287  func (m *Misbehavior) XXX_Size() int {
  3288  	return m.Size()
  3289  }
  3290  func (m *Misbehavior) XXX_DiscardUnknown() {
  3291  	xxx_messageInfo_Misbehavior.DiscardUnknown(m)
  3292  }
  3293  
  3294  var xxx_messageInfo_Misbehavior proto.InternalMessageInfo
  3295  
  3296  func (m *Misbehavior) GetType() MisbehaviorType {
  3297  	if m != nil {
  3298  		return m.Type
  3299  	}
  3300  	return MisbehaviorType_UNKNOWN
  3301  }
  3302  
  3303  func (m *Misbehavior) GetValidator() Validator {
  3304  	if m != nil {
  3305  		return m.Validator
  3306  	}
  3307  	return Validator{}
  3308  }
  3309  
  3310  func (m *Misbehavior) GetHeight() int64 {
  3311  	if m != nil {
  3312  		return m.Height
  3313  	}
  3314  	return 0
  3315  }
  3316  
  3317  func (m *Misbehavior) GetTime() time.Time {
  3318  	if m != nil {
  3319  		return m.Time
  3320  	}
  3321  	return time.Time{}
  3322  }
  3323  
  3324  func (m *Misbehavior) GetTotalVotingPower() int64 {
  3325  	if m != nil {
  3326  		return m.TotalVotingPower
  3327  	}
  3328  	return 0
  3329  }
  3330  
  3331  type Snapshot struct {
  3332  	Height   uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  3333  	Format   uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
  3334  	Chunks   uint32 `protobuf:"varint,3,opt,name=chunks,proto3" json:"chunks,omitempty"`
  3335  	Hash     []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
  3336  	Metadata []byte `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
  3337  }
  3338  
  3339  func (m *Snapshot) Reset()         { *m = Snapshot{} }
  3340  func (m *Snapshot) String() string { return proto.CompactTextString(m) }
  3341  func (*Snapshot) ProtoMessage()    {}
  3342  func (*Snapshot) Descriptor() ([]byte, []int) {
  3343  	return fileDescriptor_252557cfdd89a31a, []int{45}
  3344  }
  3345  func (m *Snapshot) XXX_Unmarshal(b []byte) error {
  3346  	return m.Unmarshal(b)
  3347  }
  3348  func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3349  	if deterministic {
  3350  		return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic)
  3351  	} else {
  3352  		b = b[:cap(b)]
  3353  		n, err := m.MarshalToSizedBuffer(b)
  3354  		if err != nil {
  3355  			return nil, err
  3356  		}
  3357  		return b[:n], nil
  3358  	}
  3359  }
  3360  func (m *Snapshot) XXX_Merge(src proto.Message) {
  3361  	xxx_messageInfo_Snapshot.Merge(m, src)
  3362  }
  3363  func (m *Snapshot) XXX_Size() int {
  3364  	return m.Size()
  3365  }
  3366  func (m *Snapshot) XXX_DiscardUnknown() {
  3367  	xxx_messageInfo_Snapshot.DiscardUnknown(m)
  3368  }
  3369  
  3370  var xxx_messageInfo_Snapshot proto.InternalMessageInfo
  3371  
  3372  func (m *Snapshot) GetHeight() uint64 {
  3373  	if m != nil {
  3374  		return m.Height
  3375  	}
  3376  	return 0
  3377  }
  3378  
  3379  func (m *Snapshot) GetFormat() uint32 {
  3380  	if m != nil {
  3381  		return m.Format
  3382  	}
  3383  	return 0
  3384  }
  3385  
  3386  func (m *Snapshot) GetChunks() uint32 {
  3387  	if m != nil {
  3388  		return m.Chunks
  3389  	}
  3390  	return 0
  3391  }
  3392  
  3393  func (m *Snapshot) GetHash() []byte {
  3394  	if m != nil {
  3395  		return m.Hash
  3396  	}
  3397  	return nil
  3398  }
  3399  
  3400  func (m *Snapshot) GetMetadata() []byte {
  3401  	if m != nil {
  3402  		return m.Metadata
  3403  	}
  3404  	return nil
  3405  }
  3406  
  3407  func init() {
  3408  	proto.RegisterEnum("tendermint.abci.CheckTxType", CheckTxType_name, CheckTxType_value)
  3409  	proto.RegisterEnum("tendermint.abci.MisbehaviorType", MisbehaviorType_name, MisbehaviorType_value)
  3410  	proto.RegisterEnum("tendermint.abci.ResponseOfferSnapshot_Result", ResponseOfferSnapshot_Result_name, ResponseOfferSnapshot_Result_value)
  3411  	proto.RegisterEnum("tendermint.abci.ResponseApplySnapshotChunk_Result", ResponseApplySnapshotChunk_Result_name, ResponseApplySnapshotChunk_Result_value)
  3412  	proto.RegisterEnum("tendermint.abci.ResponseProcessProposal_ProposalStatus", ResponseProcessProposal_ProposalStatus_name, ResponseProcessProposal_ProposalStatus_value)
  3413  	proto.RegisterType((*Request)(nil), "tendermint.abci.Request")
  3414  	proto.RegisterType((*RequestEcho)(nil), "tendermint.abci.RequestEcho")
  3415  	proto.RegisterType((*RequestFlush)(nil), "tendermint.abci.RequestFlush")
  3416  	proto.RegisterType((*RequestInfo)(nil), "tendermint.abci.RequestInfo")
  3417  	proto.RegisterType((*RequestInitChain)(nil), "tendermint.abci.RequestInitChain")
  3418  	proto.RegisterType((*RequestQuery)(nil), "tendermint.abci.RequestQuery")
  3419  	proto.RegisterType((*RequestBeginBlock)(nil), "tendermint.abci.RequestBeginBlock")
  3420  	proto.RegisterType((*RequestCheckTx)(nil), "tendermint.abci.RequestCheckTx")
  3421  	proto.RegisterType((*RequestDeliverTx)(nil), "tendermint.abci.RequestDeliverTx")
  3422  	proto.RegisterType((*RequestEndBlock)(nil), "tendermint.abci.RequestEndBlock")
  3423  	proto.RegisterType((*RequestCommit)(nil), "tendermint.abci.RequestCommit")
  3424  	proto.RegisterType((*RequestListSnapshots)(nil), "tendermint.abci.RequestListSnapshots")
  3425  	proto.RegisterType((*RequestOfferSnapshot)(nil), "tendermint.abci.RequestOfferSnapshot")
  3426  	proto.RegisterType((*RequestLoadSnapshotChunk)(nil), "tendermint.abci.RequestLoadSnapshotChunk")
  3427  	proto.RegisterType((*RequestApplySnapshotChunk)(nil), "tendermint.abci.RequestApplySnapshotChunk")
  3428  	proto.RegisterType((*RequestPrepareProposal)(nil), "tendermint.abci.RequestPrepareProposal")
  3429  	proto.RegisterType((*RequestProcessProposal)(nil), "tendermint.abci.RequestProcessProposal")
  3430  	proto.RegisterType((*Response)(nil), "tendermint.abci.Response")
  3431  	proto.RegisterType((*ResponseException)(nil), "tendermint.abci.ResponseException")
  3432  	proto.RegisterType((*ResponseEcho)(nil), "tendermint.abci.ResponseEcho")
  3433  	proto.RegisterType((*ResponseFlush)(nil), "tendermint.abci.ResponseFlush")
  3434  	proto.RegisterType((*ResponseInfo)(nil), "tendermint.abci.ResponseInfo")
  3435  	proto.RegisterType((*ResponseInitChain)(nil), "tendermint.abci.ResponseInitChain")
  3436  	proto.RegisterType((*ResponseQuery)(nil), "tendermint.abci.ResponseQuery")
  3437  	proto.RegisterType((*ResponseBeginBlock)(nil), "tendermint.abci.ResponseBeginBlock")
  3438  	proto.RegisterType((*ResponseCheckTx)(nil), "tendermint.abci.ResponseCheckTx")
  3439  	proto.RegisterType((*ResponseDeliverTx)(nil), "tendermint.abci.ResponseDeliverTx")
  3440  	proto.RegisterType((*ResponseEndBlock)(nil), "tendermint.abci.ResponseEndBlock")
  3441  	proto.RegisterType((*ResponseCommit)(nil), "tendermint.abci.ResponseCommit")
  3442  	proto.RegisterType((*ResponseListSnapshots)(nil), "tendermint.abci.ResponseListSnapshots")
  3443  	proto.RegisterType((*ResponseOfferSnapshot)(nil), "tendermint.abci.ResponseOfferSnapshot")
  3444  	proto.RegisterType((*ResponseLoadSnapshotChunk)(nil), "tendermint.abci.ResponseLoadSnapshotChunk")
  3445  	proto.RegisterType((*ResponseApplySnapshotChunk)(nil), "tendermint.abci.ResponseApplySnapshotChunk")
  3446  	proto.RegisterType((*ResponsePrepareProposal)(nil), "tendermint.abci.ResponsePrepareProposal")
  3447  	proto.RegisterType((*ResponseProcessProposal)(nil), "tendermint.abci.ResponseProcessProposal")
  3448  	proto.RegisterType((*CommitInfo)(nil), "tendermint.abci.CommitInfo")
  3449  	proto.RegisterType((*ExtendedCommitInfo)(nil), "tendermint.abci.ExtendedCommitInfo")
  3450  	proto.RegisterType((*Event)(nil), "tendermint.abci.Event")
  3451  	proto.RegisterType((*EventAttribute)(nil), "tendermint.abci.EventAttribute")
  3452  	proto.RegisterType((*TxResult)(nil), "tendermint.abci.TxResult")
  3453  	proto.RegisterType((*Validator)(nil), "tendermint.abci.Validator")
  3454  	proto.RegisterType((*ValidatorUpdate)(nil), "tendermint.abci.ValidatorUpdate")
  3455  	proto.RegisterType((*VoteInfo)(nil), "tendermint.abci.VoteInfo")
  3456  	proto.RegisterType((*ExtendedVoteInfo)(nil), "tendermint.abci.ExtendedVoteInfo")
  3457  	proto.RegisterType((*Misbehavior)(nil), "tendermint.abci.Misbehavior")
  3458  	proto.RegisterType((*Snapshot)(nil), "tendermint.abci.Snapshot")
  3459  }
  3460  
  3461  func init() { proto.RegisterFile("tendermint/abci/types.proto", fileDescriptor_252557cfdd89a31a) }
  3462  
  3463  var fileDescriptor_252557cfdd89a31a = []byte{
  3464  	// 3010 bytes of a gzipped FileDescriptorProto
  3465  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x5a, 0x3b, 0x73, 0x23, 0xc7,
  3466  	0xf1, 0xc7, 0xfb, 0xd1, 0x78, 0x72, 0x8e, 0xa2, 0x70, 0xd0, 0x89, 0xa4, 0xf6, 0x4a, 0xd2, 0xdd,
  3467  	0x49, 0x22, 0xf5, 0xa7, 0xfe, 0xa7, 0x47, 0xc9, 0xb2, 0x05, 0xe0, 0x70, 0x06, 0x45, 0x8a, 0xa4,
  3468  	0x97, 0xe0, 0xa9, 0xe4, 0xc7, 0xad, 0x16, 0xd8, 0x21, 0xb1, 0x3a, 0x60, 0x77, 0xb5, 0x3b, 0xa0,
  3469  	0x40, 0x85, 0x56, 0xb9, 0xca, 0xa5, 0x72, 0xa0, 0x50, 0x89, 0x02, 0x07, 0xfe, 0x0e, 0x8e, 0x1c,
  3470  	0x39, 0x50, 0xe0, 0x40, 0x81, 0x03, 0x07, 0x2e, 0xd9, 0x25, 0x65, 0xfe, 0x02, 0x0e, 0x1c, 0xd8,
  3471  	0x35, 0x8f, 0x7d, 0x01, 0x58, 0x02, 0x94, 0x5c, 0xae, 0x72, 0x39, 0x9b, 0xe9, 0xed, 0xee, 0x99,
  3472  	0xe9, 0x99, 0xe9, 0xee, 0x5f, 0xef, 0xc0, 0x13, 0x04, 0x1b, 0x1a, 0xb6, 0x47, 0xba, 0x41, 0xb6,
  3473  	0xd5, 0x5e, 0x5f, 0xdf, 0x26, 0x17, 0x16, 0x76, 0xb6, 0x2c, 0xdb, 0x24, 0x26, 0xaa, 0xf8, 0x1f,
  3474  	0xb7, 0xe8, 0xc7, 0xfa, 0x93, 0x01, 0xee, 0xbe, 0x7d, 0x61, 0x11, 0x73, 0xdb, 0xb2, 0x4d, 0xf3,
  3475  	0x94, 0xf3, 0xd7, 0x6f, 0x04, 0x3e, 0x33, 0x3d, 0x41, 0x6d, 0xa1, 0xaf, 0x42, 0xf8, 0x11, 0xbe,
  3476  	0x70, 0xbf, 0x3e, 0x39, 0x23, 0x6b, 0xa9, 0xb6, 0x3a, 0x72, 0x3f, 0x6f, 0x9c, 0x99, 0xe6, 0xd9,
  3477  	0x10, 0x6f, 0xb3, 0x5e, 0x6f, 0x7c, 0xba, 0x4d, 0xf4, 0x11, 0x76, 0x88, 0x3a, 0xb2, 0x04, 0xc3,
  3478  	0xea, 0x99, 0x79, 0x66, 0xb2, 0xe6, 0x36, 0x6d, 0x71, 0xaa, 0xf4, 0xcf, 0x1c, 0x64, 0x65, 0xfc,
  3479  	0xc1, 0x18, 0x3b, 0x04, 0xed, 0x40, 0x0a, 0xf7, 0x07, 0x66, 0x2d, 0xbe, 0x19, 0xbf, 0x55, 0xd8,
  3480  	0xb9, 0xb1, 0x35, 0xb5, 0xb8, 0x2d, 0xc1, 0xd7, 0xee, 0x0f, 0xcc, 0x4e, 0x4c, 0x66, 0xbc, 0xe8,
  3481  	0x2e, 0xa4, 0x4f, 0x87, 0x63, 0x67, 0x50, 0x4b, 0x30, 0xa1, 0x27, 0xa3, 0x84, 0xee, 0x53, 0xa6,
  3482  	0x4e, 0x4c, 0xe6, 0xdc, 0x74, 0x28, 0xdd, 0x38, 0x35, 0x6b, 0xc9, 0xcb, 0x87, 0xda, 0x35, 0x4e,
  3483  	0xd9, 0x50, 0x94, 0x17, 0x35, 0x01, 0x74, 0x43, 0x27, 0x4a, 0x7f, 0xa0, 0xea, 0x46, 0x2d, 0xcd,
  3484  	0x24, 0x9f, 0x8a, 0x96, 0xd4, 0x49, 0x8b, 0x32, 0x76, 0x62, 0x72, 0x5e, 0x77, 0x3b, 0x74, 0xba,
  3485  	0x1f, 0x8c, 0xb1, 0x7d, 0x51, 0xcb, 0x5c, 0x3e, 0xdd, 0x1f, 0x51, 0x26, 0x3a, 0x5d, 0xc6, 0x8d,
  3486  	0xda, 0x50, 0xe8, 0xe1, 0x33, 0xdd, 0x50, 0x7a, 0x43, 0xb3, 0xff, 0xa8, 0x96, 0x65, 0xc2, 0x52,
  3487  	0x94, 0x70, 0x93, 0xb2, 0x36, 0x29, 0x67, 0x27, 0x26, 0x43, 0xcf, 0xeb, 0xa1, 0xef, 0x41, 0xae,
  3488  	0x3f, 0xc0, 0xfd, 0x47, 0x0a, 0x99, 0xd4, 0x72, 0x4c, 0xc7, 0x46, 0x94, 0x8e, 0x16, 0xe5, 0xeb,
  3489  	0x4e, 0x3a, 0x31, 0x39, 0xdb, 0xe7, 0x4d, 0xba, 0x7e, 0x0d, 0x0f, 0xf5, 0x73, 0x6c, 0x53, 0xf9,
  3490  	0xfc, 0xe5, 0xeb, 0xbf, 0xc7, 0x39, 0x99, 0x86, 0xbc, 0xe6, 0x76, 0xd0, 0x0f, 0x20, 0x8f, 0x0d,
  3491  	0x4d, 0x2c, 0x03, 0x98, 0x8a, 0xcd, 0xc8, 0x7d, 0x36, 0x34, 0x77, 0x11, 0x39, 0x2c, 0xda, 0xe8,
  3492  	0x55, 0xc8, 0xf4, 0xcd, 0xd1, 0x48, 0x27, 0xb5, 0x02, 0x93, 0x5e, 0x8f, 0x5c, 0x00, 0xe3, 0xea,
  3493  	0xc4, 0x64, 0xc1, 0x8f, 0x0e, 0xa0, 0x3c, 0xd4, 0x1d, 0xa2, 0x38, 0x86, 0x6a, 0x39, 0x03, 0x93,
  3494  	0x38, 0xb5, 0x22, 0xd3, 0xf0, 0x74, 0x94, 0x86, 0x7d, 0xdd, 0x21, 0xc7, 0x2e, 0x73, 0x27, 0x26,
  3495  	0x97, 0x86, 0x41, 0x02, 0xd5, 0x67, 0x9e, 0x9e, 0x62, 0xdb, 0x53, 0x58, 0x2b, 0x5d, 0xae, 0xef,
  3496  	0x90, 0x72, 0xbb, 0xf2, 0x54, 0x9f, 0x19, 0x24, 0xa0, 0x9f, 0xc0, 0xb5, 0xa1, 0xa9, 0x6a, 0x9e,
  3497  	0x3a, 0xa5, 0x3f, 0x18, 0x1b, 0x8f, 0x6a, 0x65, 0xa6, 0xf4, 0x76, 0xe4, 0x24, 0x4d, 0x55, 0x73,
  3498  	0x55, 0xb4, 0xa8, 0x40, 0x27, 0x26, 0xaf, 0x0c, 0xa7, 0x89, 0xe8, 0x21, 0xac, 0xaa, 0x96, 0x35,
  3499  	0xbc, 0x98, 0xd6, 0x5e, 0x61, 0xda, 0xef, 0x44, 0x69, 0x6f, 0x50, 0x99, 0x69, 0xf5, 0x48, 0x9d,
  3500  	0xa1, 0xa2, 0x2e, 0x54, 0x2d, 0x1b, 0x5b, 0xaa, 0x8d, 0x15, 0xcb, 0x36, 0x2d, 0xd3, 0x51, 0x87,
  3501  	0xb5, 0x2a, 0xd3, 0xfd, 0x6c, 0x94, 0xee, 0x23, 0xce, 0x7f, 0x24, 0xd8, 0x3b, 0x31, 0xb9, 0x62,
  3502  	0x85, 0x49, 0x5c, 0xab, 0xd9, 0xc7, 0x8e, 0xe3, 0x6b, 0x5d, 0x59, 0xa4, 0x95, 0xf1, 0x87, 0xb5,
  3503  	0x86, 0x48, 0xcd, 0x2c, 0xa4, 0xcf, 0xd5, 0xe1, 0x18, 0xbf, 0x95, 0xca, 0xa5, 0xaa, 0x69, 0xe9,
  3504  	0x59, 0x28, 0x04, 0x1c, 0x0b, 0xaa, 0x41, 0x76, 0x84, 0x1d, 0x47, 0x3d, 0xc3, 0xcc, 0x0f, 0xe5,
  3505  	0x65, 0xb7, 0x2b, 0x95, 0xa1, 0x18, 0x74, 0x26, 0xd2, 0xa7, 0x71, 0x4f, 0x92, 0xfa, 0x09, 0x2a,
  3506  	0x79, 0x8e, 0x6d, 0x47, 0x37, 0x0d, 0x57, 0x52, 0x74, 0xd1, 0x4d, 0x28, 0xb1, 0x13, 0xaf, 0xb8,
  3507  	0xdf, 0xa9, 0xb3, 0x4a, 0xc9, 0x45, 0x46, 0x7c, 0x20, 0x98, 0x36, 0xa0, 0x60, 0xed, 0x58, 0x1e,
  3508  	0x4b, 0x92, 0xb1, 0x80, 0xb5, 0x63, 0xb9, 0x0c, 0x4f, 0x41, 0x91, 0xae, 0xd4, 0xe3, 0x48, 0xb1,
  3509  	0x41, 0x0a, 0x94, 0x26, 0x58, 0xa4, 0x3f, 0x24, 0xa0, 0x3a, 0xed, 0x80, 0xd0, 0xab, 0x90, 0xa2,
  3510  	0xbe, 0x58, 0xb8, 0xd5, 0xfa, 0x16, 0x77, 0xd4, 0x5b, 0xae, 0xa3, 0xde, 0xea, 0xba, 0x8e, 0xba,
  3511  	0x99, 0xfb, 0xe2, 0xab, 0x8d, 0xd8, 0xa7, 0x7f, 0xd9, 0x88, 0xcb, 0x4c, 0x02, 0x5d, 0xa7, 0xfe,
  3512  	0x42, 0xd5, 0x0d, 0x45, 0xd7, 0xd8, 0x94, 0xf3, 0xd4, 0x19, 0xa8, 0xba, 0xb1, 0xab, 0xa1, 0x7d,
  3513  	0xa8, 0xf6, 0x4d, 0xc3, 0xc1, 0x86, 0x33, 0x76, 0x14, 0x1e, 0x08, 0x84, 0x33, 0x0d, 0xb9, 0x04,
  3514  	0x1e, 0x5e, 0x5a, 0x2e, 0xe7, 0x11, 0x63, 0x94, 0x2b, 0xfd, 0x30, 0x01, 0xdd, 0x07, 0x38, 0x57,
  3515  	0x87, 0xba, 0xa6, 0x12, 0xd3, 0x76, 0x6a, 0xa9, 0xcd, 0xe4, 0x5c, 0xbf, 0xf0, 0xc0, 0x65, 0x39,
  3516  	0xb1, 0x34, 0x95, 0xe0, 0x66, 0x8a, 0x4e, 0x57, 0x0e, 0x48, 0xa2, 0x67, 0xa0, 0xa2, 0x5a, 0x96,
  3517  	0xe2, 0x10, 0x95, 0x60, 0xa5, 0x77, 0x41, 0xb0, 0xc3, 0xfc, 0x74, 0x51, 0x2e, 0xa9, 0x96, 0x75,
  3518  	0x4c, 0xa9, 0x4d, 0x4a, 0x44, 0x4f, 0x43, 0x99, 0xfa, 0x64, 0x5d, 0x1d, 0x2a, 0x03, 0xac, 0x9f,
  3519  	0x0d, 0x08, 0xf3, 0xc7, 0x49, 0xb9, 0x24, 0xa8, 0x1d, 0x46, 0x94, 0x34, 0x6f, 0xc7, 0x99, 0x3f,
  3520  	0x46, 0x08, 0x52, 0x9a, 0x4a, 0x54, 0x66, 0xc9, 0xa2, 0xcc, 0xda, 0x94, 0x66, 0xa9, 0x64, 0x20,
  3521  	0xec, 0xc3, 0xda, 0x68, 0x0d, 0x32, 0x42, 0x6d, 0x92, 0xa9, 0x15, 0x3d, 0xb4, 0x0a, 0x69, 0xcb,
  3522  	0x36, 0xcf, 0x31, 0xdb, 0xba, 0x9c, 0xcc, 0x3b, 0xd2, 0xc7, 0x09, 0x58, 0x99, 0xf1, 0xdc, 0x54,
  3523  	0xef, 0x40, 0x75, 0x06, 0xee, 0x58, 0xb4, 0x8d, 0x5e, 0xa6, 0x7a, 0x55, 0x0d, 0xdb, 0x22, 0xda,
  3524  	0xd5, 0x66, 0x4d, 0xdd, 0x61, 0xdf, 0x85, 0x69, 0x04, 0x37, 0xda, 0x83, 0xea, 0x50, 0x75, 0x88,
  3525  	0xc2, 0x3d, 0xa1, 0x12, 0x88, 0x7c, 0x4f, 0xcc, 0x18, 0x99, 0xfb, 0x4d, 0x7a, 0xa0, 0x85, 0x92,
  3526  	0x32, 0x15, 0xf5, 0xa9, 0xe8, 0x04, 0x56, 0x7b, 0x17, 0x1f, 0xa9, 0x06, 0xd1, 0x0d, 0xac, 0xcc,
  3527  	0xec, 0xda, 0x6c, 0x28, 0x7d, 0x5b, 0x77, 0x7a, 0x78, 0xa0, 0x9e, 0xeb, 0xa6, 0x3b, 0xad, 0x6b,
  3528  	0x9e, 0xbc, 0xb7, 0xa3, 0x8e, 0x24, 0x43, 0x39, 0x1c, 0x7a, 0x50, 0x19, 0x12, 0x64, 0x22, 0xd6,
  3529  	0x9f, 0x20, 0x13, 0xf4, 0x22, 0xa4, 0xe8, 0x1a, 0xd9, 0xda, 0xcb, 0x73, 0x06, 0x12, 0x72, 0xdd,
  3530  	0x0b, 0x0b, 0xcb, 0x8c, 0x53, 0x92, 0xbc, 0xdb, 0xe0, 0x85, 0xa3, 0x69, 0xad, 0xd2, 0x6d, 0xa8,
  3531  	0x4c, 0xc5, 0x9b, 0xc0, 0xf6, 0xc5, 0x83, 0xdb, 0x27, 0x55, 0xa0, 0x14, 0x0a, 0x2e, 0xd2, 0x1a,
  3532  	0xac, 0xce, 0x8b, 0x15, 0xd2, 0xc0, 0xa3, 0x87, 0x7c, 0x3e, 0xba, 0x0b, 0x39, 0x2f, 0x58, 0xf0,
  3533  	0xdb, 0x78, 0x7d, 0x66, 0x15, 0x2e, 0xb3, 0xec, 0xb1, 0xd2, 0x6b, 0x48, 0x4f, 0x35, 0x3b, 0x0e,
  3534  	0x09, 0x36, 0xf1, 0xac, 0x6a, 0x59, 0x1d, 0xd5, 0x19, 0x48, 0xef, 0x41, 0x2d, 0x2a, 0x10, 0x4c,
  3535  	0x2d, 0x23, 0xe5, 0x9d, 0xc2, 0x35, 0xc8, 0x9c, 0x9a, 0xf6, 0x48, 0x25, 0x4c, 0x59, 0x49, 0x16,
  3536  	0x3d, 0x7a, 0x3a, 0x79, 0x50, 0x48, 0x32, 0x32, 0xef, 0x48, 0x0a, 0x5c, 0x8f, 0x0c, 0x06, 0x54,
  3537  	0x44, 0x37, 0x34, 0xcc, 0xed, 0x59, 0x92, 0x79, 0xc7, 0x57, 0xc4, 0x27, 0xcb, 0x3b, 0x74, 0x58,
  3538  	0x87, 0xad, 0x95, 0xe9, 0xcf, 0xcb, 0xa2, 0x27, 0x7d, 0x96, 0x84, 0xb5, 0xf9, 0x21, 0x01, 0x6d,
  3539  	0x42, 0x71, 0xa4, 0x4e, 0x14, 0x32, 0x11, 0x77, 0x99, 0x6f, 0x07, 0x8c, 0xd4, 0x49, 0x77, 0xc2,
  3540  	0x2f, 0x72, 0x15, 0x92, 0x64, 0xe2, 0xd4, 0x12, 0x9b, 0xc9, 0x5b, 0x45, 0x99, 0x36, 0xd1, 0x09,
  3541  	0xac, 0x0c, 0xcd, 0xbe, 0x3a, 0x54, 0x02, 0x27, 0x5e, 0x1c, 0xf6, 0x9b, 0x33, 0xc6, 0x6e, 0x4f,
  3542  	0x18, 0x45, 0x9b, 0x39, 0xf4, 0x15, 0xa6, 0x63, 0xdf, 0x3b, 0xf9, 0xe8, 0x1e, 0x14, 0x46, 0xfe,
  3543  	0x41, 0xbe, 0xc2, 0x61, 0x0f, 0x8a, 0x05, 0xb6, 0x24, 0x1d, 0x72, 0x0c, 0xae, 0x8b, 0xce, 0x5c,
  3544  	0xd9, 0x45, 0xbf, 0x08, 0xab, 0x06, 0x9e, 0x90, 0xc0, 0x45, 0xe4, 0xe7, 0x24, 0xcb, 0x4c, 0x8f,
  3545  	0xe8, 0x37, 0xff, 0x92, 0xd1, 0x23, 0x83, 0x6e, 0xb3, 0xa0, 0x6a, 0x99, 0x0e, 0xb6, 0x15, 0x55,
  3546  	0xd3, 0x6c, 0xec, 0x38, 0x2c, 0x19, 0x2c, 0xb2, 0x48, 0xc9, 0xe8, 0x0d, 0x4e, 0x96, 0x7e, 0x19,
  3547  	0xdc, 0x9a, 0x50, 0x10, 0x75, 0x0d, 0x1f, 0xf7, 0x0d, 0x7f, 0x0c, 0xab, 0x42, 0x5e, 0x0b, 0xd9,
  3548  	0x3e, 0xb1, 0xac, 0xa3, 0x41, 0xae, 0x78, 0xb4, 0xd9, 0x93, 0xdf, 0xce, 0xec, 0xae, 0x2f, 0x4d,
  3549  	0x05, 0x7c, 0xe9, 0x7f, 0xd9, 0x56, 0xfc, 0x31, 0x0f, 0x39, 0x19, 0x3b, 0x16, 0x0d, 0x9c, 0xa8,
  3550  	0x09, 0x79, 0x3c, 0xe9, 0x63, 0x8b, 0xb8, 0xb9, 0xc6, 0x7c, 0x30, 0xc0, 0xb9, 0xdb, 0x2e, 0x27,
  3551  	0xcd, 0xc4, 0x3d, 0x31, 0xf4, 0x92, 0x00, 0x5b, 0xd1, 0xb8, 0x49, 0x88, 0x07, 0xd1, 0xd6, 0xcb,
  3552  	0x2e, 0xda, 0x4a, 0x46, 0x26, 0xdf, 0x5c, 0x6a, 0x0a, 0x6e, 0xbd, 0x24, 0xe0, 0x56, 0x6a, 0xc1,
  3553  	0x60, 0x21, 0xbc, 0xd5, 0x0a, 0xe1, 0xad, 0xcc, 0x82, 0x65, 0x46, 0x00, 0xae, 0x97, 0x5d, 0xc0,
  3554  	0x95, 0x5d, 0x30, 0xe3, 0x29, 0xc4, 0x75, 0x3f, 0x8c, 0xb8, 0x72, 0x11, 0x0e, 0xc4, 0x95, 0x8e,
  3555  	0x84, 0x5c, 0x6f, 0x04, 0x20, 0x57, 0x3e, 0x12, 0xef, 0x70, 0x25, 0x73, 0x30, 0x57, 0x2b, 0x84,
  3556  	0xb9, 0x60, 0x81, 0x0d, 0x22, 0x40, 0xd7, 0x9b, 0x41, 0xd0, 0x55, 0x88, 0xc4, 0x6d, 0x62, 0xbf,
  3557  	0xe7, 0xa1, 0xae, 0xd7, 0x3c, 0xd4, 0x55, 0x8c, 0x84, 0x8d, 0x62, 0x0d, 0xd3, 0xb0, 0xeb, 0x70,
  3558  	0x06, 0x76, 0x71, 0x98, 0xf4, 0x4c, 0xa4, 0x8a, 0x05, 0xb8, 0xeb, 0x70, 0x06, 0x77, 0x95, 0x17,
  3559  	0x28, 0x5c, 0x00, 0xbc, 0x7e, 0x3a, 0x1f, 0x78, 0x45, 0x43, 0x23, 0x31, 0xcd, 0xe5, 0x90, 0x97,
  3560  	0x12, 0x81, 0xbc, 0x38, 0x3a, 0x7a, 0x2e, 0x52, 0xfd, 0xd2, 0xd0, 0xeb, 0x64, 0x0e, 0xf4, 0xe2,
  3561  	0x20, 0xe9, 0x56, 0xa4, 0xf2, 0x25, 0xb0, 0xd7, 0xc9, 0x1c, 0xec, 0x85, 0x16, 0xaa, 0xbd, 0x0a,
  3562  	0xf8, 0x4a, 0x57, 0x33, 0xd2, 0x6d, 0x9a, 0xfa, 0x4e, 0xf9, 0x29, 0x9a, 0x3f, 0x60, 0xdb, 0x36,
  3563  	0x6d, 0x01, 0xa3, 0x78, 0x47, 0xba, 0x45, 0x93, 0x71, 0xdf, 0x27, 0x5d, 0x02, 0xd4, 0x58, 0x9e,
  3564  	0x16, 0xf0, 0x43, 0xd2, 0x6f, 0xe3, 0xbe, 0x2c, 0xcb, 0x61, 0x83, 0x89, 0x7c, 0x5e, 0x24, 0xf2,
  3565  	0x01, 0xf8, 0x96, 0x08, 0xc3, 0xb7, 0x0d, 0x28, 0xd0, 0xfc, 0x6b, 0x0a, 0x99, 0xa9, 0x96, 0x87,
  3566  	0xcc, 0xee, 0xc0, 0x0a, 0x8b, 0x78, 0x1c, 0xe4, 0x89, 0xb0, 0x92, 0x62, 0x61, 0xa5, 0x42, 0x3f,
  3567  	0xf0, 0x0b, 0xc5, 0xe3, 0xcb, 0x0b, 0x70, 0x2d, 0xc0, 0xeb, 0xe5, 0x75, 0x1c, 0xa6, 0x54, 0x3d,
  3568  	0xee, 0x86, 0x48, 0xf0, 0x7e, 0x1f, 0xf7, 0x2d, 0xe4, 0x43, 0xba, 0x79, 0xe8, 0x2b, 0xfe, 0x6f,
  3569  	0x42, 0x5f, 0x89, 0x6f, 0x8d, 0xbe, 0x82, 0x79, 0x6a, 0x32, 0x9c, 0xa7, 0xfe, 0x3d, 0xee, 0xef,
  3570  	0x89, 0x87, 0xa5, 0xfa, 0xa6, 0x86, 0x45, 0xe6, 0xc8, 0xda, 0x34, 0xa9, 0x18, 0x9a, 0x67, 0x22,
  3571  	0x3f, 0xa4, 0x4d, 0xca, 0xe5, 0x05, 0x8e, 0xbc, 0x88, 0x0b, 0x5e, 0xd2, 0xc9, 0x03, 0xb7, 0x48,
  3572  	0x3a, 0xab, 0x90, 0x7c, 0x84, 0x79, 0x5d, 0xad, 0x28, 0xd3, 0x26, 0xe5, 0x63, 0x47, 0x4d, 0x04,
  3573  	0x60, 0xde, 0x41, 0xaf, 0x42, 0x9e, 0x55, 0x44, 0x15, 0xd3, 0x72, 0x84, 0x5b, 0x0f, 0xe5, 0x26,
  3574  	0xbc, 0xf0, 0xb9, 0x75, 0x44, 0x79, 0x0e, 0x2d, 0x47, 0xce, 0x59, 0xa2, 0x15, 0xc8, 0x18, 0xf2,
  3575  	0xa1, 0x8c, 0xe1, 0x06, 0xe4, 0xe9, 0xec, 0x1d, 0x4b, 0xed, 0x63, 0xe6, 0xa2, 0xf3, 0xb2, 0x4f,
  3576  	0x90, 0x1e, 0x02, 0x9a, 0x0d, 0x12, 0xa8, 0x03, 0x19, 0x7c, 0x8e, 0x0d, 0xc2, 0x33, 0xa8, 0xc2,
  3577  	0xce, 0xda, 0x6c, 0x6a, 0x4a, 0x3f, 0x37, 0x6b, 0xd4, 0xc8, 0x7f, 0xfb, 0x6a, 0xa3, 0xca, 0xb9,
  3578  	0x9f, 0x37, 0x47, 0x3a, 0xc1, 0x23, 0x8b, 0x5c, 0xc8, 0x42, 0x5e, 0xfa, 0x73, 0x82, 0x02, 0x98,
  3579  	0x50, 0x00, 0x99, 0x6b, 0x5b, 0xf7, 0xc8, 0x27, 0x02, 0xd8, 0x75, 0x39, 0x7b, 0xaf, 0x03, 0x9c,
  3580  	0xa9, 0x8e, 0xf2, 0xa1, 0x6a, 0x10, 0xac, 0x09, 0xa3, 0x07, 0x28, 0xa8, 0x0e, 0x39, 0xda, 0x1b,
  3581  	0x3b, 0x58, 0x13, 0x30, 0xda, 0xeb, 0x07, 0xd6, 0x99, 0xfd, 0x6e, 0xeb, 0x0c, 0x5b, 0x39, 0x37,
  3582  	0x65, 0xe5, 0x00, 0xb8, 0xc8, 0x07, 0xc1, 0x05, 0x9d, 0x9b, 0x65, 0xeb, 0xa6, 0xad, 0x93, 0x0b,
  3583  	0xb6, 0x35, 0x49, 0xd9, 0xeb, 0xa3, 0x9b, 0x50, 0x1a, 0xe1, 0x91, 0x65, 0x9a, 0x43, 0x85, 0xbb,
  3584  	0x9b, 0x02, 0x13, 0x2d, 0x0a, 0x62, 0x9b, 0x79, 0x9d, 0x5f, 0x24, 0xfc, 0xfb, 0xe7, 0x83, 0xc8,
  3585  	0xff, 0x39, 0x03, 0x4b, 0xbf, 0x62, 0x95, 0xa5, 0x70, 0x8a, 0x80, 0x8e, 0x61, 0xc5, 0xbb, 0xfe,
  3586  	0xca, 0x98, 0xb9, 0x05, 0xf7, 0x40, 0x2f, 0xeb, 0x3f, 0xaa, 0xe7, 0x61, 0xb2, 0x83, 0xde, 0x85,
  3587  	0xc7, 0xa7, 0x7c, 0x9b, 0xa7, 0x3a, 0xb1, 0xac, 0x8b, 0x7b, 0x2c, 0xec, 0xe2, 0x5c, 0xd5, 0xbe,
  3588  	0xb1, 0x92, 0xdf, 0xf1, 0xd6, 0xed, 0x42, 0x39, 0x9c, 0xf1, 0xcc, 0xdd, 0xfe, 0x9b, 0x50, 0xb2,
  3589  	0x31, 0x51, 0x75, 0x43, 0x09, 0x95, 0x83, 0x8a, 0x9c, 0x28, 0x8a, 0x4c, 0x47, 0xf0, 0xd8, 0xdc,
  3590  	0xcc, 0x07, 0xbd, 0x02, 0x79, 0x3f, 0x69, 0xe2, 0x56, 0xbd, 0xa4, 0x5c, 0xe0, 0xf3, 0x4a, 0xbf,
  3591  	0x8b, 0xfb, 0x2a, 0xc3, 0x05, 0x88, 0x36, 0x64, 0x6c, 0xec, 0x8c, 0x87, 0xbc, 0x24, 0x50, 0xde,
  3592  	0x79, 0x61, 0xb9, 0x9c, 0x89, 0x52, 0xc7, 0x43, 0x22, 0x0b, 0x61, 0xe9, 0x21, 0x64, 0x38, 0x05,
  3593  	0x15, 0x20, 0x7b, 0x72, 0xb0, 0x77, 0x70, 0xf8, 0xce, 0x41, 0x35, 0x86, 0x00, 0x32, 0x8d, 0x56,
  3594  	0xab, 0x7d, 0xd4, 0xad, 0xc6, 0x51, 0x1e, 0xd2, 0x8d, 0xe6, 0xa1, 0xdc, 0xad, 0x26, 0x28, 0x59,
  3595  	0x6e, 0xbf, 0xd5, 0x6e, 0x75, 0xab, 0x49, 0xb4, 0x02, 0x25, 0xde, 0x56, 0xee, 0x1f, 0xca, 0x6f,
  3596  	0x37, 0xba, 0xd5, 0x54, 0x80, 0x74, 0xdc, 0x3e, 0xb8, 0xd7, 0x96, 0xab, 0x69, 0xe9, 0xff, 0xe0,
  3597  	0x7a, 0x64, 0x96, 0xe5, 0x57, 0x17, 0xe2, 0x81, 0xea, 0x82, 0xf4, 0x59, 0x02, 0xea, 0xd1, 0xa9,
  3598  	0x13, 0x7a, 0x6b, 0x6a, 0xe1, 0x3b, 0x57, 0xc8, 0xbb, 0xa6, 0x56, 0x8f, 0x9e, 0x86, 0xb2, 0x8d,
  3599  	0x4f, 0x31, 0xe9, 0x0f, 0x78, 0x2a, 0xc7, 0x43, 0x66, 0x49, 0x2e, 0x09, 0x2a, 0x13, 0x72, 0x38,
  3600  	0xdb, 0xfb, 0xb8, 0x4f, 0x14, 0xee, 0x8b, 0xf8, 0xa1, 0xcb, 0x53, 0x36, 0x4a, 0x3d, 0xe6, 0x44,
  3601  	0xe9, 0xbd, 0x2b, 0xd9, 0x32, 0x0f, 0x69, 0xb9, 0xdd, 0x95, 0xdf, 0xad, 0x26, 0x11, 0x82, 0x32,
  3602  	0x6b, 0x2a, 0xc7, 0x07, 0x8d, 0xa3, 0xe3, 0xce, 0x21, 0xb5, 0xe5, 0x35, 0xa8, 0xb8, 0xb6, 0x74,
  3603  	0x89, 0x69, 0xe9, 0x39, 0x78, 0x3c, 0x22, 0xef, 0x9b, 0x45, 0xf1, 0xd2, 0xaf, 0xe3, 0x41, 0xee,
  3604  	0x30, 0xe6, 0x3f, 0x84, 0x8c, 0x43, 0x54, 0x32, 0x76, 0x84, 0x11, 0x5f, 0x59, 0x36, 0x11, 0xdc,
  3605  	0x72, 0x1b, 0xc7, 0x4c, 0x5c, 0x16, 0x6a, 0xa4, 0xbb, 0x50, 0x0e, 0x7f, 0x89, 0xb6, 0x81, 0x7f,
  3606  	0x88, 0x12, 0xd2, 0xbb, 0x00, 0x81, 0x7a, 0xe4, 0x2a, 0xa4, 0x6d, 0x73, 0x6c, 0x68, 0x6c, 0x52,
  3607  	0x69, 0x99, 0x77, 0xd0, 0x5d, 0x48, 0x9f, 0x9b, 0xdc, 0x67, 0xcc, 0xbf, 0x38, 0x0f, 0x4c, 0x82,
  3608  	0x03, 0xc5, 0x07, 0xce, 0x2d, 0xe9, 0x80, 0x66, 0x6b, 0x42, 0x11, 0x43, 0xbc, 0x11, 0x1e, 0xe2,
  3609  	0xa9, 0xc8, 0xea, 0xd2, 0xfc, 0xa1, 0x3e, 0x82, 0x34, 0xf3, 0x36, 0xd4, 0x73, 0xb0, 0xba, 0xa6,
  3610  	0x48, 0x46, 0x69, 0x1b, 0xfd, 0x0c, 0x40, 0x25, 0xc4, 0xd6, 0x7b, 0x63, 0x7f, 0x80, 0x8d, 0xf9,
  3611  	0xde, 0xaa, 0xe1, 0xf2, 0x35, 0x6f, 0x08, 0xb7, 0xb5, 0xea, 0x8b, 0x06, 0x5c, 0x57, 0x40, 0xa1,
  3612  	0x74, 0x00, 0xe5, 0xb0, 0xac, 0x9b, 0x3e, 0xf1, 0x39, 0x84, 0xd3, 0x27, 0x9e, 0x0d, 0x8b, 0xf4,
  3613  	0xc9, 0x4b, 0xbe, 0x92, 0xbc, 0x84, 0xcd, 0x3a, 0xd2, 0x27, 0x71, 0xc8, 0x75, 0x27, 0xe2, 0x1c,
  3614  	0x47, 0x94, 0x4f, 0x7d, 0xd1, 0x44, 0xb0, 0x58, 0xc8, 0xeb, 0xb1, 0x49, 0xaf, 0xca, 0xfb, 0xa6,
  3615  	0x77, 0x53, 0x53, 0xcb, 0xa2, 0x5d, 0xb7, 0xda, 0x2d, 0xbc, 0xd3, 0xeb, 0x90, 0xf7, 0x62, 0x0d,
  3616  	0xcd, 0xea, 0xdd, 0xca, 0x4a, 0x5c, 0xa4, 0xa4, 0xbc, 0xcb, 0x8a, 0xf1, 0xe6, 0x87, 0xa2, 0x1c,
  3617  	0x99, 0x94, 0x79, 0x47, 0xd2, 0xa0, 0x32, 0x15, 0xa8, 0xd0, 0xeb, 0x90, 0xb5, 0xc6, 0x3d, 0xc5,
  3618  	0x35, 0xcf, 0x54, 0xfd, 0xc9, 0xcd, 0x17, 0xc7, 0xbd, 0xa1, 0xde, 0xdf, 0xc3, 0x17, 0xee, 0x64,
  3619  	0xac, 0x71, 0x6f, 0x8f, 0x5b, 0x91, 0x8f, 0x92, 0x08, 0x8e, 0x72, 0x0e, 0x39, 0xf7, 0x50, 0xa0,
  3620  	0xef, 0x43, 0xde, 0x8b, 0x81, 0xde, 0x3f, 0x9a, 0xc8, 0xe0, 0x29, 0xd4, 0xfb, 0x22, 0x14, 0x7c,
  3621  	0x38, 0xfa, 0x99, 0xe1, 0x56, 0xdd, 0x38, 0xca, 0x4f, 0xb0, 0xdd, 0xa9, 0xf0, 0x0f, 0xfb, 0x2e,
  3622  	0xa8, 0x90, 0x7e, 0x13, 0x87, 0xea, 0xf4, 0xa9, 0xfc, 0x4f, 0x4e, 0x80, 0x3a, 0x45, 0x7a, 0xfa,
  3623  	0x15, 0x4c, 0x27, 0xe1, 0xa1, 0xa9, 0xa2, 0x5c, 0xa2, 0xd4, 0xb6, 0x4b, 0x94, 0x3e, 0x4e, 0x40,
  3624  	0x21, 0x50, 0xd3, 0x43, 0xff, 0x1f, 0xb8, 0x22, 0xe5, 0x39, 0xb9, 0x45, 0x80, 0xd7, 0x2f, 0xff,
  3625  	0x87, 0x17, 0x96, 0xb8, 0xfa, 0xc2, 0xa2, 0x7e, 0xe3, 0xb8, 0x25, 0xc2, 0xd4, 0x95, 0x4b, 0x84,
  3626  	0xcf, 0x03, 0x22, 0x26, 0x51, 0x87, 0xca, 0xb9, 0x49, 0x74, 0xe3, 0x4c, 0xe1, 0x47, 0x83, 0x67,
  3627  	0x7c, 0x55, 0xf6, 0xe5, 0x01, 0xfb, 0x70, 0xc4, 0x4e, 0xc9, 0xcf, 0xe3, 0x90, 0xf3, 0x42, 0xf7,
  3628  	0x55, 0xab, 0xf9, 0x6b, 0x90, 0x11, 0xd1, 0x89, 0x97, 0xf3, 0x45, 0x6f, 0x6e, 0x2d, 0xb4, 0x0e,
  3629  	0xb9, 0x11, 0x26, 0x2a, 0xcb, 0x5f, 0x38, 0x10, 0xf5, 0xfa, 0x77, 0x5e, 0x83, 0x42, 0xe0, 0xc7,
  3630  	0x0a, 0xf5, 0x13, 0x07, 0xed, 0x77, 0xaa, 0xb1, 0x7a, 0xf6, 0x93, 0xcf, 0x37, 0x93, 0x07, 0xf8,
  3631  	0x43, 0x7a, 0xc3, 0xe4, 0x76, 0xab, 0xd3, 0x6e, 0xed, 0x55, 0xe3, 0xf5, 0xc2, 0x27, 0x9f, 0x6f,
  3632  	0x66, 0x65, 0xcc, 0xca, 0x57, 0x77, 0xf6, 0xa0, 0x32, 0xb5, 0x31, 0x61, 0xff, 0x8e, 0xa0, 0x7c,
  3633  	0xef, 0xe4, 0x68, 0x7f, 0xb7, 0xd5, 0xe8, 0xb6, 0x95, 0x07, 0x87, 0xdd, 0x76, 0x35, 0x8e, 0x1e,
  3634  	0x87, 0x6b, 0xfb, 0xbb, 0x3f, 0xec, 0x74, 0x95, 0xd6, 0xfe, 0x6e, 0xfb, 0xa0, 0xab, 0x34, 0xba,
  3635  	0xdd, 0x46, 0x6b, 0xaf, 0x9a, 0xd8, 0xf9, 0x07, 0x40, 0xa5, 0xd1, 0x6c, 0xed, 0xd2, 0xf8, 0xac,
  3636  	0xf7, 0x55, 0x56, 0x28, 0x68, 0x41, 0x8a, 0x95, 0x02, 0x2e, 0x7d, 0x2a, 0x52, 0xbf, 0xbc, 0xb6,
  3637  	0x89, 0xee, 0x43, 0x9a, 0x55, 0x09, 0xd0, 0xe5, 0x6f, 0x47, 0xea, 0x0b, 0x8a, 0x9d, 0x74, 0x32,
  3638  	0xec, 0x3a, 0x5d, 0xfa, 0x98, 0xa4, 0x7e, 0x79, 0xed, 0x13, 0xc9, 0x90, 0xf7, 0x51, 0xc6, 0xe2,
  3639  	0xc7, 0x15, 0xf5, 0x25, 0xbc, 0x23, 0xda, 0x87, 0xac, 0x0b, 0x0c, 0x17, 0x3d, 0xf7, 0xa8, 0x2f,
  3640  	0x2c, 0x4e, 0x52, 0x73, 0x71, 0x00, 0x7f, 0xf9, 0xdb, 0x95, 0xfa, 0x82, 0x4a, 0x2b, 0xda, 0x85,
  3641  	0x8c, 0xc8, 0x9c, 0x17, 0x3c, 0xe1, 0xa8, 0x2f, 0x2a, 0x36, 0x52, 0xa3, 0xf9, 0xa5, 0x91, 0xc5,
  3642  	0x2f, 0x72, 0xea, 0x4b, 0x14, 0x91, 0xd1, 0x09, 0x40, 0x00, 0xae, 0x2f, 0xf1, 0xd4, 0xa6, 0xbe,
  3643  	0x4c, 0x71, 0x18, 0x1d, 0x42, 0xce, 0x43, 0x4f, 0x0b, 0x1f, 0xbe, 0xd4, 0x17, 0x57, 0x69, 0xd1,
  3644  	0x43, 0x28, 0x85, 0x51, 0xc3, 0x72, 0xcf, 0x59, 0xea, 0x4b, 0x96, 0x5f, 0xa9, 0xfe, 0x30, 0x84,
  3645  	0x58, 0xee, 0x79, 0x4b, 0x7d, 0xc9, 0x6a, 0x2c, 0x7a, 0x1f, 0x56, 0x66, 0x53, 0xfc, 0xe5, 0x5f,
  3646  	0xbb, 0xd4, 0xaf, 0x50, 0x9f, 0x45, 0x23, 0x40, 0x73, 0xa0, 0xc1, 0x15, 0x1e, 0xbf, 0xd4, 0xaf,
  3647  	0x52, 0xae, 0x45, 0x1a, 0x54, 0xa6, 0xf3, 0xed, 0x65, 0x1f, 0xc3, 0xd4, 0x97, 0x2e, 0xdd, 0xf2,
  3648  	0x51, 0xc2, 0x79, 0xfa, 0xb2, 0x8f, 0x63, 0xea, 0x4b, 0x57, 0x72, 0x9b, 0x8d, 0x2f, 0xbe, 0x5e,
  3649  	0x8f, 0x7f, 0xf9, 0xf5, 0x7a, 0xfc, 0xaf, 0x5f, 0xaf, 0xc7, 0x3f, 0xfd, 0x66, 0x3d, 0xf6, 0xe5,
  3650  	0x37, 0xeb, 0xb1, 0x3f, 0x7d, 0xb3, 0x1e, 0xfb, 0xf1, 0xb3, 0x67, 0x3a, 0x19, 0x8c, 0x7b, 0x5b,
  3651  	0x7d, 0x73, 0xb4, 0xdd, 0x37, 0x47, 0x98, 0xf4, 0x4e, 0x89, 0xdf, 0xf0, 0x5f, 0x2c, 0xf6, 0x32,
  3652  	0x2c, 0x3e, 0xbe, 0xf4, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x89, 0x8f, 0xc4, 0x2a, 0xd1, 0x28,
  3653  	0x00, 0x00,
  3654  }
  3655  
  3656  // Reference imports to suppress errors if they are not otherwise used.
  3657  var _ context.Context
  3658  var _ grpc.ClientConn
  3659  
  3660  // This is a compile-time assertion to ensure that this generated file
  3661  // is compatible with the grpc package it is being compiled against.
  3662  const _ = grpc.SupportPackageIsVersion4
  3663  
  3664  // ABCIApplicationClient is the client API for ABCIApplication service.
  3665  //
  3666  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3667  type ABCIApplicationClient interface {
  3668  	Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error)
  3669  	Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error)
  3670  	Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error)
  3671  	DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error)
  3672  	CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
  3673  	Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error)
  3674  	Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error)
  3675  	InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error)
  3676  	BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error)
  3677  	EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error)
  3678  	ListSnapshots(ctx context.Context, in *RequestListSnapshots, opts ...grpc.CallOption) (*ResponseListSnapshots, error)
  3679  	OfferSnapshot(ctx context.Context, in *RequestOfferSnapshot, opts ...grpc.CallOption) (*ResponseOfferSnapshot, error)
  3680  	LoadSnapshotChunk(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*ResponseLoadSnapshotChunk, error)
  3681  	ApplySnapshotChunk(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption) (*ResponseApplySnapshotChunk, error)
  3682  	PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*ResponsePrepareProposal, error)
  3683  	ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*ResponseProcessProposal, error)
  3684  }
  3685  
  3686  type aBCIApplicationClient struct {
  3687  	cc grpc1.ClientConn
  3688  }
  3689  
  3690  func NewABCIApplicationClient(cc grpc1.ClientConn) ABCIApplicationClient {
  3691  	return &aBCIApplicationClient{cc}
  3692  }
  3693  
  3694  func (c *aBCIApplicationClient) Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error) {
  3695  	out := new(ResponseEcho)
  3696  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/Echo", in, out, opts...)
  3697  	if err != nil {
  3698  		return nil, err
  3699  	}
  3700  	return out, nil
  3701  }
  3702  
  3703  func (c *aBCIApplicationClient) Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error) {
  3704  	out := new(ResponseFlush)
  3705  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/Flush", in, out, opts...)
  3706  	if err != nil {
  3707  		return nil, err
  3708  	}
  3709  	return out, nil
  3710  }
  3711  
  3712  func (c *aBCIApplicationClient) Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error) {
  3713  	out := new(ResponseInfo)
  3714  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/Info", in, out, opts...)
  3715  	if err != nil {
  3716  		return nil, err
  3717  	}
  3718  	return out, nil
  3719  }
  3720  
  3721  func (c *aBCIApplicationClient) DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error) {
  3722  	out := new(ResponseDeliverTx)
  3723  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/DeliverTx", in, out, opts...)
  3724  	if err != nil {
  3725  		return nil, err
  3726  	}
  3727  	return out, nil
  3728  }
  3729  
  3730  func (c *aBCIApplicationClient) CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) {
  3731  	out := new(ResponseCheckTx)
  3732  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/CheckTx", in, out, opts...)
  3733  	if err != nil {
  3734  		return nil, err
  3735  	}
  3736  	return out, nil
  3737  }
  3738  
  3739  func (c *aBCIApplicationClient) Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error) {
  3740  	out := new(ResponseQuery)
  3741  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/Query", in, out, opts...)
  3742  	if err != nil {
  3743  		return nil, err
  3744  	}
  3745  	return out, nil
  3746  }
  3747  
  3748  func (c *aBCIApplicationClient) Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error) {
  3749  	out := new(ResponseCommit)
  3750  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/Commit", in, out, opts...)
  3751  	if err != nil {
  3752  		return nil, err
  3753  	}
  3754  	return out, nil
  3755  }
  3756  
  3757  func (c *aBCIApplicationClient) InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error) {
  3758  	out := new(ResponseInitChain)
  3759  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/InitChain", in, out, opts...)
  3760  	if err != nil {
  3761  		return nil, err
  3762  	}
  3763  	return out, nil
  3764  }
  3765  
  3766  func (c *aBCIApplicationClient) BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error) {
  3767  	out := new(ResponseBeginBlock)
  3768  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/BeginBlock", in, out, opts...)
  3769  	if err != nil {
  3770  		return nil, err
  3771  	}
  3772  	return out, nil
  3773  }
  3774  
  3775  func (c *aBCIApplicationClient) EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error) {
  3776  	out := new(ResponseEndBlock)
  3777  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/EndBlock", in, out, opts...)
  3778  	if err != nil {
  3779  		return nil, err
  3780  	}
  3781  	return out, nil
  3782  }
  3783  
  3784  func (c *aBCIApplicationClient) ListSnapshots(ctx context.Context, in *RequestListSnapshots, opts ...grpc.CallOption) (*ResponseListSnapshots, error) {
  3785  	out := new(ResponseListSnapshots)
  3786  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/ListSnapshots", in, out, opts...)
  3787  	if err != nil {
  3788  		return nil, err
  3789  	}
  3790  	return out, nil
  3791  }
  3792  
  3793  func (c *aBCIApplicationClient) OfferSnapshot(ctx context.Context, in *RequestOfferSnapshot, opts ...grpc.CallOption) (*ResponseOfferSnapshot, error) {
  3794  	out := new(ResponseOfferSnapshot)
  3795  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/OfferSnapshot", in, out, opts...)
  3796  	if err != nil {
  3797  		return nil, err
  3798  	}
  3799  	return out, nil
  3800  }
  3801  
  3802  func (c *aBCIApplicationClient) LoadSnapshotChunk(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*ResponseLoadSnapshotChunk, error) {
  3803  	out := new(ResponseLoadSnapshotChunk)
  3804  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/LoadSnapshotChunk", in, out, opts...)
  3805  	if err != nil {
  3806  		return nil, err
  3807  	}
  3808  	return out, nil
  3809  }
  3810  
  3811  func (c *aBCIApplicationClient) ApplySnapshotChunk(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption) (*ResponseApplySnapshotChunk, error) {
  3812  	out := new(ResponseApplySnapshotChunk)
  3813  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/ApplySnapshotChunk", in, out, opts...)
  3814  	if err != nil {
  3815  		return nil, err
  3816  	}
  3817  	return out, nil
  3818  }
  3819  
  3820  func (c *aBCIApplicationClient) PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*ResponsePrepareProposal, error) {
  3821  	out := new(ResponsePrepareProposal)
  3822  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/PrepareProposal", in, out, opts...)
  3823  	if err != nil {
  3824  		return nil, err
  3825  	}
  3826  	return out, nil
  3827  }
  3828  
  3829  func (c *aBCIApplicationClient) ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*ResponseProcessProposal, error) {
  3830  	out := new(ResponseProcessProposal)
  3831  	err := c.cc.Invoke(ctx, "/tendermint.abci.ABCIApplication/ProcessProposal", in, out, opts...)
  3832  	if err != nil {
  3833  		return nil, err
  3834  	}
  3835  	return out, nil
  3836  }
  3837  
  3838  // ABCIApplicationServer is the server API for ABCIApplication service.
  3839  type ABCIApplicationServer interface {
  3840  	Echo(context.Context, *RequestEcho) (*ResponseEcho, error)
  3841  	Flush(context.Context, *RequestFlush) (*ResponseFlush, error)
  3842  	Info(context.Context, *RequestInfo) (*ResponseInfo, error)
  3843  	DeliverTx(context.Context, *RequestDeliverTx) (*ResponseDeliverTx, error)
  3844  	CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
  3845  	Query(context.Context, *RequestQuery) (*ResponseQuery, error)
  3846  	Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
  3847  	InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
  3848  	BeginBlock(context.Context, *RequestBeginBlock) (*ResponseBeginBlock, error)
  3849  	EndBlock(context.Context, *RequestEndBlock) (*ResponseEndBlock, error)
  3850  	ListSnapshots(context.Context, *RequestListSnapshots) (*ResponseListSnapshots, error)
  3851  	OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error)
  3852  	LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error)
  3853  	ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error)
  3854  	PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error)
  3855  	ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error)
  3856  }
  3857  
  3858  // UnimplementedABCIApplicationServer can be embedded to have forward compatible implementations.
  3859  type UnimplementedABCIApplicationServer struct {
  3860  }
  3861  
  3862  func (*UnimplementedABCIApplicationServer) Echo(ctx context.Context, req *RequestEcho) (*ResponseEcho, error) {
  3863  	return nil, status.Errorf(codes.Unimplemented, "method Echo not implemented")
  3864  }
  3865  func (*UnimplementedABCIApplicationServer) Flush(ctx context.Context, req *RequestFlush) (*ResponseFlush, error) {
  3866  	return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
  3867  }
  3868  func (*UnimplementedABCIApplicationServer) Info(ctx context.Context, req *RequestInfo) (*ResponseInfo, error) {
  3869  	return nil, status.Errorf(codes.Unimplemented, "method Info not implemented")
  3870  }
  3871  func (*UnimplementedABCIApplicationServer) DeliverTx(ctx context.Context, req *RequestDeliverTx) (*ResponseDeliverTx, error) {
  3872  	return nil, status.Errorf(codes.Unimplemented, "method DeliverTx not implemented")
  3873  }
  3874  func (*UnimplementedABCIApplicationServer) CheckTx(ctx context.Context, req *RequestCheckTx) (*ResponseCheckTx, error) {
  3875  	return nil, status.Errorf(codes.Unimplemented, "method CheckTx not implemented")
  3876  }
  3877  func (*UnimplementedABCIApplicationServer) Query(ctx context.Context, req *RequestQuery) (*ResponseQuery, error) {
  3878  	return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
  3879  }
  3880  func (*UnimplementedABCIApplicationServer) Commit(ctx context.Context, req *RequestCommit) (*ResponseCommit, error) {
  3881  	return nil, status.Errorf(codes.Unimplemented, "method Commit not implemented")
  3882  }
  3883  func (*UnimplementedABCIApplicationServer) InitChain(ctx context.Context, req *RequestInitChain) (*ResponseInitChain, error) {
  3884  	return nil, status.Errorf(codes.Unimplemented, "method InitChain not implemented")
  3885  }
  3886  func (*UnimplementedABCIApplicationServer) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*ResponseBeginBlock, error) {
  3887  	return nil, status.Errorf(codes.Unimplemented, "method BeginBlock not implemented")
  3888  }
  3889  func (*UnimplementedABCIApplicationServer) EndBlock(ctx context.Context, req *RequestEndBlock) (*ResponseEndBlock, error) {
  3890  	return nil, status.Errorf(codes.Unimplemented, "method EndBlock not implemented")
  3891  }
  3892  func (*UnimplementedABCIApplicationServer) ListSnapshots(ctx context.Context, req *RequestListSnapshots) (*ResponseListSnapshots, error) {
  3893  	return nil, status.Errorf(codes.Unimplemented, "method ListSnapshots not implemented")
  3894  }
  3895  func (*UnimplementedABCIApplicationServer) OfferSnapshot(ctx context.Context, req *RequestOfferSnapshot) (*ResponseOfferSnapshot, error) {
  3896  	return nil, status.Errorf(codes.Unimplemented, "method OfferSnapshot not implemented")
  3897  }
  3898  func (*UnimplementedABCIApplicationServer) LoadSnapshotChunk(ctx context.Context, req *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error) {
  3899  	return nil, status.Errorf(codes.Unimplemented, "method LoadSnapshotChunk not implemented")
  3900  }
  3901  func (*UnimplementedABCIApplicationServer) ApplySnapshotChunk(ctx context.Context, req *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error) {
  3902  	return nil, status.Errorf(codes.Unimplemented, "method ApplySnapshotChunk not implemented")
  3903  }
  3904  func (*UnimplementedABCIApplicationServer) PrepareProposal(ctx context.Context, req *RequestPrepareProposal) (*ResponsePrepareProposal, error) {
  3905  	return nil, status.Errorf(codes.Unimplemented, "method PrepareProposal not implemented")
  3906  }
  3907  func (*UnimplementedABCIApplicationServer) ProcessProposal(ctx context.Context, req *RequestProcessProposal) (*ResponseProcessProposal, error) {
  3908  	return nil, status.Errorf(codes.Unimplemented, "method ProcessProposal not implemented")
  3909  }
  3910  
  3911  func RegisterABCIApplicationServer(s grpc1.Server, srv ABCIApplicationServer) {
  3912  	s.RegisterService(&_ABCIApplication_serviceDesc, srv)
  3913  }
  3914  
  3915  func _ABCIApplication_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3916  	in := new(RequestEcho)
  3917  	if err := dec(in); err != nil {
  3918  		return nil, err
  3919  	}
  3920  	if interceptor == nil {
  3921  		return srv.(ABCIApplicationServer).Echo(ctx, in)
  3922  	}
  3923  	info := &grpc.UnaryServerInfo{
  3924  		Server:     srv,
  3925  		FullMethod: "/tendermint.abci.ABCIApplication/Echo",
  3926  	}
  3927  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3928  		return srv.(ABCIApplicationServer).Echo(ctx, req.(*RequestEcho))
  3929  	}
  3930  	return interceptor(ctx, in, info, handler)
  3931  }
  3932  
  3933  func _ABCIApplication_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3934  	in := new(RequestFlush)
  3935  	if err := dec(in); err != nil {
  3936  		return nil, err
  3937  	}
  3938  	if interceptor == nil {
  3939  		return srv.(ABCIApplicationServer).Flush(ctx, in)
  3940  	}
  3941  	info := &grpc.UnaryServerInfo{
  3942  		Server:     srv,
  3943  		FullMethod: "/tendermint.abci.ABCIApplication/Flush",
  3944  	}
  3945  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3946  		return srv.(ABCIApplicationServer).Flush(ctx, req.(*RequestFlush))
  3947  	}
  3948  	return interceptor(ctx, in, info, handler)
  3949  }
  3950  
  3951  func _ABCIApplication_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3952  	in := new(RequestInfo)
  3953  	if err := dec(in); err != nil {
  3954  		return nil, err
  3955  	}
  3956  	if interceptor == nil {
  3957  		return srv.(ABCIApplicationServer).Info(ctx, in)
  3958  	}
  3959  	info := &grpc.UnaryServerInfo{
  3960  		Server:     srv,
  3961  		FullMethod: "/tendermint.abci.ABCIApplication/Info",
  3962  	}
  3963  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3964  		return srv.(ABCIApplicationServer).Info(ctx, req.(*RequestInfo))
  3965  	}
  3966  	return interceptor(ctx, in, info, handler)
  3967  }
  3968  
  3969  func _ABCIApplication_DeliverTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3970  	in := new(RequestDeliverTx)
  3971  	if err := dec(in); err != nil {
  3972  		return nil, err
  3973  	}
  3974  	if interceptor == nil {
  3975  		return srv.(ABCIApplicationServer).DeliverTx(ctx, in)
  3976  	}
  3977  	info := &grpc.UnaryServerInfo{
  3978  		Server:     srv,
  3979  		FullMethod: "/tendermint.abci.ABCIApplication/DeliverTx",
  3980  	}
  3981  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3982  		return srv.(ABCIApplicationServer).DeliverTx(ctx, req.(*RequestDeliverTx))
  3983  	}
  3984  	return interceptor(ctx, in, info, handler)
  3985  }
  3986  
  3987  func _ABCIApplication_CheckTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3988  	in := new(RequestCheckTx)
  3989  	if err := dec(in); err != nil {
  3990  		return nil, err
  3991  	}
  3992  	if interceptor == nil {
  3993  		return srv.(ABCIApplicationServer).CheckTx(ctx, in)
  3994  	}
  3995  	info := &grpc.UnaryServerInfo{
  3996  		Server:     srv,
  3997  		FullMethod: "/tendermint.abci.ABCIApplication/CheckTx",
  3998  	}
  3999  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4000  		return srv.(ABCIApplicationServer).CheckTx(ctx, req.(*RequestCheckTx))
  4001  	}
  4002  	return interceptor(ctx, in, info, handler)
  4003  }
  4004  
  4005  func _ABCIApplication_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4006  	in := new(RequestQuery)
  4007  	if err := dec(in); err != nil {
  4008  		return nil, err
  4009  	}
  4010  	if interceptor == nil {
  4011  		return srv.(ABCIApplicationServer).Query(ctx, in)
  4012  	}
  4013  	info := &grpc.UnaryServerInfo{
  4014  		Server:     srv,
  4015  		FullMethod: "/tendermint.abci.ABCIApplication/Query",
  4016  	}
  4017  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4018  		return srv.(ABCIApplicationServer).Query(ctx, req.(*RequestQuery))
  4019  	}
  4020  	return interceptor(ctx, in, info, handler)
  4021  }
  4022  
  4023  func _ABCIApplication_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4024  	in := new(RequestCommit)
  4025  	if err := dec(in); err != nil {
  4026  		return nil, err
  4027  	}
  4028  	if interceptor == nil {
  4029  		return srv.(ABCIApplicationServer).Commit(ctx, in)
  4030  	}
  4031  	info := &grpc.UnaryServerInfo{
  4032  		Server:     srv,
  4033  		FullMethod: "/tendermint.abci.ABCIApplication/Commit",
  4034  	}
  4035  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4036  		return srv.(ABCIApplicationServer).Commit(ctx, req.(*RequestCommit))
  4037  	}
  4038  	return interceptor(ctx, in, info, handler)
  4039  }
  4040  
  4041  func _ABCIApplication_InitChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4042  	in := new(RequestInitChain)
  4043  	if err := dec(in); err != nil {
  4044  		return nil, err
  4045  	}
  4046  	if interceptor == nil {
  4047  		return srv.(ABCIApplicationServer).InitChain(ctx, in)
  4048  	}
  4049  	info := &grpc.UnaryServerInfo{
  4050  		Server:     srv,
  4051  		FullMethod: "/tendermint.abci.ABCIApplication/InitChain",
  4052  	}
  4053  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4054  		return srv.(ABCIApplicationServer).InitChain(ctx, req.(*RequestInitChain))
  4055  	}
  4056  	return interceptor(ctx, in, info, handler)
  4057  }
  4058  
  4059  func _ABCIApplication_BeginBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4060  	in := new(RequestBeginBlock)
  4061  	if err := dec(in); err != nil {
  4062  		return nil, err
  4063  	}
  4064  	if interceptor == nil {
  4065  		return srv.(ABCIApplicationServer).BeginBlock(ctx, in)
  4066  	}
  4067  	info := &grpc.UnaryServerInfo{
  4068  		Server:     srv,
  4069  		FullMethod: "/tendermint.abci.ABCIApplication/BeginBlock",
  4070  	}
  4071  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4072  		return srv.(ABCIApplicationServer).BeginBlock(ctx, req.(*RequestBeginBlock))
  4073  	}
  4074  	return interceptor(ctx, in, info, handler)
  4075  }
  4076  
  4077  func _ABCIApplication_EndBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4078  	in := new(RequestEndBlock)
  4079  	if err := dec(in); err != nil {
  4080  		return nil, err
  4081  	}
  4082  	if interceptor == nil {
  4083  		return srv.(ABCIApplicationServer).EndBlock(ctx, in)
  4084  	}
  4085  	info := &grpc.UnaryServerInfo{
  4086  		Server:     srv,
  4087  		FullMethod: "/tendermint.abci.ABCIApplication/EndBlock",
  4088  	}
  4089  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4090  		return srv.(ABCIApplicationServer).EndBlock(ctx, req.(*RequestEndBlock))
  4091  	}
  4092  	return interceptor(ctx, in, info, handler)
  4093  }
  4094  
  4095  func _ABCIApplication_ListSnapshots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4096  	in := new(RequestListSnapshots)
  4097  	if err := dec(in); err != nil {
  4098  		return nil, err
  4099  	}
  4100  	if interceptor == nil {
  4101  		return srv.(ABCIApplicationServer).ListSnapshots(ctx, in)
  4102  	}
  4103  	info := &grpc.UnaryServerInfo{
  4104  		Server:     srv,
  4105  		FullMethod: "/tendermint.abci.ABCIApplication/ListSnapshots",
  4106  	}
  4107  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4108  		return srv.(ABCIApplicationServer).ListSnapshots(ctx, req.(*RequestListSnapshots))
  4109  	}
  4110  	return interceptor(ctx, in, info, handler)
  4111  }
  4112  
  4113  func _ABCIApplication_OfferSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4114  	in := new(RequestOfferSnapshot)
  4115  	if err := dec(in); err != nil {
  4116  		return nil, err
  4117  	}
  4118  	if interceptor == nil {
  4119  		return srv.(ABCIApplicationServer).OfferSnapshot(ctx, in)
  4120  	}
  4121  	info := &grpc.UnaryServerInfo{
  4122  		Server:     srv,
  4123  		FullMethod: "/tendermint.abci.ABCIApplication/OfferSnapshot",
  4124  	}
  4125  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4126  		return srv.(ABCIApplicationServer).OfferSnapshot(ctx, req.(*RequestOfferSnapshot))
  4127  	}
  4128  	return interceptor(ctx, in, info, handler)
  4129  }
  4130  
  4131  func _ABCIApplication_LoadSnapshotChunk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4132  	in := new(RequestLoadSnapshotChunk)
  4133  	if err := dec(in); err != nil {
  4134  		return nil, err
  4135  	}
  4136  	if interceptor == nil {
  4137  		return srv.(ABCIApplicationServer).LoadSnapshotChunk(ctx, in)
  4138  	}
  4139  	info := &grpc.UnaryServerInfo{
  4140  		Server:     srv,
  4141  		FullMethod: "/tendermint.abci.ABCIApplication/LoadSnapshotChunk",
  4142  	}
  4143  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4144  		return srv.(ABCIApplicationServer).LoadSnapshotChunk(ctx, req.(*RequestLoadSnapshotChunk))
  4145  	}
  4146  	return interceptor(ctx, in, info, handler)
  4147  }
  4148  
  4149  func _ABCIApplication_ApplySnapshotChunk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4150  	in := new(RequestApplySnapshotChunk)
  4151  	if err := dec(in); err != nil {
  4152  		return nil, err
  4153  	}
  4154  	if interceptor == nil {
  4155  		return srv.(ABCIApplicationServer).ApplySnapshotChunk(ctx, in)
  4156  	}
  4157  	info := &grpc.UnaryServerInfo{
  4158  		Server:     srv,
  4159  		FullMethod: "/tendermint.abci.ABCIApplication/ApplySnapshotChunk",
  4160  	}
  4161  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4162  		return srv.(ABCIApplicationServer).ApplySnapshotChunk(ctx, req.(*RequestApplySnapshotChunk))
  4163  	}
  4164  	return interceptor(ctx, in, info, handler)
  4165  }
  4166  
  4167  func _ABCIApplication_PrepareProposal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4168  	in := new(RequestPrepareProposal)
  4169  	if err := dec(in); err != nil {
  4170  		return nil, err
  4171  	}
  4172  	if interceptor == nil {
  4173  		return srv.(ABCIApplicationServer).PrepareProposal(ctx, in)
  4174  	}
  4175  	info := &grpc.UnaryServerInfo{
  4176  		Server:     srv,
  4177  		FullMethod: "/tendermint.abci.ABCIApplication/PrepareProposal",
  4178  	}
  4179  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4180  		return srv.(ABCIApplicationServer).PrepareProposal(ctx, req.(*RequestPrepareProposal))
  4181  	}
  4182  	return interceptor(ctx, in, info, handler)
  4183  }
  4184  
  4185  func _ABCIApplication_ProcessProposal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4186  	in := new(RequestProcessProposal)
  4187  	if err := dec(in); err != nil {
  4188  		return nil, err
  4189  	}
  4190  	if interceptor == nil {
  4191  		return srv.(ABCIApplicationServer).ProcessProposal(ctx, in)
  4192  	}
  4193  	info := &grpc.UnaryServerInfo{
  4194  		Server:     srv,
  4195  		FullMethod: "/tendermint.abci.ABCIApplication/ProcessProposal",
  4196  	}
  4197  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4198  		return srv.(ABCIApplicationServer).ProcessProposal(ctx, req.(*RequestProcessProposal))
  4199  	}
  4200  	return interceptor(ctx, in, info, handler)
  4201  }
  4202  
  4203  var _ABCIApplication_serviceDesc = grpc.ServiceDesc{
  4204  	ServiceName: "tendermint.abci.ABCIApplication",
  4205  	HandlerType: (*ABCIApplicationServer)(nil),
  4206  	Methods: []grpc.MethodDesc{
  4207  		{
  4208  			MethodName: "Echo",
  4209  			Handler:    _ABCIApplication_Echo_Handler,
  4210  		},
  4211  		{
  4212  			MethodName: "Flush",
  4213  			Handler:    _ABCIApplication_Flush_Handler,
  4214  		},
  4215  		{
  4216  			MethodName: "Info",
  4217  			Handler:    _ABCIApplication_Info_Handler,
  4218  		},
  4219  		{
  4220  			MethodName: "DeliverTx",
  4221  			Handler:    _ABCIApplication_DeliverTx_Handler,
  4222  		},
  4223  		{
  4224  			MethodName: "CheckTx",
  4225  			Handler:    _ABCIApplication_CheckTx_Handler,
  4226  		},
  4227  		{
  4228  			MethodName: "Query",
  4229  			Handler:    _ABCIApplication_Query_Handler,
  4230  		},
  4231  		{
  4232  			MethodName: "Commit",
  4233  			Handler:    _ABCIApplication_Commit_Handler,
  4234  		},
  4235  		{
  4236  			MethodName: "InitChain",
  4237  			Handler:    _ABCIApplication_InitChain_Handler,
  4238  		},
  4239  		{
  4240  			MethodName: "BeginBlock",
  4241  			Handler:    _ABCIApplication_BeginBlock_Handler,
  4242  		},
  4243  		{
  4244  			MethodName: "EndBlock",
  4245  			Handler:    _ABCIApplication_EndBlock_Handler,
  4246  		},
  4247  		{
  4248  			MethodName: "ListSnapshots",
  4249  			Handler:    _ABCIApplication_ListSnapshots_Handler,
  4250  		},
  4251  		{
  4252  			MethodName: "OfferSnapshot",
  4253  			Handler:    _ABCIApplication_OfferSnapshot_Handler,
  4254  		},
  4255  		{
  4256  			MethodName: "LoadSnapshotChunk",
  4257  			Handler:    _ABCIApplication_LoadSnapshotChunk_Handler,
  4258  		},
  4259  		{
  4260  			MethodName: "ApplySnapshotChunk",
  4261  			Handler:    _ABCIApplication_ApplySnapshotChunk_Handler,
  4262  		},
  4263  		{
  4264  			MethodName: "PrepareProposal",
  4265  			Handler:    _ABCIApplication_PrepareProposal_Handler,
  4266  		},
  4267  		{
  4268  			MethodName: "ProcessProposal",
  4269  			Handler:    _ABCIApplication_ProcessProposal_Handler,
  4270  		},
  4271  	},
  4272  	Streams:  []grpc.StreamDesc{},
  4273  	Metadata: "tendermint/abci/types.proto",
  4274  }
  4275  
  4276  func (m *Request) Marshal() (dAtA []byte, err error) {
  4277  	size := m.Size()
  4278  	dAtA = make([]byte, size)
  4279  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4280  	if err != nil {
  4281  		return nil, err
  4282  	}
  4283  	return dAtA[:n], nil
  4284  }
  4285  
  4286  func (m *Request) MarshalTo(dAtA []byte) (int, error) {
  4287  	size := m.Size()
  4288  	return m.MarshalToSizedBuffer(dAtA[:size])
  4289  }
  4290  
  4291  func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4292  	i := len(dAtA)
  4293  	_ = i
  4294  	var l int
  4295  	_ = l
  4296  	if m.Value != nil {
  4297  		{
  4298  			size := m.Value.Size()
  4299  			i -= size
  4300  			if _, err := m.Value.MarshalTo(dAtA[i:]); err != nil {
  4301  				return 0, err
  4302  			}
  4303  		}
  4304  	}
  4305  	return len(dAtA) - i, nil
  4306  }
  4307  
  4308  func (m *Request_Echo) MarshalTo(dAtA []byte) (int, error) {
  4309  	size := m.Size()
  4310  	return m.MarshalToSizedBuffer(dAtA[:size])
  4311  }
  4312  
  4313  func (m *Request_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4314  	i := len(dAtA)
  4315  	if m.Echo != nil {
  4316  		{
  4317  			size, err := m.Echo.MarshalToSizedBuffer(dAtA[:i])
  4318  			if err != nil {
  4319  				return 0, err
  4320  			}
  4321  			i -= size
  4322  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4323  		}
  4324  		i--
  4325  		dAtA[i] = 0xa
  4326  	}
  4327  	return len(dAtA) - i, nil
  4328  }
  4329  func (m *Request_Flush) MarshalTo(dAtA []byte) (int, error) {
  4330  	size := m.Size()
  4331  	return m.MarshalToSizedBuffer(dAtA[:size])
  4332  }
  4333  
  4334  func (m *Request_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4335  	i := len(dAtA)
  4336  	if m.Flush != nil {
  4337  		{
  4338  			size, err := m.Flush.MarshalToSizedBuffer(dAtA[:i])
  4339  			if err != nil {
  4340  				return 0, err
  4341  			}
  4342  			i -= size
  4343  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4344  		}
  4345  		i--
  4346  		dAtA[i] = 0x12
  4347  	}
  4348  	return len(dAtA) - i, nil
  4349  }
  4350  func (m *Request_Info) MarshalTo(dAtA []byte) (int, error) {
  4351  	size := m.Size()
  4352  	return m.MarshalToSizedBuffer(dAtA[:size])
  4353  }
  4354  
  4355  func (m *Request_Info) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4356  	i := len(dAtA)
  4357  	if m.Info != nil {
  4358  		{
  4359  			size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
  4360  			if err != nil {
  4361  				return 0, err
  4362  			}
  4363  			i -= size
  4364  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4365  		}
  4366  		i--
  4367  		dAtA[i] = 0x1a
  4368  	}
  4369  	return len(dAtA) - i, nil
  4370  }
  4371  func (m *Request_InitChain) MarshalTo(dAtA []byte) (int, error) {
  4372  	size := m.Size()
  4373  	return m.MarshalToSizedBuffer(dAtA[:size])
  4374  }
  4375  
  4376  func (m *Request_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4377  	i := len(dAtA)
  4378  	if m.InitChain != nil {
  4379  		{
  4380  			size, err := m.InitChain.MarshalToSizedBuffer(dAtA[:i])
  4381  			if err != nil {
  4382  				return 0, err
  4383  			}
  4384  			i -= size
  4385  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4386  		}
  4387  		i--
  4388  		dAtA[i] = 0x2a
  4389  	}
  4390  	return len(dAtA) - i, nil
  4391  }
  4392  func (m *Request_Query) MarshalTo(dAtA []byte) (int, error) {
  4393  	size := m.Size()
  4394  	return m.MarshalToSizedBuffer(dAtA[:size])
  4395  }
  4396  
  4397  func (m *Request_Query) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4398  	i := len(dAtA)
  4399  	if m.Query != nil {
  4400  		{
  4401  			size, err := m.Query.MarshalToSizedBuffer(dAtA[:i])
  4402  			if err != nil {
  4403  				return 0, err
  4404  			}
  4405  			i -= size
  4406  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4407  		}
  4408  		i--
  4409  		dAtA[i] = 0x32
  4410  	}
  4411  	return len(dAtA) - i, nil
  4412  }
  4413  func (m *Request_BeginBlock) MarshalTo(dAtA []byte) (int, error) {
  4414  	size := m.Size()
  4415  	return m.MarshalToSizedBuffer(dAtA[:size])
  4416  }
  4417  
  4418  func (m *Request_BeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4419  	i := len(dAtA)
  4420  	if m.BeginBlock != nil {
  4421  		{
  4422  			size, err := m.BeginBlock.MarshalToSizedBuffer(dAtA[:i])
  4423  			if err != nil {
  4424  				return 0, err
  4425  			}
  4426  			i -= size
  4427  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4428  		}
  4429  		i--
  4430  		dAtA[i] = 0x3a
  4431  	}
  4432  	return len(dAtA) - i, nil
  4433  }
  4434  func (m *Request_CheckTx) MarshalTo(dAtA []byte) (int, error) {
  4435  	size := m.Size()
  4436  	return m.MarshalToSizedBuffer(dAtA[:size])
  4437  }
  4438  
  4439  func (m *Request_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4440  	i := len(dAtA)
  4441  	if m.CheckTx != nil {
  4442  		{
  4443  			size, err := m.CheckTx.MarshalToSizedBuffer(dAtA[:i])
  4444  			if err != nil {
  4445  				return 0, err
  4446  			}
  4447  			i -= size
  4448  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4449  		}
  4450  		i--
  4451  		dAtA[i] = 0x42
  4452  	}
  4453  	return len(dAtA) - i, nil
  4454  }
  4455  func (m *Request_DeliverTx) MarshalTo(dAtA []byte) (int, error) {
  4456  	size := m.Size()
  4457  	return m.MarshalToSizedBuffer(dAtA[:size])
  4458  }
  4459  
  4460  func (m *Request_DeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4461  	i := len(dAtA)
  4462  	if m.DeliverTx != nil {
  4463  		{
  4464  			size, err := m.DeliverTx.MarshalToSizedBuffer(dAtA[:i])
  4465  			if err != nil {
  4466  				return 0, err
  4467  			}
  4468  			i -= size
  4469  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4470  		}
  4471  		i--
  4472  		dAtA[i] = 0x4a
  4473  	}
  4474  	return len(dAtA) - i, nil
  4475  }
  4476  func (m *Request_EndBlock) MarshalTo(dAtA []byte) (int, error) {
  4477  	size := m.Size()
  4478  	return m.MarshalToSizedBuffer(dAtA[:size])
  4479  }
  4480  
  4481  func (m *Request_EndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4482  	i := len(dAtA)
  4483  	if m.EndBlock != nil {
  4484  		{
  4485  			size, err := m.EndBlock.MarshalToSizedBuffer(dAtA[:i])
  4486  			if err != nil {
  4487  				return 0, err
  4488  			}
  4489  			i -= size
  4490  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4491  		}
  4492  		i--
  4493  		dAtA[i] = 0x52
  4494  	}
  4495  	return len(dAtA) - i, nil
  4496  }
  4497  func (m *Request_Commit) MarshalTo(dAtA []byte) (int, error) {
  4498  	size := m.Size()
  4499  	return m.MarshalToSizedBuffer(dAtA[:size])
  4500  }
  4501  
  4502  func (m *Request_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4503  	i := len(dAtA)
  4504  	if m.Commit != nil {
  4505  		{
  4506  			size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i])
  4507  			if err != nil {
  4508  				return 0, err
  4509  			}
  4510  			i -= size
  4511  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4512  		}
  4513  		i--
  4514  		dAtA[i] = 0x5a
  4515  	}
  4516  	return len(dAtA) - i, nil
  4517  }
  4518  func (m *Request_ListSnapshots) MarshalTo(dAtA []byte) (int, error) {
  4519  	size := m.Size()
  4520  	return m.MarshalToSizedBuffer(dAtA[:size])
  4521  }
  4522  
  4523  func (m *Request_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4524  	i := len(dAtA)
  4525  	if m.ListSnapshots != nil {
  4526  		{
  4527  			size, err := m.ListSnapshots.MarshalToSizedBuffer(dAtA[:i])
  4528  			if err != nil {
  4529  				return 0, err
  4530  			}
  4531  			i -= size
  4532  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4533  		}
  4534  		i--
  4535  		dAtA[i] = 0x62
  4536  	}
  4537  	return len(dAtA) - i, nil
  4538  }
  4539  func (m *Request_OfferSnapshot) MarshalTo(dAtA []byte) (int, error) {
  4540  	size := m.Size()
  4541  	return m.MarshalToSizedBuffer(dAtA[:size])
  4542  }
  4543  
  4544  func (m *Request_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4545  	i := len(dAtA)
  4546  	if m.OfferSnapshot != nil {
  4547  		{
  4548  			size, err := m.OfferSnapshot.MarshalToSizedBuffer(dAtA[:i])
  4549  			if err != nil {
  4550  				return 0, err
  4551  			}
  4552  			i -= size
  4553  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4554  		}
  4555  		i--
  4556  		dAtA[i] = 0x6a
  4557  	}
  4558  	return len(dAtA) - i, nil
  4559  }
  4560  func (m *Request_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  4561  	size := m.Size()
  4562  	return m.MarshalToSizedBuffer(dAtA[:size])
  4563  }
  4564  
  4565  func (m *Request_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4566  	i := len(dAtA)
  4567  	if m.LoadSnapshotChunk != nil {
  4568  		{
  4569  			size, err := m.LoadSnapshotChunk.MarshalToSizedBuffer(dAtA[:i])
  4570  			if err != nil {
  4571  				return 0, err
  4572  			}
  4573  			i -= size
  4574  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4575  		}
  4576  		i--
  4577  		dAtA[i] = 0x72
  4578  	}
  4579  	return len(dAtA) - i, nil
  4580  }
  4581  func (m *Request_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  4582  	size := m.Size()
  4583  	return m.MarshalToSizedBuffer(dAtA[:size])
  4584  }
  4585  
  4586  func (m *Request_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4587  	i := len(dAtA)
  4588  	if m.ApplySnapshotChunk != nil {
  4589  		{
  4590  			size, err := m.ApplySnapshotChunk.MarshalToSizedBuffer(dAtA[:i])
  4591  			if err != nil {
  4592  				return 0, err
  4593  			}
  4594  			i -= size
  4595  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4596  		}
  4597  		i--
  4598  		dAtA[i] = 0x7a
  4599  	}
  4600  	return len(dAtA) - i, nil
  4601  }
  4602  func (m *Request_PrepareProposal) MarshalTo(dAtA []byte) (int, error) {
  4603  	size := m.Size()
  4604  	return m.MarshalToSizedBuffer(dAtA[:size])
  4605  }
  4606  
  4607  func (m *Request_PrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4608  	i := len(dAtA)
  4609  	if m.PrepareProposal != nil {
  4610  		{
  4611  			size, err := m.PrepareProposal.MarshalToSizedBuffer(dAtA[:i])
  4612  			if err != nil {
  4613  				return 0, err
  4614  			}
  4615  			i -= size
  4616  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4617  		}
  4618  		i--
  4619  		dAtA[i] = 0x1
  4620  		i--
  4621  		dAtA[i] = 0x82
  4622  	}
  4623  	return len(dAtA) - i, nil
  4624  }
  4625  func (m *Request_ProcessProposal) MarshalTo(dAtA []byte) (int, error) {
  4626  	size := m.Size()
  4627  	return m.MarshalToSizedBuffer(dAtA[:size])
  4628  }
  4629  
  4630  func (m *Request_ProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4631  	i := len(dAtA)
  4632  	if m.ProcessProposal != nil {
  4633  		{
  4634  			size, err := m.ProcessProposal.MarshalToSizedBuffer(dAtA[:i])
  4635  			if err != nil {
  4636  				return 0, err
  4637  			}
  4638  			i -= size
  4639  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4640  		}
  4641  		i--
  4642  		dAtA[i] = 0x1
  4643  		i--
  4644  		dAtA[i] = 0x8a
  4645  	}
  4646  	return len(dAtA) - i, nil
  4647  }
  4648  func (m *RequestEcho) Marshal() (dAtA []byte, err error) {
  4649  	size := m.Size()
  4650  	dAtA = make([]byte, size)
  4651  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4652  	if err != nil {
  4653  		return nil, err
  4654  	}
  4655  	return dAtA[:n], nil
  4656  }
  4657  
  4658  func (m *RequestEcho) MarshalTo(dAtA []byte) (int, error) {
  4659  	size := m.Size()
  4660  	return m.MarshalToSizedBuffer(dAtA[:size])
  4661  }
  4662  
  4663  func (m *RequestEcho) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4664  	i := len(dAtA)
  4665  	_ = i
  4666  	var l int
  4667  	_ = l
  4668  	if len(m.Message) > 0 {
  4669  		i -= len(m.Message)
  4670  		copy(dAtA[i:], m.Message)
  4671  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Message)))
  4672  		i--
  4673  		dAtA[i] = 0xa
  4674  	}
  4675  	return len(dAtA) - i, nil
  4676  }
  4677  
  4678  func (m *RequestFlush) Marshal() (dAtA []byte, err error) {
  4679  	size := m.Size()
  4680  	dAtA = make([]byte, size)
  4681  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4682  	if err != nil {
  4683  		return nil, err
  4684  	}
  4685  	return dAtA[:n], nil
  4686  }
  4687  
  4688  func (m *RequestFlush) MarshalTo(dAtA []byte) (int, error) {
  4689  	size := m.Size()
  4690  	return m.MarshalToSizedBuffer(dAtA[:size])
  4691  }
  4692  
  4693  func (m *RequestFlush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4694  	i := len(dAtA)
  4695  	_ = i
  4696  	var l int
  4697  	_ = l
  4698  	return len(dAtA) - i, nil
  4699  }
  4700  
  4701  func (m *RequestInfo) Marshal() (dAtA []byte, err error) {
  4702  	size := m.Size()
  4703  	dAtA = make([]byte, size)
  4704  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4705  	if err != nil {
  4706  		return nil, err
  4707  	}
  4708  	return dAtA[:n], nil
  4709  }
  4710  
  4711  func (m *RequestInfo) MarshalTo(dAtA []byte) (int, error) {
  4712  	size := m.Size()
  4713  	return m.MarshalToSizedBuffer(dAtA[:size])
  4714  }
  4715  
  4716  func (m *RequestInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4717  	i := len(dAtA)
  4718  	_ = i
  4719  	var l int
  4720  	_ = l
  4721  	if len(m.AbciVersion) > 0 {
  4722  		i -= len(m.AbciVersion)
  4723  		copy(dAtA[i:], m.AbciVersion)
  4724  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AbciVersion)))
  4725  		i--
  4726  		dAtA[i] = 0x22
  4727  	}
  4728  	if m.P2PVersion != 0 {
  4729  		i = encodeVarintTypes(dAtA, i, uint64(m.P2PVersion))
  4730  		i--
  4731  		dAtA[i] = 0x18
  4732  	}
  4733  	if m.BlockVersion != 0 {
  4734  		i = encodeVarintTypes(dAtA, i, uint64(m.BlockVersion))
  4735  		i--
  4736  		dAtA[i] = 0x10
  4737  	}
  4738  	if len(m.Version) > 0 {
  4739  		i -= len(m.Version)
  4740  		copy(dAtA[i:], m.Version)
  4741  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Version)))
  4742  		i--
  4743  		dAtA[i] = 0xa
  4744  	}
  4745  	return len(dAtA) - i, nil
  4746  }
  4747  
  4748  func (m *RequestInitChain) Marshal() (dAtA []byte, err error) {
  4749  	size := m.Size()
  4750  	dAtA = make([]byte, size)
  4751  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4752  	if err != nil {
  4753  		return nil, err
  4754  	}
  4755  	return dAtA[:n], nil
  4756  }
  4757  
  4758  func (m *RequestInitChain) MarshalTo(dAtA []byte) (int, error) {
  4759  	size := m.Size()
  4760  	return m.MarshalToSizedBuffer(dAtA[:size])
  4761  }
  4762  
  4763  func (m *RequestInitChain) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4764  	i := len(dAtA)
  4765  	_ = i
  4766  	var l int
  4767  	_ = l
  4768  	if m.InitialHeight != 0 {
  4769  		i = encodeVarintTypes(dAtA, i, uint64(m.InitialHeight))
  4770  		i--
  4771  		dAtA[i] = 0x30
  4772  	}
  4773  	if len(m.AppStateBytes) > 0 {
  4774  		i -= len(m.AppStateBytes)
  4775  		copy(dAtA[i:], m.AppStateBytes)
  4776  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppStateBytes)))
  4777  		i--
  4778  		dAtA[i] = 0x2a
  4779  	}
  4780  	if len(m.Validators) > 0 {
  4781  		for iNdEx := len(m.Validators) - 1; iNdEx >= 0; iNdEx-- {
  4782  			{
  4783  				size, err := m.Validators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  4784  				if err != nil {
  4785  					return 0, err
  4786  				}
  4787  				i -= size
  4788  				i = encodeVarintTypes(dAtA, i, uint64(size))
  4789  			}
  4790  			i--
  4791  			dAtA[i] = 0x22
  4792  		}
  4793  	}
  4794  	if m.ConsensusParams != nil {
  4795  		{
  4796  			size, err := m.ConsensusParams.MarshalToSizedBuffer(dAtA[:i])
  4797  			if err != nil {
  4798  				return 0, err
  4799  			}
  4800  			i -= size
  4801  			i = encodeVarintTypes(dAtA, i, uint64(size))
  4802  		}
  4803  		i--
  4804  		dAtA[i] = 0x1a
  4805  	}
  4806  	if len(m.ChainId) > 0 {
  4807  		i -= len(m.ChainId)
  4808  		copy(dAtA[i:], m.ChainId)
  4809  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ChainId)))
  4810  		i--
  4811  		dAtA[i] = 0x12
  4812  	}
  4813  	n18, err18 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time):])
  4814  	if err18 != nil {
  4815  		return 0, err18
  4816  	}
  4817  	i -= n18
  4818  	i = encodeVarintTypes(dAtA, i, uint64(n18))
  4819  	i--
  4820  	dAtA[i] = 0xa
  4821  	return len(dAtA) - i, nil
  4822  }
  4823  
  4824  func (m *RequestQuery) Marshal() (dAtA []byte, err error) {
  4825  	size := m.Size()
  4826  	dAtA = make([]byte, size)
  4827  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4828  	if err != nil {
  4829  		return nil, err
  4830  	}
  4831  	return dAtA[:n], nil
  4832  }
  4833  
  4834  func (m *RequestQuery) MarshalTo(dAtA []byte) (int, error) {
  4835  	size := m.Size()
  4836  	return m.MarshalToSizedBuffer(dAtA[:size])
  4837  }
  4838  
  4839  func (m *RequestQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4840  	i := len(dAtA)
  4841  	_ = i
  4842  	var l int
  4843  	_ = l
  4844  	if m.Prove {
  4845  		i--
  4846  		if m.Prove {
  4847  			dAtA[i] = 1
  4848  		} else {
  4849  			dAtA[i] = 0
  4850  		}
  4851  		i--
  4852  		dAtA[i] = 0x20
  4853  	}
  4854  	if m.Height != 0 {
  4855  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  4856  		i--
  4857  		dAtA[i] = 0x18
  4858  	}
  4859  	if len(m.Path) > 0 {
  4860  		i -= len(m.Path)
  4861  		copy(dAtA[i:], m.Path)
  4862  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Path)))
  4863  		i--
  4864  		dAtA[i] = 0x12
  4865  	}
  4866  	if len(m.Data) > 0 {
  4867  		i -= len(m.Data)
  4868  		copy(dAtA[i:], m.Data)
  4869  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  4870  		i--
  4871  		dAtA[i] = 0xa
  4872  	}
  4873  	return len(dAtA) - i, nil
  4874  }
  4875  
  4876  func (m *RequestBeginBlock) Marshal() (dAtA []byte, err error) {
  4877  	size := m.Size()
  4878  	dAtA = make([]byte, size)
  4879  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4880  	if err != nil {
  4881  		return nil, err
  4882  	}
  4883  	return dAtA[:n], nil
  4884  }
  4885  
  4886  func (m *RequestBeginBlock) MarshalTo(dAtA []byte) (int, error) {
  4887  	size := m.Size()
  4888  	return m.MarshalToSizedBuffer(dAtA[:size])
  4889  }
  4890  
  4891  func (m *RequestBeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4892  	i := len(dAtA)
  4893  	_ = i
  4894  	var l int
  4895  	_ = l
  4896  	if len(m.ByzantineValidators) > 0 {
  4897  		for iNdEx := len(m.ByzantineValidators) - 1; iNdEx >= 0; iNdEx-- {
  4898  			{
  4899  				size, err := m.ByzantineValidators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  4900  				if err != nil {
  4901  					return 0, err
  4902  				}
  4903  				i -= size
  4904  				i = encodeVarintTypes(dAtA, i, uint64(size))
  4905  			}
  4906  			i--
  4907  			dAtA[i] = 0x22
  4908  		}
  4909  	}
  4910  	{
  4911  		size, err := m.LastCommitInfo.MarshalToSizedBuffer(dAtA[:i])
  4912  		if err != nil {
  4913  			return 0, err
  4914  		}
  4915  		i -= size
  4916  		i = encodeVarintTypes(dAtA, i, uint64(size))
  4917  	}
  4918  	i--
  4919  	dAtA[i] = 0x1a
  4920  	{
  4921  		size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
  4922  		if err != nil {
  4923  			return 0, err
  4924  		}
  4925  		i -= size
  4926  		i = encodeVarintTypes(dAtA, i, uint64(size))
  4927  	}
  4928  	i--
  4929  	dAtA[i] = 0x12
  4930  	if len(m.Hash) > 0 {
  4931  		i -= len(m.Hash)
  4932  		copy(dAtA[i:], m.Hash)
  4933  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  4934  		i--
  4935  		dAtA[i] = 0xa
  4936  	}
  4937  	return len(dAtA) - i, nil
  4938  }
  4939  
  4940  func (m *RequestCheckTx) Marshal() (dAtA []byte, err error) {
  4941  	size := m.Size()
  4942  	dAtA = make([]byte, size)
  4943  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4944  	if err != nil {
  4945  		return nil, err
  4946  	}
  4947  	return dAtA[:n], nil
  4948  }
  4949  
  4950  func (m *RequestCheckTx) MarshalTo(dAtA []byte) (int, error) {
  4951  	size := m.Size()
  4952  	return m.MarshalToSizedBuffer(dAtA[:size])
  4953  }
  4954  
  4955  func (m *RequestCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4956  	i := len(dAtA)
  4957  	_ = i
  4958  	var l int
  4959  	_ = l
  4960  	if m.Type != 0 {
  4961  		i = encodeVarintTypes(dAtA, i, uint64(m.Type))
  4962  		i--
  4963  		dAtA[i] = 0x10
  4964  	}
  4965  	if len(m.Tx) > 0 {
  4966  		i -= len(m.Tx)
  4967  		copy(dAtA[i:], m.Tx)
  4968  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Tx)))
  4969  		i--
  4970  		dAtA[i] = 0xa
  4971  	}
  4972  	return len(dAtA) - i, nil
  4973  }
  4974  
  4975  func (m *RequestDeliverTx) Marshal() (dAtA []byte, err error) {
  4976  	size := m.Size()
  4977  	dAtA = make([]byte, size)
  4978  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  4979  	if err != nil {
  4980  		return nil, err
  4981  	}
  4982  	return dAtA[:n], nil
  4983  }
  4984  
  4985  func (m *RequestDeliverTx) MarshalTo(dAtA []byte) (int, error) {
  4986  	size := m.Size()
  4987  	return m.MarshalToSizedBuffer(dAtA[:size])
  4988  }
  4989  
  4990  func (m *RequestDeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  4991  	i := len(dAtA)
  4992  	_ = i
  4993  	var l int
  4994  	_ = l
  4995  	if len(m.Tx) > 0 {
  4996  		i -= len(m.Tx)
  4997  		copy(dAtA[i:], m.Tx)
  4998  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Tx)))
  4999  		i--
  5000  		dAtA[i] = 0xa
  5001  	}
  5002  	return len(dAtA) - i, nil
  5003  }
  5004  
  5005  func (m *RequestEndBlock) Marshal() (dAtA []byte, err error) {
  5006  	size := m.Size()
  5007  	dAtA = make([]byte, size)
  5008  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5009  	if err != nil {
  5010  		return nil, err
  5011  	}
  5012  	return dAtA[:n], nil
  5013  }
  5014  
  5015  func (m *RequestEndBlock) MarshalTo(dAtA []byte) (int, error) {
  5016  	size := m.Size()
  5017  	return m.MarshalToSizedBuffer(dAtA[:size])
  5018  }
  5019  
  5020  func (m *RequestEndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5021  	i := len(dAtA)
  5022  	_ = i
  5023  	var l int
  5024  	_ = l
  5025  	if m.Height != 0 {
  5026  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  5027  		i--
  5028  		dAtA[i] = 0x8
  5029  	}
  5030  	return len(dAtA) - i, nil
  5031  }
  5032  
  5033  func (m *RequestCommit) Marshal() (dAtA []byte, err error) {
  5034  	size := m.Size()
  5035  	dAtA = make([]byte, size)
  5036  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5037  	if err != nil {
  5038  		return nil, err
  5039  	}
  5040  	return dAtA[:n], nil
  5041  }
  5042  
  5043  func (m *RequestCommit) MarshalTo(dAtA []byte) (int, error) {
  5044  	size := m.Size()
  5045  	return m.MarshalToSizedBuffer(dAtA[:size])
  5046  }
  5047  
  5048  func (m *RequestCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5049  	i := len(dAtA)
  5050  	_ = i
  5051  	var l int
  5052  	_ = l
  5053  	return len(dAtA) - i, nil
  5054  }
  5055  
  5056  func (m *RequestListSnapshots) Marshal() (dAtA []byte, err error) {
  5057  	size := m.Size()
  5058  	dAtA = make([]byte, size)
  5059  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5060  	if err != nil {
  5061  		return nil, err
  5062  	}
  5063  	return dAtA[:n], nil
  5064  }
  5065  
  5066  func (m *RequestListSnapshots) MarshalTo(dAtA []byte) (int, error) {
  5067  	size := m.Size()
  5068  	return m.MarshalToSizedBuffer(dAtA[:size])
  5069  }
  5070  
  5071  func (m *RequestListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5072  	i := len(dAtA)
  5073  	_ = i
  5074  	var l int
  5075  	_ = l
  5076  	return len(dAtA) - i, nil
  5077  }
  5078  
  5079  func (m *RequestOfferSnapshot) Marshal() (dAtA []byte, err error) {
  5080  	size := m.Size()
  5081  	dAtA = make([]byte, size)
  5082  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5083  	if err != nil {
  5084  		return nil, err
  5085  	}
  5086  	return dAtA[:n], nil
  5087  }
  5088  
  5089  func (m *RequestOfferSnapshot) MarshalTo(dAtA []byte) (int, error) {
  5090  	size := m.Size()
  5091  	return m.MarshalToSizedBuffer(dAtA[:size])
  5092  }
  5093  
  5094  func (m *RequestOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5095  	i := len(dAtA)
  5096  	_ = i
  5097  	var l int
  5098  	_ = l
  5099  	if len(m.AppHash) > 0 {
  5100  		i -= len(m.AppHash)
  5101  		copy(dAtA[i:], m.AppHash)
  5102  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  5103  		i--
  5104  		dAtA[i] = 0x12
  5105  	}
  5106  	if m.Snapshot != nil {
  5107  		{
  5108  			size, err := m.Snapshot.MarshalToSizedBuffer(dAtA[:i])
  5109  			if err != nil {
  5110  				return 0, err
  5111  			}
  5112  			i -= size
  5113  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5114  		}
  5115  		i--
  5116  		dAtA[i] = 0xa
  5117  	}
  5118  	return len(dAtA) - i, nil
  5119  }
  5120  
  5121  func (m *RequestLoadSnapshotChunk) Marshal() (dAtA []byte, err error) {
  5122  	size := m.Size()
  5123  	dAtA = make([]byte, size)
  5124  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5125  	if err != nil {
  5126  		return nil, err
  5127  	}
  5128  	return dAtA[:n], nil
  5129  }
  5130  
  5131  func (m *RequestLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  5132  	size := m.Size()
  5133  	return m.MarshalToSizedBuffer(dAtA[:size])
  5134  }
  5135  
  5136  func (m *RequestLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5137  	i := len(dAtA)
  5138  	_ = i
  5139  	var l int
  5140  	_ = l
  5141  	if m.Chunk != 0 {
  5142  		i = encodeVarintTypes(dAtA, i, uint64(m.Chunk))
  5143  		i--
  5144  		dAtA[i] = 0x18
  5145  	}
  5146  	if m.Format != 0 {
  5147  		i = encodeVarintTypes(dAtA, i, uint64(m.Format))
  5148  		i--
  5149  		dAtA[i] = 0x10
  5150  	}
  5151  	if m.Height != 0 {
  5152  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  5153  		i--
  5154  		dAtA[i] = 0x8
  5155  	}
  5156  	return len(dAtA) - i, nil
  5157  }
  5158  
  5159  func (m *RequestApplySnapshotChunk) Marshal() (dAtA []byte, err error) {
  5160  	size := m.Size()
  5161  	dAtA = make([]byte, size)
  5162  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5163  	if err != nil {
  5164  		return nil, err
  5165  	}
  5166  	return dAtA[:n], nil
  5167  }
  5168  
  5169  func (m *RequestApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  5170  	size := m.Size()
  5171  	return m.MarshalToSizedBuffer(dAtA[:size])
  5172  }
  5173  
  5174  func (m *RequestApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5175  	i := len(dAtA)
  5176  	_ = i
  5177  	var l int
  5178  	_ = l
  5179  	if len(m.Sender) > 0 {
  5180  		i -= len(m.Sender)
  5181  		copy(dAtA[i:], m.Sender)
  5182  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Sender)))
  5183  		i--
  5184  		dAtA[i] = 0x1a
  5185  	}
  5186  	if len(m.Chunk) > 0 {
  5187  		i -= len(m.Chunk)
  5188  		copy(dAtA[i:], m.Chunk)
  5189  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Chunk)))
  5190  		i--
  5191  		dAtA[i] = 0x12
  5192  	}
  5193  	if m.Index != 0 {
  5194  		i = encodeVarintTypes(dAtA, i, uint64(m.Index))
  5195  		i--
  5196  		dAtA[i] = 0x8
  5197  	}
  5198  	return len(dAtA) - i, nil
  5199  }
  5200  
  5201  func (m *RequestPrepareProposal) Marshal() (dAtA []byte, err error) {
  5202  	size := m.Size()
  5203  	dAtA = make([]byte, size)
  5204  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5205  	if err != nil {
  5206  		return nil, err
  5207  	}
  5208  	return dAtA[:n], nil
  5209  }
  5210  
  5211  func (m *RequestPrepareProposal) MarshalTo(dAtA []byte) (int, error) {
  5212  	size := m.Size()
  5213  	return m.MarshalToSizedBuffer(dAtA[:size])
  5214  }
  5215  
  5216  func (m *RequestPrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5217  	i := len(dAtA)
  5218  	_ = i
  5219  	var l int
  5220  	_ = l
  5221  	if len(m.ProposerAddress) > 0 {
  5222  		i -= len(m.ProposerAddress)
  5223  		copy(dAtA[i:], m.ProposerAddress)
  5224  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ProposerAddress)))
  5225  		i--
  5226  		dAtA[i] = 0x42
  5227  	}
  5228  	if len(m.NextValidatorsHash) > 0 {
  5229  		i -= len(m.NextValidatorsHash)
  5230  		copy(dAtA[i:], m.NextValidatorsHash)
  5231  		i = encodeVarintTypes(dAtA, i, uint64(len(m.NextValidatorsHash)))
  5232  		i--
  5233  		dAtA[i] = 0x3a
  5234  	}
  5235  	n22, err22 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time):])
  5236  	if err22 != nil {
  5237  		return 0, err22
  5238  	}
  5239  	i -= n22
  5240  	i = encodeVarintTypes(dAtA, i, uint64(n22))
  5241  	i--
  5242  	dAtA[i] = 0x32
  5243  	if m.Height != 0 {
  5244  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  5245  		i--
  5246  		dAtA[i] = 0x28
  5247  	}
  5248  	if len(m.Misbehavior) > 0 {
  5249  		for iNdEx := len(m.Misbehavior) - 1; iNdEx >= 0; iNdEx-- {
  5250  			{
  5251  				size, err := m.Misbehavior[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5252  				if err != nil {
  5253  					return 0, err
  5254  				}
  5255  				i -= size
  5256  				i = encodeVarintTypes(dAtA, i, uint64(size))
  5257  			}
  5258  			i--
  5259  			dAtA[i] = 0x22
  5260  		}
  5261  	}
  5262  	{
  5263  		size, err := m.LocalLastCommit.MarshalToSizedBuffer(dAtA[:i])
  5264  		if err != nil {
  5265  			return 0, err
  5266  		}
  5267  		i -= size
  5268  		i = encodeVarintTypes(dAtA, i, uint64(size))
  5269  	}
  5270  	i--
  5271  	dAtA[i] = 0x1a
  5272  	if len(m.Txs) > 0 {
  5273  		for iNdEx := len(m.Txs) - 1; iNdEx >= 0; iNdEx-- {
  5274  			i -= len(m.Txs[iNdEx])
  5275  			copy(dAtA[i:], m.Txs[iNdEx])
  5276  			i = encodeVarintTypes(dAtA, i, uint64(len(m.Txs[iNdEx])))
  5277  			i--
  5278  			dAtA[i] = 0x12
  5279  		}
  5280  	}
  5281  	if m.MaxTxBytes != 0 {
  5282  		i = encodeVarintTypes(dAtA, i, uint64(m.MaxTxBytes))
  5283  		i--
  5284  		dAtA[i] = 0x8
  5285  	}
  5286  	return len(dAtA) - i, nil
  5287  }
  5288  
  5289  func (m *RequestProcessProposal) Marshal() (dAtA []byte, err error) {
  5290  	size := m.Size()
  5291  	dAtA = make([]byte, size)
  5292  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5293  	if err != nil {
  5294  		return nil, err
  5295  	}
  5296  	return dAtA[:n], nil
  5297  }
  5298  
  5299  func (m *RequestProcessProposal) MarshalTo(dAtA []byte) (int, error) {
  5300  	size := m.Size()
  5301  	return m.MarshalToSizedBuffer(dAtA[:size])
  5302  }
  5303  
  5304  func (m *RequestProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5305  	i := len(dAtA)
  5306  	_ = i
  5307  	var l int
  5308  	_ = l
  5309  	if len(m.ProposerAddress) > 0 {
  5310  		i -= len(m.ProposerAddress)
  5311  		copy(dAtA[i:], m.ProposerAddress)
  5312  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ProposerAddress)))
  5313  		i--
  5314  		dAtA[i] = 0x42
  5315  	}
  5316  	if len(m.NextValidatorsHash) > 0 {
  5317  		i -= len(m.NextValidatorsHash)
  5318  		copy(dAtA[i:], m.NextValidatorsHash)
  5319  		i = encodeVarintTypes(dAtA, i, uint64(len(m.NextValidatorsHash)))
  5320  		i--
  5321  		dAtA[i] = 0x3a
  5322  	}
  5323  	n24, err24 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time):])
  5324  	if err24 != nil {
  5325  		return 0, err24
  5326  	}
  5327  	i -= n24
  5328  	i = encodeVarintTypes(dAtA, i, uint64(n24))
  5329  	i--
  5330  	dAtA[i] = 0x32
  5331  	if m.Height != 0 {
  5332  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  5333  		i--
  5334  		dAtA[i] = 0x28
  5335  	}
  5336  	if len(m.Hash) > 0 {
  5337  		i -= len(m.Hash)
  5338  		copy(dAtA[i:], m.Hash)
  5339  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  5340  		i--
  5341  		dAtA[i] = 0x22
  5342  	}
  5343  	if len(m.Misbehavior) > 0 {
  5344  		for iNdEx := len(m.Misbehavior) - 1; iNdEx >= 0; iNdEx-- {
  5345  			{
  5346  				size, err := m.Misbehavior[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5347  				if err != nil {
  5348  					return 0, err
  5349  				}
  5350  				i -= size
  5351  				i = encodeVarintTypes(dAtA, i, uint64(size))
  5352  			}
  5353  			i--
  5354  			dAtA[i] = 0x1a
  5355  		}
  5356  	}
  5357  	{
  5358  		size, err := m.ProposedLastCommit.MarshalToSizedBuffer(dAtA[:i])
  5359  		if err != nil {
  5360  			return 0, err
  5361  		}
  5362  		i -= size
  5363  		i = encodeVarintTypes(dAtA, i, uint64(size))
  5364  	}
  5365  	i--
  5366  	dAtA[i] = 0x12
  5367  	if len(m.Txs) > 0 {
  5368  		for iNdEx := len(m.Txs) - 1; iNdEx >= 0; iNdEx-- {
  5369  			i -= len(m.Txs[iNdEx])
  5370  			copy(dAtA[i:], m.Txs[iNdEx])
  5371  			i = encodeVarintTypes(dAtA, i, uint64(len(m.Txs[iNdEx])))
  5372  			i--
  5373  			dAtA[i] = 0xa
  5374  		}
  5375  	}
  5376  	return len(dAtA) - i, nil
  5377  }
  5378  
  5379  func (m *Response) Marshal() (dAtA []byte, err error) {
  5380  	size := m.Size()
  5381  	dAtA = make([]byte, size)
  5382  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5383  	if err != nil {
  5384  		return nil, err
  5385  	}
  5386  	return dAtA[:n], nil
  5387  }
  5388  
  5389  func (m *Response) MarshalTo(dAtA []byte) (int, error) {
  5390  	size := m.Size()
  5391  	return m.MarshalToSizedBuffer(dAtA[:size])
  5392  }
  5393  
  5394  func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5395  	i := len(dAtA)
  5396  	_ = i
  5397  	var l int
  5398  	_ = l
  5399  	if m.Value != nil {
  5400  		{
  5401  			size := m.Value.Size()
  5402  			i -= size
  5403  			if _, err := m.Value.MarshalTo(dAtA[i:]); err != nil {
  5404  				return 0, err
  5405  			}
  5406  		}
  5407  	}
  5408  	return len(dAtA) - i, nil
  5409  }
  5410  
  5411  func (m *Response_Exception) MarshalTo(dAtA []byte) (int, error) {
  5412  	size := m.Size()
  5413  	return m.MarshalToSizedBuffer(dAtA[:size])
  5414  }
  5415  
  5416  func (m *Response_Exception) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5417  	i := len(dAtA)
  5418  	if m.Exception != nil {
  5419  		{
  5420  			size, err := m.Exception.MarshalToSizedBuffer(dAtA[:i])
  5421  			if err != nil {
  5422  				return 0, err
  5423  			}
  5424  			i -= size
  5425  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5426  		}
  5427  		i--
  5428  		dAtA[i] = 0xa
  5429  	}
  5430  	return len(dAtA) - i, nil
  5431  }
  5432  func (m *Response_Echo) MarshalTo(dAtA []byte) (int, error) {
  5433  	size := m.Size()
  5434  	return m.MarshalToSizedBuffer(dAtA[:size])
  5435  }
  5436  
  5437  func (m *Response_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5438  	i := len(dAtA)
  5439  	if m.Echo != nil {
  5440  		{
  5441  			size, err := m.Echo.MarshalToSizedBuffer(dAtA[:i])
  5442  			if err != nil {
  5443  				return 0, err
  5444  			}
  5445  			i -= size
  5446  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5447  		}
  5448  		i--
  5449  		dAtA[i] = 0x12
  5450  	}
  5451  	return len(dAtA) - i, nil
  5452  }
  5453  func (m *Response_Flush) MarshalTo(dAtA []byte) (int, error) {
  5454  	size := m.Size()
  5455  	return m.MarshalToSizedBuffer(dAtA[:size])
  5456  }
  5457  
  5458  func (m *Response_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5459  	i := len(dAtA)
  5460  	if m.Flush != nil {
  5461  		{
  5462  			size, err := m.Flush.MarshalToSizedBuffer(dAtA[:i])
  5463  			if err != nil {
  5464  				return 0, err
  5465  			}
  5466  			i -= size
  5467  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5468  		}
  5469  		i--
  5470  		dAtA[i] = 0x1a
  5471  	}
  5472  	return len(dAtA) - i, nil
  5473  }
  5474  func (m *Response_Info) MarshalTo(dAtA []byte) (int, error) {
  5475  	size := m.Size()
  5476  	return m.MarshalToSizedBuffer(dAtA[:size])
  5477  }
  5478  
  5479  func (m *Response_Info) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5480  	i := len(dAtA)
  5481  	if m.Info != nil {
  5482  		{
  5483  			size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
  5484  			if err != nil {
  5485  				return 0, err
  5486  			}
  5487  			i -= size
  5488  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5489  		}
  5490  		i--
  5491  		dAtA[i] = 0x22
  5492  	}
  5493  	return len(dAtA) - i, nil
  5494  }
  5495  func (m *Response_InitChain) MarshalTo(dAtA []byte) (int, error) {
  5496  	size := m.Size()
  5497  	return m.MarshalToSizedBuffer(dAtA[:size])
  5498  }
  5499  
  5500  func (m *Response_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5501  	i := len(dAtA)
  5502  	if m.InitChain != nil {
  5503  		{
  5504  			size, err := m.InitChain.MarshalToSizedBuffer(dAtA[:i])
  5505  			if err != nil {
  5506  				return 0, err
  5507  			}
  5508  			i -= size
  5509  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5510  		}
  5511  		i--
  5512  		dAtA[i] = 0x32
  5513  	}
  5514  	return len(dAtA) - i, nil
  5515  }
  5516  func (m *Response_Query) MarshalTo(dAtA []byte) (int, error) {
  5517  	size := m.Size()
  5518  	return m.MarshalToSizedBuffer(dAtA[:size])
  5519  }
  5520  
  5521  func (m *Response_Query) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5522  	i := len(dAtA)
  5523  	if m.Query != nil {
  5524  		{
  5525  			size, err := m.Query.MarshalToSizedBuffer(dAtA[:i])
  5526  			if err != nil {
  5527  				return 0, err
  5528  			}
  5529  			i -= size
  5530  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5531  		}
  5532  		i--
  5533  		dAtA[i] = 0x3a
  5534  	}
  5535  	return len(dAtA) - i, nil
  5536  }
  5537  func (m *Response_BeginBlock) MarshalTo(dAtA []byte) (int, error) {
  5538  	size := m.Size()
  5539  	return m.MarshalToSizedBuffer(dAtA[:size])
  5540  }
  5541  
  5542  func (m *Response_BeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5543  	i := len(dAtA)
  5544  	if m.BeginBlock != nil {
  5545  		{
  5546  			size, err := m.BeginBlock.MarshalToSizedBuffer(dAtA[:i])
  5547  			if err != nil {
  5548  				return 0, err
  5549  			}
  5550  			i -= size
  5551  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5552  		}
  5553  		i--
  5554  		dAtA[i] = 0x42
  5555  	}
  5556  	return len(dAtA) - i, nil
  5557  }
  5558  func (m *Response_CheckTx) MarshalTo(dAtA []byte) (int, error) {
  5559  	size := m.Size()
  5560  	return m.MarshalToSizedBuffer(dAtA[:size])
  5561  }
  5562  
  5563  func (m *Response_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5564  	i := len(dAtA)
  5565  	if m.CheckTx != nil {
  5566  		{
  5567  			size, err := m.CheckTx.MarshalToSizedBuffer(dAtA[:i])
  5568  			if err != nil {
  5569  				return 0, err
  5570  			}
  5571  			i -= size
  5572  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5573  		}
  5574  		i--
  5575  		dAtA[i] = 0x4a
  5576  	}
  5577  	return len(dAtA) - i, nil
  5578  }
  5579  func (m *Response_DeliverTx) MarshalTo(dAtA []byte) (int, error) {
  5580  	size := m.Size()
  5581  	return m.MarshalToSizedBuffer(dAtA[:size])
  5582  }
  5583  
  5584  func (m *Response_DeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5585  	i := len(dAtA)
  5586  	if m.DeliverTx != nil {
  5587  		{
  5588  			size, err := m.DeliverTx.MarshalToSizedBuffer(dAtA[:i])
  5589  			if err != nil {
  5590  				return 0, err
  5591  			}
  5592  			i -= size
  5593  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5594  		}
  5595  		i--
  5596  		dAtA[i] = 0x52
  5597  	}
  5598  	return len(dAtA) - i, nil
  5599  }
  5600  func (m *Response_EndBlock) MarshalTo(dAtA []byte) (int, error) {
  5601  	size := m.Size()
  5602  	return m.MarshalToSizedBuffer(dAtA[:size])
  5603  }
  5604  
  5605  func (m *Response_EndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5606  	i := len(dAtA)
  5607  	if m.EndBlock != nil {
  5608  		{
  5609  			size, err := m.EndBlock.MarshalToSizedBuffer(dAtA[:i])
  5610  			if err != nil {
  5611  				return 0, err
  5612  			}
  5613  			i -= size
  5614  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5615  		}
  5616  		i--
  5617  		dAtA[i] = 0x5a
  5618  	}
  5619  	return len(dAtA) - i, nil
  5620  }
  5621  func (m *Response_Commit) MarshalTo(dAtA []byte) (int, error) {
  5622  	size := m.Size()
  5623  	return m.MarshalToSizedBuffer(dAtA[:size])
  5624  }
  5625  
  5626  func (m *Response_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5627  	i := len(dAtA)
  5628  	if m.Commit != nil {
  5629  		{
  5630  			size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i])
  5631  			if err != nil {
  5632  				return 0, err
  5633  			}
  5634  			i -= size
  5635  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5636  		}
  5637  		i--
  5638  		dAtA[i] = 0x62
  5639  	}
  5640  	return len(dAtA) - i, nil
  5641  }
  5642  func (m *Response_ListSnapshots) MarshalTo(dAtA []byte) (int, error) {
  5643  	size := m.Size()
  5644  	return m.MarshalToSizedBuffer(dAtA[:size])
  5645  }
  5646  
  5647  func (m *Response_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5648  	i := len(dAtA)
  5649  	if m.ListSnapshots != nil {
  5650  		{
  5651  			size, err := m.ListSnapshots.MarshalToSizedBuffer(dAtA[:i])
  5652  			if err != nil {
  5653  				return 0, err
  5654  			}
  5655  			i -= size
  5656  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5657  		}
  5658  		i--
  5659  		dAtA[i] = 0x6a
  5660  	}
  5661  	return len(dAtA) - i, nil
  5662  }
  5663  func (m *Response_OfferSnapshot) MarshalTo(dAtA []byte) (int, error) {
  5664  	size := m.Size()
  5665  	return m.MarshalToSizedBuffer(dAtA[:size])
  5666  }
  5667  
  5668  func (m *Response_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5669  	i := len(dAtA)
  5670  	if m.OfferSnapshot != nil {
  5671  		{
  5672  			size, err := m.OfferSnapshot.MarshalToSizedBuffer(dAtA[:i])
  5673  			if err != nil {
  5674  				return 0, err
  5675  			}
  5676  			i -= size
  5677  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5678  		}
  5679  		i--
  5680  		dAtA[i] = 0x72
  5681  	}
  5682  	return len(dAtA) - i, nil
  5683  }
  5684  func (m *Response_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  5685  	size := m.Size()
  5686  	return m.MarshalToSizedBuffer(dAtA[:size])
  5687  }
  5688  
  5689  func (m *Response_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5690  	i := len(dAtA)
  5691  	if m.LoadSnapshotChunk != nil {
  5692  		{
  5693  			size, err := m.LoadSnapshotChunk.MarshalToSizedBuffer(dAtA[:i])
  5694  			if err != nil {
  5695  				return 0, err
  5696  			}
  5697  			i -= size
  5698  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5699  		}
  5700  		i--
  5701  		dAtA[i] = 0x7a
  5702  	}
  5703  	return len(dAtA) - i, nil
  5704  }
  5705  func (m *Response_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  5706  	size := m.Size()
  5707  	return m.MarshalToSizedBuffer(dAtA[:size])
  5708  }
  5709  
  5710  func (m *Response_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5711  	i := len(dAtA)
  5712  	if m.ApplySnapshotChunk != nil {
  5713  		{
  5714  			size, err := m.ApplySnapshotChunk.MarshalToSizedBuffer(dAtA[:i])
  5715  			if err != nil {
  5716  				return 0, err
  5717  			}
  5718  			i -= size
  5719  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5720  		}
  5721  		i--
  5722  		dAtA[i] = 0x1
  5723  		i--
  5724  		dAtA[i] = 0x82
  5725  	}
  5726  	return len(dAtA) - i, nil
  5727  }
  5728  func (m *Response_PrepareProposal) MarshalTo(dAtA []byte) (int, error) {
  5729  	size := m.Size()
  5730  	return m.MarshalToSizedBuffer(dAtA[:size])
  5731  }
  5732  
  5733  func (m *Response_PrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5734  	i := len(dAtA)
  5735  	if m.PrepareProposal != nil {
  5736  		{
  5737  			size, err := m.PrepareProposal.MarshalToSizedBuffer(dAtA[:i])
  5738  			if err != nil {
  5739  				return 0, err
  5740  			}
  5741  			i -= size
  5742  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5743  		}
  5744  		i--
  5745  		dAtA[i] = 0x1
  5746  		i--
  5747  		dAtA[i] = 0x8a
  5748  	}
  5749  	return len(dAtA) - i, nil
  5750  }
  5751  func (m *Response_ProcessProposal) MarshalTo(dAtA []byte) (int, error) {
  5752  	size := m.Size()
  5753  	return m.MarshalToSizedBuffer(dAtA[:size])
  5754  }
  5755  
  5756  func (m *Response_ProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5757  	i := len(dAtA)
  5758  	if m.ProcessProposal != nil {
  5759  		{
  5760  			size, err := m.ProcessProposal.MarshalToSizedBuffer(dAtA[:i])
  5761  			if err != nil {
  5762  				return 0, err
  5763  			}
  5764  			i -= size
  5765  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5766  		}
  5767  		i--
  5768  		dAtA[i] = 0x1
  5769  		i--
  5770  		dAtA[i] = 0x92
  5771  	}
  5772  	return len(dAtA) - i, nil
  5773  }
  5774  func (m *ResponseException) Marshal() (dAtA []byte, err error) {
  5775  	size := m.Size()
  5776  	dAtA = make([]byte, size)
  5777  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5778  	if err != nil {
  5779  		return nil, err
  5780  	}
  5781  	return dAtA[:n], nil
  5782  }
  5783  
  5784  func (m *ResponseException) MarshalTo(dAtA []byte) (int, error) {
  5785  	size := m.Size()
  5786  	return m.MarshalToSizedBuffer(dAtA[:size])
  5787  }
  5788  
  5789  func (m *ResponseException) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5790  	i := len(dAtA)
  5791  	_ = i
  5792  	var l int
  5793  	_ = l
  5794  	if len(m.Error) > 0 {
  5795  		i -= len(m.Error)
  5796  		copy(dAtA[i:], m.Error)
  5797  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Error)))
  5798  		i--
  5799  		dAtA[i] = 0xa
  5800  	}
  5801  	return len(dAtA) - i, nil
  5802  }
  5803  
  5804  func (m *ResponseEcho) Marshal() (dAtA []byte, err error) {
  5805  	size := m.Size()
  5806  	dAtA = make([]byte, size)
  5807  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5808  	if err != nil {
  5809  		return nil, err
  5810  	}
  5811  	return dAtA[:n], nil
  5812  }
  5813  
  5814  func (m *ResponseEcho) MarshalTo(dAtA []byte) (int, error) {
  5815  	size := m.Size()
  5816  	return m.MarshalToSizedBuffer(dAtA[:size])
  5817  }
  5818  
  5819  func (m *ResponseEcho) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5820  	i := len(dAtA)
  5821  	_ = i
  5822  	var l int
  5823  	_ = l
  5824  	if len(m.Message) > 0 {
  5825  		i -= len(m.Message)
  5826  		copy(dAtA[i:], m.Message)
  5827  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Message)))
  5828  		i--
  5829  		dAtA[i] = 0xa
  5830  	}
  5831  	return len(dAtA) - i, nil
  5832  }
  5833  
  5834  func (m *ResponseFlush) Marshal() (dAtA []byte, err error) {
  5835  	size := m.Size()
  5836  	dAtA = make([]byte, size)
  5837  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5838  	if err != nil {
  5839  		return nil, err
  5840  	}
  5841  	return dAtA[:n], nil
  5842  }
  5843  
  5844  func (m *ResponseFlush) MarshalTo(dAtA []byte) (int, error) {
  5845  	size := m.Size()
  5846  	return m.MarshalToSizedBuffer(dAtA[:size])
  5847  }
  5848  
  5849  func (m *ResponseFlush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5850  	i := len(dAtA)
  5851  	_ = i
  5852  	var l int
  5853  	_ = l
  5854  	return len(dAtA) - i, nil
  5855  }
  5856  
  5857  func (m *ResponseInfo) Marshal() (dAtA []byte, err error) {
  5858  	size := m.Size()
  5859  	dAtA = make([]byte, size)
  5860  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5861  	if err != nil {
  5862  		return nil, err
  5863  	}
  5864  	return dAtA[:n], nil
  5865  }
  5866  
  5867  func (m *ResponseInfo) MarshalTo(dAtA []byte) (int, error) {
  5868  	size := m.Size()
  5869  	return m.MarshalToSizedBuffer(dAtA[:size])
  5870  }
  5871  
  5872  func (m *ResponseInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5873  	i := len(dAtA)
  5874  	_ = i
  5875  	var l int
  5876  	_ = l
  5877  	if len(m.LastBlockAppHash) > 0 {
  5878  		i -= len(m.LastBlockAppHash)
  5879  		copy(dAtA[i:], m.LastBlockAppHash)
  5880  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastBlockAppHash)))
  5881  		i--
  5882  		dAtA[i] = 0x2a
  5883  	}
  5884  	if m.LastBlockHeight != 0 {
  5885  		i = encodeVarintTypes(dAtA, i, uint64(m.LastBlockHeight))
  5886  		i--
  5887  		dAtA[i] = 0x20
  5888  	}
  5889  	if m.AppVersion != 0 {
  5890  		i = encodeVarintTypes(dAtA, i, uint64(m.AppVersion))
  5891  		i--
  5892  		dAtA[i] = 0x18
  5893  	}
  5894  	if len(m.Version) > 0 {
  5895  		i -= len(m.Version)
  5896  		copy(dAtA[i:], m.Version)
  5897  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Version)))
  5898  		i--
  5899  		dAtA[i] = 0x12
  5900  	}
  5901  	if len(m.Data) > 0 {
  5902  		i -= len(m.Data)
  5903  		copy(dAtA[i:], m.Data)
  5904  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  5905  		i--
  5906  		dAtA[i] = 0xa
  5907  	}
  5908  	return len(dAtA) - i, nil
  5909  }
  5910  
  5911  func (m *ResponseInitChain) Marshal() (dAtA []byte, err error) {
  5912  	size := m.Size()
  5913  	dAtA = make([]byte, size)
  5914  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5915  	if err != nil {
  5916  		return nil, err
  5917  	}
  5918  	return dAtA[:n], nil
  5919  }
  5920  
  5921  func (m *ResponseInitChain) MarshalTo(dAtA []byte) (int, error) {
  5922  	size := m.Size()
  5923  	return m.MarshalToSizedBuffer(dAtA[:size])
  5924  }
  5925  
  5926  func (m *ResponseInitChain) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5927  	i := len(dAtA)
  5928  	_ = i
  5929  	var l int
  5930  	_ = l
  5931  	if len(m.AppHash) > 0 {
  5932  		i -= len(m.AppHash)
  5933  		copy(dAtA[i:], m.AppHash)
  5934  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  5935  		i--
  5936  		dAtA[i] = 0x1a
  5937  	}
  5938  	if len(m.Validators) > 0 {
  5939  		for iNdEx := len(m.Validators) - 1; iNdEx >= 0; iNdEx-- {
  5940  			{
  5941  				size, err := m.Validators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  5942  				if err != nil {
  5943  					return 0, err
  5944  				}
  5945  				i -= size
  5946  				i = encodeVarintTypes(dAtA, i, uint64(size))
  5947  			}
  5948  			i--
  5949  			dAtA[i] = 0x12
  5950  		}
  5951  	}
  5952  	if m.ConsensusParams != nil {
  5953  		{
  5954  			size, err := m.ConsensusParams.MarshalToSizedBuffer(dAtA[:i])
  5955  			if err != nil {
  5956  				return 0, err
  5957  			}
  5958  			i -= size
  5959  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5960  		}
  5961  		i--
  5962  		dAtA[i] = 0xa
  5963  	}
  5964  	return len(dAtA) - i, nil
  5965  }
  5966  
  5967  func (m *ResponseQuery) Marshal() (dAtA []byte, err error) {
  5968  	size := m.Size()
  5969  	dAtA = make([]byte, size)
  5970  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5971  	if err != nil {
  5972  		return nil, err
  5973  	}
  5974  	return dAtA[:n], nil
  5975  }
  5976  
  5977  func (m *ResponseQuery) MarshalTo(dAtA []byte) (int, error) {
  5978  	size := m.Size()
  5979  	return m.MarshalToSizedBuffer(dAtA[:size])
  5980  }
  5981  
  5982  func (m *ResponseQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5983  	i := len(dAtA)
  5984  	_ = i
  5985  	var l int
  5986  	_ = l
  5987  	if len(m.Codespace) > 0 {
  5988  		i -= len(m.Codespace)
  5989  		copy(dAtA[i:], m.Codespace)
  5990  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Codespace)))
  5991  		i--
  5992  		dAtA[i] = 0x52
  5993  	}
  5994  	if m.Height != 0 {
  5995  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  5996  		i--
  5997  		dAtA[i] = 0x48
  5998  	}
  5999  	if m.ProofOps != nil {
  6000  		{
  6001  			size, err := m.ProofOps.MarshalToSizedBuffer(dAtA[:i])
  6002  			if err != nil {
  6003  				return 0, err
  6004  			}
  6005  			i -= size
  6006  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6007  		}
  6008  		i--
  6009  		dAtA[i] = 0x42
  6010  	}
  6011  	if len(m.Value) > 0 {
  6012  		i -= len(m.Value)
  6013  		copy(dAtA[i:], m.Value)
  6014  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Value)))
  6015  		i--
  6016  		dAtA[i] = 0x3a
  6017  	}
  6018  	if len(m.Key) > 0 {
  6019  		i -= len(m.Key)
  6020  		copy(dAtA[i:], m.Key)
  6021  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
  6022  		i--
  6023  		dAtA[i] = 0x32
  6024  	}
  6025  	if m.Index != 0 {
  6026  		i = encodeVarintTypes(dAtA, i, uint64(m.Index))
  6027  		i--
  6028  		dAtA[i] = 0x28
  6029  	}
  6030  	if len(m.Info) > 0 {
  6031  		i -= len(m.Info)
  6032  		copy(dAtA[i:], m.Info)
  6033  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Info)))
  6034  		i--
  6035  		dAtA[i] = 0x22
  6036  	}
  6037  	if len(m.Log) > 0 {
  6038  		i -= len(m.Log)
  6039  		copy(dAtA[i:], m.Log)
  6040  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Log)))
  6041  		i--
  6042  		dAtA[i] = 0x1a
  6043  	}
  6044  	if m.Code != 0 {
  6045  		i = encodeVarintTypes(dAtA, i, uint64(m.Code))
  6046  		i--
  6047  		dAtA[i] = 0x8
  6048  	}
  6049  	return len(dAtA) - i, nil
  6050  }
  6051  
  6052  func (m *ResponseBeginBlock) Marshal() (dAtA []byte, err error) {
  6053  	size := m.Size()
  6054  	dAtA = make([]byte, size)
  6055  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6056  	if err != nil {
  6057  		return nil, err
  6058  	}
  6059  	return dAtA[:n], nil
  6060  }
  6061  
  6062  func (m *ResponseBeginBlock) MarshalTo(dAtA []byte) (int, error) {
  6063  	size := m.Size()
  6064  	return m.MarshalToSizedBuffer(dAtA[:size])
  6065  }
  6066  
  6067  func (m *ResponseBeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6068  	i := len(dAtA)
  6069  	_ = i
  6070  	var l int
  6071  	_ = l
  6072  	if len(m.Events) > 0 {
  6073  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  6074  			{
  6075  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6076  				if err != nil {
  6077  					return 0, err
  6078  				}
  6079  				i -= size
  6080  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6081  			}
  6082  			i--
  6083  			dAtA[i] = 0xa
  6084  		}
  6085  	}
  6086  	return len(dAtA) - i, nil
  6087  }
  6088  
  6089  func (m *ResponseCheckTx) Marshal() (dAtA []byte, err error) {
  6090  	size := m.Size()
  6091  	dAtA = make([]byte, size)
  6092  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6093  	if err != nil {
  6094  		return nil, err
  6095  	}
  6096  	return dAtA[:n], nil
  6097  }
  6098  
  6099  func (m *ResponseCheckTx) MarshalTo(dAtA []byte) (int, error) {
  6100  	size := m.Size()
  6101  	return m.MarshalToSizedBuffer(dAtA[:size])
  6102  }
  6103  
  6104  func (m *ResponseCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6105  	i := len(dAtA)
  6106  	_ = i
  6107  	var l int
  6108  	_ = l
  6109  	if len(m.MempoolError) > 0 {
  6110  		i -= len(m.MempoolError)
  6111  		copy(dAtA[i:], m.MempoolError)
  6112  		i = encodeVarintTypes(dAtA, i, uint64(len(m.MempoolError)))
  6113  		i--
  6114  		dAtA[i] = 0x5a
  6115  	}
  6116  	if m.Priority != 0 {
  6117  		i = encodeVarintTypes(dAtA, i, uint64(m.Priority))
  6118  		i--
  6119  		dAtA[i] = 0x50
  6120  	}
  6121  	if len(m.Sender) > 0 {
  6122  		i -= len(m.Sender)
  6123  		copy(dAtA[i:], m.Sender)
  6124  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Sender)))
  6125  		i--
  6126  		dAtA[i] = 0x4a
  6127  	}
  6128  	if len(m.Codespace) > 0 {
  6129  		i -= len(m.Codespace)
  6130  		copy(dAtA[i:], m.Codespace)
  6131  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Codespace)))
  6132  		i--
  6133  		dAtA[i] = 0x42
  6134  	}
  6135  	if len(m.Events) > 0 {
  6136  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  6137  			{
  6138  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6139  				if err != nil {
  6140  					return 0, err
  6141  				}
  6142  				i -= size
  6143  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6144  			}
  6145  			i--
  6146  			dAtA[i] = 0x3a
  6147  		}
  6148  	}
  6149  	if m.GasUsed != 0 {
  6150  		i = encodeVarintTypes(dAtA, i, uint64(m.GasUsed))
  6151  		i--
  6152  		dAtA[i] = 0x30
  6153  	}
  6154  	if m.GasWanted != 0 {
  6155  		i = encodeVarintTypes(dAtA, i, uint64(m.GasWanted))
  6156  		i--
  6157  		dAtA[i] = 0x28
  6158  	}
  6159  	if len(m.Info) > 0 {
  6160  		i -= len(m.Info)
  6161  		copy(dAtA[i:], m.Info)
  6162  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Info)))
  6163  		i--
  6164  		dAtA[i] = 0x22
  6165  	}
  6166  	if len(m.Log) > 0 {
  6167  		i -= len(m.Log)
  6168  		copy(dAtA[i:], m.Log)
  6169  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Log)))
  6170  		i--
  6171  		dAtA[i] = 0x1a
  6172  	}
  6173  	if len(m.Data) > 0 {
  6174  		i -= len(m.Data)
  6175  		copy(dAtA[i:], m.Data)
  6176  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  6177  		i--
  6178  		dAtA[i] = 0x12
  6179  	}
  6180  	if m.Code != 0 {
  6181  		i = encodeVarintTypes(dAtA, i, uint64(m.Code))
  6182  		i--
  6183  		dAtA[i] = 0x8
  6184  	}
  6185  	return len(dAtA) - i, nil
  6186  }
  6187  
  6188  func (m *ResponseDeliverTx) Marshal() (dAtA []byte, err error) {
  6189  	size := m.Size()
  6190  	dAtA = make([]byte, size)
  6191  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6192  	if err != nil {
  6193  		return nil, err
  6194  	}
  6195  	return dAtA[:n], nil
  6196  }
  6197  
  6198  func (m *ResponseDeliverTx) MarshalTo(dAtA []byte) (int, error) {
  6199  	size := m.Size()
  6200  	return m.MarshalToSizedBuffer(dAtA[:size])
  6201  }
  6202  
  6203  func (m *ResponseDeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6204  	i := len(dAtA)
  6205  	_ = i
  6206  	var l int
  6207  	_ = l
  6208  	if len(m.Codespace) > 0 {
  6209  		i -= len(m.Codespace)
  6210  		copy(dAtA[i:], m.Codespace)
  6211  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Codespace)))
  6212  		i--
  6213  		dAtA[i] = 0x42
  6214  	}
  6215  	if len(m.Events) > 0 {
  6216  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  6217  			{
  6218  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6219  				if err != nil {
  6220  					return 0, err
  6221  				}
  6222  				i -= size
  6223  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6224  			}
  6225  			i--
  6226  			dAtA[i] = 0x3a
  6227  		}
  6228  	}
  6229  	if m.GasUsed != 0 {
  6230  		i = encodeVarintTypes(dAtA, i, uint64(m.GasUsed))
  6231  		i--
  6232  		dAtA[i] = 0x30
  6233  	}
  6234  	if m.GasWanted != 0 {
  6235  		i = encodeVarintTypes(dAtA, i, uint64(m.GasWanted))
  6236  		i--
  6237  		dAtA[i] = 0x28
  6238  	}
  6239  	if len(m.Info) > 0 {
  6240  		i -= len(m.Info)
  6241  		copy(dAtA[i:], m.Info)
  6242  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Info)))
  6243  		i--
  6244  		dAtA[i] = 0x22
  6245  	}
  6246  	if len(m.Log) > 0 {
  6247  		i -= len(m.Log)
  6248  		copy(dAtA[i:], m.Log)
  6249  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Log)))
  6250  		i--
  6251  		dAtA[i] = 0x1a
  6252  	}
  6253  	if len(m.Data) > 0 {
  6254  		i -= len(m.Data)
  6255  		copy(dAtA[i:], m.Data)
  6256  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  6257  		i--
  6258  		dAtA[i] = 0x12
  6259  	}
  6260  	if m.Code != 0 {
  6261  		i = encodeVarintTypes(dAtA, i, uint64(m.Code))
  6262  		i--
  6263  		dAtA[i] = 0x8
  6264  	}
  6265  	return len(dAtA) - i, nil
  6266  }
  6267  
  6268  func (m *ResponseEndBlock) Marshal() (dAtA []byte, err error) {
  6269  	size := m.Size()
  6270  	dAtA = make([]byte, size)
  6271  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6272  	if err != nil {
  6273  		return nil, err
  6274  	}
  6275  	return dAtA[:n], nil
  6276  }
  6277  
  6278  func (m *ResponseEndBlock) MarshalTo(dAtA []byte) (int, error) {
  6279  	size := m.Size()
  6280  	return m.MarshalToSizedBuffer(dAtA[:size])
  6281  }
  6282  
  6283  func (m *ResponseEndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6284  	i := len(dAtA)
  6285  	_ = i
  6286  	var l int
  6287  	_ = l
  6288  	if len(m.Events) > 0 {
  6289  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  6290  			{
  6291  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6292  				if err != nil {
  6293  					return 0, err
  6294  				}
  6295  				i -= size
  6296  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6297  			}
  6298  			i--
  6299  			dAtA[i] = 0x1a
  6300  		}
  6301  	}
  6302  	if m.ConsensusParamUpdates != nil {
  6303  		{
  6304  			size, err := m.ConsensusParamUpdates.MarshalToSizedBuffer(dAtA[:i])
  6305  			if err != nil {
  6306  				return 0, err
  6307  			}
  6308  			i -= size
  6309  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6310  		}
  6311  		i--
  6312  		dAtA[i] = 0x12
  6313  	}
  6314  	if len(m.ValidatorUpdates) > 0 {
  6315  		for iNdEx := len(m.ValidatorUpdates) - 1; iNdEx >= 0; iNdEx-- {
  6316  			{
  6317  				size, err := m.ValidatorUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6318  				if err != nil {
  6319  					return 0, err
  6320  				}
  6321  				i -= size
  6322  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6323  			}
  6324  			i--
  6325  			dAtA[i] = 0xa
  6326  		}
  6327  	}
  6328  	return len(dAtA) - i, nil
  6329  }
  6330  
  6331  func (m *ResponseCommit) Marshal() (dAtA []byte, err error) {
  6332  	size := m.Size()
  6333  	dAtA = make([]byte, size)
  6334  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6335  	if err != nil {
  6336  		return nil, err
  6337  	}
  6338  	return dAtA[:n], nil
  6339  }
  6340  
  6341  func (m *ResponseCommit) MarshalTo(dAtA []byte) (int, error) {
  6342  	size := m.Size()
  6343  	return m.MarshalToSizedBuffer(dAtA[:size])
  6344  }
  6345  
  6346  func (m *ResponseCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6347  	i := len(dAtA)
  6348  	_ = i
  6349  	var l int
  6350  	_ = l
  6351  	if m.RetainHeight != 0 {
  6352  		i = encodeVarintTypes(dAtA, i, uint64(m.RetainHeight))
  6353  		i--
  6354  		dAtA[i] = 0x18
  6355  	}
  6356  	if len(m.Data) > 0 {
  6357  		i -= len(m.Data)
  6358  		copy(dAtA[i:], m.Data)
  6359  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  6360  		i--
  6361  		dAtA[i] = 0x12
  6362  	}
  6363  	return len(dAtA) - i, nil
  6364  }
  6365  
  6366  func (m *ResponseListSnapshots) Marshal() (dAtA []byte, err error) {
  6367  	size := m.Size()
  6368  	dAtA = make([]byte, size)
  6369  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6370  	if err != nil {
  6371  		return nil, err
  6372  	}
  6373  	return dAtA[:n], nil
  6374  }
  6375  
  6376  func (m *ResponseListSnapshots) MarshalTo(dAtA []byte) (int, error) {
  6377  	size := m.Size()
  6378  	return m.MarshalToSizedBuffer(dAtA[:size])
  6379  }
  6380  
  6381  func (m *ResponseListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6382  	i := len(dAtA)
  6383  	_ = i
  6384  	var l int
  6385  	_ = l
  6386  	if len(m.Snapshots) > 0 {
  6387  		for iNdEx := len(m.Snapshots) - 1; iNdEx >= 0; iNdEx-- {
  6388  			{
  6389  				size, err := m.Snapshots[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6390  				if err != nil {
  6391  					return 0, err
  6392  				}
  6393  				i -= size
  6394  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6395  			}
  6396  			i--
  6397  			dAtA[i] = 0xa
  6398  		}
  6399  	}
  6400  	return len(dAtA) - i, nil
  6401  }
  6402  
  6403  func (m *ResponseOfferSnapshot) Marshal() (dAtA []byte, err error) {
  6404  	size := m.Size()
  6405  	dAtA = make([]byte, size)
  6406  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6407  	if err != nil {
  6408  		return nil, err
  6409  	}
  6410  	return dAtA[:n], nil
  6411  }
  6412  
  6413  func (m *ResponseOfferSnapshot) MarshalTo(dAtA []byte) (int, error) {
  6414  	size := m.Size()
  6415  	return m.MarshalToSizedBuffer(dAtA[:size])
  6416  }
  6417  
  6418  func (m *ResponseOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6419  	i := len(dAtA)
  6420  	_ = i
  6421  	var l int
  6422  	_ = l
  6423  	if m.Result != 0 {
  6424  		i = encodeVarintTypes(dAtA, i, uint64(m.Result))
  6425  		i--
  6426  		dAtA[i] = 0x8
  6427  	}
  6428  	return len(dAtA) - i, nil
  6429  }
  6430  
  6431  func (m *ResponseLoadSnapshotChunk) Marshal() (dAtA []byte, err error) {
  6432  	size := m.Size()
  6433  	dAtA = make([]byte, size)
  6434  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6435  	if err != nil {
  6436  		return nil, err
  6437  	}
  6438  	return dAtA[:n], nil
  6439  }
  6440  
  6441  func (m *ResponseLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  6442  	size := m.Size()
  6443  	return m.MarshalToSizedBuffer(dAtA[:size])
  6444  }
  6445  
  6446  func (m *ResponseLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6447  	i := len(dAtA)
  6448  	_ = i
  6449  	var l int
  6450  	_ = l
  6451  	if len(m.Chunk) > 0 {
  6452  		i -= len(m.Chunk)
  6453  		copy(dAtA[i:], m.Chunk)
  6454  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Chunk)))
  6455  		i--
  6456  		dAtA[i] = 0xa
  6457  	}
  6458  	return len(dAtA) - i, nil
  6459  }
  6460  
  6461  func (m *ResponseApplySnapshotChunk) Marshal() (dAtA []byte, err error) {
  6462  	size := m.Size()
  6463  	dAtA = make([]byte, size)
  6464  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6465  	if err != nil {
  6466  		return nil, err
  6467  	}
  6468  	return dAtA[:n], nil
  6469  }
  6470  
  6471  func (m *ResponseApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  6472  	size := m.Size()
  6473  	return m.MarshalToSizedBuffer(dAtA[:size])
  6474  }
  6475  
  6476  func (m *ResponseApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6477  	i := len(dAtA)
  6478  	_ = i
  6479  	var l int
  6480  	_ = l
  6481  	if len(m.RejectSenders) > 0 {
  6482  		for iNdEx := len(m.RejectSenders) - 1; iNdEx >= 0; iNdEx-- {
  6483  			i -= len(m.RejectSenders[iNdEx])
  6484  			copy(dAtA[i:], m.RejectSenders[iNdEx])
  6485  			i = encodeVarintTypes(dAtA, i, uint64(len(m.RejectSenders[iNdEx])))
  6486  			i--
  6487  			dAtA[i] = 0x1a
  6488  		}
  6489  	}
  6490  	if len(m.RefetchChunks) > 0 {
  6491  		dAtA47 := make([]byte, len(m.RefetchChunks)*10)
  6492  		var j46 int
  6493  		for _, num := range m.RefetchChunks {
  6494  			for num >= 1<<7 {
  6495  				dAtA47[j46] = uint8(uint64(num)&0x7f | 0x80)
  6496  				num >>= 7
  6497  				j46++
  6498  			}
  6499  			dAtA47[j46] = uint8(num)
  6500  			j46++
  6501  		}
  6502  		i -= j46
  6503  		copy(dAtA[i:], dAtA47[:j46])
  6504  		i = encodeVarintTypes(dAtA, i, uint64(j46))
  6505  		i--
  6506  		dAtA[i] = 0x12
  6507  	}
  6508  	if m.Result != 0 {
  6509  		i = encodeVarintTypes(dAtA, i, uint64(m.Result))
  6510  		i--
  6511  		dAtA[i] = 0x8
  6512  	}
  6513  	return len(dAtA) - i, nil
  6514  }
  6515  
  6516  func (m *ResponsePrepareProposal) Marshal() (dAtA []byte, err error) {
  6517  	size := m.Size()
  6518  	dAtA = make([]byte, size)
  6519  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6520  	if err != nil {
  6521  		return nil, err
  6522  	}
  6523  	return dAtA[:n], nil
  6524  }
  6525  
  6526  func (m *ResponsePrepareProposal) MarshalTo(dAtA []byte) (int, error) {
  6527  	size := m.Size()
  6528  	return m.MarshalToSizedBuffer(dAtA[:size])
  6529  }
  6530  
  6531  func (m *ResponsePrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6532  	i := len(dAtA)
  6533  	_ = i
  6534  	var l int
  6535  	_ = l
  6536  	if len(m.Txs) > 0 {
  6537  		for iNdEx := len(m.Txs) - 1; iNdEx >= 0; iNdEx-- {
  6538  			i -= len(m.Txs[iNdEx])
  6539  			copy(dAtA[i:], m.Txs[iNdEx])
  6540  			i = encodeVarintTypes(dAtA, i, uint64(len(m.Txs[iNdEx])))
  6541  			i--
  6542  			dAtA[i] = 0xa
  6543  		}
  6544  	}
  6545  	return len(dAtA) - i, nil
  6546  }
  6547  
  6548  func (m *ResponseProcessProposal) Marshal() (dAtA []byte, err error) {
  6549  	size := m.Size()
  6550  	dAtA = make([]byte, size)
  6551  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6552  	if err != nil {
  6553  		return nil, err
  6554  	}
  6555  	return dAtA[:n], nil
  6556  }
  6557  
  6558  func (m *ResponseProcessProposal) MarshalTo(dAtA []byte) (int, error) {
  6559  	size := m.Size()
  6560  	return m.MarshalToSizedBuffer(dAtA[:size])
  6561  }
  6562  
  6563  func (m *ResponseProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6564  	i := len(dAtA)
  6565  	_ = i
  6566  	var l int
  6567  	_ = l
  6568  	if m.Status != 0 {
  6569  		i = encodeVarintTypes(dAtA, i, uint64(m.Status))
  6570  		i--
  6571  		dAtA[i] = 0x8
  6572  	}
  6573  	return len(dAtA) - i, nil
  6574  }
  6575  
  6576  func (m *CommitInfo) Marshal() (dAtA []byte, err error) {
  6577  	size := m.Size()
  6578  	dAtA = make([]byte, size)
  6579  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6580  	if err != nil {
  6581  		return nil, err
  6582  	}
  6583  	return dAtA[:n], nil
  6584  }
  6585  
  6586  func (m *CommitInfo) MarshalTo(dAtA []byte) (int, error) {
  6587  	size := m.Size()
  6588  	return m.MarshalToSizedBuffer(dAtA[:size])
  6589  }
  6590  
  6591  func (m *CommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6592  	i := len(dAtA)
  6593  	_ = i
  6594  	var l int
  6595  	_ = l
  6596  	if len(m.Votes) > 0 {
  6597  		for iNdEx := len(m.Votes) - 1; iNdEx >= 0; iNdEx-- {
  6598  			{
  6599  				size, err := m.Votes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6600  				if err != nil {
  6601  					return 0, err
  6602  				}
  6603  				i -= size
  6604  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6605  			}
  6606  			i--
  6607  			dAtA[i] = 0x12
  6608  		}
  6609  	}
  6610  	if m.Round != 0 {
  6611  		i = encodeVarintTypes(dAtA, i, uint64(m.Round))
  6612  		i--
  6613  		dAtA[i] = 0x8
  6614  	}
  6615  	return len(dAtA) - i, nil
  6616  }
  6617  
  6618  func (m *ExtendedCommitInfo) Marshal() (dAtA []byte, err error) {
  6619  	size := m.Size()
  6620  	dAtA = make([]byte, size)
  6621  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6622  	if err != nil {
  6623  		return nil, err
  6624  	}
  6625  	return dAtA[:n], nil
  6626  }
  6627  
  6628  func (m *ExtendedCommitInfo) MarshalTo(dAtA []byte) (int, error) {
  6629  	size := m.Size()
  6630  	return m.MarshalToSizedBuffer(dAtA[:size])
  6631  }
  6632  
  6633  func (m *ExtendedCommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6634  	i := len(dAtA)
  6635  	_ = i
  6636  	var l int
  6637  	_ = l
  6638  	if len(m.Votes) > 0 {
  6639  		for iNdEx := len(m.Votes) - 1; iNdEx >= 0; iNdEx-- {
  6640  			{
  6641  				size, err := m.Votes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6642  				if err != nil {
  6643  					return 0, err
  6644  				}
  6645  				i -= size
  6646  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6647  			}
  6648  			i--
  6649  			dAtA[i] = 0x12
  6650  		}
  6651  	}
  6652  	if m.Round != 0 {
  6653  		i = encodeVarintTypes(dAtA, i, uint64(m.Round))
  6654  		i--
  6655  		dAtA[i] = 0x8
  6656  	}
  6657  	return len(dAtA) - i, nil
  6658  }
  6659  
  6660  func (m *Event) Marshal() (dAtA []byte, err error) {
  6661  	size := m.Size()
  6662  	dAtA = make([]byte, size)
  6663  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6664  	if err != nil {
  6665  		return nil, err
  6666  	}
  6667  	return dAtA[:n], nil
  6668  }
  6669  
  6670  func (m *Event) MarshalTo(dAtA []byte) (int, error) {
  6671  	size := m.Size()
  6672  	return m.MarshalToSizedBuffer(dAtA[:size])
  6673  }
  6674  
  6675  func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6676  	i := len(dAtA)
  6677  	_ = i
  6678  	var l int
  6679  	_ = l
  6680  	if len(m.Attributes) > 0 {
  6681  		for iNdEx := len(m.Attributes) - 1; iNdEx >= 0; iNdEx-- {
  6682  			{
  6683  				size, err := m.Attributes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6684  				if err != nil {
  6685  					return 0, err
  6686  				}
  6687  				i -= size
  6688  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6689  			}
  6690  			i--
  6691  			dAtA[i] = 0x12
  6692  		}
  6693  	}
  6694  	if len(m.Type) > 0 {
  6695  		i -= len(m.Type)
  6696  		copy(dAtA[i:], m.Type)
  6697  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Type)))
  6698  		i--
  6699  		dAtA[i] = 0xa
  6700  	}
  6701  	return len(dAtA) - i, nil
  6702  }
  6703  
  6704  func (m *EventAttribute) Marshal() (dAtA []byte, err error) {
  6705  	size := m.Size()
  6706  	dAtA = make([]byte, size)
  6707  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6708  	if err != nil {
  6709  		return nil, err
  6710  	}
  6711  	return dAtA[:n], nil
  6712  }
  6713  
  6714  func (m *EventAttribute) MarshalTo(dAtA []byte) (int, error) {
  6715  	size := m.Size()
  6716  	return m.MarshalToSizedBuffer(dAtA[:size])
  6717  }
  6718  
  6719  func (m *EventAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6720  	i := len(dAtA)
  6721  	_ = i
  6722  	var l int
  6723  	_ = l
  6724  	if m.Index {
  6725  		i--
  6726  		if m.Index {
  6727  			dAtA[i] = 1
  6728  		} else {
  6729  			dAtA[i] = 0
  6730  		}
  6731  		i--
  6732  		dAtA[i] = 0x18
  6733  	}
  6734  	if len(m.Value) > 0 {
  6735  		i -= len(m.Value)
  6736  		copy(dAtA[i:], m.Value)
  6737  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Value)))
  6738  		i--
  6739  		dAtA[i] = 0x12
  6740  	}
  6741  	if len(m.Key) > 0 {
  6742  		i -= len(m.Key)
  6743  		copy(dAtA[i:], m.Key)
  6744  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
  6745  		i--
  6746  		dAtA[i] = 0xa
  6747  	}
  6748  	return len(dAtA) - i, nil
  6749  }
  6750  
  6751  func (m *TxResult) Marshal() (dAtA []byte, err error) {
  6752  	size := m.Size()
  6753  	dAtA = make([]byte, size)
  6754  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6755  	if err != nil {
  6756  		return nil, err
  6757  	}
  6758  	return dAtA[:n], nil
  6759  }
  6760  
  6761  func (m *TxResult) MarshalTo(dAtA []byte) (int, error) {
  6762  	size := m.Size()
  6763  	return m.MarshalToSizedBuffer(dAtA[:size])
  6764  }
  6765  
  6766  func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6767  	i := len(dAtA)
  6768  	_ = i
  6769  	var l int
  6770  	_ = l
  6771  	{
  6772  		size, err := m.Result.MarshalToSizedBuffer(dAtA[:i])
  6773  		if err != nil {
  6774  			return 0, err
  6775  		}
  6776  		i -= size
  6777  		i = encodeVarintTypes(dAtA, i, uint64(size))
  6778  	}
  6779  	i--
  6780  	dAtA[i] = 0x22
  6781  	if len(m.Tx) > 0 {
  6782  		i -= len(m.Tx)
  6783  		copy(dAtA[i:], m.Tx)
  6784  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Tx)))
  6785  		i--
  6786  		dAtA[i] = 0x1a
  6787  	}
  6788  	if m.Index != 0 {
  6789  		i = encodeVarintTypes(dAtA, i, uint64(m.Index))
  6790  		i--
  6791  		dAtA[i] = 0x10
  6792  	}
  6793  	if m.Height != 0 {
  6794  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  6795  		i--
  6796  		dAtA[i] = 0x8
  6797  	}
  6798  	return len(dAtA) - i, nil
  6799  }
  6800  
  6801  func (m *Validator) Marshal() (dAtA []byte, err error) {
  6802  	size := m.Size()
  6803  	dAtA = make([]byte, size)
  6804  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6805  	if err != nil {
  6806  		return nil, err
  6807  	}
  6808  	return dAtA[:n], nil
  6809  }
  6810  
  6811  func (m *Validator) MarshalTo(dAtA []byte) (int, error) {
  6812  	size := m.Size()
  6813  	return m.MarshalToSizedBuffer(dAtA[:size])
  6814  }
  6815  
  6816  func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6817  	i := len(dAtA)
  6818  	_ = i
  6819  	var l int
  6820  	_ = l
  6821  	if m.Power != 0 {
  6822  		i = encodeVarintTypes(dAtA, i, uint64(m.Power))
  6823  		i--
  6824  		dAtA[i] = 0x18
  6825  	}
  6826  	if len(m.Address) > 0 {
  6827  		i -= len(m.Address)
  6828  		copy(dAtA[i:], m.Address)
  6829  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Address)))
  6830  		i--
  6831  		dAtA[i] = 0xa
  6832  	}
  6833  	return len(dAtA) - i, nil
  6834  }
  6835  
  6836  func (m *ValidatorUpdate) Marshal() (dAtA []byte, err error) {
  6837  	size := m.Size()
  6838  	dAtA = make([]byte, size)
  6839  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6840  	if err != nil {
  6841  		return nil, err
  6842  	}
  6843  	return dAtA[:n], nil
  6844  }
  6845  
  6846  func (m *ValidatorUpdate) MarshalTo(dAtA []byte) (int, error) {
  6847  	size := m.Size()
  6848  	return m.MarshalToSizedBuffer(dAtA[:size])
  6849  }
  6850  
  6851  func (m *ValidatorUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6852  	i := len(dAtA)
  6853  	_ = i
  6854  	var l int
  6855  	_ = l
  6856  	if m.Power != 0 {
  6857  		i = encodeVarintTypes(dAtA, i, uint64(m.Power))
  6858  		i--
  6859  		dAtA[i] = 0x10
  6860  	}
  6861  	{
  6862  		size, err := m.PubKey.MarshalToSizedBuffer(dAtA[:i])
  6863  		if err != nil {
  6864  			return 0, err
  6865  		}
  6866  		i -= size
  6867  		i = encodeVarintTypes(dAtA, i, uint64(size))
  6868  	}
  6869  	i--
  6870  	dAtA[i] = 0xa
  6871  	return len(dAtA) - i, nil
  6872  }
  6873  
  6874  func (m *VoteInfo) Marshal() (dAtA []byte, err error) {
  6875  	size := m.Size()
  6876  	dAtA = make([]byte, size)
  6877  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6878  	if err != nil {
  6879  		return nil, err
  6880  	}
  6881  	return dAtA[:n], nil
  6882  }
  6883  
  6884  func (m *VoteInfo) MarshalTo(dAtA []byte) (int, error) {
  6885  	size := m.Size()
  6886  	return m.MarshalToSizedBuffer(dAtA[:size])
  6887  }
  6888  
  6889  func (m *VoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6890  	i := len(dAtA)
  6891  	_ = i
  6892  	var l int
  6893  	_ = l
  6894  	if m.SignedLastBlock {
  6895  		i--
  6896  		if m.SignedLastBlock {
  6897  			dAtA[i] = 1
  6898  		} else {
  6899  			dAtA[i] = 0
  6900  		}
  6901  		i--
  6902  		dAtA[i] = 0x10
  6903  	}
  6904  	{
  6905  		size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i])
  6906  		if err != nil {
  6907  			return 0, err
  6908  		}
  6909  		i -= size
  6910  		i = encodeVarintTypes(dAtA, i, uint64(size))
  6911  	}
  6912  	i--
  6913  	dAtA[i] = 0xa
  6914  	return len(dAtA) - i, nil
  6915  }
  6916  
  6917  func (m *ExtendedVoteInfo) Marshal() (dAtA []byte, err error) {
  6918  	size := m.Size()
  6919  	dAtA = make([]byte, size)
  6920  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6921  	if err != nil {
  6922  		return nil, err
  6923  	}
  6924  	return dAtA[:n], nil
  6925  }
  6926  
  6927  func (m *ExtendedVoteInfo) MarshalTo(dAtA []byte) (int, error) {
  6928  	size := m.Size()
  6929  	return m.MarshalToSizedBuffer(dAtA[:size])
  6930  }
  6931  
  6932  func (m *ExtendedVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6933  	i := len(dAtA)
  6934  	_ = i
  6935  	var l int
  6936  	_ = l
  6937  	if len(m.VoteExtension) > 0 {
  6938  		i -= len(m.VoteExtension)
  6939  		copy(dAtA[i:], m.VoteExtension)
  6940  		i = encodeVarintTypes(dAtA, i, uint64(len(m.VoteExtension)))
  6941  		i--
  6942  		dAtA[i] = 0x1a
  6943  	}
  6944  	if m.SignedLastBlock {
  6945  		i--
  6946  		if m.SignedLastBlock {
  6947  			dAtA[i] = 1
  6948  		} else {
  6949  			dAtA[i] = 0
  6950  		}
  6951  		i--
  6952  		dAtA[i] = 0x10
  6953  	}
  6954  	{
  6955  		size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i])
  6956  		if err != nil {
  6957  			return 0, err
  6958  		}
  6959  		i -= size
  6960  		i = encodeVarintTypes(dAtA, i, uint64(size))
  6961  	}
  6962  	i--
  6963  	dAtA[i] = 0xa
  6964  	return len(dAtA) - i, nil
  6965  }
  6966  
  6967  func (m *Misbehavior) Marshal() (dAtA []byte, err error) {
  6968  	size := m.Size()
  6969  	dAtA = make([]byte, size)
  6970  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6971  	if err != nil {
  6972  		return nil, err
  6973  	}
  6974  	return dAtA[:n], nil
  6975  }
  6976  
  6977  func (m *Misbehavior) MarshalTo(dAtA []byte) (int, error) {
  6978  	size := m.Size()
  6979  	return m.MarshalToSizedBuffer(dAtA[:size])
  6980  }
  6981  
  6982  func (m *Misbehavior) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6983  	i := len(dAtA)
  6984  	_ = i
  6985  	var l int
  6986  	_ = l
  6987  	if m.TotalVotingPower != 0 {
  6988  		i = encodeVarintTypes(dAtA, i, uint64(m.TotalVotingPower))
  6989  		i--
  6990  		dAtA[i] = 0x28
  6991  	}
  6992  	n52, err52 := github_com_cosmos_gogoproto_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time):])
  6993  	if err52 != nil {
  6994  		return 0, err52
  6995  	}
  6996  	i -= n52
  6997  	i = encodeVarintTypes(dAtA, i, uint64(n52))
  6998  	i--
  6999  	dAtA[i] = 0x22
  7000  	if m.Height != 0 {
  7001  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  7002  		i--
  7003  		dAtA[i] = 0x18
  7004  	}
  7005  	{
  7006  		size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i])
  7007  		if err != nil {
  7008  			return 0, err
  7009  		}
  7010  		i -= size
  7011  		i = encodeVarintTypes(dAtA, i, uint64(size))
  7012  	}
  7013  	i--
  7014  	dAtA[i] = 0x12
  7015  	if m.Type != 0 {
  7016  		i = encodeVarintTypes(dAtA, i, uint64(m.Type))
  7017  		i--
  7018  		dAtA[i] = 0x8
  7019  	}
  7020  	return len(dAtA) - i, nil
  7021  }
  7022  
  7023  func (m *Snapshot) Marshal() (dAtA []byte, err error) {
  7024  	size := m.Size()
  7025  	dAtA = make([]byte, size)
  7026  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7027  	if err != nil {
  7028  		return nil, err
  7029  	}
  7030  	return dAtA[:n], nil
  7031  }
  7032  
  7033  func (m *Snapshot) MarshalTo(dAtA []byte) (int, error) {
  7034  	size := m.Size()
  7035  	return m.MarshalToSizedBuffer(dAtA[:size])
  7036  }
  7037  
  7038  func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7039  	i := len(dAtA)
  7040  	_ = i
  7041  	var l int
  7042  	_ = l
  7043  	if len(m.Metadata) > 0 {
  7044  		i -= len(m.Metadata)
  7045  		copy(dAtA[i:], m.Metadata)
  7046  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Metadata)))
  7047  		i--
  7048  		dAtA[i] = 0x2a
  7049  	}
  7050  	if len(m.Hash) > 0 {
  7051  		i -= len(m.Hash)
  7052  		copy(dAtA[i:], m.Hash)
  7053  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  7054  		i--
  7055  		dAtA[i] = 0x22
  7056  	}
  7057  	if m.Chunks != 0 {
  7058  		i = encodeVarintTypes(dAtA, i, uint64(m.Chunks))
  7059  		i--
  7060  		dAtA[i] = 0x18
  7061  	}
  7062  	if m.Format != 0 {
  7063  		i = encodeVarintTypes(dAtA, i, uint64(m.Format))
  7064  		i--
  7065  		dAtA[i] = 0x10
  7066  	}
  7067  	if m.Height != 0 {
  7068  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  7069  		i--
  7070  		dAtA[i] = 0x8
  7071  	}
  7072  	return len(dAtA) - i, nil
  7073  }
  7074  
  7075  func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
  7076  	offset -= sovTypes(v)
  7077  	base := offset
  7078  	for v >= 1<<7 {
  7079  		dAtA[offset] = uint8(v&0x7f | 0x80)
  7080  		v >>= 7
  7081  		offset++
  7082  	}
  7083  	dAtA[offset] = uint8(v)
  7084  	return base
  7085  }
  7086  func (m *Request) Size() (n int) {
  7087  	if m == nil {
  7088  		return 0
  7089  	}
  7090  	var l int
  7091  	_ = l
  7092  	if m.Value != nil {
  7093  		n += m.Value.Size()
  7094  	}
  7095  	return n
  7096  }
  7097  
  7098  func (m *Request_Echo) Size() (n int) {
  7099  	if m == nil {
  7100  		return 0
  7101  	}
  7102  	var l int
  7103  	_ = l
  7104  	if m.Echo != nil {
  7105  		l = m.Echo.Size()
  7106  		n += 1 + l + sovTypes(uint64(l))
  7107  	}
  7108  	return n
  7109  }
  7110  func (m *Request_Flush) Size() (n int) {
  7111  	if m == nil {
  7112  		return 0
  7113  	}
  7114  	var l int
  7115  	_ = l
  7116  	if m.Flush != nil {
  7117  		l = m.Flush.Size()
  7118  		n += 1 + l + sovTypes(uint64(l))
  7119  	}
  7120  	return n
  7121  }
  7122  func (m *Request_Info) Size() (n int) {
  7123  	if m == nil {
  7124  		return 0
  7125  	}
  7126  	var l int
  7127  	_ = l
  7128  	if m.Info != nil {
  7129  		l = m.Info.Size()
  7130  		n += 1 + l + sovTypes(uint64(l))
  7131  	}
  7132  	return n
  7133  }
  7134  func (m *Request_InitChain) Size() (n int) {
  7135  	if m == nil {
  7136  		return 0
  7137  	}
  7138  	var l int
  7139  	_ = l
  7140  	if m.InitChain != nil {
  7141  		l = m.InitChain.Size()
  7142  		n += 1 + l + sovTypes(uint64(l))
  7143  	}
  7144  	return n
  7145  }
  7146  func (m *Request_Query) Size() (n int) {
  7147  	if m == nil {
  7148  		return 0
  7149  	}
  7150  	var l int
  7151  	_ = l
  7152  	if m.Query != nil {
  7153  		l = m.Query.Size()
  7154  		n += 1 + l + sovTypes(uint64(l))
  7155  	}
  7156  	return n
  7157  }
  7158  func (m *Request_BeginBlock) Size() (n int) {
  7159  	if m == nil {
  7160  		return 0
  7161  	}
  7162  	var l int
  7163  	_ = l
  7164  	if m.BeginBlock != nil {
  7165  		l = m.BeginBlock.Size()
  7166  		n += 1 + l + sovTypes(uint64(l))
  7167  	}
  7168  	return n
  7169  }
  7170  func (m *Request_CheckTx) Size() (n int) {
  7171  	if m == nil {
  7172  		return 0
  7173  	}
  7174  	var l int
  7175  	_ = l
  7176  	if m.CheckTx != nil {
  7177  		l = m.CheckTx.Size()
  7178  		n += 1 + l + sovTypes(uint64(l))
  7179  	}
  7180  	return n
  7181  }
  7182  func (m *Request_DeliverTx) Size() (n int) {
  7183  	if m == nil {
  7184  		return 0
  7185  	}
  7186  	var l int
  7187  	_ = l
  7188  	if m.DeliverTx != nil {
  7189  		l = m.DeliverTx.Size()
  7190  		n += 1 + l + sovTypes(uint64(l))
  7191  	}
  7192  	return n
  7193  }
  7194  func (m *Request_EndBlock) Size() (n int) {
  7195  	if m == nil {
  7196  		return 0
  7197  	}
  7198  	var l int
  7199  	_ = l
  7200  	if m.EndBlock != nil {
  7201  		l = m.EndBlock.Size()
  7202  		n += 1 + l + sovTypes(uint64(l))
  7203  	}
  7204  	return n
  7205  }
  7206  func (m *Request_Commit) Size() (n int) {
  7207  	if m == nil {
  7208  		return 0
  7209  	}
  7210  	var l int
  7211  	_ = l
  7212  	if m.Commit != nil {
  7213  		l = m.Commit.Size()
  7214  		n += 1 + l + sovTypes(uint64(l))
  7215  	}
  7216  	return n
  7217  }
  7218  func (m *Request_ListSnapshots) Size() (n int) {
  7219  	if m == nil {
  7220  		return 0
  7221  	}
  7222  	var l int
  7223  	_ = l
  7224  	if m.ListSnapshots != nil {
  7225  		l = m.ListSnapshots.Size()
  7226  		n += 1 + l + sovTypes(uint64(l))
  7227  	}
  7228  	return n
  7229  }
  7230  func (m *Request_OfferSnapshot) Size() (n int) {
  7231  	if m == nil {
  7232  		return 0
  7233  	}
  7234  	var l int
  7235  	_ = l
  7236  	if m.OfferSnapshot != nil {
  7237  		l = m.OfferSnapshot.Size()
  7238  		n += 1 + l + sovTypes(uint64(l))
  7239  	}
  7240  	return n
  7241  }
  7242  func (m *Request_LoadSnapshotChunk) Size() (n int) {
  7243  	if m == nil {
  7244  		return 0
  7245  	}
  7246  	var l int
  7247  	_ = l
  7248  	if m.LoadSnapshotChunk != nil {
  7249  		l = m.LoadSnapshotChunk.Size()
  7250  		n += 1 + l + sovTypes(uint64(l))
  7251  	}
  7252  	return n
  7253  }
  7254  func (m *Request_ApplySnapshotChunk) Size() (n int) {
  7255  	if m == nil {
  7256  		return 0
  7257  	}
  7258  	var l int
  7259  	_ = l
  7260  	if m.ApplySnapshotChunk != nil {
  7261  		l = m.ApplySnapshotChunk.Size()
  7262  		n += 1 + l + sovTypes(uint64(l))
  7263  	}
  7264  	return n
  7265  }
  7266  func (m *Request_PrepareProposal) Size() (n int) {
  7267  	if m == nil {
  7268  		return 0
  7269  	}
  7270  	var l int
  7271  	_ = l
  7272  	if m.PrepareProposal != nil {
  7273  		l = m.PrepareProposal.Size()
  7274  		n += 2 + l + sovTypes(uint64(l))
  7275  	}
  7276  	return n
  7277  }
  7278  func (m *Request_ProcessProposal) Size() (n int) {
  7279  	if m == nil {
  7280  		return 0
  7281  	}
  7282  	var l int
  7283  	_ = l
  7284  	if m.ProcessProposal != nil {
  7285  		l = m.ProcessProposal.Size()
  7286  		n += 2 + l + sovTypes(uint64(l))
  7287  	}
  7288  	return n
  7289  }
  7290  func (m *RequestEcho) Size() (n int) {
  7291  	if m == nil {
  7292  		return 0
  7293  	}
  7294  	var l int
  7295  	_ = l
  7296  	l = len(m.Message)
  7297  	if l > 0 {
  7298  		n += 1 + l + sovTypes(uint64(l))
  7299  	}
  7300  	return n
  7301  }
  7302  
  7303  func (m *RequestFlush) Size() (n int) {
  7304  	if m == nil {
  7305  		return 0
  7306  	}
  7307  	var l int
  7308  	_ = l
  7309  	return n
  7310  }
  7311  
  7312  func (m *RequestInfo) Size() (n int) {
  7313  	if m == nil {
  7314  		return 0
  7315  	}
  7316  	var l int
  7317  	_ = l
  7318  	l = len(m.Version)
  7319  	if l > 0 {
  7320  		n += 1 + l + sovTypes(uint64(l))
  7321  	}
  7322  	if m.BlockVersion != 0 {
  7323  		n += 1 + sovTypes(uint64(m.BlockVersion))
  7324  	}
  7325  	if m.P2PVersion != 0 {
  7326  		n += 1 + sovTypes(uint64(m.P2PVersion))
  7327  	}
  7328  	l = len(m.AbciVersion)
  7329  	if l > 0 {
  7330  		n += 1 + l + sovTypes(uint64(l))
  7331  	}
  7332  	return n
  7333  }
  7334  
  7335  func (m *RequestInitChain) Size() (n int) {
  7336  	if m == nil {
  7337  		return 0
  7338  	}
  7339  	var l int
  7340  	_ = l
  7341  	l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time)
  7342  	n += 1 + l + sovTypes(uint64(l))
  7343  	l = len(m.ChainId)
  7344  	if l > 0 {
  7345  		n += 1 + l + sovTypes(uint64(l))
  7346  	}
  7347  	if m.ConsensusParams != nil {
  7348  		l = m.ConsensusParams.Size()
  7349  		n += 1 + l + sovTypes(uint64(l))
  7350  	}
  7351  	if len(m.Validators) > 0 {
  7352  		for _, e := range m.Validators {
  7353  			l = e.Size()
  7354  			n += 1 + l + sovTypes(uint64(l))
  7355  		}
  7356  	}
  7357  	l = len(m.AppStateBytes)
  7358  	if l > 0 {
  7359  		n += 1 + l + sovTypes(uint64(l))
  7360  	}
  7361  	if m.InitialHeight != 0 {
  7362  		n += 1 + sovTypes(uint64(m.InitialHeight))
  7363  	}
  7364  	return n
  7365  }
  7366  
  7367  func (m *RequestQuery) Size() (n int) {
  7368  	if m == nil {
  7369  		return 0
  7370  	}
  7371  	var l int
  7372  	_ = l
  7373  	l = len(m.Data)
  7374  	if l > 0 {
  7375  		n += 1 + l + sovTypes(uint64(l))
  7376  	}
  7377  	l = len(m.Path)
  7378  	if l > 0 {
  7379  		n += 1 + l + sovTypes(uint64(l))
  7380  	}
  7381  	if m.Height != 0 {
  7382  		n += 1 + sovTypes(uint64(m.Height))
  7383  	}
  7384  	if m.Prove {
  7385  		n += 2
  7386  	}
  7387  	return n
  7388  }
  7389  
  7390  func (m *RequestBeginBlock) Size() (n int) {
  7391  	if m == nil {
  7392  		return 0
  7393  	}
  7394  	var l int
  7395  	_ = l
  7396  	l = len(m.Hash)
  7397  	if l > 0 {
  7398  		n += 1 + l + sovTypes(uint64(l))
  7399  	}
  7400  	l = m.Header.Size()
  7401  	n += 1 + l + sovTypes(uint64(l))
  7402  	l = m.LastCommitInfo.Size()
  7403  	n += 1 + l + sovTypes(uint64(l))
  7404  	if len(m.ByzantineValidators) > 0 {
  7405  		for _, e := range m.ByzantineValidators {
  7406  			l = e.Size()
  7407  			n += 1 + l + sovTypes(uint64(l))
  7408  		}
  7409  	}
  7410  	return n
  7411  }
  7412  
  7413  func (m *RequestCheckTx) Size() (n int) {
  7414  	if m == nil {
  7415  		return 0
  7416  	}
  7417  	var l int
  7418  	_ = l
  7419  	l = len(m.Tx)
  7420  	if l > 0 {
  7421  		n += 1 + l + sovTypes(uint64(l))
  7422  	}
  7423  	if m.Type != 0 {
  7424  		n += 1 + sovTypes(uint64(m.Type))
  7425  	}
  7426  	return n
  7427  }
  7428  
  7429  func (m *RequestDeliverTx) Size() (n int) {
  7430  	if m == nil {
  7431  		return 0
  7432  	}
  7433  	var l int
  7434  	_ = l
  7435  	l = len(m.Tx)
  7436  	if l > 0 {
  7437  		n += 1 + l + sovTypes(uint64(l))
  7438  	}
  7439  	return n
  7440  }
  7441  
  7442  func (m *RequestEndBlock) Size() (n int) {
  7443  	if m == nil {
  7444  		return 0
  7445  	}
  7446  	var l int
  7447  	_ = l
  7448  	if m.Height != 0 {
  7449  		n += 1 + sovTypes(uint64(m.Height))
  7450  	}
  7451  	return n
  7452  }
  7453  
  7454  func (m *RequestCommit) Size() (n int) {
  7455  	if m == nil {
  7456  		return 0
  7457  	}
  7458  	var l int
  7459  	_ = l
  7460  	return n
  7461  }
  7462  
  7463  func (m *RequestListSnapshots) Size() (n int) {
  7464  	if m == nil {
  7465  		return 0
  7466  	}
  7467  	var l int
  7468  	_ = l
  7469  	return n
  7470  }
  7471  
  7472  func (m *RequestOfferSnapshot) Size() (n int) {
  7473  	if m == nil {
  7474  		return 0
  7475  	}
  7476  	var l int
  7477  	_ = l
  7478  	if m.Snapshot != nil {
  7479  		l = m.Snapshot.Size()
  7480  		n += 1 + l + sovTypes(uint64(l))
  7481  	}
  7482  	l = len(m.AppHash)
  7483  	if l > 0 {
  7484  		n += 1 + l + sovTypes(uint64(l))
  7485  	}
  7486  	return n
  7487  }
  7488  
  7489  func (m *RequestLoadSnapshotChunk) Size() (n int) {
  7490  	if m == nil {
  7491  		return 0
  7492  	}
  7493  	var l int
  7494  	_ = l
  7495  	if m.Height != 0 {
  7496  		n += 1 + sovTypes(uint64(m.Height))
  7497  	}
  7498  	if m.Format != 0 {
  7499  		n += 1 + sovTypes(uint64(m.Format))
  7500  	}
  7501  	if m.Chunk != 0 {
  7502  		n += 1 + sovTypes(uint64(m.Chunk))
  7503  	}
  7504  	return n
  7505  }
  7506  
  7507  func (m *RequestApplySnapshotChunk) Size() (n int) {
  7508  	if m == nil {
  7509  		return 0
  7510  	}
  7511  	var l int
  7512  	_ = l
  7513  	if m.Index != 0 {
  7514  		n += 1 + sovTypes(uint64(m.Index))
  7515  	}
  7516  	l = len(m.Chunk)
  7517  	if l > 0 {
  7518  		n += 1 + l + sovTypes(uint64(l))
  7519  	}
  7520  	l = len(m.Sender)
  7521  	if l > 0 {
  7522  		n += 1 + l + sovTypes(uint64(l))
  7523  	}
  7524  	return n
  7525  }
  7526  
  7527  func (m *RequestPrepareProposal) Size() (n int) {
  7528  	if m == nil {
  7529  		return 0
  7530  	}
  7531  	var l int
  7532  	_ = l
  7533  	if m.MaxTxBytes != 0 {
  7534  		n += 1 + sovTypes(uint64(m.MaxTxBytes))
  7535  	}
  7536  	if len(m.Txs) > 0 {
  7537  		for _, b := range m.Txs {
  7538  			l = len(b)
  7539  			n += 1 + l + sovTypes(uint64(l))
  7540  		}
  7541  	}
  7542  	l = m.LocalLastCommit.Size()
  7543  	n += 1 + l + sovTypes(uint64(l))
  7544  	if len(m.Misbehavior) > 0 {
  7545  		for _, e := range m.Misbehavior {
  7546  			l = e.Size()
  7547  			n += 1 + l + sovTypes(uint64(l))
  7548  		}
  7549  	}
  7550  	if m.Height != 0 {
  7551  		n += 1 + sovTypes(uint64(m.Height))
  7552  	}
  7553  	l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time)
  7554  	n += 1 + l + sovTypes(uint64(l))
  7555  	l = len(m.NextValidatorsHash)
  7556  	if l > 0 {
  7557  		n += 1 + l + sovTypes(uint64(l))
  7558  	}
  7559  	l = len(m.ProposerAddress)
  7560  	if l > 0 {
  7561  		n += 1 + l + sovTypes(uint64(l))
  7562  	}
  7563  	return n
  7564  }
  7565  
  7566  func (m *RequestProcessProposal) Size() (n int) {
  7567  	if m == nil {
  7568  		return 0
  7569  	}
  7570  	var l int
  7571  	_ = l
  7572  	if len(m.Txs) > 0 {
  7573  		for _, b := range m.Txs {
  7574  			l = len(b)
  7575  			n += 1 + l + sovTypes(uint64(l))
  7576  		}
  7577  	}
  7578  	l = m.ProposedLastCommit.Size()
  7579  	n += 1 + l + sovTypes(uint64(l))
  7580  	if len(m.Misbehavior) > 0 {
  7581  		for _, e := range m.Misbehavior {
  7582  			l = e.Size()
  7583  			n += 1 + l + sovTypes(uint64(l))
  7584  		}
  7585  	}
  7586  	l = len(m.Hash)
  7587  	if l > 0 {
  7588  		n += 1 + l + sovTypes(uint64(l))
  7589  	}
  7590  	if m.Height != 0 {
  7591  		n += 1 + sovTypes(uint64(m.Height))
  7592  	}
  7593  	l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time)
  7594  	n += 1 + l + sovTypes(uint64(l))
  7595  	l = len(m.NextValidatorsHash)
  7596  	if l > 0 {
  7597  		n += 1 + l + sovTypes(uint64(l))
  7598  	}
  7599  	l = len(m.ProposerAddress)
  7600  	if l > 0 {
  7601  		n += 1 + l + sovTypes(uint64(l))
  7602  	}
  7603  	return n
  7604  }
  7605  
  7606  func (m *Response) Size() (n int) {
  7607  	if m == nil {
  7608  		return 0
  7609  	}
  7610  	var l int
  7611  	_ = l
  7612  	if m.Value != nil {
  7613  		n += m.Value.Size()
  7614  	}
  7615  	return n
  7616  }
  7617  
  7618  func (m *Response_Exception) Size() (n int) {
  7619  	if m == nil {
  7620  		return 0
  7621  	}
  7622  	var l int
  7623  	_ = l
  7624  	if m.Exception != nil {
  7625  		l = m.Exception.Size()
  7626  		n += 1 + l + sovTypes(uint64(l))
  7627  	}
  7628  	return n
  7629  }
  7630  func (m *Response_Echo) Size() (n int) {
  7631  	if m == nil {
  7632  		return 0
  7633  	}
  7634  	var l int
  7635  	_ = l
  7636  	if m.Echo != nil {
  7637  		l = m.Echo.Size()
  7638  		n += 1 + l + sovTypes(uint64(l))
  7639  	}
  7640  	return n
  7641  }
  7642  func (m *Response_Flush) Size() (n int) {
  7643  	if m == nil {
  7644  		return 0
  7645  	}
  7646  	var l int
  7647  	_ = l
  7648  	if m.Flush != nil {
  7649  		l = m.Flush.Size()
  7650  		n += 1 + l + sovTypes(uint64(l))
  7651  	}
  7652  	return n
  7653  }
  7654  func (m *Response_Info) Size() (n int) {
  7655  	if m == nil {
  7656  		return 0
  7657  	}
  7658  	var l int
  7659  	_ = l
  7660  	if m.Info != nil {
  7661  		l = m.Info.Size()
  7662  		n += 1 + l + sovTypes(uint64(l))
  7663  	}
  7664  	return n
  7665  }
  7666  func (m *Response_InitChain) Size() (n int) {
  7667  	if m == nil {
  7668  		return 0
  7669  	}
  7670  	var l int
  7671  	_ = l
  7672  	if m.InitChain != nil {
  7673  		l = m.InitChain.Size()
  7674  		n += 1 + l + sovTypes(uint64(l))
  7675  	}
  7676  	return n
  7677  }
  7678  func (m *Response_Query) Size() (n int) {
  7679  	if m == nil {
  7680  		return 0
  7681  	}
  7682  	var l int
  7683  	_ = l
  7684  	if m.Query != nil {
  7685  		l = m.Query.Size()
  7686  		n += 1 + l + sovTypes(uint64(l))
  7687  	}
  7688  	return n
  7689  }
  7690  func (m *Response_BeginBlock) Size() (n int) {
  7691  	if m == nil {
  7692  		return 0
  7693  	}
  7694  	var l int
  7695  	_ = l
  7696  	if m.BeginBlock != nil {
  7697  		l = m.BeginBlock.Size()
  7698  		n += 1 + l + sovTypes(uint64(l))
  7699  	}
  7700  	return n
  7701  }
  7702  func (m *Response_CheckTx) Size() (n int) {
  7703  	if m == nil {
  7704  		return 0
  7705  	}
  7706  	var l int
  7707  	_ = l
  7708  	if m.CheckTx != nil {
  7709  		l = m.CheckTx.Size()
  7710  		n += 1 + l + sovTypes(uint64(l))
  7711  	}
  7712  	return n
  7713  }
  7714  func (m *Response_DeliverTx) Size() (n int) {
  7715  	if m == nil {
  7716  		return 0
  7717  	}
  7718  	var l int
  7719  	_ = l
  7720  	if m.DeliverTx != nil {
  7721  		l = m.DeliverTx.Size()
  7722  		n += 1 + l + sovTypes(uint64(l))
  7723  	}
  7724  	return n
  7725  }
  7726  func (m *Response_EndBlock) Size() (n int) {
  7727  	if m == nil {
  7728  		return 0
  7729  	}
  7730  	var l int
  7731  	_ = l
  7732  	if m.EndBlock != nil {
  7733  		l = m.EndBlock.Size()
  7734  		n += 1 + l + sovTypes(uint64(l))
  7735  	}
  7736  	return n
  7737  }
  7738  func (m *Response_Commit) Size() (n int) {
  7739  	if m == nil {
  7740  		return 0
  7741  	}
  7742  	var l int
  7743  	_ = l
  7744  	if m.Commit != nil {
  7745  		l = m.Commit.Size()
  7746  		n += 1 + l + sovTypes(uint64(l))
  7747  	}
  7748  	return n
  7749  }
  7750  func (m *Response_ListSnapshots) Size() (n int) {
  7751  	if m == nil {
  7752  		return 0
  7753  	}
  7754  	var l int
  7755  	_ = l
  7756  	if m.ListSnapshots != nil {
  7757  		l = m.ListSnapshots.Size()
  7758  		n += 1 + l + sovTypes(uint64(l))
  7759  	}
  7760  	return n
  7761  }
  7762  func (m *Response_OfferSnapshot) Size() (n int) {
  7763  	if m == nil {
  7764  		return 0
  7765  	}
  7766  	var l int
  7767  	_ = l
  7768  	if m.OfferSnapshot != nil {
  7769  		l = m.OfferSnapshot.Size()
  7770  		n += 1 + l + sovTypes(uint64(l))
  7771  	}
  7772  	return n
  7773  }
  7774  func (m *Response_LoadSnapshotChunk) Size() (n int) {
  7775  	if m == nil {
  7776  		return 0
  7777  	}
  7778  	var l int
  7779  	_ = l
  7780  	if m.LoadSnapshotChunk != nil {
  7781  		l = m.LoadSnapshotChunk.Size()
  7782  		n += 1 + l + sovTypes(uint64(l))
  7783  	}
  7784  	return n
  7785  }
  7786  func (m *Response_ApplySnapshotChunk) Size() (n int) {
  7787  	if m == nil {
  7788  		return 0
  7789  	}
  7790  	var l int
  7791  	_ = l
  7792  	if m.ApplySnapshotChunk != nil {
  7793  		l = m.ApplySnapshotChunk.Size()
  7794  		n += 2 + l + sovTypes(uint64(l))
  7795  	}
  7796  	return n
  7797  }
  7798  func (m *Response_PrepareProposal) Size() (n int) {
  7799  	if m == nil {
  7800  		return 0
  7801  	}
  7802  	var l int
  7803  	_ = l
  7804  	if m.PrepareProposal != nil {
  7805  		l = m.PrepareProposal.Size()
  7806  		n += 2 + l + sovTypes(uint64(l))
  7807  	}
  7808  	return n
  7809  }
  7810  func (m *Response_ProcessProposal) Size() (n int) {
  7811  	if m == nil {
  7812  		return 0
  7813  	}
  7814  	var l int
  7815  	_ = l
  7816  	if m.ProcessProposal != nil {
  7817  		l = m.ProcessProposal.Size()
  7818  		n += 2 + l + sovTypes(uint64(l))
  7819  	}
  7820  	return n
  7821  }
  7822  func (m *ResponseException) Size() (n int) {
  7823  	if m == nil {
  7824  		return 0
  7825  	}
  7826  	var l int
  7827  	_ = l
  7828  	l = len(m.Error)
  7829  	if l > 0 {
  7830  		n += 1 + l + sovTypes(uint64(l))
  7831  	}
  7832  	return n
  7833  }
  7834  
  7835  func (m *ResponseEcho) Size() (n int) {
  7836  	if m == nil {
  7837  		return 0
  7838  	}
  7839  	var l int
  7840  	_ = l
  7841  	l = len(m.Message)
  7842  	if l > 0 {
  7843  		n += 1 + l + sovTypes(uint64(l))
  7844  	}
  7845  	return n
  7846  }
  7847  
  7848  func (m *ResponseFlush) Size() (n int) {
  7849  	if m == nil {
  7850  		return 0
  7851  	}
  7852  	var l int
  7853  	_ = l
  7854  	return n
  7855  }
  7856  
  7857  func (m *ResponseInfo) Size() (n int) {
  7858  	if m == nil {
  7859  		return 0
  7860  	}
  7861  	var l int
  7862  	_ = l
  7863  	l = len(m.Data)
  7864  	if l > 0 {
  7865  		n += 1 + l + sovTypes(uint64(l))
  7866  	}
  7867  	l = len(m.Version)
  7868  	if l > 0 {
  7869  		n += 1 + l + sovTypes(uint64(l))
  7870  	}
  7871  	if m.AppVersion != 0 {
  7872  		n += 1 + sovTypes(uint64(m.AppVersion))
  7873  	}
  7874  	if m.LastBlockHeight != 0 {
  7875  		n += 1 + sovTypes(uint64(m.LastBlockHeight))
  7876  	}
  7877  	l = len(m.LastBlockAppHash)
  7878  	if l > 0 {
  7879  		n += 1 + l + sovTypes(uint64(l))
  7880  	}
  7881  	return n
  7882  }
  7883  
  7884  func (m *ResponseInitChain) Size() (n int) {
  7885  	if m == nil {
  7886  		return 0
  7887  	}
  7888  	var l int
  7889  	_ = l
  7890  	if m.ConsensusParams != nil {
  7891  		l = m.ConsensusParams.Size()
  7892  		n += 1 + l + sovTypes(uint64(l))
  7893  	}
  7894  	if len(m.Validators) > 0 {
  7895  		for _, e := range m.Validators {
  7896  			l = e.Size()
  7897  			n += 1 + l + sovTypes(uint64(l))
  7898  		}
  7899  	}
  7900  	l = len(m.AppHash)
  7901  	if l > 0 {
  7902  		n += 1 + l + sovTypes(uint64(l))
  7903  	}
  7904  	return n
  7905  }
  7906  
  7907  func (m *ResponseQuery) Size() (n int) {
  7908  	if m == nil {
  7909  		return 0
  7910  	}
  7911  	var l int
  7912  	_ = l
  7913  	if m.Code != 0 {
  7914  		n += 1 + sovTypes(uint64(m.Code))
  7915  	}
  7916  	l = len(m.Log)
  7917  	if l > 0 {
  7918  		n += 1 + l + sovTypes(uint64(l))
  7919  	}
  7920  	l = len(m.Info)
  7921  	if l > 0 {
  7922  		n += 1 + l + sovTypes(uint64(l))
  7923  	}
  7924  	if m.Index != 0 {
  7925  		n += 1 + sovTypes(uint64(m.Index))
  7926  	}
  7927  	l = len(m.Key)
  7928  	if l > 0 {
  7929  		n += 1 + l + sovTypes(uint64(l))
  7930  	}
  7931  	l = len(m.Value)
  7932  	if l > 0 {
  7933  		n += 1 + l + sovTypes(uint64(l))
  7934  	}
  7935  	if m.ProofOps != nil {
  7936  		l = m.ProofOps.Size()
  7937  		n += 1 + l + sovTypes(uint64(l))
  7938  	}
  7939  	if m.Height != 0 {
  7940  		n += 1 + sovTypes(uint64(m.Height))
  7941  	}
  7942  	l = len(m.Codespace)
  7943  	if l > 0 {
  7944  		n += 1 + l + sovTypes(uint64(l))
  7945  	}
  7946  	return n
  7947  }
  7948  
  7949  func (m *ResponseBeginBlock) Size() (n int) {
  7950  	if m == nil {
  7951  		return 0
  7952  	}
  7953  	var l int
  7954  	_ = l
  7955  	if len(m.Events) > 0 {
  7956  		for _, e := range m.Events {
  7957  			l = e.Size()
  7958  			n += 1 + l + sovTypes(uint64(l))
  7959  		}
  7960  	}
  7961  	return n
  7962  }
  7963  
  7964  func (m *ResponseCheckTx) Size() (n int) {
  7965  	if m == nil {
  7966  		return 0
  7967  	}
  7968  	var l int
  7969  	_ = l
  7970  	if m.Code != 0 {
  7971  		n += 1 + sovTypes(uint64(m.Code))
  7972  	}
  7973  	l = len(m.Data)
  7974  	if l > 0 {
  7975  		n += 1 + l + sovTypes(uint64(l))
  7976  	}
  7977  	l = len(m.Log)
  7978  	if l > 0 {
  7979  		n += 1 + l + sovTypes(uint64(l))
  7980  	}
  7981  	l = len(m.Info)
  7982  	if l > 0 {
  7983  		n += 1 + l + sovTypes(uint64(l))
  7984  	}
  7985  	if m.GasWanted != 0 {
  7986  		n += 1 + sovTypes(uint64(m.GasWanted))
  7987  	}
  7988  	if m.GasUsed != 0 {
  7989  		n += 1 + sovTypes(uint64(m.GasUsed))
  7990  	}
  7991  	if len(m.Events) > 0 {
  7992  		for _, e := range m.Events {
  7993  			l = e.Size()
  7994  			n += 1 + l + sovTypes(uint64(l))
  7995  		}
  7996  	}
  7997  	l = len(m.Codespace)
  7998  	if l > 0 {
  7999  		n += 1 + l + sovTypes(uint64(l))
  8000  	}
  8001  	l = len(m.Sender)
  8002  	if l > 0 {
  8003  		n += 1 + l + sovTypes(uint64(l))
  8004  	}
  8005  	if m.Priority != 0 {
  8006  		n += 1 + sovTypes(uint64(m.Priority))
  8007  	}
  8008  	l = len(m.MempoolError)
  8009  	if l > 0 {
  8010  		n += 1 + l + sovTypes(uint64(l))
  8011  	}
  8012  	return n
  8013  }
  8014  
  8015  func (m *ResponseDeliverTx) Size() (n int) {
  8016  	if m == nil {
  8017  		return 0
  8018  	}
  8019  	var l int
  8020  	_ = l
  8021  	if m.Code != 0 {
  8022  		n += 1 + sovTypes(uint64(m.Code))
  8023  	}
  8024  	l = len(m.Data)
  8025  	if l > 0 {
  8026  		n += 1 + l + sovTypes(uint64(l))
  8027  	}
  8028  	l = len(m.Log)
  8029  	if l > 0 {
  8030  		n += 1 + l + sovTypes(uint64(l))
  8031  	}
  8032  	l = len(m.Info)
  8033  	if l > 0 {
  8034  		n += 1 + l + sovTypes(uint64(l))
  8035  	}
  8036  	if m.GasWanted != 0 {
  8037  		n += 1 + sovTypes(uint64(m.GasWanted))
  8038  	}
  8039  	if m.GasUsed != 0 {
  8040  		n += 1 + sovTypes(uint64(m.GasUsed))
  8041  	}
  8042  	if len(m.Events) > 0 {
  8043  		for _, e := range m.Events {
  8044  			l = e.Size()
  8045  			n += 1 + l + sovTypes(uint64(l))
  8046  		}
  8047  	}
  8048  	l = len(m.Codespace)
  8049  	if l > 0 {
  8050  		n += 1 + l + sovTypes(uint64(l))
  8051  	}
  8052  	return n
  8053  }
  8054  
  8055  func (m *ResponseEndBlock) Size() (n int) {
  8056  	if m == nil {
  8057  		return 0
  8058  	}
  8059  	var l int
  8060  	_ = l
  8061  	if len(m.ValidatorUpdates) > 0 {
  8062  		for _, e := range m.ValidatorUpdates {
  8063  			l = e.Size()
  8064  			n += 1 + l + sovTypes(uint64(l))
  8065  		}
  8066  	}
  8067  	if m.ConsensusParamUpdates != nil {
  8068  		l = m.ConsensusParamUpdates.Size()
  8069  		n += 1 + l + sovTypes(uint64(l))
  8070  	}
  8071  	if len(m.Events) > 0 {
  8072  		for _, e := range m.Events {
  8073  			l = e.Size()
  8074  			n += 1 + l + sovTypes(uint64(l))
  8075  		}
  8076  	}
  8077  	return n
  8078  }
  8079  
  8080  func (m *ResponseCommit) Size() (n int) {
  8081  	if m == nil {
  8082  		return 0
  8083  	}
  8084  	var l int
  8085  	_ = l
  8086  	l = len(m.Data)
  8087  	if l > 0 {
  8088  		n += 1 + l + sovTypes(uint64(l))
  8089  	}
  8090  	if m.RetainHeight != 0 {
  8091  		n += 1 + sovTypes(uint64(m.RetainHeight))
  8092  	}
  8093  	return n
  8094  }
  8095  
  8096  func (m *ResponseListSnapshots) Size() (n int) {
  8097  	if m == nil {
  8098  		return 0
  8099  	}
  8100  	var l int
  8101  	_ = l
  8102  	if len(m.Snapshots) > 0 {
  8103  		for _, e := range m.Snapshots {
  8104  			l = e.Size()
  8105  			n += 1 + l + sovTypes(uint64(l))
  8106  		}
  8107  	}
  8108  	return n
  8109  }
  8110  
  8111  func (m *ResponseOfferSnapshot) Size() (n int) {
  8112  	if m == nil {
  8113  		return 0
  8114  	}
  8115  	var l int
  8116  	_ = l
  8117  	if m.Result != 0 {
  8118  		n += 1 + sovTypes(uint64(m.Result))
  8119  	}
  8120  	return n
  8121  }
  8122  
  8123  func (m *ResponseLoadSnapshotChunk) Size() (n int) {
  8124  	if m == nil {
  8125  		return 0
  8126  	}
  8127  	var l int
  8128  	_ = l
  8129  	l = len(m.Chunk)
  8130  	if l > 0 {
  8131  		n += 1 + l + sovTypes(uint64(l))
  8132  	}
  8133  	return n
  8134  }
  8135  
  8136  func (m *ResponseApplySnapshotChunk) Size() (n int) {
  8137  	if m == nil {
  8138  		return 0
  8139  	}
  8140  	var l int
  8141  	_ = l
  8142  	if m.Result != 0 {
  8143  		n += 1 + sovTypes(uint64(m.Result))
  8144  	}
  8145  	if len(m.RefetchChunks) > 0 {
  8146  		l = 0
  8147  		for _, e := range m.RefetchChunks {
  8148  			l += sovTypes(uint64(e))
  8149  		}
  8150  		n += 1 + sovTypes(uint64(l)) + l
  8151  	}
  8152  	if len(m.RejectSenders) > 0 {
  8153  		for _, s := range m.RejectSenders {
  8154  			l = len(s)
  8155  			n += 1 + l + sovTypes(uint64(l))
  8156  		}
  8157  	}
  8158  	return n
  8159  }
  8160  
  8161  func (m *ResponsePrepareProposal) Size() (n int) {
  8162  	if m == nil {
  8163  		return 0
  8164  	}
  8165  	var l int
  8166  	_ = l
  8167  	if len(m.Txs) > 0 {
  8168  		for _, b := range m.Txs {
  8169  			l = len(b)
  8170  			n += 1 + l + sovTypes(uint64(l))
  8171  		}
  8172  	}
  8173  	return n
  8174  }
  8175  
  8176  func (m *ResponseProcessProposal) Size() (n int) {
  8177  	if m == nil {
  8178  		return 0
  8179  	}
  8180  	var l int
  8181  	_ = l
  8182  	if m.Status != 0 {
  8183  		n += 1 + sovTypes(uint64(m.Status))
  8184  	}
  8185  	return n
  8186  }
  8187  
  8188  func (m *CommitInfo) Size() (n int) {
  8189  	if m == nil {
  8190  		return 0
  8191  	}
  8192  	var l int
  8193  	_ = l
  8194  	if m.Round != 0 {
  8195  		n += 1 + sovTypes(uint64(m.Round))
  8196  	}
  8197  	if len(m.Votes) > 0 {
  8198  		for _, e := range m.Votes {
  8199  			l = e.Size()
  8200  			n += 1 + l + sovTypes(uint64(l))
  8201  		}
  8202  	}
  8203  	return n
  8204  }
  8205  
  8206  func (m *ExtendedCommitInfo) Size() (n int) {
  8207  	if m == nil {
  8208  		return 0
  8209  	}
  8210  	var l int
  8211  	_ = l
  8212  	if m.Round != 0 {
  8213  		n += 1 + sovTypes(uint64(m.Round))
  8214  	}
  8215  	if len(m.Votes) > 0 {
  8216  		for _, e := range m.Votes {
  8217  			l = e.Size()
  8218  			n += 1 + l + sovTypes(uint64(l))
  8219  		}
  8220  	}
  8221  	return n
  8222  }
  8223  
  8224  func (m *Event) Size() (n int) {
  8225  	if m == nil {
  8226  		return 0
  8227  	}
  8228  	var l int
  8229  	_ = l
  8230  	l = len(m.Type)
  8231  	if l > 0 {
  8232  		n += 1 + l + sovTypes(uint64(l))
  8233  	}
  8234  	if len(m.Attributes) > 0 {
  8235  		for _, e := range m.Attributes {
  8236  			l = e.Size()
  8237  			n += 1 + l + sovTypes(uint64(l))
  8238  		}
  8239  	}
  8240  	return n
  8241  }
  8242  
  8243  func (m *EventAttribute) Size() (n int) {
  8244  	if m == nil {
  8245  		return 0
  8246  	}
  8247  	var l int
  8248  	_ = l
  8249  	l = len(m.Key)
  8250  	if l > 0 {
  8251  		n += 1 + l + sovTypes(uint64(l))
  8252  	}
  8253  	l = len(m.Value)
  8254  	if l > 0 {
  8255  		n += 1 + l + sovTypes(uint64(l))
  8256  	}
  8257  	if m.Index {
  8258  		n += 2
  8259  	}
  8260  	return n
  8261  }
  8262  
  8263  func (m *TxResult) Size() (n int) {
  8264  	if m == nil {
  8265  		return 0
  8266  	}
  8267  	var l int
  8268  	_ = l
  8269  	if m.Height != 0 {
  8270  		n += 1 + sovTypes(uint64(m.Height))
  8271  	}
  8272  	if m.Index != 0 {
  8273  		n += 1 + sovTypes(uint64(m.Index))
  8274  	}
  8275  	l = len(m.Tx)
  8276  	if l > 0 {
  8277  		n += 1 + l + sovTypes(uint64(l))
  8278  	}
  8279  	l = m.Result.Size()
  8280  	n += 1 + l + sovTypes(uint64(l))
  8281  	return n
  8282  }
  8283  
  8284  func (m *Validator) Size() (n int) {
  8285  	if m == nil {
  8286  		return 0
  8287  	}
  8288  	var l int
  8289  	_ = l
  8290  	l = len(m.Address)
  8291  	if l > 0 {
  8292  		n += 1 + l + sovTypes(uint64(l))
  8293  	}
  8294  	if m.Power != 0 {
  8295  		n += 1 + sovTypes(uint64(m.Power))
  8296  	}
  8297  	return n
  8298  }
  8299  
  8300  func (m *ValidatorUpdate) Size() (n int) {
  8301  	if m == nil {
  8302  		return 0
  8303  	}
  8304  	var l int
  8305  	_ = l
  8306  	l = m.PubKey.Size()
  8307  	n += 1 + l + sovTypes(uint64(l))
  8308  	if m.Power != 0 {
  8309  		n += 1 + sovTypes(uint64(m.Power))
  8310  	}
  8311  	return n
  8312  }
  8313  
  8314  func (m *VoteInfo) Size() (n int) {
  8315  	if m == nil {
  8316  		return 0
  8317  	}
  8318  	var l int
  8319  	_ = l
  8320  	l = m.Validator.Size()
  8321  	n += 1 + l + sovTypes(uint64(l))
  8322  	if m.SignedLastBlock {
  8323  		n += 2
  8324  	}
  8325  	return n
  8326  }
  8327  
  8328  func (m *ExtendedVoteInfo) Size() (n int) {
  8329  	if m == nil {
  8330  		return 0
  8331  	}
  8332  	var l int
  8333  	_ = l
  8334  	l = m.Validator.Size()
  8335  	n += 1 + l + sovTypes(uint64(l))
  8336  	if m.SignedLastBlock {
  8337  		n += 2
  8338  	}
  8339  	l = len(m.VoteExtension)
  8340  	if l > 0 {
  8341  		n += 1 + l + sovTypes(uint64(l))
  8342  	}
  8343  	return n
  8344  }
  8345  
  8346  func (m *Misbehavior) Size() (n int) {
  8347  	if m == nil {
  8348  		return 0
  8349  	}
  8350  	var l int
  8351  	_ = l
  8352  	if m.Type != 0 {
  8353  		n += 1 + sovTypes(uint64(m.Type))
  8354  	}
  8355  	l = m.Validator.Size()
  8356  	n += 1 + l + sovTypes(uint64(l))
  8357  	if m.Height != 0 {
  8358  		n += 1 + sovTypes(uint64(m.Height))
  8359  	}
  8360  	l = github_com_cosmos_gogoproto_types.SizeOfStdTime(m.Time)
  8361  	n += 1 + l + sovTypes(uint64(l))
  8362  	if m.TotalVotingPower != 0 {
  8363  		n += 1 + sovTypes(uint64(m.TotalVotingPower))
  8364  	}
  8365  	return n
  8366  }
  8367  
  8368  func (m *Snapshot) Size() (n int) {
  8369  	if m == nil {
  8370  		return 0
  8371  	}
  8372  	var l int
  8373  	_ = l
  8374  	if m.Height != 0 {
  8375  		n += 1 + sovTypes(uint64(m.Height))
  8376  	}
  8377  	if m.Format != 0 {
  8378  		n += 1 + sovTypes(uint64(m.Format))
  8379  	}
  8380  	if m.Chunks != 0 {
  8381  		n += 1 + sovTypes(uint64(m.Chunks))
  8382  	}
  8383  	l = len(m.Hash)
  8384  	if l > 0 {
  8385  		n += 1 + l + sovTypes(uint64(l))
  8386  	}
  8387  	l = len(m.Metadata)
  8388  	if l > 0 {
  8389  		n += 1 + l + sovTypes(uint64(l))
  8390  	}
  8391  	return n
  8392  }
  8393  
  8394  func sovTypes(x uint64) (n int) {
  8395  	return (math_bits.Len64(x|1) + 6) / 7
  8396  }
  8397  func sozTypes(x uint64) (n int) {
  8398  	return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  8399  }
  8400  func (m *Request) Unmarshal(dAtA []byte) error {
  8401  	l := len(dAtA)
  8402  	iNdEx := 0
  8403  	for iNdEx < l {
  8404  		preIndex := iNdEx
  8405  		var wire uint64
  8406  		for shift := uint(0); ; shift += 7 {
  8407  			if shift >= 64 {
  8408  				return ErrIntOverflowTypes
  8409  			}
  8410  			if iNdEx >= l {
  8411  				return io.ErrUnexpectedEOF
  8412  			}
  8413  			b := dAtA[iNdEx]
  8414  			iNdEx++
  8415  			wire |= uint64(b&0x7F) << shift
  8416  			if b < 0x80 {
  8417  				break
  8418  			}
  8419  		}
  8420  		fieldNum := int32(wire >> 3)
  8421  		wireType := int(wire & 0x7)
  8422  		if wireType == 4 {
  8423  			return fmt.Errorf("proto: Request: wiretype end group for non-group")
  8424  		}
  8425  		if fieldNum <= 0 {
  8426  			return fmt.Errorf("proto: Request: illegal tag %d (wire type %d)", fieldNum, wire)
  8427  		}
  8428  		switch fieldNum {
  8429  		case 1:
  8430  			if wireType != 2 {
  8431  				return fmt.Errorf("proto: wrong wireType = %d for field Echo", wireType)
  8432  			}
  8433  			var msglen int
  8434  			for shift := uint(0); ; shift += 7 {
  8435  				if shift >= 64 {
  8436  					return ErrIntOverflowTypes
  8437  				}
  8438  				if iNdEx >= l {
  8439  					return io.ErrUnexpectedEOF
  8440  				}
  8441  				b := dAtA[iNdEx]
  8442  				iNdEx++
  8443  				msglen |= int(b&0x7F) << shift
  8444  				if b < 0x80 {
  8445  					break
  8446  				}
  8447  			}
  8448  			if msglen < 0 {
  8449  				return ErrInvalidLengthTypes
  8450  			}
  8451  			postIndex := iNdEx + msglen
  8452  			if postIndex < 0 {
  8453  				return ErrInvalidLengthTypes
  8454  			}
  8455  			if postIndex > l {
  8456  				return io.ErrUnexpectedEOF
  8457  			}
  8458  			v := &RequestEcho{}
  8459  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8460  				return err
  8461  			}
  8462  			m.Value = &Request_Echo{v}
  8463  			iNdEx = postIndex
  8464  		case 2:
  8465  			if wireType != 2 {
  8466  				return fmt.Errorf("proto: wrong wireType = %d for field Flush", wireType)
  8467  			}
  8468  			var msglen int
  8469  			for shift := uint(0); ; shift += 7 {
  8470  				if shift >= 64 {
  8471  					return ErrIntOverflowTypes
  8472  				}
  8473  				if iNdEx >= l {
  8474  					return io.ErrUnexpectedEOF
  8475  				}
  8476  				b := dAtA[iNdEx]
  8477  				iNdEx++
  8478  				msglen |= int(b&0x7F) << shift
  8479  				if b < 0x80 {
  8480  					break
  8481  				}
  8482  			}
  8483  			if msglen < 0 {
  8484  				return ErrInvalidLengthTypes
  8485  			}
  8486  			postIndex := iNdEx + msglen
  8487  			if postIndex < 0 {
  8488  				return ErrInvalidLengthTypes
  8489  			}
  8490  			if postIndex > l {
  8491  				return io.ErrUnexpectedEOF
  8492  			}
  8493  			v := &RequestFlush{}
  8494  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8495  				return err
  8496  			}
  8497  			m.Value = &Request_Flush{v}
  8498  			iNdEx = postIndex
  8499  		case 3:
  8500  			if wireType != 2 {
  8501  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
  8502  			}
  8503  			var msglen int
  8504  			for shift := uint(0); ; shift += 7 {
  8505  				if shift >= 64 {
  8506  					return ErrIntOverflowTypes
  8507  				}
  8508  				if iNdEx >= l {
  8509  					return io.ErrUnexpectedEOF
  8510  				}
  8511  				b := dAtA[iNdEx]
  8512  				iNdEx++
  8513  				msglen |= int(b&0x7F) << shift
  8514  				if b < 0x80 {
  8515  					break
  8516  				}
  8517  			}
  8518  			if msglen < 0 {
  8519  				return ErrInvalidLengthTypes
  8520  			}
  8521  			postIndex := iNdEx + msglen
  8522  			if postIndex < 0 {
  8523  				return ErrInvalidLengthTypes
  8524  			}
  8525  			if postIndex > l {
  8526  				return io.ErrUnexpectedEOF
  8527  			}
  8528  			v := &RequestInfo{}
  8529  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8530  				return err
  8531  			}
  8532  			m.Value = &Request_Info{v}
  8533  			iNdEx = postIndex
  8534  		case 5:
  8535  			if wireType != 2 {
  8536  				return fmt.Errorf("proto: wrong wireType = %d for field InitChain", wireType)
  8537  			}
  8538  			var msglen int
  8539  			for shift := uint(0); ; shift += 7 {
  8540  				if shift >= 64 {
  8541  					return ErrIntOverflowTypes
  8542  				}
  8543  				if iNdEx >= l {
  8544  					return io.ErrUnexpectedEOF
  8545  				}
  8546  				b := dAtA[iNdEx]
  8547  				iNdEx++
  8548  				msglen |= int(b&0x7F) << shift
  8549  				if b < 0x80 {
  8550  					break
  8551  				}
  8552  			}
  8553  			if msglen < 0 {
  8554  				return ErrInvalidLengthTypes
  8555  			}
  8556  			postIndex := iNdEx + msglen
  8557  			if postIndex < 0 {
  8558  				return ErrInvalidLengthTypes
  8559  			}
  8560  			if postIndex > l {
  8561  				return io.ErrUnexpectedEOF
  8562  			}
  8563  			v := &RequestInitChain{}
  8564  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8565  				return err
  8566  			}
  8567  			m.Value = &Request_InitChain{v}
  8568  			iNdEx = postIndex
  8569  		case 6:
  8570  			if wireType != 2 {
  8571  				return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
  8572  			}
  8573  			var msglen int
  8574  			for shift := uint(0); ; shift += 7 {
  8575  				if shift >= 64 {
  8576  					return ErrIntOverflowTypes
  8577  				}
  8578  				if iNdEx >= l {
  8579  					return io.ErrUnexpectedEOF
  8580  				}
  8581  				b := dAtA[iNdEx]
  8582  				iNdEx++
  8583  				msglen |= int(b&0x7F) << shift
  8584  				if b < 0x80 {
  8585  					break
  8586  				}
  8587  			}
  8588  			if msglen < 0 {
  8589  				return ErrInvalidLengthTypes
  8590  			}
  8591  			postIndex := iNdEx + msglen
  8592  			if postIndex < 0 {
  8593  				return ErrInvalidLengthTypes
  8594  			}
  8595  			if postIndex > l {
  8596  				return io.ErrUnexpectedEOF
  8597  			}
  8598  			v := &RequestQuery{}
  8599  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8600  				return err
  8601  			}
  8602  			m.Value = &Request_Query{v}
  8603  			iNdEx = postIndex
  8604  		case 7:
  8605  			if wireType != 2 {
  8606  				return fmt.Errorf("proto: wrong wireType = %d for field BeginBlock", wireType)
  8607  			}
  8608  			var msglen int
  8609  			for shift := uint(0); ; shift += 7 {
  8610  				if shift >= 64 {
  8611  					return ErrIntOverflowTypes
  8612  				}
  8613  				if iNdEx >= l {
  8614  					return io.ErrUnexpectedEOF
  8615  				}
  8616  				b := dAtA[iNdEx]
  8617  				iNdEx++
  8618  				msglen |= int(b&0x7F) << shift
  8619  				if b < 0x80 {
  8620  					break
  8621  				}
  8622  			}
  8623  			if msglen < 0 {
  8624  				return ErrInvalidLengthTypes
  8625  			}
  8626  			postIndex := iNdEx + msglen
  8627  			if postIndex < 0 {
  8628  				return ErrInvalidLengthTypes
  8629  			}
  8630  			if postIndex > l {
  8631  				return io.ErrUnexpectedEOF
  8632  			}
  8633  			v := &RequestBeginBlock{}
  8634  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8635  				return err
  8636  			}
  8637  			m.Value = &Request_BeginBlock{v}
  8638  			iNdEx = postIndex
  8639  		case 8:
  8640  			if wireType != 2 {
  8641  				return fmt.Errorf("proto: wrong wireType = %d for field CheckTx", wireType)
  8642  			}
  8643  			var msglen int
  8644  			for shift := uint(0); ; shift += 7 {
  8645  				if shift >= 64 {
  8646  					return ErrIntOverflowTypes
  8647  				}
  8648  				if iNdEx >= l {
  8649  					return io.ErrUnexpectedEOF
  8650  				}
  8651  				b := dAtA[iNdEx]
  8652  				iNdEx++
  8653  				msglen |= int(b&0x7F) << shift
  8654  				if b < 0x80 {
  8655  					break
  8656  				}
  8657  			}
  8658  			if msglen < 0 {
  8659  				return ErrInvalidLengthTypes
  8660  			}
  8661  			postIndex := iNdEx + msglen
  8662  			if postIndex < 0 {
  8663  				return ErrInvalidLengthTypes
  8664  			}
  8665  			if postIndex > l {
  8666  				return io.ErrUnexpectedEOF
  8667  			}
  8668  			v := &RequestCheckTx{}
  8669  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8670  				return err
  8671  			}
  8672  			m.Value = &Request_CheckTx{v}
  8673  			iNdEx = postIndex
  8674  		case 9:
  8675  			if wireType != 2 {
  8676  				return fmt.Errorf("proto: wrong wireType = %d for field DeliverTx", wireType)
  8677  			}
  8678  			var msglen int
  8679  			for shift := uint(0); ; shift += 7 {
  8680  				if shift >= 64 {
  8681  					return ErrIntOverflowTypes
  8682  				}
  8683  				if iNdEx >= l {
  8684  					return io.ErrUnexpectedEOF
  8685  				}
  8686  				b := dAtA[iNdEx]
  8687  				iNdEx++
  8688  				msglen |= int(b&0x7F) << shift
  8689  				if b < 0x80 {
  8690  					break
  8691  				}
  8692  			}
  8693  			if msglen < 0 {
  8694  				return ErrInvalidLengthTypes
  8695  			}
  8696  			postIndex := iNdEx + msglen
  8697  			if postIndex < 0 {
  8698  				return ErrInvalidLengthTypes
  8699  			}
  8700  			if postIndex > l {
  8701  				return io.ErrUnexpectedEOF
  8702  			}
  8703  			v := &RequestDeliverTx{}
  8704  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8705  				return err
  8706  			}
  8707  			m.Value = &Request_DeliverTx{v}
  8708  			iNdEx = postIndex
  8709  		case 10:
  8710  			if wireType != 2 {
  8711  				return fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType)
  8712  			}
  8713  			var msglen int
  8714  			for shift := uint(0); ; shift += 7 {
  8715  				if shift >= 64 {
  8716  					return ErrIntOverflowTypes
  8717  				}
  8718  				if iNdEx >= l {
  8719  					return io.ErrUnexpectedEOF
  8720  				}
  8721  				b := dAtA[iNdEx]
  8722  				iNdEx++
  8723  				msglen |= int(b&0x7F) << shift
  8724  				if b < 0x80 {
  8725  					break
  8726  				}
  8727  			}
  8728  			if msglen < 0 {
  8729  				return ErrInvalidLengthTypes
  8730  			}
  8731  			postIndex := iNdEx + msglen
  8732  			if postIndex < 0 {
  8733  				return ErrInvalidLengthTypes
  8734  			}
  8735  			if postIndex > l {
  8736  				return io.ErrUnexpectedEOF
  8737  			}
  8738  			v := &RequestEndBlock{}
  8739  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8740  				return err
  8741  			}
  8742  			m.Value = &Request_EndBlock{v}
  8743  			iNdEx = postIndex
  8744  		case 11:
  8745  			if wireType != 2 {
  8746  				return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType)
  8747  			}
  8748  			var msglen int
  8749  			for shift := uint(0); ; shift += 7 {
  8750  				if shift >= 64 {
  8751  					return ErrIntOverflowTypes
  8752  				}
  8753  				if iNdEx >= l {
  8754  					return io.ErrUnexpectedEOF
  8755  				}
  8756  				b := dAtA[iNdEx]
  8757  				iNdEx++
  8758  				msglen |= int(b&0x7F) << shift
  8759  				if b < 0x80 {
  8760  					break
  8761  				}
  8762  			}
  8763  			if msglen < 0 {
  8764  				return ErrInvalidLengthTypes
  8765  			}
  8766  			postIndex := iNdEx + msglen
  8767  			if postIndex < 0 {
  8768  				return ErrInvalidLengthTypes
  8769  			}
  8770  			if postIndex > l {
  8771  				return io.ErrUnexpectedEOF
  8772  			}
  8773  			v := &RequestCommit{}
  8774  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8775  				return err
  8776  			}
  8777  			m.Value = &Request_Commit{v}
  8778  			iNdEx = postIndex
  8779  		case 12:
  8780  			if wireType != 2 {
  8781  				return fmt.Errorf("proto: wrong wireType = %d for field ListSnapshots", wireType)
  8782  			}
  8783  			var msglen int
  8784  			for shift := uint(0); ; shift += 7 {
  8785  				if shift >= 64 {
  8786  					return ErrIntOverflowTypes
  8787  				}
  8788  				if iNdEx >= l {
  8789  					return io.ErrUnexpectedEOF
  8790  				}
  8791  				b := dAtA[iNdEx]
  8792  				iNdEx++
  8793  				msglen |= int(b&0x7F) << shift
  8794  				if b < 0x80 {
  8795  					break
  8796  				}
  8797  			}
  8798  			if msglen < 0 {
  8799  				return ErrInvalidLengthTypes
  8800  			}
  8801  			postIndex := iNdEx + msglen
  8802  			if postIndex < 0 {
  8803  				return ErrInvalidLengthTypes
  8804  			}
  8805  			if postIndex > l {
  8806  				return io.ErrUnexpectedEOF
  8807  			}
  8808  			v := &RequestListSnapshots{}
  8809  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8810  				return err
  8811  			}
  8812  			m.Value = &Request_ListSnapshots{v}
  8813  			iNdEx = postIndex
  8814  		case 13:
  8815  			if wireType != 2 {
  8816  				return fmt.Errorf("proto: wrong wireType = %d for field OfferSnapshot", wireType)
  8817  			}
  8818  			var msglen int
  8819  			for shift := uint(0); ; shift += 7 {
  8820  				if shift >= 64 {
  8821  					return ErrIntOverflowTypes
  8822  				}
  8823  				if iNdEx >= l {
  8824  					return io.ErrUnexpectedEOF
  8825  				}
  8826  				b := dAtA[iNdEx]
  8827  				iNdEx++
  8828  				msglen |= int(b&0x7F) << shift
  8829  				if b < 0x80 {
  8830  					break
  8831  				}
  8832  			}
  8833  			if msglen < 0 {
  8834  				return ErrInvalidLengthTypes
  8835  			}
  8836  			postIndex := iNdEx + msglen
  8837  			if postIndex < 0 {
  8838  				return ErrInvalidLengthTypes
  8839  			}
  8840  			if postIndex > l {
  8841  				return io.ErrUnexpectedEOF
  8842  			}
  8843  			v := &RequestOfferSnapshot{}
  8844  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8845  				return err
  8846  			}
  8847  			m.Value = &Request_OfferSnapshot{v}
  8848  			iNdEx = postIndex
  8849  		case 14:
  8850  			if wireType != 2 {
  8851  				return fmt.Errorf("proto: wrong wireType = %d for field LoadSnapshotChunk", wireType)
  8852  			}
  8853  			var msglen int
  8854  			for shift := uint(0); ; shift += 7 {
  8855  				if shift >= 64 {
  8856  					return ErrIntOverflowTypes
  8857  				}
  8858  				if iNdEx >= l {
  8859  					return io.ErrUnexpectedEOF
  8860  				}
  8861  				b := dAtA[iNdEx]
  8862  				iNdEx++
  8863  				msglen |= int(b&0x7F) << shift
  8864  				if b < 0x80 {
  8865  					break
  8866  				}
  8867  			}
  8868  			if msglen < 0 {
  8869  				return ErrInvalidLengthTypes
  8870  			}
  8871  			postIndex := iNdEx + msglen
  8872  			if postIndex < 0 {
  8873  				return ErrInvalidLengthTypes
  8874  			}
  8875  			if postIndex > l {
  8876  				return io.ErrUnexpectedEOF
  8877  			}
  8878  			v := &RequestLoadSnapshotChunk{}
  8879  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8880  				return err
  8881  			}
  8882  			m.Value = &Request_LoadSnapshotChunk{v}
  8883  			iNdEx = postIndex
  8884  		case 15:
  8885  			if wireType != 2 {
  8886  				return fmt.Errorf("proto: wrong wireType = %d for field ApplySnapshotChunk", wireType)
  8887  			}
  8888  			var msglen int
  8889  			for shift := uint(0); ; shift += 7 {
  8890  				if shift >= 64 {
  8891  					return ErrIntOverflowTypes
  8892  				}
  8893  				if iNdEx >= l {
  8894  					return io.ErrUnexpectedEOF
  8895  				}
  8896  				b := dAtA[iNdEx]
  8897  				iNdEx++
  8898  				msglen |= int(b&0x7F) << shift
  8899  				if b < 0x80 {
  8900  					break
  8901  				}
  8902  			}
  8903  			if msglen < 0 {
  8904  				return ErrInvalidLengthTypes
  8905  			}
  8906  			postIndex := iNdEx + msglen
  8907  			if postIndex < 0 {
  8908  				return ErrInvalidLengthTypes
  8909  			}
  8910  			if postIndex > l {
  8911  				return io.ErrUnexpectedEOF
  8912  			}
  8913  			v := &RequestApplySnapshotChunk{}
  8914  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8915  				return err
  8916  			}
  8917  			m.Value = &Request_ApplySnapshotChunk{v}
  8918  			iNdEx = postIndex
  8919  		case 16:
  8920  			if wireType != 2 {
  8921  				return fmt.Errorf("proto: wrong wireType = %d for field PrepareProposal", wireType)
  8922  			}
  8923  			var msglen int
  8924  			for shift := uint(0); ; shift += 7 {
  8925  				if shift >= 64 {
  8926  					return ErrIntOverflowTypes
  8927  				}
  8928  				if iNdEx >= l {
  8929  					return io.ErrUnexpectedEOF
  8930  				}
  8931  				b := dAtA[iNdEx]
  8932  				iNdEx++
  8933  				msglen |= int(b&0x7F) << shift
  8934  				if b < 0x80 {
  8935  					break
  8936  				}
  8937  			}
  8938  			if msglen < 0 {
  8939  				return ErrInvalidLengthTypes
  8940  			}
  8941  			postIndex := iNdEx + msglen
  8942  			if postIndex < 0 {
  8943  				return ErrInvalidLengthTypes
  8944  			}
  8945  			if postIndex > l {
  8946  				return io.ErrUnexpectedEOF
  8947  			}
  8948  			v := &RequestPrepareProposal{}
  8949  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8950  				return err
  8951  			}
  8952  			m.Value = &Request_PrepareProposal{v}
  8953  			iNdEx = postIndex
  8954  		case 17:
  8955  			if wireType != 2 {
  8956  				return fmt.Errorf("proto: wrong wireType = %d for field ProcessProposal", wireType)
  8957  			}
  8958  			var msglen int
  8959  			for shift := uint(0); ; shift += 7 {
  8960  				if shift >= 64 {
  8961  					return ErrIntOverflowTypes
  8962  				}
  8963  				if iNdEx >= l {
  8964  					return io.ErrUnexpectedEOF
  8965  				}
  8966  				b := dAtA[iNdEx]
  8967  				iNdEx++
  8968  				msglen |= int(b&0x7F) << shift
  8969  				if b < 0x80 {
  8970  					break
  8971  				}
  8972  			}
  8973  			if msglen < 0 {
  8974  				return ErrInvalidLengthTypes
  8975  			}
  8976  			postIndex := iNdEx + msglen
  8977  			if postIndex < 0 {
  8978  				return ErrInvalidLengthTypes
  8979  			}
  8980  			if postIndex > l {
  8981  				return io.ErrUnexpectedEOF
  8982  			}
  8983  			v := &RequestProcessProposal{}
  8984  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  8985  				return err
  8986  			}
  8987  			m.Value = &Request_ProcessProposal{v}
  8988  			iNdEx = postIndex
  8989  		default:
  8990  			iNdEx = preIndex
  8991  			skippy, err := skipTypes(dAtA[iNdEx:])
  8992  			if err != nil {
  8993  				return err
  8994  			}
  8995  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  8996  				return ErrInvalidLengthTypes
  8997  			}
  8998  			if (iNdEx + skippy) > l {
  8999  				return io.ErrUnexpectedEOF
  9000  			}
  9001  			iNdEx += skippy
  9002  		}
  9003  	}
  9004  
  9005  	if iNdEx > l {
  9006  		return io.ErrUnexpectedEOF
  9007  	}
  9008  	return nil
  9009  }
  9010  func (m *RequestEcho) Unmarshal(dAtA []byte) error {
  9011  	l := len(dAtA)
  9012  	iNdEx := 0
  9013  	for iNdEx < l {
  9014  		preIndex := iNdEx
  9015  		var wire uint64
  9016  		for shift := uint(0); ; shift += 7 {
  9017  			if shift >= 64 {
  9018  				return ErrIntOverflowTypes
  9019  			}
  9020  			if iNdEx >= l {
  9021  				return io.ErrUnexpectedEOF
  9022  			}
  9023  			b := dAtA[iNdEx]
  9024  			iNdEx++
  9025  			wire |= uint64(b&0x7F) << shift
  9026  			if b < 0x80 {
  9027  				break
  9028  			}
  9029  		}
  9030  		fieldNum := int32(wire >> 3)
  9031  		wireType := int(wire & 0x7)
  9032  		if wireType == 4 {
  9033  			return fmt.Errorf("proto: RequestEcho: wiretype end group for non-group")
  9034  		}
  9035  		if fieldNum <= 0 {
  9036  			return fmt.Errorf("proto: RequestEcho: illegal tag %d (wire type %d)", fieldNum, wire)
  9037  		}
  9038  		switch fieldNum {
  9039  		case 1:
  9040  			if wireType != 2 {
  9041  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
  9042  			}
  9043  			var stringLen uint64
  9044  			for shift := uint(0); ; shift += 7 {
  9045  				if shift >= 64 {
  9046  					return ErrIntOverflowTypes
  9047  				}
  9048  				if iNdEx >= l {
  9049  					return io.ErrUnexpectedEOF
  9050  				}
  9051  				b := dAtA[iNdEx]
  9052  				iNdEx++
  9053  				stringLen |= uint64(b&0x7F) << shift
  9054  				if b < 0x80 {
  9055  					break
  9056  				}
  9057  			}
  9058  			intStringLen := int(stringLen)
  9059  			if intStringLen < 0 {
  9060  				return ErrInvalidLengthTypes
  9061  			}
  9062  			postIndex := iNdEx + intStringLen
  9063  			if postIndex < 0 {
  9064  				return ErrInvalidLengthTypes
  9065  			}
  9066  			if postIndex > l {
  9067  				return io.ErrUnexpectedEOF
  9068  			}
  9069  			m.Message = string(dAtA[iNdEx:postIndex])
  9070  			iNdEx = postIndex
  9071  		default:
  9072  			iNdEx = preIndex
  9073  			skippy, err := skipTypes(dAtA[iNdEx:])
  9074  			if err != nil {
  9075  				return err
  9076  			}
  9077  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9078  				return ErrInvalidLengthTypes
  9079  			}
  9080  			if (iNdEx + skippy) > l {
  9081  				return io.ErrUnexpectedEOF
  9082  			}
  9083  			iNdEx += skippy
  9084  		}
  9085  	}
  9086  
  9087  	if iNdEx > l {
  9088  		return io.ErrUnexpectedEOF
  9089  	}
  9090  	return nil
  9091  }
  9092  func (m *RequestFlush) Unmarshal(dAtA []byte) error {
  9093  	l := len(dAtA)
  9094  	iNdEx := 0
  9095  	for iNdEx < l {
  9096  		preIndex := iNdEx
  9097  		var wire uint64
  9098  		for shift := uint(0); ; shift += 7 {
  9099  			if shift >= 64 {
  9100  				return ErrIntOverflowTypes
  9101  			}
  9102  			if iNdEx >= l {
  9103  				return io.ErrUnexpectedEOF
  9104  			}
  9105  			b := dAtA[iNdEx]
  9106  			iNdEx++
  9107  			wire |= uint64(b&0x7F) << shift
  9108  			if b < 0x80 {
  9109  				break
  9110  			}
  9111  		}
  9112  		fieldNum := int32(wire >> 3)
  9113  		wireType := int(wire & 0x7)
  9114  		if wireType == 4 {
  9115  			return fmt.Errorf("proto: RequestFlush: wiretype end group for non-group")
  9116  		}
  9117  		if fieldNum <= 0 {
  9118  			return fmt.Errorf("proto: RequestFlush: illegal tag %d (wire type %d)", fieldNum, wire)
  9119  		}
  9120  		switch fieldNum {
  9121  		default:
  9122  			iNdEx = preIndex
  9123  			skippy, err := skipTypes(dAtA[iNdEx:])
  9124  			if err != nil {
  9125  				return err
  9126  			}
  9127  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9128  				return ErrInvalidLengthTypes
  9129  			}
  9130  			if (iNdEx + skippy) > l {
  9131  				return io.ErrUnexpectedEOF
  9132  			}
  9133  			iNdEx += skippy
  9134  		}
  9135  	}
  9136  
  9137  	if iNdEx > l {
  9138  		return io.ErrUnexpectedEOF
  9139  	}
  9140  	return nil
  9141  }
  9142  func (m *RequestInfo) Unmarshal(dAtA []byte) error {
  9143  	l := len(dAtA)
  9144  	iNdEx := 0
  9145  	for iNdEx < l {
  9146  		preIndex := iNdEx
  9147  		var wire uint64
  9148  		for shift := uint(0); ; shift += 7 {
  9149  			if shift >= 64 {
  9150  				return ErrIntOverflowTypes
  9151  			}
  9152  			if iNdEx >= l {
  9153  				return io.ErrUnexpectedEOF
  9154  			}
  9155  			b := dAtA[iNdEx]
  9156  			iNdEx++
  9157  			wire |= uint64(b&0x7F) << shift
  9158  			if b < 0x80 {
  9159  				break
  9160  			}
  9161  		}
  9162  		fieldNum := int32(wire >> 3)
  9163  		wireType := int(wire & 0x7)
  9164  		if wireType == 4 {
  9165  			return fmt.Errorf("proto: RequestInfo: wiretype end group for non-group")
  9166  		}
  9167  		if fieldNum <= 0 {
  9168  			return fmt.Errorf("proto: RequestInfo: illegal tag %d (wire type %d)", fieldNum, wire)
  9169  		}
  9170  		switch fieldNum {
  9171  		case 1:
  9172  			if wireType != 2 {
  9173  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
  9174  			}
  9175  			var stringLen uint64
  9176  			for shift := uint(0); ; shift += 7 {
  9177  				if shift >= 64 {
  9178  					return ErrIntOverflowTypes
  9179  				}
  9180  				if iNdEx >= l {
  9181  					return io.ErrUnexpectedEOF
  9182  				}
  9183  				b := dAtA[iNdEx]
  9184  				iNdEx++
  9185  				stringLen |= uint64(b&0x7F) << shift
  9186  				if b < 0x80 {
  9187  					break
  9188  				}
  9189  			}
  9190  			intStringLen := int(stringLen)
  9191  			if intStringLen < 0 {
  9192  				return ErrInvalidLengthTypes
  9193  			}
  9194  			postIndex := iNdEx + intStringLen
  9195  			if postIndex < 0 {
  9196  				return ErrInvalidLengthTypes
  9197  			}
  9198  			if postIndex > l {
  9199  				return io.ErrUnexpectedEOF
  9200  			}
  9201  			m.Version = string(dAtA[iNdEx:postIndex])
  9202  			iNdEx = postIndex
  9203  		case 2:
  9204  			if wireType != 0 {
  9205  				return fmt.Errorf("proto: wrong wireType = %d for field BlockVersion", wireType)
  9206  			}
  9207  			m.BlockVersion = 0
  9208  			for shift := uint(0); ; shift += 7 {
  9209  				if shift >= 64 {
  9210  					return ErrIntOverflowTypes
  9211  				}
  9212  				if iNdEx >= l {
  9213  					return io.ErrUnexpectedEOF
  9214  				}
  9215  				b := dAtA[iNdEx]
  9216  				iNdEx++
  9217  				m.BlockVersion |= uint64(b&0x7F) << shift
  9218  				if b < 0x80 {
  9219  					break
  9220  				}
  9221  			}
  9222  		case 3:
  9223  			if wireType != 0 {
  9224  				return fmt.Errorf("proto: wrong wireType = %d for field P2PVersion", wireType)
  9225  			}
  9226  			m.P2PVersion = 0
  9227  			for shift := uint(0); ; shift += 7 {
  9228  				if shift >= 64 {
  9229  					return ErrIntOverflowTypes
  9230  				}
  9231  				if iNdEx >= l {
  9232  					return io.ErrUnexpectedEOF
  9233  				}
  9234  				b := dAtA[iNdEx]
  9235  				iNdEx++
  9236  				m.P2PVersion |= uint64(b&0x7F) << shift
  9237  				if b < 0x80 {
  9238  					break
  9239  				}
  9240  			}
  9241  		case 4:
  9242  			if wireType != 2 {
  9243  				return fmt.Errorf("proto: wrong wireType = %d for field AbciVersion", wireType)
  9244  			}
  9245  			var stringLen uint64
  9246  			for shift := uint(0); ; shift += 7 {
  9247  				if shift >= 64 {
  9248  					return ErrIntOverflowTypes
  9249  				}
  9250  				if iNdEx >= l {
  9251  					return io.ErrUnexpectedEOF
  9252  				}
  9253  				b := dAtA[iNdEx]
  9254  				iNdEx++
  9255  				stringLen |= uint64(b&0x7F) << shift
  9256  				if b < 0x80 {
  9257  					break
  9258  				}
  9259  			}
  9260  			intStringLen := int(stringLen)
  9261  			if intStringLen < 0 {
  9262  				return ErrInvalidLengthTypes
  9263  			}
  9264  			postIndex := iNdEx + intStringLen
  9265  			if postIndex < 0 {
  9266  				return ErrInvalidLengthTypes
  9267  			}
  9268  			if postIndex > l {
  9269  				return io.ErrUnexpectedEOF
  9270  			}
  9271  			m.AbciVersion = string(dAtA[iNdEx:postIndex])
  9272  			iNdEx = postIndex
  9273  		default:
  9274  			iNdEx = preIndex
  9275  			skippy, err := skipTypes(dAtA[iNdEx:])
  9276  			if err != nil {
  9277  				return err
  9278  			}
  9279  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9280  				return ErrInvalidLengthTypes
  9281  			}
  9282  			if (iNdEx + skippy) > l {
  9283  				return io.ErrUnexpectedEOF
  9284  			}
  9285  			iNdEx += skippy
  9286  		}
  9287  	}
  9288  
  9289  	if iNdEx > l {
  9290  		return io.ErrUnexpectedEOF
  9291  	}
  9292  	return nil
  9293  }
  9294  func (m *RequestInitChain) Unmarshal(dAtA []byte) error {
  9295  	l := len(dAtA)
  9296  	iNdEx := 0
  9297  	for iNdEx < l {
  9298  		preIndex := iNdEx
  9299  		var wire uint64
  9300  		for shift := uint(0); ; shift += 7 {
  9301  			if shift >= 64 {
  9302  				return ErrIntOverflowTypes
  9303  			}
  9304  			if iNdEx >= l {
  9305  				return io.ErrUnexpectedEOF
  9306  			}
  9307  			b := dAtA[iNdEx]
  9308  			iNdEx++
  9309  			wire |= uint64(b&0x7F) << shift
  9310  			if b < 0x80 {
  9311  				break
  9312  			}
  9313  		}
  9314  		fieldNum := int32(wire >> 3)
  9315  		wireType := int(wire & 0x7)
  9316  		if wireType == 4 {
  9317  			return fmt.Errorf("proto: RequestInitChain: wiretype end group for non-group")
  9318  		}
  9319  		if fieldNum <= 0 {
  9320  			return fmt.Errorf("proto: RequestInitChain: illegal tag %d (wire type %d)", fieldNum, wire)
  9321  		}
  9322  		switch fieldNum {
  9323  		case 1:
  9324  			if wireType != 2 {
  9325  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
  9326  			}
  9327  			var msglen int
  9328  			for shift := uint(0); ; shift += 7 {
  9329  				if shift >= 64 {
  9330  					return ErrIntOverflowTypes
  9331  				}
  9332  				if iNdEx >= l {
  9333  					return io.ErrUnexpectedEOF
  9334  				}
  9335  				b := dAtA[iNdEx]
  9336  				iNdEx++
  9337  				msglen |= int(b&0x7F) << shift
  9338  				if b < 0x80 {
  9339  					break
  9340  				}
  9341  			}
  9342  			if msglen < 0 {
  9343  				return ErrInvalidLengthTypes
  9344  			}
  9345  			postIndex := iNdEx + msglen
  9346  			if postIndex < 0 {
  9347  				return ErrInvalidLengthTypes
  9348  			}
  9349  			if postIndex > l {
  9350  				return io.ErrUnexpectedEOF
  9351  			}
  9352  			if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
  9353  				return err
  9354  			}
  9355  			iNdEx = postIndex
  9356  		case 2:
  9357  			if wireType != 2 {
  9358  				return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType)
  9359  			}
  9360  			var stringLen uint64
  9361  			for shift := uint(0); ; shift += 7 {
  9362  				if shift >= 64 {
  9363  					return ErrIntOverflowTypes
  9364  				}
  9365  				if iNdEx >= l {
  9366  					return io.ErrUnexpectedEOF
  9367  				}
  9368  				b := dAtA[iNdEx]
  9369  				iNdEx++
  9370  				stringLen |= uint64(b&0x7F) << shift
  9371  				if b < 0x80 {
  9372  					break
  9373  				}
  9374  			}
  9375  			intStringLen := int(stringLen)
  9376  			if intStringLen < 0 {
  9377  				return ErrInvalidLengthTypes
  9378  			}
  9379  			postIndex := iNdEx + intStringLen
  9380  			if postIndex < 0 {
  9381  				return ErrInvalidLengthTypes
  9382  			}
  9383  			if postIndex > l {
  9384  				return io.ErrUnexpectedEOF
  9385  			}
  9386  			m.ChainId = string(dAtA[iNdEx:postIndex])
  9387  			iNdEx = postIndex
  9388  		case 3:
  9389  			if wireType != 2 {
  9390  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParams", wireType)
  9391  			}
  9392  			var msglen int
  9393  			for shift := uint(0); ; shift += 7 {
  9394  				if shift >= 64 {
  9395  					return ErrIntOverflowTypes
  9396  				}
  9397  				if iNdEx >= l {
  9398  					return io.ErrUnexpectedEOF
  9399  				}
  9400  				b := dAtA[iNdEx]
  9401  				iNdEx++
  9402  				msglen |= int(b&0x7F) << shift
  9403  				if b < 0x80 {
  9404  					break
  9405  				}
  9406  			}
  9407  			if msglen < 0 {
  9408  				return ErrInvalidLengthTypes
  9409  			}
  9410  			postIndex := iNdEx + msglen
  9411  			if postIndex < 0 {
  9412  				return ErrInvalidLengthTypes
  9413  			}
  9414  			if postIndex > l {
  9415  				return io.ErrUnexpectedEOF
  9416  			}
  9417  			if m.ConsensusParams == nil {
  9418  				m.ConsensusParams = &types1.ConsensusParams{}
  9419  			}
  9420  			if err := m.ConsensusParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9421  				return err
  9422  			}
  9423  			iNdEx = postIndex
  9424  		case 4:
  9425  			if wireType != 2 {
  9426  				return fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType)
  9427  			}
  9428  			var msglen int
  9429  			for shift := uint(0); ; shift += 7 {
  9430  				if shift >= 64 {
  9431  					return ErrIntOverflowTypes
  9432  				}
  9433  				if iNdEx >= l {
  9434  					return io.ErrUnexpectedEOF
  9435  				}
  9436  				b := dAtA[iNdEx]
  9437  				iNdEx++
  9438  				msglen |= int(b&0x7F) << shift
  9439  				if b < 0x80 {
  9440  					break
  9441  				}
  9442  			}
  9443  			if msglen < 0 {
  9444  				return ErrInvalidLengthTypes
  9445  			}
  9446  			postIndex := iNdEx + msglen
  9447  			if postIndex < 0 {
  9448  				return ErrInvalidLengthTypes
  9449  			}
  9450  			if postIndex > l {
  9451  				return io.ErrUnexpectedEOF
  9452  			}
  9453  			m.Validators = append(m.Validators, ValidatorUpdate{})
  9454  			if err := m.Validators[len(m.Validators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9455  				return err
  9456  			}
  9457  			iNdEx = postIndex
  9458  		case 5:
  9459  			if wireType != 2 {
  9460  				return fmt.Errorf("proto: wrong wireType = %d for field AppStateBytes", wireType)
  9461  			}
  9462  			var byteLen int
  9463  			for shift := uint(0); ; shift += 7 {
  9464  				if shift >= 64 {
  9465  					return ErrIntOverflowTypes
  9466  				}
  9467  				if iNdEx >= l {
  9468  					return io.ErrUnexpectedEOF
  9469  				}
  9470  				b := dAtA[iNdEx]
  9471  				iNdEx++
  9472  				byteLen |= int(b&0x7F) << shift
  9473  				if b < 0x80 {
  9474  					break
  9475  				}
  9476  			}
  9477  			if byteLen < 0 {
  9478  				return ErrInvalidLengthTypes
  9479  			}
  9480  			postIndex := iNdEx + byteLen
  9481  			if postIndex < 0 {
  9482  				return ErrInvalidLengthTypes
  9483  			}
  9484  			if postIndex > l {
  9485  				return io.ErrUnexpectedEOF
  9486  			}
  9487  			m.AppStateBytes = append(m.AppStateBytes[:0], dAtA[iNdEx:postIndex]...)
  9488  			if m.AppStateBytes == nil {
  9489  				m.AppStateBytes = []byte{}
  9490  			}
  9491  			iNdEx = postIndex
  9492  		case 6:
  9493  			if wireType != 0 {
  9494  				return fmt.Errorf("proto: wrong wireType = %d for field InitialHeight", wireType)
  9495  			}
  9496  			m.InitialHeight = 0
  9497  			for shift := uint(0); ; shift += 7 {
  9498  				if shift >= 64 {
  9499  					return ErrIntOverflowTypes
  9500  				}
  9501  				if iNdEx >= l {
  9502  					return io.ErrUnexpectedEOF
  9503  				}
  9504  				b := dAtA[iNdEx]
  9505  				iNdEx++
  9506  				m.InitialHeight |= int64(b&0x7F) << shift
  9507  				if b < 0x80 {
  9508  					break
  9509  				}
  9510  			}
  9511  		default:
  9512  			iNdEx = preIndex
  9513  			skippy, err := skipTypes(dAtA[iNdEx:])
  9514  			if err != nil {
  9515  				return err
  9516  			}
  9517  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9518  				return ErrInvalidLengthTypes
  9519  			}
  9520  			if (iNdEx + skippy) > l {
  9521  				return io.ErrUnexpectedEOF
  9522  			}
  9523  			iNdEx += skippy
  9524  		}
  9525  	}
  9526  
  9527  	if iNdEx > l {
  9528  		return io.ErrUnexpectedEOF
  9529  	}
  9530  	return nil
  9531  }
  9532  func (m *RequestQuery) Unmarshal(dAtA []byte) error {
  9533  	l := len(dAtA)
  9534  	iNdEx := 0
  9535  	for iNdEx < l {
  9536  		preIndex := iNdEx
  9537  		var wire uint64
  9538  		for shift := uint(0); ; shift += 7 {
  9539  			if shift >= 64 {
  9540  				return ErrIntOverflowTypes
  9541  			}
  9542  			if iNdEx >= l {
  9543  				return io.ErrUnexpectedEOF
  9544  			}
  9545  			b := dAtA[iNdEx]
  9546  			iNdEx++
  9547  			wire |= uint64(b&0x7F) << shift
  9548  			if b < 0x80 {
  9549  				break
  9550  			}
  9551  		}
  9552  		fieldNum := int32(wire >> 3)
  9553  		wireType := int(wire & 0x7)
  9554  		if wireType == 4 {
  9555  			return fmt.Errorf("proto: RequestQuery: wiretype end group for non-group")
  9556  		}
  9557  		if fieldNum <= 0 {
  9558  			return fmt.Errorf("proto: RequestQuery: illegal tag %d (wire type %d)", fieldNum, wire)
  9559  		}
  9560  		switch fieldNum {
  9561  		case 1:
  9562  			if wireType != 2 {
  9563  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  9564  			}
  9565  			var byteLen int
  9566  			for shift := uint(0); ; shift += 7 {
  9567  				if shift >= 64 {
  9568  					return ErrIntOverflowTypes
  9569  				}
  9570  				if iNdEx >= l {
  9571  					return io.ErrUnexpectedEOF
  9572  				}
  9573  				b := dAtA[iNdEx]
  9574  				iNdEx++
  9575  				byteLen |= int(b&0x7F) << shift
  9576  				if b < 0x80 {
  9577  					break
  9578  				}
  9579  			}
  9580  			if byteLen < 0 {
  9581  				return ErrInvalidLengthTypes
  9582  			}
  9583  			postIndex := iNdEx + byteLen
  9584  			if postIndex < 0 {
  9585  				return ErrInvalidLengthTypes
  9586  			}
  9587  			if postIndex > l {
  9588  				return io.ErrUnexpectedEOF
  9589  			}
  9590  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
  9591  			if m.Data == nil {
  9592  				m.Data = []byte{}
  9593  			}
  9594  			iNdEx = postIndex
  9595  		case 2:
  9596  			if wireType != 2 {
  9597  				return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
  9598  			}
  9599  			var stringLen uint64
  9600  			for shift := uint(0); ; shift += 7 {
  9601  				if shift >= 64 {
  9602  					return ErrIntOverflowTypes
  9603  				}
  9604  				if iNdEx >= l {
  9605  					return io.ErrUnexpectedEOF
  9606  				}
  9607  				b := dAtA[iNdEx]
  9608  				iNdEx++
  9609  				stringLen |= uint64(b&0x7F) << shift
  9610  				if b < 0x80 {
  9611  					break
  9612  				}
  9613  			}
  9614  			intStringLen := int(stringLen)
  9615  			if intStringLen < 0 {
  9616  				return ErrInvalidLengthTypes
  9617  			}
  9618  			postIndex := iNdEx + intStringLen
  9619  			if postIndex < 0 {
  9620  				return ErrInvalidLengthTypes
  9621  			}
  9622  			if postIndex > l {
  9623  				return io.ErrUnexpectedEOF
  9624  			}
  9625  			m.Path = string(dAtA[iNdEx:postIndex])
  9626  			iNdEx = postIndex
  9627  		case 3:
  9628  			if wireType != 0 {
  9629  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
  9630  			}
  9631  			m.Height = 0
  9632  			for shift := uint(0); ; shift += 7 {
  9633  				if shift >= 64 {
  9634  					return ErrIntOverflowTypes
  9635  				}
  9636  				if iNdEx >= l {
  9637  					return io.ErrUnexpectedEOF
  9638  				}
  9639  				b := dAtA[iNdEx]
  9640  				iNdEx++
  9641  				m.Height |= int64(b&0x7F) << shift
  9642  				if b < 0x80 {
  9643  					break
  9644  				}
  9645  			}
  9646  		case 4:
  9647  			if wireType != 0 {
  9648  				return fmt.Errorf("proto: wrong wireType = %d for field Prove", wireType)
  9649  			}
  9650  			var v int
  9651  			for shift := uint(0); ; shift += 7 {
  9652  				if shift >= 64 {
  9653  					return ErrIntOverflowTypes
  9654  				}
  9655  				if iNdEx >= l {
  9656  					return io.ErrUnexpectedEOF
  9657  				}
  9658  				b := dAtA[iNdEx]
  9659  				iNdEx++
  9660  				v |= int(b&0x7F) << shift
  9661  				if b < 0x80 {
  9662  					break
  9663  				}
  9664  			}
  9665  			m.Prove = bool(v != 0)
  9666  		default:
  9667  			iNdEx = preIndex
  9668  			skippy, err := skipTypes(dAtA[iNdEx:])
  9669  			if err != nil {
  9670  				return err
  9671  			}
  9672  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9673  				return ErrInvalidLengthTypes
  9674  			}
  9675  			if (iNdEx + skippy) > l {
  9676  				return io.ErrUnexpectedEOF
  9677  			}
  9678  			iNdEx += skippy
  9679  		}
  9680  	}
  9681  
  9682  	if iNdEx > l {
  9683  		return io.ErrUnexpectedEOF
  9684  	}
  9685  	return nil
  9686  }
  9687  func (m *RequestBeginBlock) Unmarshal(dAtA []byte) error {
  9688  	l := len(dAtA)
  9689  	iNdEx := 0
  9690  	for iNdEx < l {
  9691  		preIndex := iNdEx
  9692  		var wire uint64
  9693  		for shift := uint(0); ; shift += 7 {
  9694  			if shift >= 64 {
  9695  				return ErrIntOverflowTypes
  9696  			}
  9697  			if iNdEx >= l {
  9698  				return io.ErrUnexpectedEOF
  9699  			}
  9700  			b := dAtA[iNdEx]
  9701  			iNdEx++
  9702  			wire |= uint64(b&0x7F) << shift
  9703  			if b < 0x80 {
  9704  				break
  9705  			}
  9706  		}
  9707  		fieldNum := int32(wire >> 3)
  9708  		wireType := int(wire & 0x7)
  9709  		if wireType == 4 {
  9710  			return fmt.Errorf("proto: RequestBeginBlock: wiretype end group for non-group")
  9711  		}
  9712  		if fieldNum <= 0 {
  9713  			return fmt.Errorf("proto: RequestBeginBlock: illegal tag %d (wire type %d)", fieldNum, wire)
  9714  		}
  9715  		switch fieldNum {
  9716  		case 1:
  9717  			if wireType != 2 {
  9718  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
  9719  			}
  9720  			var byteLen int
  9721  			for shift := uint(0); ; shift += 7 {
  9722  				if shift >= 64 {
  9723  					return ErrIntOverflowTypes
  9724  				}
  9725  				if iNdEx >= l {
  9726  					return io.ErrUnexpectedEOF
  9727  				}
  9728  				b := dAtA[iNdEx]
  9729  				iNdEx++
  9730  				byteLen |= int(b&0x7F) << shift
  9731  				if b < 0x80 {
  9732  					break
  9733  				}
  9734  			}
  9735  			if byteLen < 0 {
  9736  				return ErrInvalidLengthTypes
  9737  			}
  9738  			postIndex := iNdEx + byteLen
  9739  			if postIndex < 0 {
  9740  				return ErrInvalidLengthTypes
  9741  			}
  9742  			if postIndex > l {
  9743  				return io.ErrUnexpectedEOF
  9744  			}
  9745  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
  9746  			if m.Hash == nil {
  9747  				m.Hash = []byte{}
  9748  			}
  9749  			iNdEx = postIndex
  9750  		case 2:
  9751  			if wireType != 2 {
  9752  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
  9753  			}
  9754  			var msglen int
  9755  			for shift := uint(0); ; shift += 7 {
  9756  				if shift >= 64 {
  9757  					return ErrIntOverflowTypes
  9758  				}
  9759  				if iNdEx >= l {
  9760  					return io.ErrUnexpectedEOF
  9761  				}
  9762  				b := dAtA[iNdEx]
  9763  				iNdEx++
  9764  				msglen |= int(b&0x7F) << shift
  9765  				if b < 0x80 {
  9766  					break
  9767  				}
  9768  			}
  9769  			if msglen < 0 {
  9770  				return ErrInvalidLengthTypes
  9771  			}
  9772  			postIndex := iNdEx + msglen
  9773  			if postIndex < 0 {
  9774  				return ErrInvalidLengthTypes
  9775  			}
  9776  			if postIndex > l {
  9777  				return io.ErrUnexpectedEOF
  9778  			}
  9779  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9780  				return err
  9781  			}
  9782  			iNdEx = postIndex
  9783  		case 3:
  9784  			if wireType != 2 {
  9785  				return fmt.Errorf("proto: wrong wireType = %d for field LastCommitInfo", wireType)
  9786  			}
  9787  			var msglen int
  9788  			for shift := uint(0); ; shift += 7 {
  9789  				if shift >= 64 {
  9790  					return ErrIntOverflowTypes
  9791  				}
  9792  				if iNdEx >= l {
  9793  					return io.ErrUnexpectedEOF
  9794  				}
  9795  				b := dAtA[iNdEx]
  9796  				iNdEx++
  9797  				msglen |= int(b&0x7F) << shift
  9798  				if b < 0x80 {
  9799  					break
  9800  				}
  9801  			}
  9802  			if msglen < 0 {
  9803  				return ErrInvalidLengthTypes
  9804  			}
  9805  			postIndex := iNdEx + msglen
  9806  			if postIndex < 0 {
  9807  				return ErrInvalidLengthTypes
  9808  			}
  9809  			if postIndex > l {
  9810  				return io.ErrUnexpectedEOF
  9811  			}
  9812  			if err := m.LastCommitInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9813  				return err
  9814  			}
  9815  			iNdEx = postIndex
  9816  		case 4:
  9817  			if wireType != 2 {
  9818  				return fmt.Errorf("proto: wrong wireType = %d for field ByzantineValidators", wireType)
  9819  			}
  9820  			var msglen int
  9821  			for shift := uint(0); ; shift += 7 {
  9822  				if shift >= 64 {
  9823  					return ErrIntOverflowTypes
  9824  				}
  9825  				if iNdEx >= l {
  9826  					return io.ErrUnexpectedEOF
  9827  				}
  9828  				b := dAtA[iNdEx]
  9829  				iNdEx++
  9830  				msglen |= int(b&0x7F) << shift
  9831  				if b < 0x80 {
  9832  					break
  9833  				}
  9834  			}
  9835  			if msglen < 0 {
  9836  				return ErrInvalidLengthTypes
  9837  			}
  9838  			postIndex := iNdEx + msglen
  9839  			if postIndex < 0 {
  9840  				return ErrInvalidLengthTypes
  9841  			}
  9842  			if postIndex > l {
  9843  				return io.ErrUnexpectedEOF
  9844  			}
  9845  			m.ByzantineValidators = append(m.ByzantineValidators, Misbehavior{})
  9846  			if err := m.ByzantineValidators[len(m.ByzantineValidators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  9847  				return err
  9848  			}
  9849  			iNdEx = postIndex
  9850  		default:
  9851  			iNdEx = preIndex
  9852  			skippy, err := skipTypes(dAtA[iNdEx:])
  9853  			if err != nil {
  9854  				return err
  9855  			}
  9856  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9857  				return ErrInvalidLengthTypes
  9858  			}
  9859  			if (iNdEx + skippy) > l {
  9860  				return io.ErrUnexpectedEOF
  9861  			}
  9862  			iNdEx += skippy
  9863  		}
  9864  	}
  9865  
  9866  	if iNdEx > l {
  9867  		return io.ErrUnexpectedEOF
  9868  	}
  9869  	return nil
  9870  }
  9871  func (m *RequestCheckTx) Unmarshal(dAtA []byte) error {
  9872  	l := len(dAtA)
  9873  	iNdEx := 0
  9874  	for iNdEx < l {
  9875  		preIndex := iNdEx
  9876  		var wire uint64
  9877  		for shift := uint(0); ; shift += 7 {
  9878  			if shift >= 64 {
  9879  				return ErrIntOverflowTypes
  9880  			}
  9881  			if iNdEx >= l {
  9882  				return io.ErrUnexpectedEOF
  9883  			}
  9884  			b := dAtA[iNdEx]
  9885  			iNdEx++
  9886  			wire |= uint64(b&0x7F) << shift
  9887  			if b < 0x80 {
  9888  				break
  9889  			}
  9890  		}
  9891  		fieldNum := int32(wire >> 3)
  9892  		wireType := int(wire & 0x7)
  9893  		if wireType == 4 {
  9894  			return fmt.Errorf("proto: RequestCheckTx: wiretype end group for non-group")
  9895  		}
  9896  		if fieldNum <= 0 {
  9897  			return fmt.Errorf("proto: RequestCheckTx: illegal tag %d (wire type %d)", fieldNum, wire)
  9898  		}
  9899  		switch fieldNum {
  9900  		case 1:
  9901  			if wireType != 2 {
  9902  				return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType)
  9903  			}
  9904  			var byteLen int
  9905  			for shift := uint(0); ; shift += 7 {
  9906  				if shift >= 64 {
  9907  					return ErrIntOverflowTypes
  9908  				}
  9909  				if iNdEx >= l {
  9910  					return io.ErrUnexpectedEOF
  9911  				}
  9912  				b := dAtA[iNdEx]
  9913  				iNdEx++
  9914  				byteLen |= int(b&0x7F) << shift
  9915  				if b < 0x80 {
  9916  					break
  9917  				}
  9918  			}
  9919  			if byteLen < 0 {
  9920  				return ErrInvalidLengthTypes
  9921  			}
  9922  			postIndex := iNdEx + byteLen
  9923  			if postIndex < 0 {
  9924  				return ErrInvalidLengthTypes
  9925  			}
  9926  			if postIndex > l {
  9927  				return io.ErrUnexpectedEOF
  9928  			}
  9929  			m.Tx = append(m.Tx[:0], dAtA[iNdEx:postIndex]...)
  9930  			if m.Tx == nil {
  9931  				m.Tx = []byte{}
  9932  			}
  9933  			iNdEx = postIndex
  9934  		case 2:
  9935  			if wireType != 0 {
  9936  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
  9937  			}
  9938  			m.Type = 0
  9939  			for shift := uint(0); ; shift += 7 {
  9940  				if shift >= 64 {
  9941  					return ErrIntOverflowTypes
  9942  				}
  9943  				if iNdEx >= l {
  9944  					return io.ErrUnexpectedEOF
  9945  				}
  9946  				b := dAtA[iNdEx]
  9947  				iNdEx++
  9948  				m.Type |= CheckTxType(b&0x7F) << shift
  9949  				if b < 0x80 {
  9950  					break
  9951  				}
  9952  			}
  9953  		default:
  9954  			iNdEx = preIndex
  9955  			skippy, err := skipTypes(dAtA[iNdEx:])
  9956  			if err != nil {
  9957  				return err
  9958  			}
  9959  			if (skippy < 0) || (iNdEx+skippy) < 0 {
  9960  				return ErrInvalidLengthTypes
  9961  			}
  9962  			if (iNdEx + skippy) > l {
  9963  				return io.ErrUnexpectedEOF
  9964  			}
  9965  			iNdEx += skippy
  9966  		}
  9967  	}
  9968  
  9969  	if iNdEx > l {
  9970  		return io.ErrUnexpectedEOF
  9971  	}
  9972  	return nil
  9973  }
  9974  func (m *RequestDeliverTx) Unmarshal(dAtA []byte) error {
  9975  	l := len(dAtA)
  9976  	iNdEx := 0
  9977  	for iNdEx < l {
  9978  		preIndex := iNdEx
  9979  		var wire uint64
  9980  		for shift := uint(0); ; shift += 7 {
  9981  			if shift >= 64 {
  9982  				return ErrIntOverflowTypes
  9983  			}
  9984  			if iNdEx >= l {
  9985  				return io.ErrUnexpectedEOF
  9986  			}
  9987  			b := dAtA[iNdEx]
  9988  			iNdEx++
  9989  			wire |= uint64(b&0x7F) << shift
  9990  			if b < 0x80 {
  9991  				break
  9992  			}
  9993  		}
  9994  		fieldNum := int32(wire >> 3)
  9995  		wireType := int(wire & 0x7)
  9996  		if wireType == 4 {
  9997  			return fmt.Errorf("proto: RequestDeliverTx: wiretype end group for non-group")
  9998  		}
  9999  		if fieldNum <= 0 {
 10000  			return fmt.Errorf("proto: RequestDeliverTx: illegal tag %d (wire type %d)", fieldNum, wire)
 10001  		}
 10002  		switch fieldNum {
 10003  		case 1:
 10004  			if wireType != 2 {
 10005  				return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType)
 10006  			}
 10007  			var byteLen int
 10008  			for shift := uint(0); ; shift += 7 {
 10009  				if shift >= 64 {
 10010  					return ErrIntOverflowTypes
 10011  				}
 10012  				if iNdEx >= l {
 10013  					return io.ErrUnexpectedEOF
 10014  				}
 10015  				b := dAtA[iNdEx]
 10016  				iNdEx++
 10017  				byteLen |= int(b&0x7F) << shift
 10018  				if b < 0x80 {
 10019  					break
 10020  				}
 10021  			}
 10022  			if byteLen < 0 {
 10023  				return ErrInvalidLengthTypes
 10024  			}
 10025  			postIndex := iNdEx + byteLen
 10026  			if postIndex < 0 {
 10027  				return ErrInvalidLengthTypes
 10028  			}
 10029  			if postIndex > l {
 10030  				return io.ErrUnexpectedEOF
 10031  			}
 10032  			m.Tx = append(m.Tx[:0], dAtA[iNdEx:postIndex]...)
 10033  			if m.Tx == nil {
 10034  				m.Tx = []byte{}
 10035  			}
 10036  			iNdEx = postIndex
 10037  		default:
 10038  			iNdEx = preIndex
 10039  			skippy, err := skipTypes(dAtA[iNdEx:])
 10040  			if err != nil {
 10041  				return err
 10042  			}
 10043  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10044  				return ErrInvalidLengthTypes
 10045  			}
 10046  			if (iNdEx + skippy) > l {
 10047  				return io.ErrUnexpectedEOF
 10048  			}
 10049  			iNdEx += skippy
 10050  		}
 10051  	}
 10052  
 10053  	if iNdEx > l {
 10054  		return io.ErrUnexpectedEOF
 10055  	}
 10056  	return nil
 10057  }
 10058  func (m *RequestEndBlock) Unmarshal(dAtA []byte) error {
 10059  	l := len(dAtA)
 10060  	iNdEx := 0
 10061  	for iNdEx < l {
 10062  		preIndex := iNdEx
 10063  		var wire uint64
 10064  		for shift := uint(0); ; shift += 7 {
 10065  			if shift >= 64 {
 10066  				return ErrIntOverflowTypes
 10067  			}
 10068  			if iNdEx >= l {
 10069  				return io.ErrUnexpectedEOF
 10070  			}
 10071  			b := dAtA[iNdEx]
 10072  			iNdEx++
 10073  			wire |= uint64(b&0x7F) << shift
 10074  			if b < 0x80 {
 10075  				break
 10076  			}
 10077  		}
 10078  		fieldNum := int32(wire >> 3)
 10079  		wireType := int(wire & 0x7)
 10080  		if wireType == 4 {
 10081  			return fmt.Errorf("proto: RequestEndBlock: wiretype end group for non-group")
 10082  		}
 10083  		if fieldNum <= 0 {
 10084  			return fmt.Errorf("proto: RequestEndBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 10085  		}
 10086  		switch fieldNum {
 10087  		case 1:
 10088  			if wireType != 0 {
 10089  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 10090  			}
 10091  			m.Height = 0
 10092  			for shift := uint(0); ; shift += 7 {
 10093  				if shift >= 64 {
 10094  					return ErrIntOverflowTypes
 10095  				}
 10096  				if iNdEx >= l {
 10097  					return io.ErrUnexpectedEOF
 10098  				}
 10099  				b := dAtA[iNdEx]
 10100  				iNdEx++
 10101  				m.Height |= int64(b&0x7F) << shift
 10102  				if b < 0x80 {
 10103  					break
 10104  				}
 10105  			}
 10106  		default:
 10107  			iNdEx = preIndex
 10108  			skippy, err := skipTypes(dAtA[iNdEx:])
 10109  			if err != nil {
 10110  				return err
 10111  			}
 10112  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10113  				return ErrInvalidLengthTypes
 10114  			}
 10115  			if (iNdEx + skippy) > l {
 10116  				return io.ErrUnexpectedEOF
 10117  			}
 10118  			iNdEx += skippy
 10119  		}
 10120  	}
 10121  
 10122  	if iNdEx > l {
 10123  		return io.ErrUnexpectedEOF
 10124  	}
 10125  	return nil
 10126  }
 10127  func (m *RequestCommit) Unmarshal(dAtA []byte) error {
 10128  	l := len(dAtA)
 10129  	iNdEx := 0
 10130  	for iNdEx < l {
 10131  		preIndex := iNdEx
 10132  		var wire uint64
 10133  		for shift := uint(0); ; shift += 7 {
 10134  			if shift >= 64 {
 10135  				return ErrIntOverflowTypes
 10136  			}
 10137  			if iNdEx >= l {
 10138  				return io.ErrUnexpectedEOF
 10139  			}
 10140  			b := dAtA[iNdEx]
 10141  			iNdEx++
 10142  			wire |= uint64(b&0x7F) << shift
 10143  			if b < 0x80 {
 10144  				break
 10145  			}
 10146  		}
 10147  		fieldNum := int32(wire >> 3)
 10148  		wireType := int(wire & 0x7)
 10149  		if wireType == 4 {
 10150  			return fmt.Errorf("proto: RequestCommit: wiretype end group for non-group")
 10151  		}
 10152  		if fieldNum <= 0 {
 10153  			return fmt.Errorf("proto: RequestCommit: illegal tag %d (wire type %d)", fieldNum, wire)
 10154  		}
 10155  		switch fieldNum {
 10156  		default:
 10157  			iNdEx = preIndex
 10158  			skippy, err := skipTypes(dAtA[iNdEx:])
 10159  			if err != nil {
 10160  				return err
 10161  			}
 10162  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10163  				return ErrInvalidLengthTypes
 10164  			}
 10165  			if (iNdEx + skippy) > l {
 10166  				return io.ErrUnexpectedEOF
 10167  			}
 10168  			iNdEx += skippy
 10169  		}
 10170  	}
 10171  
 10172  	if iNdEx > l {
 10173  		return io.ErrUnexpectedEOF
 10174  	}
 10175  	return nil
 10176  }
 10177  func (m *RequestListSnapshots) Unmarshal(dAtA []byte) error {
 10178  	l := len(dAtA)
 10179  	iNdEx := 0
 10180  	for iNdEx < l {
 10181  		preIndex := iNdEx
 10182  		var wire uint64
 10183  		for shift := uint(0); ; shift += 7 {
 10184  			if shift >= 64 {
 10185  				return ErrIntOverflowTypes
 10186  			}
 10187  			if iNdEx >= l {
 10188  				return io.ErrUnexpectedEOF
 10189  			}
 10190  			b := dAtA[iNdEx]
 10191  			iNdEx++
 10192  			wire |= uint64(b&0x7F) << shift
 10193  			if b < 0x80 {
 10194  				break
 10195  			}
 10196  		}
 10197  		fieldNum := int32(wire >> 3)
 10198  		wireType := int(wire & 0x7)
 10199  		if wireType == 4 {
 10200  			return fmt.Errorf("proto: RequestListSnapshots: wiretype end group for non-group")
 10201  		}
 10202  		if fieldNum <= 0 {
 10203  			return fmt.Errorf("proto: RequestListSnapshots: illegal tag %d (wire type %d)", fieldNum, wire)
 10204  		}
 10205  		switch fieldNum {
 10206  		default:
 10207  			iNdEx = preIndex
 10208  			skippy, err := skipTypes(dAtA[iNdEx:])
 10209  			if err != nil {
 10210  				return err
 10211  			}
 10212  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10213  				return ErrInvalidLengthTypes
 10214  			}
 10215  			if (iNdEx + skippy) > l {
 10216  				return io.ErrUnexpectedEOF
 10217  			}
 10218  			iNdEx += skippy
 10219  		}
 10220  	}
 10221  
 10222  	if iNdEx > l {
 10223  		return io.ErrUnexpectedEOF
 10224  	}
 10225  	return nil
 10226  }
 10227  func (m *RequestOfferSnapshot) Unmarshal(dAtA []byte) error {
 10228  	l := len(dAtA)
 10229  	iNdEx := 0
 10230  	for iNdEx < l {
 10231  		preIndex := iNdEx
 10232  		var wire uint64
 10233  		for shift := uint(0); ; shift += 7 {
 10234  			if shift >= 64 {
 10235  				return ErrIntOverflowTypes
 10236  			}
 10237  			if iNdEx >= l {
 10238  				return io.ErrUnexpectedEOF
 10239  			}
 10240  			b := dAtA[iNdEx]
 10241  			iNdEx++
 10242  			wire |= uint64(b&0x7F) << shift
 10243  			if b < 0x80 {
 10244  				break
 10245  			}
 10246  		}
 10247  		fieldNum := int32(wire >> 3)
 10248  		wireType := int(wire & 0x7)
 10249  		if wireType == 4 {
 10250  			return fmt.Errorf("proto: RequestOfferSnapshot: wiretype end group for non-group")
 10251  		}
 10252  		if fieldNum <= 0 {
 10253  			return fmt.Errorf("proto: RequestOfferSnapshot: illegal tag %d (wire type %d)", fieldNum, wire)
 10254  		}
 10255  		switch fieldNum {
 10256  		case 1:
 10257  			if wireType != 2 {
 10258  				return fmt.Errorf("proto: wrong wireType = %d for field Snapshot", wireType)
 10259  			}
 10260  			var msglen int
 10261  			for shift := uint(0); ; shift += 7 {
 10262  				if shift >= 64 {
 10263  					return ErrIntOverflowTypes
 10264  				}
 10265  				if iNdEx >= l {
 10266  					return io.ErrUnexpectedEOF
 10267  				}
 10268  				b := dAtA[iNdEx]
 10269  				iNdEx++
 10270  				msglen |= int(b&0x7F) << shift
 10271  				if b < 0x80 {
 10272  					break
 10273  				}
 10274  			}
 10275  			if msglen < 0 {
 10276  				return ErrInvalidLengthTypes
 10277  			}
 10278  			postIndex := iNdEx + msglen
 10279  			if postIndex < 0 {
 10280  				return ErrInvalidLengthTypes
 10281  			}
 10282  			if postIndex > l {
 10283  				return io.ErrUnexpectedEOF
 10284  			}
 10285  			if m.Snapshot == nil {
 10286  				m.Snapshot = &Snapshot{}
 10287  			}
 10288  			if err := m.Snapshot.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10289  				return err
 10290  			}
 10291  			iNdEx = postIndex
 10292  		case 2:
 10293  			if wireType != 2 {
 10294  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 10295  			}
 10296  			var byteLen int
 10297  			for shift := uint(0); ; shift += 7 {
 10298  				if shift >= 64 {
 10299  					return ErrIntOverflowTypes
 10300  				}
 10301  				if iNdEx >= l {
 10302  					return io.ErrUnexpectedEOF
 10303  				}
 10304  				b := dAtA[iNdEx]
 10305  				iNdEx++
 10306  				byteLen |= int(b&0x7F) << shift
 10307  				if b < 0x80 {
 10308  					break
 10309  				}
 10310  			}
 10311  			if byteLen < 0 {
 10312  				return ErrInvalidLengthTypes
 10313  			}
 10314  			postIndex := iNdEx + byteLen
 10315  			if postIndex < 0 {
 10316  				return ErrInvalidLengthTypes
 10317  			}
 10318  			if postIndex > l {
 10319  				return io.ErrUnexpectedEOF
 10320  			}
 10321  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 10322  			if m.AppHash == nil {
 10323  				m.AppHash = []byte{}
 10324  			}
 10325  			iNdEx = postIndex
 10326  		default:
 10327  			iNdEx = preIndex
 10328  			skippy, err := skipTypes(dAtA[iNdEx:])
 10329  			if err != nil {
 10330  				return err
 10331  			}
 10332  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10333  				return ErrInvalidLengthTypes
 10334  			}
 10335  			if (iNdEx + skippy) > l {
 10336  				return io.ErrUnexpectedEOF
 10337  			}
 10338  			iNdEx += skippy
 10339  		}
 10340  	}
 10341  
 10342  	if iNdEx > l {
 10343  		return io.ErrUnexpectedEOF
 10344  	}
 10345  	return nil
 10346  }
 10347  func (m *RequestLoadSnapshotChunk) Unmarshal(dAtA []byte) error {
 10348  	l := len(dAtA)
 10349  	iNdEx := 0
 10350  	for iNdEx < l {
 10351  		preIndex := iNdEx
 10352  		var wire uint64
 10353  		for shift := uint(0); ; shift += 7 {
 10354  			if shift >= 64 {
 10355  				return ErrIntOverflowTypes
 10356  			}
 10357  			if iNdEx >= l {
 10358  				return io.ErrUnexpectedEOF
 10359  			}
 10360  			b := dAtA[iNdEx]
 10361  			iNdEx++
 10362  			wire |= uint64(b&0x7F) << shift
 10363  			if b < 0x80 {
 10364  				break
 10365  			}
 10366  		}
 10367  		fieldNum := int32(wire >> 3)
 10368  		wireType := int(wire & 0x7)
 10369  		if wireType == 4 {
 10370  			return fmt.Errorf("proto: RequestLoadSnapshotChunk: wiretype end group for non-group")
 10371  		}
 10372  		if fieldNum <= 0 {
 10373  			return fmt.Errorf("proto: RequestLoadSnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire)
 10374  		}
 10375  		switch fieldNum {
 10376  		case 1:
 10377  			if wireType != 0 {
 10378  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 10379  			}
 10380  			m.Height = 0
 10381  			for shift := uint(0); ; shift += 7 {
 10382  				if shift >= 64 {
 10383  					return ErrIntOverflowTypes
 10384  				}
 10385  				if iNdEx >= l {
 10386  					return io.ErrUnexpectedEOF
 10387  				}
 10388  				b := dAtA[iNdEx]
 10389  				iNdEx++
 10390  				m.Height |= uint64(b&0x7F) << shift
 10391  				if b < 0x80 {
 10392  					break
 10393  				}
 10394  			}
 10395  		case 2:
 10396  			if wireType != 0 {
 10397  				return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType)
 10398  			}
 10399  			m.Format = 0
 10400  			for shift := uint(0); ; shift += 7 {
 10401  				if shift >= 64 {
 10402  					return ErrIntOverflowTypes
 10403  				}
 10404  				if iNdEx >= l {
 10405  					return io.ErrUnexpectedEOF
 10406  				}
 10407  				b := dAtA[iNdEx]
 10408  				iNdEx++
 10409  				m.Format |= uint32(b&0x7F) << shift
 10410  				if b < 0x80 {
 10411  					break
 10412  				}
 10413  			}
 10414  		case 3:
 10415  			if wireType != 0 {
 10416  				return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType)
 10417  			}
 10418  			m.Chunk = 0
 10419  			for shift := uint(0); ; shift += 7 {
 10420  				if shift >= 64 {
 10421  					return ErrIntOverflowTypes
 10422  				}
 10423  				if iNdEx >= l {
 10424  					return io.ErrUnexpectedEOF
 10425  				}
 10426  				b := dAtA[iNdEx]
 10427  				iNdEx++
 10428  				m.Chunk |= uint32(b&0x7F) << shift
 10429  				if b < 0x80 {
 10430  					break
 10431  				}
 10432  			}
 10433  		default:
 10434  			iNdEx = preIndex
 10435  			skippy, err := skipTypes(dAtA[iNdEx:])
 10436  			if err != nil {
 10437  				return err
 10438  			}
 10439  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10440  				return ErrInvalidLengthTypes
 10441  			}
 10442  			if (iNdEx + skippy) > l {
 10443  				return io.ErrUnexpectedEOF
 10444  			}
 10445  			iNdEx += skippy
 10446  		}
 10447  	}
 10448  
 10449  	if iNdEx > l {
 10450  		return io.ErrUnexpectedEOF
 10451  	}
 10452  	return nil
 10453  }
 10454  func (m *RequestApplySnapshotChunk) Unmarshal(dAtA []byte) error {
 10455  	l := len(dAtA)
 10456  	iNdEx := 0
 10457  	for iNdEx < l {
 10458  		preIndex := iNdEx
 10459  		var wire uint64
 10460  		for shift := uint(0); ; shift += 7 {
 10461  			if shift >= 64 {
 10462  				return ErrIntOverflowTypes
 10463  			}
 10464  			if iNdEx >= l {
 10465  				return io.ErrUnexpectedEOF
 10466  			}
 10467  			b := dAtA[iNdEx]
 10468  			iNdEx++
 10469  			wire |= uint64(b&0x7F) << shift
 10470  			if b < 0x80 {
 10471  				break
 10472  			}
 10473  		}
 10474  		fieldNum := int32(wire >> 3)
 10475  		wireType := int(wire & 0x7)
 10476  		if wireType == 4 {
 10477  			return fmt.Errorf("proto: RequestApplySnapshotChunk: wiretype end group for non-group")
 10478  		}
 10479  		if fieldNum <= 0 {
 10480  			return fmt.Errorf("proto: RequestApplySnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire)
 10481  		}
 10482  		switch fieldNum {
 10483  		case 1:
 10484  			if wireType != 0 {
 10485  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 10486  			}
 10487  			m.Index = 0
 10488  			for shift := uint(0); ; shift += 7 {
 10489  				if shift >= 64 {
 10490  					return ErrIntOverflowTypes
 10491  				}
 10492  				if iNdEx >= l {
 10493  					return io.ErrUnexpectedEOF
 10494  				}
 10495  				b := dAtA[iNdEx]
 10496  				iNdEx++
 10497  				m.Index |= uint32(b&0x7F) << shift
 10498  				if b < 0x80 {
 10499  					break
 10500  				}
 10501  			}
 10502  		case 2:
 10503  			if wireType != 2 {
 10504  				return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType)
 10505  			}
 10506  			var byteLen int
 10507  			for shift := uint(0); ; shift += 7 {
 10508  				if shift >= 64 {
 10509  					return ErrIntOverflowTypes
 10510  				}
 10511  				if iNdEx >= l {
 10512  					return io.ErrUnexpectedEOF
 10513  				}
 10514  				b := dAtA[iNdEx]
 10515  				iNdEx++
 10516  				byteLen |= int(b&0x7F) << shift
 10517  				if b < 0x80 {
 10518  					break
 10519  				}
 10520  			}
 10521  			if byteLen < 0 {
 10522  				return ErrInvalidLengthTypes
 10523  			}
 10524  			postIndex := iNdEx + byteLen
 10525  			if postIndex < 0 {
 10526  				return ErrInvalidLengthTypes
 10527  			}
 10528  			if postIndex > l {
 10529  				return io.ErrUnexpectedEOF
 10530  			}
 10531  			m.Chunk = append(m.Chunk[:0], dAtA[iNdEx:postIndex]...)
 10532  			if m.Chunk == nil {
 10533  				m.Chunk = []byte{}
 10534  			}
 10535  			iNdEx = postIndex
 10536  		case 3:
 10537  			if wireType != 2 {
 10538  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 10539  			}
 10540  			var stringLen uint64
 10541  			for shift := uint(0); ; shift += 7 {
 10542  				if shift >= 64 {
 10543  					return ErrIntOverflowTypes
 10544  				}
 10545  				if iNdEx >= l {
 10546  					return io.ErrUnexpectedEOF
 10547  				}
 10548  				b := dAtA[iNdEx]
 10549  				iNdEx++
 10550  				stringLen |= uint64(b&0x7F) << shift
 10551  				if b < 0x80 {
 10552  					break
 10553  				}
 10554  			}
 10555  			intStringLen := int(stringLen)
 10556  			if intStringLen < 0 {
 10557  				return ErrInvalidLengthTypes
 10558  			}
 10559  			postIndex := iNdEx + intStringLen
 10560  			if postIndex < 0 {
 10561  				return ErrInvalidLengthTypes
 10562  			}
 10563  			if postIndex > l {
 10564  				return io.ErrUnexpectedEOF
 10565  			}
 10566  			m.Sender = string(dAtA[iNdEx:postIndex])
 10567  			iNdEx = postIndex
 10568  		default:
 10569  			iNdEx = preIndex
 10570  			skippy, err := skipTypes(dAtA[iNdEx:])
 10571  			if err != nil {
 10572  				return err
 10573  			}
 10574  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10575  				return ErrInvalidLengthTypes
 10576  			}
 10577  			if (iNdEx + skippy) > l {
 10578  				return io.ErrUnexpectedEOF
 10579  			}
 10580  			iNdEx += skippy
 10581  		}
 10582  	}
 10583  
 10584  	if iNdEx > l {
 10585  		return io.ErrUnexpectedEOF
 10586  	}
 10587  	return nil
 10588  }
 10589  func (m *RequestPrepareProposal) Unmarshal(dAtA []byte) error {
 10590  	l := len(dAtA)
 10591  	iNdEx := 0
 10592  	for iNdEx < l {
 10593  		preIndex := iNdEx
 10594  		var wire uint64
 10595  		for shift := uint(0); ; shift += 7 {
 10596  			if shift >= 64 {
 10597  				return ErrIntOverflowTypes
 10598  			}
 10599  			if iNdEx >= l {
 10600  				return io.ErrUnexpectedEOF
 10601  			}
 10602  			b := dAtA[iNdEx]
 10603  			iNdEx++
 10604  			wire |= uint64(b&0x7F) << shift
 10605  			if b < 0x80 {
 10606  				break
 10607  			}
 10608  		}
 10609  		fieldNum := int32(wire >> 3)
 10610  		wireType := int(wire & 0x7)
 10611  		if wireType == 4 {
 10612  			return fmt.Errorf("proto: RequestPrepareProposal: wiretype end group for non-group")
 10613  		}
 10614  		if fieldNum <= 0 {
 10615  			return fmt.Errorf("proto: RequestPrepareProposal: illegal tag %d (wire type %d)", fieldNum, wire)
 10616  		}
 10617  		switch fieldNum {
 10618  		case 1:
 10619  			if wireType != 0 {
 10620  				return fmt.Errorf("proto: wrong wireType = %d for field MaxTxBytes", wireType)
 10621  			}
 10622  			m.MaxTxBytes = 0
 10623  			for shift := uint(0); ; shift += 7 {
 10624  				if shift >= 64 {
 10625  					return ErrIntOverflowTypes
 10626  				}
 10627  				if iNdEx >= l {
 10628  					return io.ErrUnexpectedEOF
 10629  				}
 10630  				b := dAtA[iNdEx]
 10631  				iNdEx++
 10632  				m.MaxTxBytes |= int64(b&0x7F) << shift
 10633  				if b < 0x80 {
 10634  					break
 10635  				}
 10636  			}
 10637  		case 2:
 10638  			if wireType != 2 {
 10639  				return fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType)
 10640  			}
 10641  			var byteLen int
 10642  			for shift := uint(0); ; shift += 7 {
 10643  				if shift >= 64 {
 10644  					return ErrIntOverflowTypes
 10645  				}
 10646  				if iNdEx >= l {
 10647  					return io.ErrUnexpectedEOF
 10648  				}
 10649  				b := dAtA[iNdEx]
 10650  				iNdEx++
 10651  				byteLen |= int(b&0x7F) << shift
 10652  				if b < 0x80 {
 10653  					break
 10654  				}
 10655  			}
 10656  			if byteLen < 0 {
 10657  				return ErrInvalidLengthTypes
 10658  			}
 10659  			postIndex := iNdEx + byteLen
 10660  			if postIndex < 0 {
 10661  				return ErrInvalidLengthTypes
 10662  			}
 10663  			if postIndex > l {
 10664  				return io.ErrUnexpectedEOF
 10665  			}
 10666  			m.Txs = append(m.Txs, make([]byte, postIndex-iNdEx))
 10667  			copy(m.Txs[len(m.Txs)-1], dAtA[iNdEx:postIndex])
 10668  			iNdEx = postIndex
 10669  		case 3:
 10670  			if wireType != 2 {
 10671  				return fmt.Errorf("proto: wrong wireType = %d for field LocalLastCommit", wireType)
 10672  			}
 10673  			var msglen int
 10674  			for shift := uint(0); ; shift += 7 {
 10675  				if shift >= 64 {
 10676  					return ErrIntOverflowTypes
 10677  				}
 10678  				if iNdEx >= l {
 10679  					return io.ErrUnexpectedEOF
 10680  				}
 10681  				b := dAtA[iNdEx]
 10682  				iNdEx++
 10683  				msglen |= int(b&0x7F) << shift
 10684  				if b < 0x80 {
 10685  					break
 10686  				}
 10687  			}
 10688  			if msglen < 0 {
 10689  				return ErrInvalidLengthTypes
 10690  			}
 10691  			postIndex := iNdEx + msglen
 10692  			if postIndex < 0 {
 10693  				return ErrInvalidLengthTypes
 10694  			}
 10695  			if postIndex > l {
 10696  				return io.ErrUnexpectedEOF
 10697  			}
 10698  			if err := m.LocalLastCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10699  				return err
 10700  			}
 10701  			iNdEx = postIndex
 10702  		case 4:
 10703  			if wireType != 2 {
 10704  				return fmt.Errorf("proto: wrong wireType = %d for field Misbehavior", wireType)
 10705  			}
 10706  			var msglen int
 10707  			for shift := uint(0); ; shift += 7 {
 10708  				if shift >= 64 {
 10709  					return ErrIntOverflowTypes
 10710  				}
 10711  				if iNdEx >= l {
 10712  					return io.ErrUnexpectedEOF
 10713  				}
 10714  				b := dAtA[iNdEx]
 10715  				iNdEx++
 10716  				msglen |= int(b&0x7F) << shift
 10717  				if b < 0x80 {
 10718  					break
 10719  				}
 10720  			}
 10721  			if msglen < 0 {
 10722  				return ErrInvalidLengthTypes
 10723  			}
 10724  			postIndex := iNdEx + msglen
 10725  			if postIndex < 0 {
 10726  				return ErrInvalidLengthTypes
 10727  			}
 10728  			if postIndex > l {
 10729  				return io.ErrUnexpectedEOF
 10730  			}
 10731  			m.Misbehavior = append(m.Misbehavior, Misbehavior{})
 10732  			if err := m.Misbehavior[len(m.Misbehavior)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10733  				return err
 10734  			}
 10735  			iNdEx = postIndex
 10736  		case 5:
 10737  			if wireType != 0 {
 10738  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 10739  			}
 10740  			m.Height = 0
 10741  			for shift := uint(0); ; shift += 7 {
 10742  				if shift >= 64 {
 10743  					return ErrIntOverflowTypes
 10744  				}
 10745  				if iNdEx >= l {
 10746  					return io.ErrUnexpectedEOF
 10747  				}
 10748  				b := dAtA[iNdEx]
 10749  				iNdEx++
 10750  				m.Height |= int64(b&0x7F) << shift
 10751  				if b < 0x80 {
 10752  					break
 10753  				}
 10754  			}
 10755  		case 6:
 10756  			if wireType != 2 {
 10757  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 10758  			}
 10759  			var msglen int
 10760  			for shift := uint(0); ; shift += 7 {
 10761  				if shift >= 64 {
 10762  					return ErrIntOverflowTypes
 10763  				}
 10764  				if iNdEx >= l {
 10765  					return io.ErrUnexpectedEOF
 10766  				}
 10767  				b := dAtA[iNdEx]
 10768  				iNdEx++
 10769  				msglen |= int(b&0x7F) << shift
 10770  				if b < 0x80 {
 10771  					break
 10772  				}
 10773  			}
 10774  			if msglen < 0 {
 10775  				return ErrInvalidLengthTypes
 10776  			}
 10777  			postIndex := iNdEx + msglen
 10778  			if postIndex < 0 {
 10779  				return ErrInvalidLengthTypes
 10780  			}
 10781  			if postIndex > l {
 10782  				return io.ErrUnexpectedEOF
 10783  			}
 10784  			if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 10785  				return err
 10786  			}
 10787  			iNdEx = postIndex
 10788  		case 7:
 10789  			if wireType != 2 {
 10790  				return fmt.Errorf("proto: wrong wireType = %d for field NextValidatorsHash", wireType)
 10791  			}
 10792  			var byteLen int
 10793  			for shift := uint(0); ; shift += 7 {
 10794  				if shift >= 64 {
 10795  					return ErrIntOverflowTypes
 10796  				}
 10797  				if iNdEx >= l {
 10798  					return io.ErrUnexpectedEOF
 10799  				}
 10800  				b := dAtA[iNdEx]
 10801  				iNdEx++
 10802  				byteLen |= int(b&0x7F) << shift
 10803  				if b < 0x80 {
 10804  					break
 10805  				}
 10806  			}
 10807  			if byteLen < 0 {
 10808  				return ErrInvalidLengthTypes
 10809  			}
 10810  			postIndex := iNdEx + byteLen
 10811  			if postIndex < 0 {
 10812  				return ErrInvalidLengthTypes
 10813  			}
 10814  			if postIndex > l {
 10815  				return io.ErrUnexpectedEOF
 10816  			}
 10817  			m.NextValidatorsHash = append(m.NextValidatorsHash[:0], dAtA[iNdEx:postIndex]...)
 10818  			if m.NextValidatorsHash == nil {
 10819  				m.NextValidatorsHash = []byte{}
 10820  			}
 10821  			iNdEx = postIndex
 10822  		case 8:
 10823  			if wireType != 2 {
 10824  				return fmt.Errorf("proto: wrong wireType = %d for field ProposerAddress", wireType)
 10825  			}
 10826  			var byteLen int
 10827  			for shift := uint(0); ; shift += 7 {
 10828  				if shift >= 64 {
 10829  					return ErrIntOverflowTypes
 10830  				}
 10831  				if iNdEx >= l {
 10832  					return io.ErrUnexpectedEOF
 10833  				}
 10834  				b := dAtA[iNdEx]
 10835  				iNdEx++
 10836  				byteLen |= int(b&0x7F) << shift
 10837  				if b < 0x80 {
 10838  					break
 10839  				}
 10840  			}
 10841  			if byteLen < 0 {
 10842  				return ErrInvalidLengthTypes
 10843  			}
 10844  			postIndex := iNdEx + byteLen
 10845  			if postIndex < 0 {
 10846  				return ErrInvalidLengthTypes
 10847  			}
 10848  			if postIndex > l {
 10849  				return io.ErrUnexpectedEOF
 10850  			}
 10851  			m.ProposerAddress = append(m.ProposerAddress[:0], dAtA[iNdEx:postIndex]...)
 10852  			if m.ProposerAddress == nil {
 10853  				m.ProposerAddress = []byte{}
 10854  			}
 10855  			iNdEx = postIndex
 10856  		default:
 10857  			iNdEx = preIndex
 10858  			skippy, err := skipTypes(dAtA[iNdEx:])
 10859  			if err != nil {
 10860  				return err
 10861  			}
 10862  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 10863  				return ErrInvalidLengthTypes
 10864  			}
 10865  			if (iNdEx + skippy) > l {
 10866  				return io.ErrUnexpectedEOF
 10867  			}
 10868  			iNdEx += skippy
 10869  		}
 10870  	}
 10871  
 10872  	if iNdEx > l {
 10873  		return io.ErrUnexpectedEOF
 10874  	}
 10875  	return nil
 10876  }
 10877  func (m *RequestProcessProposal) Unmarshal(dAtA []byte) error {
 10878  	l := len(dAtA)
 10879  	iNdEx := 0
 10880  	for iNdEx < l {
 10881  		preIndex := iNdEx
 10882  		var wire uint64
 10883  		for shift := uint(0); ; shift += 7 {
 10884  			if shift >= 64 {
 10885  				return ErrIntOverflowTypes
 10886  			}
 10887  			if iNdEx >= l {
 10888  				return io.ErrUnexpectedEOF
 10889  			}
 10890  			b := dAtA[iNdEx]
 10891  			iNdEx++
 10892  			wire |= uint64(b&0x7F) << shift
 10893  			if b < 0x80 {
 10894  				break
 10895  			}
 10896  		}
 10897  		fieldNum := int32(wire >> 3)
 10898  		wireType := int(wire & 0x7)
 10899  		if wireType == 4 {
 10900  			return fmt.Errorf("proto: RequestProcessProposal: wiretype end group for non-group")
 10901  		}
 10902  		if fieldNum <= 0 {
 10903  			return fmt.Errorf("proto: RequestProcessProposal: illegal tag %d (wire type %d)", fieldNum, wire)
 10904  		}
 10905  		switch fieldNum {
 10906  		case 1:
 10907  			if wireType != 2 {
 10908  				return fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType)
 10909  			}
 10910  			var byteLen int
 10911  			for shift := uint(0); ; shift += 7 {
 10912  				if shift >= 64 {
 10913  					return ErrIntOverflowTypes
 10914  				}
 10915  				if iNdEx >= l {
 10916  					return io.ErrUnexpectedEOF
 10917  				}
 10918  				b := dAtA[iNdEx]
 10919  				iNdEx++
 10920  				byteLen |= int(b&0x7F) << shift
 10921  				if b < 0x80 {
 10922  					break
 10923  				}
 10924  			}
 10925  			if byteLen < 0 {
 10926  				return ErrInvalidLengthTypes
 10927  			}
 10928  			postIndex := iNdEx + byteLen
 10929  			if postIndex < 0 {
 10930  				return ErrInvalidLengthTypes
 10931  			}
 10932  			if postIndex > l {
 10933  				return io.ErrUnexpectedEOF
 10934  			}
 10935  			m.Txs = append(m.Txs, make([]byte, postIndex-iNdEx))
 10936  			copy(m.Txs[len(m.Txs)-1], dAtA[iNdEx:postIndex])
 10937  			iNdEx = postIndex
 10938  		case 2:
 10939  			if wireType != 2 {
 10940  				return fmt.Errorf("proto: wrong wireType = %d for field ProposedLastCommit", wireType)
 10941  			}
 10942  			var msglen int
 10943  			for shift := uint(0); ; shift += 7 {
 10944  				if shift >= 64 {
 10945  					return ErrIntOverflowTypes
 10946  				}
 10947  				if iNdEx >= l {
 10948  					return io.ErrUnexpectedEOF
 10949  				}
 10950  				b := dAtA[iNdEx]
 10951  				iNdEx++
 10952  				msglen |= int(b&0x7F) << shift
 10953  				if b < 0x80 {
 10954  					break
 10955  				}
 10956  			}
 10957  			if msglen < 0 {
 10958  				return ErrInvalidLengthTypes
 10959  			}
 10960  			postIndex := iNdEx + msglen
 10961  			if postIndex < 0 {
 10962  				return ErrInvalidLengthTypes
 10963  			}
 10964  			if postIndex > l {
 10965  				return io.ErrUnexpectedEOF
 10966  			}
 10967  			if err := m.ProposedLastCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 10968  				return err
 10969  			}
 10970  			iNdEx = postIndex
 10971  		case 3:
 10972  			if wireType != 2 {
 10973  				return fmt.Errorf("proto: wrong wireType = %d for field Misbehavior", wireType)
 10974  			}
 10975  			var msglen int
 10976  			for shift := uint(0); ; shift += 7 {
 10977  				if shift >= 64 {
 10978  					return ErrIntOverflowTypes
 10979  				}
 10980  				if iNdEx >= l {
 10981  					return io.ErrUnexpectedEOF
 10982  				}
 10983  				b := dAtA[iNdEx]
 10984  				iNdEx++
 10985  				msglen |= int(b&0x7F) << shift
 10986  				if b < 0x80 {
 10987  					break
 10988  				}
 10989  			}
 10990  			if msglen < 0 {
 10991  				return ErrInvalidLengthTypes
 10992  			}
 10993  			postIndex := iNdEx + msglen
 10994  			if postIndex < 0 {
 10995  				return ErrInvalidLengthTypes
 10996  			}
 10997  			if postIndex > l {
 10998  				return io.ErrUnexpectedEOF
 10999  			}
 11000  			m.Misbehavior = append(m.Misbehavior, Misbehavior{})
 11001  			if err := m.Misbehavior[len(m.Misbehavior)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11002  				return err
 11003  			}
 11004  			iNdEx = postIndex
 11005  		case 4:
 11006  			if wireType != 2 {
 11007  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
 11008  			}
 11009  			var byteLen int
 11010  			for shift := uint(0); ; shift += 7 {
 11011  				if shift >= 64 {
 11012  					return ErrIntOverflowTypes
 11013  				}
 11014  				if iNdEx >= l {
 11015  					return io.ErrUnexpectedEOF
 11016  				}
 11017  				b := dAtA[iNdEx]
 11018  				iNdEx++
 11019  				byteLen |= int(b&0x7F) << shift
 11020  				if b < 0x80 {
 11021  					break
 11022  				}
 11023  			}
 11024  			if byteLen < 0 {
 11025  				return ErrInvalidLengthTypes
 11026  			}
 11027  			postIndex := iNdEx + byteLen
 11028  			if postIndex < 0 {
 11029  				return ErrInvalidLengthTypes
 11030  			}
 11031  			if postIndex > l {
 11032  				return io.ErrUnexpectedEOF
 11033  			}
 11034  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
 11035  			if m.Hash == nil {
 11036  				m.Hash = []byte{}
 11037  			}
 11038  			iNdEx = postIndex
 11039  		case 5:
 11040  			if wireType != 0 {
 11041  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 11042  			}
 11043  			m.Height = 0
 11044  			for shift := uint(0); ; shift += 7 {
 11045  				if shift >= 64 {
 11046  					return ErrIntOverflowTypes
 11047  				}
 11048  				if iNdEx >= l {
 11049  					return io.ErrUnexpectedEOF
 11050  				}
 11051  				b := dAtA[iNdEx]
 11052  				iNdEx++
 11053  				m.Height |= int64(b&0x7F) << shift
 11054  				if b < 0x80 {
 11055  					break
 11056  				}
 11057  			}
 11058  		case 6:
 11059  			if wireType != 2 {
 11060  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 11061  			}
 11062  			var msglen int
 11063  			for shift := uint(0); ; shift += 7 {
 11064  				if shift >= 64 {
 11065  					return ErrIntOverflowTypes
 11066  				}
 11067  				if iNdEx >= l {
 11068  					return io.ErrUnexpectedEOF
 11069  				}
 11070  				b := dAtA[iNdEx]
 11071  				iNdEx++
 11072  				msglen |= int(b&0x7F) << shift
 11073  				if b < 0x80 {
 11074  					break
 11075  				}
 11076  			}
 11077  			if msglen < 0 {
 11078  				return ErrInvalidLengthTypes
 11079  			}
 11080  			postIndex := iNdEx + msglen
 11081  			if postIndex < 0 {
 11082  				return ErrInvalidLengthTypes
 11083  			}
 11084  			if postIndex > l {
 11085  				return io.ErrUnexpectedEOF
 11086  			}
 11087  			if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 11088  				return err
 11089  			}
 11090  			iNdEx = postIndex
 11091  		case 7:
 11092  			if wireType != 2 {
 11093  				return fmt.Errorf("proto: wrong wireType = %d for field NextValidatorsHash", wireType)
 11094  			}
 11095  			var byteLen int
 11096  			for shift := uint(0); ; shift += 7 {
 11097  				if shift >= 64 {
 11098  					return ErrIntOverflowTypes
 11099  				}
 11100  				if iNdEx >= l {
 11101  					return io.ErrUnexpectedEOF
 11102  				}
 11103  				b := dAtA[iNdEx]
 11104  				iNdEx++
 11105  				byteLen |= int(b&0x7F) << shift
 11106  				if b < 0x80 {
 11107  					break
 11108  				}
 11109  			}
 11110  			if byteLen < 0 {
 11111  				return ErrInvalidLengthTypes
 11112  			}
 11113  			postIndex := iNdEx + byteLen
 11114  			if postIndex < 0 {
 11115  				return ErrInvalidLengthTypes
 11116  			}
 11117  			if postIndex > l {
 11118  				return io.ErrUnexpectedEOF
 11119  			}
 11120  			m.NextValidatorsHash = append(m.NextValidatorsHash[:0], dAtA[iNdEx:postIndex]...)
 11121  			if m.NextValidatorsHash == nil {
 11122  				m.NextValidatorsHash = []byte{}
 11123  			}
 11124  			iNdEx = postIndex
 11125  		case 8:
 11126  			if wireType != 2 {
 11127  				return fmt.Errorf("proto: wrong wireType = %d for field ProposerAddress", wireType)
 11128  			}
 11129  			var byteLen int
 11130  			for shift := uint(0); ; shift += 7 {
 11131  				if shift >= 64 {
 11132  					return ErrIntOverflowTypes
 11133  				}
 11134  				if iNdEx >= l {
 11135  					return io.ErrUnexpectedEOF
 11136  				}
 11137  				b := dAtA[iNdEx]
 11138  				iNdEx++
 11139  				byteLen |= int(b&0x7F) << shift
 11140  				if b < 0x80 {
 11141  					break
 11142  				}
 11143  			}
 11144  			if byteLen < 0 {
 11145  				return ErrInvalidLengthTypes
 11146  			}
 11147  			postIndex := iNdEx + byteLen
 11148  			if postIndex < 0 {
 11149  				return ErrInvalidLengthTypes
 11150  			}
 11151  			if postIndex > l {
 11152  				return io.ErrUnexpectedEOF
 11153  			}
 11154  			m.ProposerAddress = append(m.ProposerAddress[:0], dAtA[iNdEx:postIndex]...)
 11155  			if m.ProposerAddress == nil {
 11156  				m.ProposerAddress = []byte{}
 11157  			}
 11158  			iNdEx = postIndex
 11159  		default:
 11160  			iNdEx = preIndex
 11161  			skippy, err := skipTypes(dAtA[iNdEx:])
 11162  			if err != nil {
 11163  				return err
 11164  			}
 11165  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11166  				return ErrInvalidLengthTypes
 11167  			}
 11168  			if (iNdEx + skippy) > l {
 11169  				return io.ErrUnexpectedEOF
 11170  			}
 11171  			iNdEx += skippy
 11172  		}
 11173  	}
 11174  
 11175  	if iNdEx > l {
 11176  		return io.ErrUnexpectedEOF
 11177  	}
 11178  	return nil
 11179  }
 11180  func (m *Response) Unmarshal(dAtA []byte) error {
 11181  	l := len(dAtA)
 11182  	iNdEx := 0
 11183  	for iNdEx < l {
 11184  		preIndex := iNdEx
 11185  		var wire uint64
 11186  		for shift := uint(0); ; shift += 7 {
 11187  			if shift >= 64 {
 11188  				return ErrIntOverflowTypes
 11189  			}
 11190  			if iNdEx >= l {
 11191  				return io.ErrUnexpectedEOF
 11192  			}
 11193  			b := dAtA[iNdEx]
 11194  			iNdEx++
 11195  			wire |= uint64(b&0x7F) << shift
 11196  			if b < 0x80 {
 11197  				break
 11198  			}
 11199  		}
 11200  		fieldNum := int32(wire >> 3)
 11201  		wireType := int(wire & 0x7)
 11202  		if wireType == 4 {
 11203  			return fmt.Errorf("proto: Response: wiretype end group for non-group")
 11204  		}
 11205  		if fieldNum <= 0 {
 11206  			return fmt.Errorf("proto: Response: illegal tag %d (wire type %d)", fieldNum, wire)
 11207  		}
 11208  		switch fieldNum {
 11209  		case 1:
 11210  			if wireType != 2 {
 11211  				return fmt.Errorf("proto: wrong wireType = %d for field Exception", wireType)
 11212  			}
 11213  			var msglen int
 11214  			for shift := uint(0); ; shift += 7 {
 11215  				if shift >= 64 {
 11216  					return ErrIntOverflowTypes
 11217  				}
 11218  				if iNdEx >= l {
 11219  					return io.ErrUnexpectedEOF
 11220  				}
 11221  				b := dAtA[iNdEx]
 11222  				iNdEx++
 11223  				msglen |= int(b&0x7F) << shift
 11224  				if b < 0x80 {
 11225  					break
 11226  				}
 11227  			}
 11228  			if msglen < 0 {
 11229  				return ErrInvalidLengthTypes
 11230  			}
 11231  			postIndex := iNdEx + msglen
 11232  			if postIndex < 0 {
 11233  				return ErrInvalidLengthTypes
 11234  			}
 11235  			if postIndex > l {
 11236  				return io.ErrUnexpectedEOF
 11237  			}
 11238  			v := &ResponseException{}
 11239  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11240  				return err
 11241  			}
 11242  			m.Value = &Response_Exception{v}
 11243  			iNdEx = postIndex
 11244  		case 2:
 11245  			if wireType != 2 {
 11246  				return fmt.Errorf("proto: wrong wireType = %d for field Echo", wireType)
 11247  			}
 11248  			var msglen int
 11249  			for shift := uint(0); ; shift += 7 {
 11250  				if shift >= 64 {
 11251  					return ErrIntOverflowTypes
 11252  				}
 11253  				if iNdEx >= l {
 11254  					return io.ErrUnexpectedEOF
 11255  				}
 11256  				b := dAtA[iNdEx]
 11257  				iNdEx++
 11258  				msglen |= int(b&0x7F) << shift
 11259  				if b < 0x80 {
 11260  					break
 11261  				}
 11262  			}
 11263  			if msglen < 0 {
 11264  				return ErrInvalidLengthTypes
 11265  			}
 11266  			postIndex := iNdEx + msglen
 11267  			if postIndex < 0 {
 11268  				return ErrInvalidLengthTypes
 11269  			}
 11270  			if postIndex > l {
 11271  				return io.ErrUnexpectedEOF
 11272  			}
 11273  			v := &ResponseEcho{}
 11274  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11275  				return err
 11276  			}
 11277  			m.Value = &Response_Echo{v}
 11278  			iNdEx = postIndex
 11279  		case 3:
 11280  			if wireType != 2 {
 11281  				return fmt.Errorf("proto: wrong wireType = %d for field Flush", wireType)
 11282  			}
 11283  			var msglen int
 11284  			for shift := uint(0); ; shift += 7 {
 11285  				if shift >= 64 {
 11286  					return ErrIntOverflowTypes
 11287  				}
 11288  				if iNdEx >= l {
 11289  					return io.ErrUnexpectedEOF
 11290  				}
 11291  				b := dAtA[iNdEx]
 11292  				iNdEx++
 11293  				msglen |= int(b&0x7F) << shift
 11294  				if b < 0x80 {
 11295  					break
 11296  				}
 11297  			}
 11298  			if msglen < 0 {
 11299  				return ErrInvalidLengthTypes
 11300  			}
 11301  			postIndex := iNdEx + msglen
 11302  			if postIndex < 0 {
 11303  				return ErrInvalidLengthTypes
 11304  			}
 11305  			if postIndex > l {
 11306  				return io.ErrUnexpectedEOF
 11307  			}
 11308  			v := &ResponseFlush{}
 11309  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11310  				return err
 11311  			}
 11312  			m.Value = &Response_Flush{v}
 11313  			iNdEx = postIndex
 11314  		case 4:
 11315  			if wireType != 2 {
 11316  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 11317  			}
 11318  			var msglen int
 11319  			for shift := uint(0); ; shift += 7 {
 11320  				if shift >= 64 {
 11321  					return ErrIntOverflowTypes
 11322  				}
 11323  				if iNdEx >= l {
 11324  					return io.ErrUnexpectedEOF
 11325  				}
 11326  				b := dAtA[iNdEx]
 11327  				iNdEx++
 11328  				msglen |= int(b&0x7F) << shift
 11329  				if b < 0x80 {
 11330  					break
 11331  				}
 11332  			}
 11333  			if msglen < 0 {
 11334  				return ErrInvalidLengthTypes
 11335  			}
 11336  			postIndex := iNdEx + msglen
 11337  			if postIndex < 0 {
 11338  				return ErrInvalidLengthTypes
 11339  			}
 11340  			if postIndex > l {
 11341  				return io.ErrUnexpectedEOF
 11342  			}
 11343  			v := &ResponseInfo{}
 11344  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11345  				return err
 11346  			}
 11347  			m.Value = &Response_Info{v}
 11348  			iNdEx = postIndex
 11349  		case 6:
 11350  			if wireType != 2 {
 11351  				return fmt.Errorf("proto: wrong wireType = %d for field InitChain", wireType)
 11352  			}
 11353  			var msglen int
 11354  			for shift := uint(0); ; shift += 7 {
 11355  				if shift >= 64 {
 11356  					return ErrIntOverflowTypes
 11357  				}
 11358  				if iNdEx >= l {
 11359  					return io.ErrUnexpectedEOF
 11360  				}
 11361  				b := dAtA[iNdEx]
 11362  				iNdEx++
 11363  				msglen |= int(b&0x7F) << shift
 11364  				if b < 0x80 {
 11365  					break
 11366  				}
 11367  			}
 11368  			if msglen < 0 {
 11369  				return ErrInvalidLengthTypes
 11370  			}
 11371  			postIndex := iNdEx + msglen
 11372  			if postIndex < 0 {
 11373  				return ErrInvalidLengthTypes
 11374  			}
 11375  			if postIndex > l {
 11376  				return io.ErrUnexpectedEOF
 11377  			}
 11378  			v := &ResponseInitChain{}
 11379  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11380  				return err
 11381  			}
 11382  			m.Value = &Response_InitChain{v}
 11383  			iNdEx = postIndex
 11384  		case 7:
 11385  			if wireType != 2 {
 11386  				return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
 11387  			}
 11388  			var msglen int
 11389  			for shift := uint(0); ; shift += 7 {
 11390  				if shift >= 64 {
 11391  					return ErrIntOverflowTypes
 11392  				}
 11393  				if iNdEx >= l {
 11394  					return io.ErrUnexpectedEOF
 11395  				}
 11396  				b := dAtA[iNdEx]
 11397  				iNdEx++
 11398  				msglen |= int(b&0x7F) << shift
 11399  				if b < 0x80 {
 11400  					break
 11401  				}
 11402  			}
 11403  			if msglen < 0 {
 11404  				return ErrInvalidLengthTypes
 11405  			}
 11406  			postIndex := iNdEx + msglen
 11407  			if postIndex < 0 {
 11408  				return ErrInvalidLengthTypes
 11409  			}
 11410  			if postIndex > l {
 11411  				return io.ErrUnexpectedEOF
 11412  			}
 11413  			v := &ResponseQuery{}
 11414  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11415  				return err
 11416  			}
 11417  			m.Value = &Response_Query{v}
 11418  			iNdEx = postIndex
 11419  		case 8:
 11420  			if wireType != 2 {
 11421  				return fmt.Errorf("proto: wrong wireType = %d for field BeginBlock", wireType)
 11422  			}
 11423  			var msglen int
 11424  			for shift := uint(0); ; shift += 7 {
 11425  				if shift >= 64 {
 11426  					return ErrIntOverflowTypes
 11427  				}
 11428  				if iNdEx >= l {
 11429  					return io.ErrUnexpectedEOF
 11430  				}
 11431  				b := dAtA[iNdEx]
 11432  				iNdEx++
 11433  				msglen |= int(b&0x7F) << shift
 11434  				if b < 0x80 {
 11435  					break
 11436  				}
 11437  			}
 11438  			if msglen < 0 {
 11439  				return ErrInvalidLengthTypes
 11440  			}
 11441  			postIndex := iNdEx + msglen
 11442  			if postIndex < 0 {
 11443  				return ErrInvalidLengthTypes
 11444  			}
 11445  			if postIndex > l {
 11446  				return io.ErrUnexpectedEOF
 11447  			}
 11448  			v := &ResponseBeginBlock{}
 11449  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11450  				return err
 11451  			}
 11452  			m.Value = &Response_BeginBlock{v}
 11453  			iNdEx = postIndex
 11454  		case 9:
 11455  			if wireType != 2 {
 11456  				return fmt.Errorf("proto: wrong wireType = %d for field CheckTx", wireType)
 11457  			}
 11458  			var msglen int
 11459  			for shift := uint(0); ; shift += 7 {
 11460  				if shift >= 64 {
 11461  					return ErrIntOverflowTypes
 11462  				}
 11463  				if iNdEx >= l {
 11464  					return io.ErrUnexpectedEOF
 11465  				}
 11466  				b := dAtA[iNdEx]
 11467  				iNdEx++
 11468  				msglen |= int(b&0x7F) << shift
 11469  				if b < 0x80 {
 11470  					break
 11471  				}
 11472  			}
 11473  			if msglen < 0 {
 11474  				return ErrInvalidLengthTypes
 11475  			}
 11476  			postIndex := iNdEx + msglen
 11477  			if postIndex < 0 {
 11478  				return ErrInvalidLengthTypes
 11479  			}
 11480  			if postIndex > l {
 11481  				return io.ErrUnexpectedEOF
 11482  			}
 11483  			v := &ResponseCheckTx{}
 11484  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11485  				return err
 11486  			}
 11487  			m.Value = &Response_CheckTx{v}
 11488  			iNdEx = postIndex
 11489  		case 10:
 11490  			if wireType != 2 {
 11491  				return fmt.Errorf("proto: wrong wireType = %d for field DeliverTx", wireType)
 11492  			}
 11493  			var msglen int
 11494  			for shift := uint(0); ; shift += 7 {
 11495  				if shift >= 64 {
 11496  					return ErrIntOverflowTypes
 11497  				}
 11498  				if iNdEx >= l {
 11499  					return io.ErrUnexpectedEOF
 11500  				}
 11501  				b := dAtA[iNdEx]
 11502  				iNdEx++
 11503  				msglen |= int(b&0x7F) << shift
 11504  				if b < 0x80 {
 11505  					break
 11506  				}
 11507  			}
 11508  			if msglen < 0 {
 11509  				return ErrInvalidLengthTypes
 11510  			}
 11511  			postIndex := iNdEx + msglen
 11512  			if postIndex < 0 {
 11513  				return ErrInvalidLengthTypes
 11514  			}
 11515  			if postIndex > l {
 11516  				return io.ErrUnexpectedEOF
 11517  			}
 11518  			v := &ResponseDeliverTx{}
 11519  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11520  				return err
 11521  			}
 11522  			m.Value = &Response_DeliverTx{v}
 11523  			iNdEx = postIndex
 11524  		case 11:
 11525  			if wireType != 2 {
 11526  				return fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType)
 11527  			}
 11528  			var msglen int
 11529  			for shift := uint(0); ; shift += 7 {
 11530  				if shift >= 64 {
 11531  					return ErrIntOverflowTypes
 11532  				}
 11533  				if iNdEx >= l {
 11534  					return io.ErrUnexpectedEOF
 11535  				}
 11536  				b := dAtA[iNdEx]
 11537  				iNdEx++
 11538  				msglen |= int(b&0x7F) << shift
 11539  				if b < 0x80 {
 11540  					break
 11541  				}
 11542  			}
 11543  			if msglen < 0 {
 11544  				return ErrInvalidLengthTypes
 11545  			}
 11546  			postIndex := iNdEx + msglen
 11547  			if postIndex < 0 {
 11548  				return ErrInvalidLengthTypes
 11549  			}
 11550  			if postIndex > l {
 11551  				return io.ErrUnexpectedEOF
 11552  			}
 11553  			v := &ResponseEndBlock{}
 11554  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11555  				return err
 11556  			}
 11557  			m.Value = &Response_EndBlock{v}
 11558  			iNdEx = postIndex
 11559  		case 12:
 11560  			if wireType != 2 {
 11561  				return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType)
 11562  			}
 11563  			var msglen int
 11564  			for shift := uint(0); ; shift += 7 {
 11565  				if shift >= 64 {
 11566  					return ErrIntOverflowTypes
 11567  				}
 11568  				if iNdEx >= l {
 11569  					return io.ErrUnexpectedEOF
 11570  				}
 11571  				b := dAtA[iNdEx]
 11572  				iNdEx++
 11573  				msglen |= int(b&0x7F) << shift
 11574  				if b < 0x80 {
 11575  					break
 11576  				}
 11577  			}
 11578  			if msglen < 0 {
 11579  				return ErrInvalidLengthTypes
 11580  			}
 11581  			postIndex := iNdEx + msglen
 11582  			if postIndex < 0 {
 11583  				return ErrInvalidLengthTypes
 11584  			}
 11585  			if postIndex > l {
 11586  				return io.ErrUnexpectedEOF
 11587  			}
 11588  			v := &ResponseCommit{}
 11589  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11590  				return err
 11591  			}
 11592  			m.Value = &Response_Commit{v}
 11593  			iNdEx = postIndex
 11594  		case 13:
 11595  			if wireType != 2 {
 11596  				return fmt.Errorf("proto: wrong wireType = %d for field ListSnapshots", wireType)
 11597  			}
 11598  			var msglen int
 11599  			for shift := uint(0); ; shift += 7 {
 11600  				if shift >= 64 {
 11601  					return ErrIntOverflowTypes
 11602  				}
 11603  				if iNdEx >= l {
 11604  					return io.ErrUnexpectedEOF
 11605  				}
 11606  				b := dAtA[iNdEx]
 11607  				iNdEx++
 11608  				msglen |= int(b&0x7F) << shift
 11609  				if b < 0x80 {
 11610  					break
 11611  				}
 11612  			}
 11613  			if msglen < 0 {
 11614  				return ErrInvalidLengthTypes
 11615  			}
 11616  			postIndex := iNdEx + msglen
 11617  			if postIndex < 0 {
 11618  				return ErrInvalidLengthTypes
 11619  			}
 11620  			if postIndex > l {
 11621  				return io.ErrUnexpectedEOF
 11622  			}
 11623  			v := &ResponseListSnapshots{}
 11624  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11625  				return err
 11626  			}
 11627  			m.Value = &Response_ListSnapshots{v}
 11628  			iNdEx = postIndex
 11629  		case 14:
 11630  			if wireType != 2 {
 11631  				return fmt.Errorf("proto: wrong wireType = %d for field OfferSnapshot", wireType)
 11632  			}
 11633  			var msglen int
 11634  			for shift := uint(0); ; shift += 7 {
 11635  				if shift >= 64 {
 11636  					return ErrIntOverflowTypes
 11637  				}
 11638  				if iNdEx >= l {
 11639  					return io.ErrUnexpectedEOF
 11640  				}
 11641  				b := dAtA[iNdEx]
 11642  				iNdEx++
 11643  				msglen |= int(b&0x7F) << shift
 11644  				if b < 0x80 {
 11645  					break
 11646  				}
 11647  			}
 11648  			if msglen < 0 {
 11649  				return ErrInvalidLengthTypes
 11650  			}
 11651  			postIndex := iNdEx + msglen
 11652  			if postIndex < 0 {
 11653  				return ErrInvalidLengthTypes
 11654  			}
 11655  			if postIndex > l {
 11656  				return io.ErrUnexpectedEOF
 11657  			}
 11658  			v := &ResponseOfferSnapshot{}
 11659  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11660  				return err
 11661  			}
 11662  			m.Value = &Response_OfferSnapshot{v}
 11663  			iNdEx = postIndex
 11664  		case 15:
 11665  			if wireType != 2 {
 11666  				return fmt.Errorf("proto: wrong wireType = %d for field LoadSnapshotChunk", wireType)
 11667  			}
 11668  			var msglen int
 11669  			for shift := uint(0); ; shift += 7 {
 11670  				if shift >= 64 {
 11671  					return ErrIntOverflowTypes
 11672  				}
 11673  				if iNdEx >= l {
 11674  					return io.ErrUnexpectedEOF
 11675  				}
 11676  				b := dAtA[iNdEx]
 11677  				iNdEx++
 11678  				msglen |= int(b&0x7F) << shift
 11679  				if b < 0x80 {
 11680  					break
 11681  				}
 11682  			}
 11683  			if msglen < 0 {
 11684  				return ErrInvalidLengthTypes
 11685  			}
 11686  			postIndex := iNdEx + msglen
 11687  			if postIndex < 0 {
 11688  				return ErrInvalidLengthTypes
 11689  			}
 11690  			if postIndex > l {
 11691  				return io.ErrUnexpectedEOF
 11692  			}
 11693  			v := &ResponseLoadSnapshotChunk{}
 11694  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11695  				return err
 11696  			}
 11697  			m.Value = &Response_LoadSnapshotChunk{v}
 11698  			iNdEx = postIndex
 11699  		case 16:
 11700  			if wireType != 2 {
 11701  				return fmt.Errorf("proto: wrong wireType = %d for field ApplySnapshotChunk", wireType)
 11702  			}
 11703  			var msglen int
 11704  			for shift := uint(0); ; shift += 7 {
 11705  				if shift >= 64 {
 11706  					return ErrIntOverflowTypes
 11707  				}
 11708  				if iNdEx >= l {
 11709  					return io.ErrUnexpectedEOF
 11710  				}
 11711  				b := dAtA[iNdEx]
 11712  				iNdEx++
 11713  				msglen |= int(b&0x7F) << shift
 11714  				if b < 0x80 {
 11715  					break
 11716  				}
 11717  			}
 11718  			if msglen < 0 {
 11719  				return ErrInvalidLengthTypes
 11720  			}
 11721  			postIndex := iNdEx + msglen
 11722  			if postIndex < 0 {
 11723  				return ErrInvalidLengthTypes
 11724  			}
 11725  			if postIndex > l {
 11726  				return io.ErrUnexpectedEOF
 11727  			}
 11728  			v := &ResponseApplySnapshotChunk{}
 11729  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11730  				return err
 11731  			}
 11732  			m.Value = &Response_ApplySnapshotChunk{v}
 11733  			iNdEx = postIndex
 11734  		case 17:
 11735  			if wireType != 2 {
 11736  				return fmt.Errorf("proto: wrong wireType = %d for field PrepareProposal", wireType)
 11737  			}
 11738  			var msglen int
 11739  			for shift := uint(0); ; shift += 7 {
 11740  				if shift >= 64 {
 11741  					return ErrIntOverflowTypes
 11742  				}
 11743  				if iNdEx >= l {
 11744  					return io.ErrUnexpectedEOF
 11745  				}
 11746  				b := dAtA[iNdEx]
 11747  				iNdEx++
 11748  				msglen |= int(b&0x7F) << shift
 11749  				if b < 0x80 {
 11750  					break
 11751  				}
 11752  			}
 11753  			if msglen < 0 {
 11754  				return ErrInvalidLengthTypes
 11755  			}
 11756  			postIndex := iNdEx + msglen
 11757  			if postIndex < 0 {
 11758  				return ErrInvalidLengthTypes
 11759  			}
 11760  			if postIndex > l {
 11761  				return io.ErrUnexpectedEOF
 11762  			}
 11763  			v := &ResponsePrepareProposal{}
 11764  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11765  				return err
 11766  			}
 11767  			m.Value = &Response_PrepareProposal{v}
 11768  			iNdEx = postIndex
 11769  		case 18:
 11770  			if wireType != 2 {
 11771  				return fmt.Errorf("proto: wrong wireType = %d for field ProcessProposal", wireType)
 11772  			}
 11773  			var msglen int
 11774  			for shift := uint(0); ; shift += 7 {
 11775  				if shift >= 64 {
 11776  					return ErrIntOverflowTypes
 11777  				}
 11778  				if iNdEx >= l {
 11779  					return io.ErrUnexpectedEOF
 11780  				}
 11781  				b := dAtA[iNdEx]
 11782  				iNdEx++
 11783  				msglen |= int(b&0x7F) << shift
 11784  				if b < 0x80 {
 11785  					break
 11786  				}
 11787  			}
 11788  			if msglen < 0 {
 11789  				return ErrInvalidLengthTypes
 11790  			}
 11791  			postIndex := iNdEx + msglen
 11792  			if postIndex < 0 {
 11793  				return ErrInvalidLengthTypes
 11794  			}
 11795  			if postIndex > l {
 11796  				return io.ErrUnexpectedEOF
 11797  			}
 11798  			v := &ResponseProcessProposal{}
 11799  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11800  				return err
 11801  			}
 11802  			m.Value = &Response_ProcessProposal{v}
 11803  			iNdEx = postIndex
 11804  		default:
 11805  			iNdEx = preIndex
 11806  			skippy, err := skipTypes(dAtA[iNdEx:])
 11807  			if err != nil {
 11808  				return err
 11809  			}
 11810  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11811  				return ErrInvalidLengthTypes
 11812  			}
 11813  			if (iNdEx + skippy) > l {
 11814  				return io.ErrUnexpectedEOF
 11815  			}
 11816  			iNdEx += skippy
 11817  		}
 11818  	}
 11819  
 11820  	if iNdEx > l {
 11821  		return io.ErrUnexpectedEOF
 11822  	}
 11823  	return nil
 11824  }
 11825  func (m *ResponseException) Unmarshal(dAtA []byte) error {
 11826  	l := len(dAtA)
 11827  	iNdEx := 0
 11828  	for iNdEx < l {
 11829  		preIndex := iNdEx
 11830  		var wire uint64
 11831  		for shift := uint(0); ; shift += 7 {
 11832  			if shift >= 64 {
 11833  				return ErrIntOverflowTypes
 11834  			}
 11835  			if iNdEx >= l {
 11836  				return io.ErrUnexpectedEOF
 11837  			}
 11838  			b := dAtA[iNdEx]
 11839  			iNdEx++
 11840  			wire |= uint64(b&0x7F) << shift
 11841  			if b < 0x80 {
 11842  				break
 11843  			}
 11844  		}
 11845  		fieldNum := int32(wire >> 3)
 11846  		wireType := int(wire & 0x7)
 11847  		if wireType == 4 {
 11848  			return fmt.Errorf("proto: ResponseException: wiretype end group for non-group")
 11849  		}
 11850  		if fieldNum <= 0 {
 11851  			return fmt.Errorf("proto: ResponseException: illegal tag %d (wire type %d)", fieldNum, wire)
 11852  		}
 11853  		switch fieldNum {
 11854  		case 1:
 11855  			if wireType != 2 {
 11856  				return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
 11857  			}
 11858  			var stringLen uint64
 11859  			for shift := uint(0); ; shift += 7 {
 11860  				if shift >= 64 {
 11861  					return ErrIntOverflowTypes
 11862  				}
 11863  				if iNdEx >= l {
 11864  					return io.ErrUnexpectedEOF
 11865  				}
 11866  				b := dAtA[iNdEx]
 11867  				iNdEx++
 11868  				stringLen |= uint64(b&0x7F) << shift
 11869  				if b < 0x80 {
 11870  					break
 11871  				}
 11872  			}
 11873  			intStringLen := int(stringLen)
 11874  			if intStringLen < 0 {
 11875  				return ErrInvalidLengthTypes
 11876  			}
 11877  			postIndex := iNdEx + intStringLen
 11878  			if postIndex < 0 {
 11879  				return ErrInvalidLengthTypes
 11880  			}
 11881  			if postIndex > l {
 11882  				return io.ErrUnexpectedEOF
 11883  			}
 11884  			m.Error = string(dAtA[iNdEx:postIndex])
 11885  			iNdEx = postIndex
 11886  		default:
 11887  			iNdEx = preIndex
 11888  			skippy, err := skipTypes(dAtA[iNdEx:])
 11889  			if err != nil {
 11890  				return err
 11891  			}
 11892  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11893  				return ErrInvalidLengthTypes
 11894  			}
 11895  			if (iNdEx + skippy) > l {
 11896  				return io.ErrUnexpectedEOF
 11897  			}
 11898  			iNdEx += skippy
 11899  		}
 11900  	}
 11901  
 11902  	if iNdEx > l {
 11903  		return io.ErrUnexpectedEOF
 11904  	}
 11905  	return nil
 11906  }
 11907  func (m *ResponseEcho) Unmarshal(dAtA []byte) error {
 11908  	l := len(dAtA)
 11909  	iNdEx := 0
 11910  	for iNdEx < l {
 11911  		preIndex := iNdEx
 11912  		var wire uint64
 11913  		for shift := uint(0); ; shift += 7 {
 11914  			if shift >= 64 {
 11915  				return ErrIntOverflowTypes
 11916  			}
 11917  			if iNdEx >= l {
 11918  				return io.ErrUnexpectedEOF
 11919  			}
 11920  			b := dAtA[iNdEx]
 11921  			iNdEx++
 11922  			wire |= uint64(b&0x7F) << shift
 11923  			if b < 0x80 {
 11924  				break
 11925  			}
 11926  		}
 11927  		fieldNum := int32(wire >> 3)
 11928  		wireType := int(wire & 0x7)
 11929  		if wireType == 4 {
 11930  			return fmt.Errorf("proto: ResponseEcho: wiretype end group for non-group")
 11931  		}
 11932  		if fieldNum <= 0 {
 11933  			return fmt.Errorf("proto: ResponseEcho: illegal tag %d (wire type %d)", fieldNum, wire)
 11934  		}
 11935  		switch fieldNum {
 11936  		case 1:
 11937  			if wireType != 2 {
 11938  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
 11939  			}
 11940  			var stringLen uint64
 11941  			for shift := uint(0); ; shift += 7 {
 11942  				if shift >= 64 {
 11943  					return ErrIntOverflowTypes
 11944  				}
 11945  				if iNdEx >= l {
 11946  					return io.ErrUnexpectedEOF
 11947  				}
 11948  				b := dAtA[iNdEx]
 11949  				iNdEx++
 11950  				stringLen |= uint64(b&0x7F) << shift
 11951  				if b < 0x80 {
 11952  					break
 11953  				}
 11954  			}
 11955  			intStringLen := int(stringLen)
 11956  			if intStringLen < 0 {
 11957  				return ErrInvalidLengthTypes
 11958  			}
 11959  			postIndex := iNdEx + intStringLen
 11960  			if postIndex < 0 {
 11961  				return ErrInvalidLengthTypes
 11962  			}
 11963  			if postIndex > l {
 11964  				return io.ErrUnexpectedEOF
 11965  			}
 11966  			m.Message = string(dAtA[iNdEx:postIndex])
 11967  			iNdEx = postIndex
 11968  		default:
 11969  			iNdEx = preIndex
 11970  			skippy, err := skipTypes(dAtA[iNdEx:])
 11971  			if err != nil {
 11972  				return err
 11973  			}
 11974  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 11975  				return ErrInvalidLengthTypes
 11976  			}
 11977  			if (iNdEx + skippy) > l {
 11978  				return io.ErrUnexpectedEOF
 11979  			}
 11980  			iNdEx += skippy
 11981  		}
 11982  	}
 11983  
 11984  	if iNdEx > l {
 11985  		return io.ErrUnexpectedEOF
 11986  	}
 11987  	return nil
 11988  }
 11989  func (m *ResponseFlush) Unmarshal(dAtA []byte) error {
 11990  	l := len(dAtA)
 11991  	iNdEx := 0
 11992  	for iNdEx < l {
 11993  		preIndex := iNdEx
 11994  		var wire uint64
 11995  		for shift := uint(0); ; shift += 7 {
 11996  			if shift >= 64 {
 11997  				return ErrIntOverflowTypes
 11998  			}
 11999  			if iNdEx >= l {
 12000  				return io.ErrUnexpectedEOF
 12001  			}
 12002  			b := dAtA[iNdEx]
 12003  			iNdEx++
 12004  			wire |= uint64(b&0x7F) << shift
 12005  			if b < 0x80 {
 12006  				break
 12007  			}
 12008  		}
 12009  		fieldNum := int32(wire >> 3)
 12010  		wireType := int(wire & 0x7)
 12011  		if wireType == 4 {
 12012  			return fmt.Errorf("proto: ResponseFlush: wiretype end group for non-group")
 12013  		}
 12014  		if fieldNum <= 0 {
 12015  			return fmt.Errorf("proto: ResponseFlush: illegal tag %d (wire type %d)", fieldNum, wire)
 12016  		}
 12017  		switch fieldNum {
 12018  		default:
 12019  			iNdEx = preIndex
 12020  			skippy, err := skipTypes(dAtA[iNdEx:])
 12021  			if err != nil {
 12022  				return err
 12023  			}
 12024  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12025  				return ErrInvalidLengthTypes
 12026  			}
 12027  			if (iNdEx + skippy) > l {
 12028  				return io.ErrUnexpectedEOF
 12029  			}
 12030  			iNdEx += skippy
 12031  		}
 12032  	}
 12033  
 12034  	if iNdEx > l {
 12035  		return io.ErrUnexpectedEOF
 12036  	}
 12037  	return nil
 12038  }
 12039  func (m *ResponseInfo) Unmarshal(dAtA []byte) error {
 12040  	l := len(dAtA)
 12041  	iNdEx := 0
 12042  	for iNdEx < l {
 12043  		preIndex := iNdEx
 12044  		var wire uint64
 12045  		for shift := uint(0); ; shift += 7 {
 12046  			if shift >= 64 {
 12047  				return ErrIntOverflowTypes
 12048  			}
 12049  			if iNdEx >= l {
 12050  				return io.ErrUnexpectedEOF
 12051  			}
 12052  			b := dAtA[iNdEx]
 12053  			iNdEx++
 12054  			wire |= uint64(b&0x7F) << shift
 12055  			if b < 0x80 {
 12056  				break
 12057  			}
 12058  		}
 12059  		fieldNum := int32(wire >> 3)
 12060  		wireType := int(wire & 0x7)
 12061  		if wireType == 4 {
 12062  			return fmt.Errorf("proto: ResponseInfo: wiretype end group for non-group")
 12063  		}
 12064  		if fieldNum <= 0 {
 12065  			return fmt.Errorf("proto: ResponseInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 12066  		}
 12067  		switch fieldNum {
 12068  		case 1:
 12069  			if wireType != 2 {
 12070  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 12071  			}
 12072  			var stringLen uint64
 12073  			for shift := uint(0); ; shift += 7 {
 12074  				if shift >= 64 {
 12075  					return ErrIntOverflowTypes
 12076  				}
 12077  				if iNdEx >= l {
 12078  					return io.ErrUnexpectedEOF
 12079  				}
 12080  				b := dAtA[iNdEx]
 12081  				iNdEx++
 12082  				stringLen |= uint64(b&0x7F) << shift
 12083  				if b < 0x80 {
 12084  					break
 12085  				}
 12086  			}
 12087  			intStringLen := int(stringLen)
 12088  			if intStringLen < 0 {
 12089  				return ErrInvalidLengthTypes
 12090  			}
 12091  			postIndex := iNdEx + intStringLen
 12092  			if postIndex < 0 {
 12093  				return ErrInvalidLengthTypes
 12094  			}
 12095  			if postIndex > l {
 12096  				return io.ErrUnexpectedEOF
 12097  			}
 12098  			m.Data = string(dAtA[iNdEx:postIndex])
 12099  			iNdEx = postIndex
 12100  		case 2:
 12101  			if wireType != 2 {
 12102  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
 12103  			}
 12104  			var stringLen uint64
 12105  			for shift := uint(0); ; shift += 7 {
 12106  				if shift >= 64 {
 12107  					return ErrIntOverflowTypes
 12108  				}
 12109  				if iNdEx >= l {
 12110  					return io.ErrUnexpectedEOF
 12111  				}
 12112  				b := dAtA[iNdEx]
 12113  				iNdEx++
 12114  				stringLen |= uint64(b&0x7F) << shift
 12115  				if b < 0x80 {
 12116  					break
 12117  				}
 12118  			}
 12119  			intStringLen := int(stringLen)
 12120  			if intStringLen < 0 {
 12121  				return ErrInvalidLengthTypes
 12122  			}
 12123  			postIndex := iNdEx + intStringLen
 12124  			if postIndex < 0 {
 12125  				return ErrInvalidLengthTypes
 12126  			}
 12127  			if postIndex > l {
 12128  				return io.ErrUnexpectedEOF
 12129  			}
 12130  			m.Version = string(dAtA[iNdEx:postIndex])
 12131  			iNdEx = postIndex
 12132  		case 3:
 12133  			if wireType != 0 {
 12134  				return fmt.Errorf("proto: wrong wireType = %d for field AppVersion", wireType)
 12135  			}
 12136  			m.AppVersion = 0
 12137  			for shift := uint(0); ; shift += 7 {
 12138  				if shift >= 64 {
 12139  					return ErrIntOverflowTypes
 12140  				}
 12141  				if iNdEx >= l {
 12142  					return io.ErrUnexpectedEOF
 12143  				}
 12144  				b := dAtA[iNdEx]
 12145  				iNdEx++
 12146  				m.AppVersion |= uint64(b&0x7F) << shift
 12147  				if b < 0x80 {
 12148  					break
 12149  				}
 12150  			}
 12151  		case 4:
 12152  			if wireType != 0 {
 12153  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeight", wireType)
 12154  			}
 12155  			m.LastBlockHeight = 0
 12156  			for shift := uint(0); ; shift += 7 {
 12157  				if shift >= 64 {
 12158  					return ErrIntOverflowTypes
 12159  				}
 12160  				if iNdEx >= l {
 12161  					return io.ErrUnexpectedEOF
 12162  				}
 12163  				b := dAtA[iNdEx]
 12164  				iNdEx++
 12165  				m.LastBlockHeight |= int64(b&0x7F) << shift
 12166  				if b < 0x80 {
 12167  					break
 12168  				}
 12169  			}
 12170  		case 5:
 12171  			if wireType != 2 {
 12172  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockAppHash", wireType)
 12173  			}
 12174  			var byteLen int
 12175  			for shift := uint(0); ; shift += 7 {
 12176  				if shift >= 64 {
 12177  					return ErrIntOverflowTypes
 12178  				}
 12179  				if iNdEx >= l {
 12180  					return io.ErrUnexpectedEOF
 12181  				}
 12182  				b := dAtA[iNdEx]
 12183  				iNdEx++
 12184  				byteLen |= int(b&0x7F) << shift
 12185  				if b < 0x80 {
 12186  					break
 12187  				}
 12188  			}
 12189  			if byteLen < 0 {
 12190  				return ErrInvalidLengthTypes
 12191  			}
 12192  			postIndex := iNdEx + byteLen
 12193  			if postIndex < 0 {
 12194  				return ErrInvalidLengthTypes
 12195  			}
 12196  			if postIndex > l {
 12197  				return io.ErrUnexpectedEOF
 12198  			}
 12199  			m.LastBlockAppHash = append(m.LastBlockAppHash[:0], dAtA[iNdEx:postIndex]...)
 12200  			if m.LastBlockAppHash == nil {
 12201  				m.LastBlockAppHash = []byte{}
 12202  			}
 12203  			iNdEx = postIndex
 12204  		default:
 12205  			iNdEx = preIndex
 12206  			skippy, err := skipTypes(dAtA[iNdEx:])
 12207  			if err != nil {
 12208  				return err
 12209  			}
 12210  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12211  				return ErrInvalidLengthTypes
 12212  			}
 12213  			if (iNdEx + skippy) > l {
 12214  				return io.ErrUnexpectedEOF
 12215  			}
 12216  			iNdEx += skippy
 12217  		}
 12218  	}
 12219  
 12220  	if iNdEx > l {
 12221  		return io.ErrUnexpectedEOF
 12222  	}
 12223  	return nil
 12224  }
 12225  func (m *ResponseInitChain) Unmarshal(dAtA []byte) error {
 12226  	l := len(dAtA)
 12227  	iNdEx := 0
 12228  	for iNdEx < l {
 12229  		preIndex := iNdEx
 12230  		var wire uint64
 12231  		for shift := uint(0); ; shift += 7 {
 12232  			if shift >= 64 {
 12233  				return ErrIntOverflowTypes
 12234  			}
 12235  			if iNdEx >= l {
 12236  				return io.ErrUnexpectedEOF
 12237  			}
 12238  			b := dAtA[iNdEx]
 12239  			iNdEx++
 12240  			wire |= uint64(b&0x7F) << shift
 12241  			if b < 0x80 {
 12242  				break
 12243  			}
 12244  		}
 12245  		fieldNum := int32(wire >> 3)
 12246  		wireType := int(wire & 0x7)
 12247  		if wireType == 4 {
 12248  			return fmt.Errorf("proto: ResponseInitChain: wiretype end group for non-group")
 12249  		}
 12250  		if fieldNum <= 0 {
 12251  			return fmt.Errorf("proto: ResponseInitChain: illegal tag %d (wire type %d)", fieldNum, wire)
 12252  		}
 12253  		switch fieldNum {
 12254  		case 1:
 12255  			if wireType != 2 {
 12256  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParams", wireType)
 12257  			}
 12258  			var msglen int
 12259  			for shift := uint(0); ; shift += 7 {
 12260  				if shift >= 64 {
 12261  					return ErrIntOverflowTypes
 12262  				}
 12263  				if iNdEx >= l {
 12264  					return io.ErrUnexpectedEOF
 12265  				}
 12266  				b := dAtA[iNdEx]
 12267  				iNdEx++
 12268  				msglen |= int(b&0x7F) << shift
 12269  				if b < 0x80 {
 12270  					break
 12271  				}
 12272  			}
 12273  			if msglen < 0 {
 12274  				return ErrInvalidLengthTypes
 12275  			}
 12276  			postIndex := iNdEx + msglen
 12277  			if postIndex < 0 {
 12278  				return ErrInvalidLengthTypes
 12279  			}
 12280  			if postIndex > l {
 12281  				return io.ErrUnexpectedEOF
 12282  			}
 12283  			if m.ConsensusParams == nil {
 12284  				m.ConsensusParams = &types1.ConsensusParams{}
 12285  			}
 12286  			if err := m.ConsensusParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12287  				return err
 12288  			}
 12289  			iNdEx = postIndex
 12290  		case 2:
 12291  			if wireType != 2 {
 12292  				return fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType)
 12293  			}
 12294  			var msglen int
 12295  			for shift := uint(0); ; shift += 7 {
 12296  				if shift >= 64 {
 12297  					return ErrIntOverflowTypes
 12298  				}
 12299  				if iNdEx >= l {
 12300  					return io.ErrUnexpectedEOF
 12301  				}
 12302  				b := dAtA[iNdEx]
 12303  				iNdEx++
 12304  				msglen |= int(b&0x7F) << shift
 12305  				if b < 0x80 {
 12306  					break
 12307  				}
 12308  			}
 12309  			if msglen < 0 {
 12310  				return ErrInvalidLengthTypes
 12311  			}
 12312  			postIndex := iNdEx + msglen
 12313  			if postIndex < 0 {
 12314  				return ErrInvalidLengthTypes
 12315  			}
 12316  			if postIndex > l {
 12317  				return io.ErrUnexpectedEOF
 12318  			}
 12319  			m.Validators = append(m.Validators, ValidatorUpdate{})
 12320  			if err := m.Validators[len(m.Validators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12321  				return err
 12322  			}
 12323  			iNdEx = postIndex
 12324  		case 3:
 12325  			if wireType != 2 {
 12326  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 12327  			}
 12328  			var byteLen int
 12329  			for shift := uint(0); ; shift += 7 {
 12330  				if shift >= 64 {
 12331  					return ErrIntOverflowTypes
 12332  				}
 12333  				if iNdEx >= l {
 12334  					return io.ErrUnexpectedEOF
 12335  				}
 12336  				b := dAtA[iNdEx]
 12337  				iNdEx++
 12338  				byteLen |= int(b&0x7F) << shift
 12339  				if b < 0x80 {
 12340  					break
 12341  				}
 12342  			}
 12343  			if byteLen < 0 {
 12344  				return ErrInvalidLengthTypes
 12345  			}
 12346  			postIndex := iNdEx + byteLen
 12347  			if postIndex < 0 {
 12348  				return ErrInvalidLengthTypes
 12349  			}
 12350  			if postIndex > l {
 12351  				return io.ErrUnexpectedEOF
 12352  			}
 12353  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 12354  			if m.AppHash == nil {
 12355  				m.AppHash = []byte{}
 12356  			}
 12357  			iNdEx = postIndex
 12358  		default:
 12359  			iNdEx = preIndex
 12360  			skippy, err := skipTypes(dAtA[iNdEx:])
 12361  			if err != nil {
 12362  				return err
 12363  			}
 12364  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12365  				return ErrInvalidLengthTypes
 12366  			}
 12367  			if (iNdEx + skippy) > l {
 12368  				return io.ErrUnexpectedEOF
 12369  			}
 12370  			iNdEx += skippy
 12371  		}
 12372  	}
 12373  
 12374  	if iNdEx > l {
 12375  		return io.ErrUnexpectedEOF
 12376  	}
 12377  	return nil
 12378  }
 12379  func (m *ResponseQuery) Unmarshal(dAtA []byte) error {
 12380  	l := len(dAtA)
 12381  	iNdEx := 0
 12382  	for iNdEx < l {
 12383  		preIndex := iNdEx
 12384  		var wire uint64
 12385  		for shift := uint(0); ; shift += 7 {
 12386  			if shift >= 64 {
 12387  				return ErrIntOverflowTypes
 12388  			}
 12389  			if iNdEx >= l {
 12390  				return io.ErrUnexpectedEOF
 12391  			}
 12392  			b := dAtA[iNdEx]
 12393  			iNdEx++
 12394  			wire |= uint64(b&0x7F) << shift
 12395  			if b < 0x80 {
 12396  				break
 12397  			}
 12398  		}
 12399  		fieldNum := int32(wire >> 3)
 12400  		wireType := int(wire & 0x7)
 12401  		if wireType == 4 {
 12402  			return fmt.Errorf("proto: ResponseQuery: wiretype end group for non-group")
 12403  		}
 12404  		if fieldNum <= 0 {
 12405  			return fmt.Errorf("proto: ResponseQuery: illegal tag %d (wire type %d)", fieldNum, wire)
 12406  		}
 12407  		switch fieldNum {
 12408  		case 1:
 12409  			if wireType != 0 {
 12410  				return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
 12411  			}
 12412  			m.Code = 0
 12413  			for shift := uint(0); ; shift += 7 {
 12414  				if shift >= 64 {
 12415  					return ErrIntOverflowTypes
 12416  				}
 12417  				if iNdEx >= l {
 12418  					return io.ErrUnexpectedEOF
 12419  				}
 12420  				b := dAtA[iNdEx]
 12421  				iNdEx++
 12422  				m.Code |= uint32(b&0x7F) << shift
 12423  				if b < 0x80 {
 12424  					break
 12425  				}
 12426  			}
 12427  		case 3:
 12428  			if wireType != 2 {
 12429  				return fmt.Errorf("proto: wrong wireType = %d for field Log", wireType)
 12430  			}
 12431  			var stringLen uint64
 12432  			for shift := uint(0); ; shift += 7 {
 12433  				if shift >= 64 {
 12434  					return ErrIntOverflowTypes
 12435  				}
 12436  				if iNdEx >= l {
 12437  					return io.ErrUnexpectedEOF
 12438  				}
 12439  				b := dAtA[iNdEx]
 12440  				iNdEx++
 12441  				stringLen |= uint64(b&0x7F) << shift
 12442  				if b < 0x80 {
 12443  					break
 12444  				}
 12445  			}
 12446  			intStringLen := int(stringLen)
 12447  			if intStringLen < 0 {
 12448  				return ErrInvalidLengthTypes
 12449  			}
 12450  			postIndex := iNdEx + intStringLen
 12451  			if postIndex < 0 {
 12452  				return ErrInvalidLengthTypes
 12453  			}
 12454  			if postIndex > l {
 12455  				return io.ErrUnexpectedEOF
 12456  			}
 12457  			m.Log = string(dAtA[iNdEx:postIndex])
 12458  			iNdEx = postIndex
 12459  		case 4:
 12460  			if wireType != 2 {
 12461  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 12462  			}
 12463  			var stringLen uint64
 12464  			for shift := uint(0); ; shift += 7 {
 12465  				if shift >= 64 {
 12466  					return ErrIntOverflowTypes
 12467  				}
 12468  				if iNdEx >= l {
 12469  					return io.ErrUnexpectedEOF
 12470  				}
 12471  				b := dAtA[iNdEx]
 12472  				iNdEx++
 12473  				stringLen |= uint64(b&0x7F) << shift
 12474  				if b < 0x80 {
 12475  					break
 12476  				}
 12477  			}
 12478  			intStringLen := int(stringLen)
 12479  			if intStringLen < 0 {
 12480  				return ErrInvalidLengthTypes
 12481  			}
 12482  			postIndex := iNdEx + intStringLen
 12483  			if postIndex < 0 {
 12484  				return ErrInvalidLengthTypes
 12485  			}
 12486  			if postIndex > l {
 12487  				return io.ErrUnexpectedEOF
 12488  			}
 12489  			m.Info = string(dAtA[iNdEx:postIndex])
 12490  			iNdEx = postIndex
 12491  		case 5:
 12492  			if wireType != 0 {
 12493  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 12494  			}
 12495  			m.Index = 0
 12496  			for shift := uint(0); ; shift += 7 {
 12497  				if shift >= 64 {
 12498  					return ErrIntOverflowTypes
 12499  				}
 12500  				if iNdEx >= l {
 12501  					return io.ErrUnexpectedEOF
 12502  				}
 12503  				b := dAtA[iNdEx]
 12504  				iNdEx++
 12505  				m.Index |= int64(b&0x7F) << shift
 12506  				if b < 0x80 {
 12507  					break
 12508  				}
 12509  			}
 12510  		case 6:
 12511  			if wireType != 2 {
 12512  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
 12513  			}
 12514  			var byteLen int
 12515  			for shift := uint(0); ; shift += 7 {
 12516  				if shift >= 64 {
 12517  					return ErrIntOverflowTypes
 12518  				}
 12519  				if iNdEx >= l {
 12520  					return io.ErrUnexpectedEOF
 12521  				}
 12522  				b := dAtA[iNdEx]
 12523  				iNdEx++
 12524  				byteLen |= int(b&0x7F) << shift
 12525  				if b < 0x80 {
 12526  					break
 12527  				}
 12528  			}
 12529  			if byteLen < 0 {
 12530  				return ErrInvalidLengthTypes
 12531  			}
 12532  			postIndex := iNdEx + byteLen
 12533  			if postIndex < 0 {
 12534  				return ErrInvalidLengthTypes
 12535  			}
 12536  			if postIndex > l {
 12537  				return io.ErrUnexpectedEOF
 12538  			}
 12539  			m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...)
 12540  			if m.Key == nil {
 12541  				m.Key = []byte{}
 12542  			}
 12543  			iNdEx = postIndex
 12544  		case 7:
 12545  			if wireType != 2 {
 12546  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 12547  			}
 12548  			var byteLen int
 12549  			for shift := uint(0); ; shift += 7 {
 12550  				if shift >= 64 {
 12551  					return ErrIntOverflowTypes
 12552  				}
 12553  				if iNdEx >= l {
 12554  					return io.ErrUnexpectedEOF
 12555  				}
 12556  				b := dAtA[iNdEx]
 12557  				iNdEx++
 12558  				byteLen |= int(b&0x7F) << shift
 12559  				if b < 0x80 {
 12560  					break
 12561  				}
 12562  			}
 12563  			if byteLen < 0 {
 12564  				return ErrInvalidLengthTypes
 12565  			}
 12566  			postIndex := iNdEx + byteLen
 12567  			if postIndex < 0 {
 12568  				return ErrInvalidLengthTypes
 12569  			}
 12570  			if postIndex > l {
 12571  				return io.ErrUnexpectedEOF
 12572  			}
 12573  			m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...)
 12574  			if m.Value == nil {
 12575  				m.Value = []byte{}
 12576  			}
 12577  			iNdEx = postIndex
 12578  		case 8:
 12579  			if wireType != 2 {
 12580  				return fmt.Errorf("proto: wrong wireType = %d for field ProofOps", wireType)
 12581  			}
 12582  			var msglen int
 12583  			for shift := uint(0); ; shift += 7 {
 12584  				if shift >= 64 {
 12585  					return ErrIntOverflowTypes
 12586  				}
 12587  				if iNdEx >= l {
 12588  					return io.ErrUnexpectedEOF
 12589  				}
 12590  				b := dAtA[iNdEx]
 12591  				iNdEx++
 12592  				msglen |= int(b&0x7F) << shift
 12593  				if b < 0x80 {
 12594  					break
 12595  				}
 12596  			}
 12597  			if msglen < 0 {
 12598  				return ErrInvalidLengthTypes
 12599  			}
 12600  			postIndex := iNdEx + msglen
 12601  			if postIndex < 0 {
 12602  				return ErrInvalidLengthTypes
 12603  			}
 12604  			if postIndex > l {
 12605  				return io.ErrUnexpectedEOF
 12606  			}
 12607  			if m.ProofOps == nil {
 12608  				m.ProofOps = &crypto.ProofOps{}
 12609  			}
 12610  			if err := m.ProofOps.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12611  				return err
 12612  			}
 12613  			iNdEx = postIndex
 12614  		case 9:
 12615  			if wireType != 0 {
 12616  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 12617  			}
 12618  			m.Height = 0
 12619  			for shift := uint(0); ; shift += 7 {
 12620  				if shift >= 64 {
 12621  					return ErrIntOverflowTypes
 12622  				}
 12623  				if iNdEx >= l {
 12624  					return io.ErrUnexpectedEOF
 12625  				}
 12626  				b := dAtA[iNdEx]
 12627  				iNdEx++
 12628  				m.Height |= int64(b&0x7F) << shift
 12629  				if b < 0x80 {
 12630  					break
 12631  				}
 12632  			}
 12633  		case 10:
 12634  			if wireType != 2 {
 12635  				return fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType)
 12636  			}
 12637  			var stringLen uint64
 12638  			for shift := uint(0); ; shift += 7 {
 12639  				if shift >= 64 {
 12640  					return ErrIntOverflowTypes
 12641  				}
 12642  				if iNdEx >= l {
 12643  					return io.ErrUnexpectedEOF
 12644  				}
 12645  				b := dAtA[iNdEx]
 12646  				iNdEx++
 12647  				stringLen |= uint64(b&0x7F) << shift
 12648  				if b < 0x80 {
 12649  					break
 12650  				}
 12651  			}
 12652  			intStringLen := int(stringLen)
 12653  			if intStringLen < 0 {
 12654  				return ErrInvalidLengthTypes
 12655  			}
 12656  			postIndex := iNdEx + intStringLen
 12657  			if postIndex < 0 {
 12658  				return ErrInvalidLengthTypes
 12659  			}
 12660  			if postIndex > l {
 12661  				return io.ErrUnexpectedEOF
 12662  			}
 12663  			m.Codespace = string(dAtA[iNdEx:postIndex])
 12664  			iNdEx = postIndex
 12665  		default:
 12666  			iNdEx = preIndex
 12667  			skippy, err := skipTypes(dAtA[iNdEx:])
 12668  			if err != nil {
 12669  				return err
 12670  			}
 12671  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12672  				return ErrInvalidLengthTypes
 12673  			}
 12674  			if (iNdEx + skippy) > l {
 12675  				return io.ErrUnexpectedEOF
 12676  			}
 12677  			iNdEx += skippy
 12678  		}
 12679  	}
 12680  
 12681  	if iNdEx > l {
 12682  		return io.ErrUnexpectedEOF
 12683  	}
 12684  	return nil
 12685  }
 12686  func (m *ResponseBeginBlock) Unmarshal(dAtA []byte) error {
 12687  	l := len(dAtA)
 12688  	iNdEx := 0
 12689  	for iNdEx < l {
 12690  		preIndex := iNdEx
 12691  		var wire uint64
 12692  		for shift := uint(0); ; shift += 7 {
 12693  			if shift >= 64 {
 12694  				return ErrIntOverflowTypes
 12695  			}
 12696  			if iNdEx >= l {
 12697  				return io.ErrUnexpectedEOF
 12698  			}
 12699  			b := dAtA[iNdEx]
 12700  			iNdEx++
 12701  			wire |= uint64(b&0x7F) << shift
 12702  			if b < 0x80 {
 12703  				break
 12704  			}
 12705  		}
 12706  		fieldNum := int32(wire >> 3)
 12707  		wireType := int(wire & 0x7)
 12708  		if wireType == 4 {
 12709  			return fmt.Errorf("proto: ResponseBeginBlock: wiretype end group for non-group")
 12710  		}
 12711  		if fieldNum <= 0 {
 12712  			return fmt.Errorf("proto: ResponseBeginBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 12713  		}
 12714  		switch fieldNum {
 12715  		case 1:
 12716  			if wireType != 2 {
 12717  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 12718  			}
 12719  			var msglen int
 12720  			for shift := uint(0); ; shift += 7 {
 12721  				if shift >= 64 {
 12722  					return ErrIntOverflowTypes
 12723  				}
 12724  				if iNdEx >= l {
 12725  					return io.ErrUnexpectedEOF
 12726  				}
 12727  				b := dAtA[iNdEx]
 12728  				iNdEx++
 12729  				msglen |= int(b&0x7F) << shift
 12730  				if b < 0x80 {
 12731  					break
 12732  				}
 12733  			}
 12734  			if msglen < 0 {
 12735  				return ErrInvalidLengthTypes
 12736  			}
 12737  			postIndex := iNdEx + msglen
 12738  			if postIndex < 0 {
 12739  				return ErrInvalidLengthTypes
 12740  			}
 12741  			if postIndex > l {
 12742  				return io.ErrUnexpectedEOF
 12743  			}
 12744  			m.Events = append(m.Events, Event{})
 12745  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12746  				return err
 12747  			}
 12748  			iNdEx = postIndex
 12749  		default:
 12750  			iNdEx = preIndex
 12751  			skippy, err := skipTypes(dAtA[iNdEx:])
 12752  			if err != nil {
 12753  				return err
 12754  			}
 12755  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12756  				return ErrInvalidLengthTypes
 12757  			}
 12758  			if (iNdEx + skippy) > l {
 12759  				return io.ErrUnexpectedEOF
 12760  			}
 12761  			iNdEx += skippy
 12762  		}
 12763  	}
 12764  
 12765  	if iNdEx > l {
 12766  		return io.ErrUnexpectedEOF
 12767  	}
 12768  	return nil
 12769  }
 12770  func (m *ResponseCheckTx) Unmarshal(dAtA []byte) error {
 12771  	l := len(dAtA)
 12772  	iNdEx := 0
 12773  	for iNdEx < l {
 12774  		preIndex := iNdEx
 12775  		var wire uint64
 12776  		for shift := uint(0); ; shift += 7 {
 12777  			if shift >= 64 {
 12778  				return ErrIntOverflowTypes
 12779  			}
 12780  			if iNdEx >= l {
 12781  				return io.ErrUnexpectedEOF
 12782  			}
 12783  			b := dAtA[iNdEx]
 12784  			iNdEx++
 12785  			wire |= uint64(b&0x7F) << shift
 12786  			if b < 0x80 {
 12787  				break
 12788  			}
 12789  		}
 12790  		fieldNum := int32(wire >> 3)
 12791  		wireType := int(wire & 0x7)
 12792  		if wireType == 4 {
 12793  			return fmt.Errorf("proto: ResponseCheckTx: wiretype end group for non-group")
 12794  		}
 12795  		if fieldNum <= 0 {
 12796  			return fmt.Errorf("proto: ResponseCheckTx: illegal tag %d (wire type %d)", fieldNum, wire)
 12797  		}
 12798  		switch fieldNum {
 12799  		case 1:
 12800  			if wireType != 0 {
 12801  				return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
 12802  			}
 12803  			m.Code = 0
 12804  			for shift := uint(0); ; shift += 7 {
 12805  				if shift >= 64 {
 12806  					return ErrIntOverflowTypes
 12807  				}
 12808  				if iNdEx >= l {
 12809  					return io.ErrUnexpectedEOF
 12810  				}
 12811  				b := dAtA[iNdEx]
 12812  				iNdEx++
 12813  				m.Code |= uint32(b&0x7F) << shift
 12814  				if b < 0x80 {
 12815  					break
 12816  				}
 12817  			}
 12818  		case 2:
 12819  			if wireType != 2 {
 12820  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 12821  			}
 12822  			var byteLen int
 12823  			for shift := uint(0); ; shift += 7 {
 12824  				if shift >= 64 {
 12825  					return ErrIntOverflowTypes
 12826  				}
 12827  				if iNdEx >= l {
 12828  					return io.ErrUnexpectedEOF
 12829  				}
 12830  				b := dAtA[iNdEx]
 12831  				iNdEx++
 12832  				byteLen |= int(b&0x7F) << shift
 12833  				if b < 0x80 {
 12834  					break
 12835  				}
 12836  			}
 12837  			if byteLen < 0 {
 12838  				return ErrInvalidLengthTypes
 12839  			}
 12840  			postIndex := iNdEx + byteLen
 12841  			if postIndex < 0 {
 12842  				return ErrInvalidLengthTypes
 12843  			}
 12844  			if postIndex > l {
 12845  				return io.ErrUnexpectedEOF
 12846  			}
 12847  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 12848  			if m.Data == nil {
 12849  				m.Data = []byte{}
 12850  			}
 12851  			iNdEx = postIndex
 12852  		case 3:
 12853  			if wireType != 2 {
 12854  				return fmt.Errorf("proto: wrong wireType = %d for field Log", wireType)
 12855  			}
 12856  			var stringLen uint64
 12857  			for shift := uint(0); ; shift += 7 {
 12858  				if shift >= 64 {
 12859  					return ErrIntOverflowTypes
 12860  				}
 12861  				if iNdEx >= l {
 12862  					return io.ErrUnexpectedEOF
 12863  				}
 12864  				b := dAtA[iNdEx]
 12865  				iNdEx++
 12866  				stringLen |= uint64(b&0x7F) << shift
 12867  				if b < 0x80 {
 12868  					break
 12869  				}
 12870  			}
 12871  			intStringLen := int(stringLen)
 12872  			if intStringLen < 0 {
 12873  				return ErrInvalidLengthTypes
 12874  			}
 12875  			postIndex := iNdEx + intStringLen
 12876  			if postIndex < 0 {
 12877  				return ErrInvalidLengthTypes
 12878  			}
 12879  			if postIndex > l {
 12880  				return io.ErrUnexpectedEOF
 12881  			}
 12882  			m.Log = string(dAtA[iNdEx:postIndex])
 12883  			iNdEx = postIndex
 12884  		case 4:
 12885  			if wireType != 2 {
 12886  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 12887  			}
 12888  			var stringLen uint64
 12889  			for shift := uint(0); ; shift += 7 {
 12890  				if shift >= 64 {
 12891  					return ErrIntOverflowTypes
 12892  				}
 12893  				if iNdEx >= l {
 12894  					return io.ErrUnexpectedEOF
 12895  				}
 12896  				b := dAtA[iNdEx]
 12897  				iNdEx++
 12898  				stringLen |= uint64(b&0x7F) << shift
 12899  				if b < 0x80 {
 12900  					break
 12901  				}
 12902  			}
 12903  			intStringLen := int(stringLen)
 12904  			if intStringLen < 0 {
 12905  				return ErrInvalidLengthTypes
 12906  			}
 12907  			postIndex := iNdEx + intStringLen
 12908  			if postIndex < 0 {
 12909  				return ErrInvalidLengthTypes
 12910  			}
 12911  			if postIndex > l {
 12912  				return io.ErrUnexpectedEOF
 12913  			}
 12914  			m.Info = string(dAtA[iNdEx:postIndex])
 12915  			iNdEx = postIndex
 12916  		case 5:
 12917  			if wireType != 0 {
 12918  				return fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType)
 12919  			}
 12920  			m.GasWanted = 0
 12921  			for shift := uint(0); ; shift += 7 {
 12922  				if shift >= 64 {
 12923  					return ErrIntOverflowTypes
 12924  				}
 12925  				if iNdEx >= l {
 12926  					return io.ErrUnexpectedEOF
 12927  				}
 12928  				b := dAtA[iNdEx]
 12929  				iNdEx++
 12930  				m.GasWanted |= int64(b&0x7F) << shift
 12931  				if b < 0x80 {
 12932  					break
 12933  				}
 12934  			}
 12935  		case 6:
 12936  			if wireType != 0 {
 12937  				return fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType)
 12938  			}
 12939  			m.GasUsed = 0
 12940  			for shift := uint(0); ; shift += 7 {
 12941  				if shift >= 64 {
 12942  					return ErrIntOverflowTypes
 12943  				}
 12944  				if iNdEx >= l {
 12945  					return io.ErrUnexpectedEOF
 12946  				}
 12947  				b := dAtA[iNdEx]
 12948  				iNdEx++
 12949  				m.GasUsed |= int64(b&0x7F) << shift
 12950  				if b < 0x80 {
 12951  					break
 12952  				}
 12953  			}
 12954  		case 7:
 12955  			if wireType != 2 {
 12956  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 12957  			}
 12958  			var msglen int
 12959  			for shift := uint(0); ; shift += 7 {
 12960  				if shift >= 64 {
 12961  					return ErrIntOverflowTypes
 12962  				}
 12963  				if iNdEx >= l {
 12964  					return io.ErrUnexpectedEOF
 12965  				}
 12966  				b := dAtA[iNdEx]
 12967  				iNdEx++
 12968  				msglen |= int(b&0x7F) << shift
 12969  				if b < 0x80 {
 12970  					break
 12971  				}
 12972  			}
 12973  			if msglen < 0 {
 12974  				return ErrInvalidLengthTypes
 12975  			}
 12976  			postIndex := iNdEx + msglen
 12977  			if postIndex < 0 {
 12978  				return ErrInvalidLengthTypes
 12979  			}
 12980  			if postIndex > l {
 12981  				return io.ErrUnexpectedEOF
 12982  			}
 12983  			m.Events = append(m.Events, Event{})
 12984  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12985  				return err
 12986  			}
 12987  			iNdEx = postIndex
 12988  		case 8:
 12989  			if wireType != 2 {
 12990  				return fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType)
 12991  			}
 12992  			var stringLen uint64
 12993  			for shift := uint(0); ; shift += 7 {
 12994  				if shift >= 64 {
 12995  					return ErrIntOverflowTypes
 12996  				}
 12997  				if iNdEx >= l {
 12998  					return io.ErrUnexpectedEOF
 12999  				}
 13000  				b := dAtA[iNdEx]
 13001  				iNdEx++
 13002  				stringLen |= uint64(b&0x7F) << shift
 13003  				if b < 0x80 {
 13004  					break
 13005  				}
 13006  			}
 13007  			intStringLen := int(stringLen)
 13008  			if intStringLen < 0 {
 13009  				return ErrInvalidLengthTypes
 13010  			}
 13011  			postIndex := iNdEx + intStringLen
 13012  			if postIndex < 0 {
 13013  				return ErrInvalidLengthTypes
 13014  			}
 13015  			if postIndex > l {
 13016  				return io.ErrUnexpectedEOF
 13017  			}
 13018  			m.Codespace = string(dAtA[iNdEx:postIndex])
 13019  			iNdEx = postIndex
 13020  		case 9:
 13021  			if wireType != 2 {
 13022  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 13023  			}
 13024  			var stringLen uint64
 13025  			for shift := uint(0); ; shift += 7 {
 13026  				if shift >= 64 {
 13027  					return ErrIntOverflowTypes
 13028  				}
 13029  				if iNdEx >= l {
 13030  					return io.ErrUnexpectedEOF
 13031  				}
 13032  				b := dAtA[iNdEx]
 13033  				iNdEx++
 13034  				stringLen |= uint64(b&0x7F) << shift
 13035  				if b < 0x80 {
 13036  					break
 13037  				}
 13038  			}
 13039  			intStringLen := int(stringLen)
 13040  			if intStringLen < 0 {
 13041  				return ErrInvalidLengthTypes
 13042  			}
 13043  			postIndex := iNdEx + intStringLen
 13044  			if postIndex < 0 {
 13045  				return ErrInvalidLengthTypes
 13046  			}
 13047  			if postIndex > l {
 13048  				return io.ErrUnexpectedEOF
 13049  			}
 13050  			m.Sender = string(dAtA[iNdEx:postIndex])
 13051  			iNdEx = postIndex
 13052  		case 10:
 13053  			if wireType != 0 {
 13054  				return fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType)
 13055  			}
 13056  			m.Priority = 0
 13057  			for shift := uint(0); ; shift += 7 {
 13058  				if shift >= 64 {
 13059  					return ErrIntOverflowTypes
 13060  				}
 13061  				if iNdEx >= l {
 13062  					return io.ErrUnexpectedEOF
 13063  				}
 13064  				b := dAtA[iNdEx]
 13065  				iNdEx++
 13066  				m.Priority |= int64(b&0x7F) << shift
 13067  				if b < 0x80 {
 13068  					break
 13069  				}
 13070  			}
 13071  		case 11:
 13072  			if wireType != 2 {
 13073  				return fmt.Errorf("proto: wrong wireType = %d for field MempoolError", wireType)
 13074  			}
 13075  			var stringLen uint64
 13076  			for shift := uint(0); ; shift += 7 {
 13077  				if shift >= 64 {
 13078  					return ErrIntOverflowTypes
 13079  				}
 13080  				if iNdEx >= l {
 13081  					return io.ErrUnexpectedEOF
 13082  				}
 13083  				b := dAtA[iNdEx]
 13084  				iNdEx++
 13085  				stringLen |= uint64(b&0x7F) << shift
 13086  				if b < 0x80 {
 13087  					break
 13088  				}
 13089  			}
 13090  			intStringLen := int(stringLen)
 13091  			if intStringLen < 0 {
 13092  				return ErrInvalidLengthTypes
 13093  			}
 13094  			postIndex := iNdEx + intStringLen
 13095  			if postIndex < 0 {
 13096  				return ErrInvalidLengthTypes
 13097  			}
 13098  			if postIndex > l {
 13099  				return io.ErrUnexpectedEOF
 13100  			}
 13101  			m.MempoolError = string(dAtA[iNdEx:postIndex])
 13102  			iNdEx = postIndex
 13103  		default:
 13104  			iNdEx = preIndex
 13105  			skippy, err := skipTypes(dAtA[iNdEx:])
 13106  			if err != nil {
 13107  				return err
 13108  			}
 13109  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13110  				return ErrInvalidLengthTypes
 13111  			}
 13112  			if (iNdEx + skippy) > l {
 13113  				return io.ErrUnexpectedEOF
 13114  			}
 13115  			iNdEx += skippy
 13116  		}
 13117  	}
 13118  
 13119  	if iNdEx > l {
 13120  		return io.ErrUnexpectedEOF
 13121  	}
 13122  	return nil
 13123  }
 13124  func (m *ResponseDeliverTx) Unmarshal(dAtA []byte) error {
 13125  	l := len(dAtA)
 13126  	iNdEx := 0
 13127  	for iNdEx < l {
 13128  		preIndex := iNdEx
 13129  		var wire uint64
 13130  		for shift := uint(0); ; shift += 7 {
 13131  			if shift >= 64 {
 13132  				return ErrIntOverflowTypes
 13133  			}
 13134  			if iNdEx >= l {
 13135  				return io.ErrUnexpectedEOF
 13136  			}
 13137  			b := dAtA[iNdEx]
 13138  			iNdEx++
 13139  			wire |= uint64(b&0x7F) << shift
 13140  			if b < 0x80 {
 13141  				break
 13142  			}
 13143  		}
 13144  		fieldNum := int32(wire >> 3)
 13145  		wireType := int(wire & 0x7)
 13146  		if wireType == 4 {
 13147  			return fmt.Errorf("proto: ResponseDeliverTx: wiretype end group for non-group")
 13148  		}
 13149  		if fieldNum <= 0 {
 13150  			return fmt.Errorf("proto: ResponseDeliverTx: illegal tag %d (wire type %d)", fieldNum, wire)
 13151  		}
 13152  		switch fieldNum {
 13153  		case 1:
 13154  			if wireType != 0 {
 13155  				return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
 13156  			}
 13157  			m.Code = 0
 13158  			for shift := uint(0); ; shift += 7 {
 13159  				if shift >= 64 {
 13160  					return ErrIntOverflowTypes
 13161  				}
 13162  				if iNdEx >= l {
 13163  					return io.ErrUnexpectedEOF
 13164  				}
 13165  				b := dAtA[iNdEx]
 13166  				iNdEx++
 13167  				m.Code |= uint32(b&0x7F) << shift
 13168  				if b < 0x80 {
 13169  					break
 13170  				}
 13171  			}
 13172  		case 2:
 13173  			if wireType != 2 {
 13174  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 13175  			}
 13176  			var byteLen int
 13177  			for shift := uint(0); ; shift += 7 {
 13178  				if shift >= 64 {
 13179  					return ErrIntOverflowTypes
 13180  				}
 13181  				if iNdEx >= l {
 13182  					return io.ErrUnexpectedEOF
 13183  				}
 13184  				b := dAtA[iNdEx]
 13185  				iNdEx++
 13186  				byteLen |= int(b&0x7F) << shift
 13187  				if b < 0x80 {
 13188  					break
 13189  				}
 13190  			}
 13191  			if byteLen < 0 {
 13192  				return ErrInvalidLengthTypes
 13193  			}
 13194  			postIndex := iNdEx + byteLen
 13195  			if postIndex < 0 {
 13196  				return ErrInvalidLengthTypes
 13197  			}
 13198  			if postIndex > l {
 13199  				return io.ErrUnexpectedEOF
 13200  			}
 13201  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 13202  			if m.Data == nil {
 13203  				m.Data = []byte{}
 13204  			}
 13205  			iNdEx = postIndex
 13206  		case 3:
 13207  			if wireType != 2 {
 13208  				return fmt.Errorf("proto: wrong wireType = %d for field Log", wireType)
 13209  			}
 13210  			var stringLen uint64
 13211  			for shift := uint(0); ; shift += 7 {
 13212  				if shift >= 64 {
 13213  					return ErrIntOverflowTypes
 13214  				}
 13215  				if iNdEx >= l {
 13216  					return io.ErrUnexpectedEOF
 13217  				}
 13218  				b := dAtA[iNdEx]
 13219  				iNdEx++
 13220  				stringLen |= uint64(b&0x7F) << shift
 13221  				if b < 0x80 {
 13222  					break
 13223  				}
 13224  			}
 13225  			intStringLen := int(stringLen)
 13226  			if intStringLen < 0 {
 13227  				return ErrInvalidLengthTypes
 13228  			}
 13229  			postIndex := iNdEx + intStringLen
 13230  			if postIndex < 0 {
 13231  				return ErrInvalidLengthTypes
 13232  			}
 13233  			if postIndex > l {
 13234  				return io.ErrUnexpectedEOF
 13235  			}
 13236  			m.Log = string(dAtA[iNdEx:postIndex])
 13237  			iNdEx = postIndex
 13238  		case 4:
 13239  			if wireType != 2 {
 13240  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 13241  			}
 13242  			var stringLen uint64
 13243  			for shift := uint(0); ; shift += 7 {
 13244  				if shift >= 64 {
 13245  					return ErrIntOverflowTypes
 13246  				}
 13247  				if iNdEx >= l {
 13248  					return io.ErrUnexpectedEOF
 13249  				}
 13250  				b := dAtA[iNdEx]
 13251  				iNdEx++
 13252  				stringLen |= uint64(b&0x7F) << shift
 13253  				if b < 0x80 {
 13254  					break
 13255  				}
 13256  			}
 13257  			intStringLen := int(stringLen)
 13258  			if intStringLen < 0 {
 13259  				return ErrInvalidLengthTypes
 13260  			}
 13261  			postIndex := iNdEx + intStringLen
 13262  			if postIndex < 0 {
 13263  				return ErrInvalidLengthTypes
 13264  			}
 13265  			if postIndex > l {
 13266  				return io.ErrUnexpectedEOF
 13267  			}
 13268  			m.Info = string(dAtA[iNdEx:postIndex])
 13269  			iNdEx = postIndex
 13270  		case 5:
 13271  			if wireType != 0 {
 13272  				return fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType)
 13273  			}
 13274  			m.GasWanted = 0
 13275  			for shift := uint(0); ; shift += 7 {
 13276  				if shift >= 64 {
 13277  					return ErrIntOverflowTypes
 13278  				}
 13279  				if iNdEx >= l {
 13280  					return io.ErrUnexpectedEOF
 13281  				}
 13282  				b := dAtA[iNdEx]
 13283  				iNdEx++
 13284  				m.GasWanted |= int64(b&0x7F) << shift
 13285  				if b < 0x80 {
 13286  					break
 13287  				}
 13288  			}
 13289  		case 6:
 13290  			if wireType != 0 {
 13291  				return fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType)
 13292  			}
 13293  			m.GasUsed = 0
 13294  			for shift := uint(0); ; shift += 7 {
 13295  				if shift >= 64 {
 13296  					return ErrIntOverflowTypes
 13297  				}
 13298  				if iNdEx >= l {
 13299  					return io.ErrUnexpectedEOF
 13300  				}
 13301  				b := dAtA[iNdEx]
 13302  				iNdEx++
 13303  				m.GasUsed |= int64(b&0x7F) << shift
 13304  				if b < 0x80 {
 13305  					break
 13306  				}
 13307  			}
 13308  		case 7:
 13309  			if wireType != 2 {
 13310  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 13311  			}
 13312  			var msglen int
 13313  			for shift := uint(0); ; shift += 7 {
 13314  				if shift >= 64 {
 13315  					return ErrIntOverflowTypes
 13316  				}
 13317  				if iNdEx >= l {
 13318  					return io.ErrUnexpectedEOF
 13319  				}
 13320  				b := dAtA[iNdEx]
 13321  				iNdEx++
 13322  				msglen |= int(b&0x7F) << shift
 13323  				if b < 0x80 {
 13324  					break
 13325  				}
 13326  			}
 13327  			if msglen < 0 {
 13328  				return ErrInvalidLengthTypes
 13329  			}
 13330  			postIndex := iNdEx + msglen
 13331  			if postIndex < 0 {
 13332  				return ErrInvalidLengthTypes
 13333  			}
 13334  			if postIndex > l {
 13335  				return io.ErrUnexpectedEOF
 13336  			}
 13337  			m.Events = append(m.Events, Event{})
 13338  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13339  				return err
 13340  			}
 13341  			iNdEx = postIndex
 13342  		case 8:
 13343  			if wireType != 2 {
 13344  				return fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType)
 13345  			}
 13346  			var stringLen uint64
 13347  			for shift := uint(0); ; shift += 7 {
 13348  				if shift >= 64 {
 13349  					return ErrIntOverflowTypes
 13350  				}
 13351  				if iNdEx >= l {
 13352  					return io.ErrUnexpectedEOF
 13353  				}
 13354  				b := dAtA[iNdEx]
 13355  				iNdEx++
 13356  				stringLen |= uint64(b&0x7F) << shift
 13357  				if b < 0x80 {
 13358  					break
 13359  				}
 13360  			}
 13361  			intStringLen := int(stringLen)
 13362  			if intStringLen < 0 {
 13363  				return ErrInvalidLengthTypes
 13364  			}
 13365  			postIndex := iNdEx + intStringLen
 13366  			if postIndex < 0 {
 13367  				return ErrInvalidLengthTypes
 13368  			}
 13369  			if postIndex > l {
 13370  				return io.ErrUnexpectedEOF
 13371  			}
 13372  			m.Codespace = string(dAtA[iNdEx:postIndex])
 13373  			iNdEx = postIndex
 13374  		default:
 13375  			iNdEx = preIndex
 13376  			skippy, err := skipTypes(dAtA[iNdEx:])
 13377  			if err != nil {
 13378  				return err
 13379  			}
 13380  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13381  				return ErrInvalidLengthTypes
 13382  			}
 13383  			if (iNdEx + skippy) > l {
 13384  				return io.ErrUnexpectedEOF
 13385  			}
 13386  			iNdEx += skippy
 13387  		}
 13388  	}
 13389  
 13390  	if iNdEx > l {
 13391  		return io.ErrUnexpectedEOF
 13392  	}
 13393  	return nil
 13394  }
 13395  func (m *ResponseEndBlock) Unmarshal(dAtA []byte) error {
 13396  	l := len(dAtA)
 13397  	iNdEx := 0
 13398  	for iNdEx < l {
 13399  		preIndex := iNdEx
 13400  		var wire uint64
 13401  		for shift := uint(0); ; shift += 7 {
 13402  			if shift >= 64 {
 13403  				return ErrIntOverflowTypes
 13404  			}
 13405  			if iNdEx >= l {
 13406  				return io.ErrUnexpectedEOF
 13407  			}
 13408  			b := dAtA[iNdEx]
 13409  			iNdEx++
 13410  			wire |= uint64(b&0x7F) << shift
 13411  			if b < 0x80 {
 13412  				break
 13413  			}
 13414  		}
 13415  		fieldNum := int32(wire >> 3)
 13416  		wireType := int(wire & 0x7)
 13417  		if wireType == 4 {
 13418  			return fmt.Errorf("proto: ResponseEndBlock: wiretype end group for non-group")
 13419  		}
 13420  		if fieldNum <= 0 {
 13421  			return fmt.Errorf("proto: ResponseEndBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 13422  		}
 13423  		switch fieldNum {
 13424  		case 1:
 13425  			if wireType != 2 {
 13426  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorUpdates", wireType)
 13427  			}
 13428  			var msglen int
 13429  			for shift := uint(0); ; shift += 7 {
 13430  				if shift >= 64 {
 13431  					return ErrIntOverflowTypes
 13432  				}
 13433  				if iNdEx >= l {
 13434  					return io.ErrUnexpectedEOF
 13435  				}
 13436  				b := dAtA[iNdEx]
 13437  				iNdEx++
 13438  				msglen |= int(b&0x7F) << shift
 13439  				if b < 0x80 {
 13440  					break
 13441  				}
 13442  			}
 13443  			if msglen < 0 {
 13444  				return ErrInvalidLengthTypes
 13445  			}
 13446  			postIndex := iNdEx + msglen
 13447  			if postIndex < 0 {
 13448  				return ErrInvalidLengthTypes
 13449  			}
 13450  			if postIndex > l {
 13451  				return io.ErrUnexpectedEOF
 13452  			}
 13453  			m.ValidatorUpdates = append(m.ValidatorUpdates, ValidatorUpdate{})
 13454  			if err := m.ValidatorUpdates[len(m.ValidatorUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13455  				return err
 13456  			}
 13457  			iNdEx = postIndex
 13458  		case 2:
 13459  			if wireType != 2 {
 13460  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParamUpdates", wireType)
 13461  			}
 13462  			var msglen int
 13463  			for shift := uint(0); ; shift += 7 {
 13464  				if shift >= 64 {
 13465  					return ErrIntOverflowTypes
 13466  				}
 13467  				if iNdEx >= l {
 13468  					return io.ErrUnexpectedEOF
 13469  				}
 13470  				b := dAtA[iNdEx]
 13471  				iNdEx++
 13472  				msglen |= int(b&0x7F) << shift
 13473  				if b < 0x80 {
 13474  					break
 13475  				}
 13476  			}
 13477  			if msglen < 0 {
 13478  				return ErrInvalidLengthTypes
 13479  			}
 13480  			postIndex := iNdEx + msglen
 13481  			if postIndex < 0 {
 13482  				return ErrInvalidLengthTypes
 13483  			}
 13484  			if postIndex > l {
 13485  				return io.ErrUnexpectedEOF
 13486  			}
 13487  			if m.ConsensusParamUpdates == nil {
 13488  				m.ConsensusParamUpdates = &types1.ConsensusParams{}
 13489  			}
 13490  			if err := m.ConsensusParamUpdates.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13491  				return err
 13492  			}
 13493  			iNdEx = postIndex
 13494  		case 3:
 13495  			if wireType != 2 {
 13496  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 13497  			}
 13498  			var msglen int
 13499  			for shift := uint(0); ; shift += 7 {
 13500  				if shift >= 64 {
 13501  					return ErrIntOverflowTypes
 13502  				}
 13503  				if iNdEx >= l {
 13504  					return io.ErrUnexpectedEOF
 13505  				}
 13506  				b := dAtA[iNdEx]
 13507  				iNdEx++
 13508  				msglen |= int(b&0x7F) << shift
 13509  				if b < 0x80 {
 13510  					break
 13511  				}
 13512  			}
 13513  			if msglen < 0 {
 13514  				return ErrInvalidLengthTypes
 13515  			}
 13516  			postIndex := iNdEx + msglen
 13517  			if postIndex < 0 {
 13518  				return ErrInvalidLengthTypes
 13519  			}
 13520  			if postIndex > l {
 13521  				return io.ErrUnexpectedEOF
 13522  			}
 13523  			m.Events = append(m.Events, Event{})
 13524  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13525  				return err
 13526  			}
 13527  			iNdEx = postIndex
 13528  		default:
 13529  			iNdEx = preIndex
 13530  			skippy, err := skipTypes(dAtA[iNdEx:])
 13531  			if err != nil {
 13532  				return err
 13533  			}
 13534  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13535  				return ErrInvalidLengthTypes
 13536  			}
 13537  			if (iNdEx + skippy) > l {
 13538  				return io.ErrUnexpectedEOF
 13539  			}
 13540  			iNdEx += skippy
 13541  		}
 13542  	}
 13543  
 13544  	if iNdEx > l {
 13545  		return io.ErrUnexpectedEOF
 13546  	}
 13547  	return nil
 13548  }
 13549  func (m *ResponseCommit) Unmarshal(dAtA []byte) error {
 13550  	l := len(dAtA)
 13551  	iNdEx := 0
 13552  	for iNdEx < l {
 13553  		preIndex := iNdEx
 13554  		var wire uint64
 13555  		for shift := uint(0); ; shift += 7 {
 13556  			if shift >= 64 {
 13557  				return ErrIntOverflowTypes
 13558  			}
 13559  			if iNdEx >= l {
 13560  				return io.ErrUnexpectedEOF
 13561  			}
 13562  			b := dAtA[iNdEx]
 13563  			iNdEx++
 13564  			wire |= uint64(b&0x7F) << shift
 13565  			if b < 0x80 {
 13566  				break
 13567  			}
 13568  		}
 13569  		fieldNum := int32(wire >> 3)
 13570  		wireType := int(wire & 0x7)
 13571  		if wireType == 4 {
 13572  			return fmt.Errorf("proto: ResponseCommit: wiretype end group for non-group")
 13573  		}
 13574  		if fieldNum <= 0 {
 13575  			return fmt.Errorf("proto: ResponseCommit: illegal tag %d (wire type %d)", fieldNum, wire)
 13576  		}
 13577  		switch fieldNum {
 13578  		case 2:
 13579  			if wireType != 2 {
 13580  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 13581  			}
 13582  			var byteLen int
 13583  			for shift := uint(0); ; shift += 7 {
 13584  				if shift >= 64 {
 13585  					return ErrIntOverflowTypes
 13586  				}
 13587  				if iNdEx >= l {
 13588  					return io.ErrUnexpectedEOF
 13589  				}
 13590  				b := dAtA[iNdEx]
 13591  				iNdEx++
 13592  				byteLen |= int(b&0x7F) << shift
 13593  				if b < 0x80 {
 13594  					break
 13595  				}
 13596  			}
 13597  			if byteLen < 0 {
 13598  				return ErrInvalidLengthTypes
 13599  			}
 13600  			postIndex := iNdEx + byteLen
 13601  			if postIndex < 0 {
 13602  				return ErrInvalidLengthTypes
 13603  			}
 13604  			if postIndex > l {
 13605  				return io.ErrUnexpectedEOF
 13606  			}
 13607  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 13608  			if m.Data == nil {
 13609  				m.Data = []byte{}
 13610  			}
 13611  			iNdEx = postIndex
 13612  		case 3:
 13613  			if wireType != 0 {
 13614  				return fmt.Errorf("proto: wrong wireType = %d for field RetainHeight", wireType)
 13615  			}
 13616  			m.RetainHeight = 0
 13617  			for shift := uint(0); ; shift += 7 {
 13618  				if shift >= 64 {
 13619  					return ErrIntOverflowTypes
 13620  				}
 13621  				if iNdEx >= l {
 13622  					return io.ErrUnexpectedEOF
 13623  				}
 13624  				b := dAtA[iNdEx]
 13625  				iNdEx++
 13626  				m.RetainHeight |= int64(b&0x7F) << shift
 13627  				if b < 0x80 {
 13628  					break
 13629  				}
 13630  			}
 13631  		default:
 13632  			iNdEx = preIndex
 13633  			skippy, err := skipTypes(dAtA[iNdEx:])
 13634  			if err != nil {
 13635  				return err
 13636  			}
 13637  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13638  				return ErrInvalidLengthTypes
 13639  			}
 13640  			if (iNdEx + skippy) > l {
 13641  				return io.ErrUnexpectedEOF
 13642  			}
 13643  			iNdEx += skippy
 13644  		}
 13645  	}
 13646  
 13647  	if iNdEx > l {
 13648  		return io.ErrUnexpectedEOF
 13649  	}
 13650  	return nil
 13651  }
 13652  func (m *ResponseListSnapshots) Unmarshal(dAtA []byte) error {
 13653  	l := len(dAtA)
 13654  	iNdEx := 0
 13655  	for iNdEx < l {
 13656  		preIndex := iNdEx
 13657  		var wire uint64
 13658  		for shift := uint(0); ; shift += 7 {
 13659  			if shift >= 64 {
 13660  				return ErrIntOverflowTypes
 13661  			}
 13662  			if iNdEx >= l {
 13663  				return io.ErrUnexpectedEOF
 13664  			}
 13665  			b := dAtA[iNdEx]
 13666  			iNdEx++
 13667  			wire |= uint64(b&0x7F) << shift
 13668  			if b < 0x80 {
 13669  				break
 13670  			}
 13671  		}
 13672  		fieldNum := int32(wire >> 3)
 13673  		wireType := int(wire & 0x7)
 13674  		if wireType == 4 {
 13675  			return fmt.Errorf("proto: ResponseListSnapshots: wiretype end group for non-group")
 13676  		}
 13677  		if fieldNum <= 0 {
 13678  			return fmt.Errorf("proto: ResponseListSnapshots: illegal tag %d (wire type %d)", fieldNum, wire)
 13679  		}
 13680  		switch fieldNum {
 13681  		case 1:
 13682  			if wireType != 2 {
 13683  				return fmt.Errorf("proto: wrong wireType = %d for field Snapshots", wireType)
 13684  			}
 13685  			var msglen int
 13686  			for shift := uint(0); ; shift += 7 {
 13687  				if shift >= 64 {
 13688  					return ErrIntOverflowTypes
 13689  				}
 13690  				if iNdEx >= l {
 13691  					return io.ErrUnexpectedEOF
 13692  				}
 13693  				b := dAtA[iNdEx]
 13694  				iNdEx++
 13695  				msglen |= int(b&0x7F) << shift
 13696  				if b < 0x80 {
 13697  					break
 13698  				}
 13699  			}
 13700  			if msglen < 0 {
 13701  				return ErrInvalidLengthTypes
 13702  			}
 13703  			postIndex := iNdEx + msglen
 13704  			if postIndex < 0 {
 13705  				return ErrInvalidLengthTypes
 13706  			}
 13707  			if postIndex > l {
 13708  				return io.ErrUnexpectedEOF
 13709  			}
 13710  			m.Snapshots = append(m.Snapshots, &Snapshot{})
 13711  			if err := m.Snapshots[len(m.Snapshots)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13712  				return err
 13713  			}
 13714  			iNdEx = postIndex
 13715  		default:
 13716  			iNdEx = preIndex
 13717  			skippy, err := skipTypes(dAtA[iNdEx:])
 13718  			if err != nil {
 13719  				return err
 13720  			}
 13721  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13722  				return ErrInvalidLengthTypes
 13723  			}
 13724  			if (iNdEx + skippy) > l {
 13725  				return io.ErrUnexpectedEOF
 13726  			}
 13727  			iNdEx += skippy
 13728  		}
 13729  	}
 13730  
 13731  	if iNdEx > l {
 13732  		return io.ErrUnexpectedEOF
 13733  	}
 13734  	return nil
 13735  }
 13736  func (m *ResponseOfferSnapshot) Unmarshal(dAtA []byte) error {
 13737  	l := len(dAtA)
 13738  	iNdEx := 0
 13739  	for iNdEx < l {
 13740  		preIndex := iNdEx
 13741  		var wire uint64
 13742  		for shift := uint(0); ; shift += 7 {
 13743  			if shift >= 64 {
 13744  				return ErrIntOverflowTypes
 13745  			}
 13746  			if iNdEx >= l {
 13747  				return io.ErrUnexpectedEOF
 13748  			}
 13749  			b := dAtA[iNdEx]
 13750  			iNdEx++
 13751  			wire |= uint64(b&0x7F) << shift
 13752  			if b < 0x80 {
 13753  				break
 13754  			}
 13755  		}
 13756  		fieldNum := int32(wire >> 3)
 13757  		wireType := int(wire & 0x7)
 13758  		if wireType == 4 {
 13759  			return fmt.Errorf("proto: ResponseOfferSnapshot: wiretype end group for non-group")
 13760  		}
 13761  		if fieldNum <= 0 {
 13762  			return fmt.Errorf("proto: ResponseOfferSnapshot: illegal tag %d (wire type %d)", fieldNum, wire)
 13763  		}
 13764  		switch fieldNum {
 13765  		case 1:
 13766  			if wireType != 0 {
 13767  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
 13768  			}
 13769  			m.Result = 0
 13770  			for shift := uint(0); ; shift += 7 {
 13771  				if shift >= 64 {
 13772  					return ErrIntOverflowTypes
 13773  				}
 13774  				if iNdEx >= l {
 13775  					return io.ErrUnexpectedEOF
 13776  				}
 13777  				b := dAtA[iNdEx]
 13778  				iNdEx++
 13779  				m.Result |= ResponseOfferSnapshot_Result(b&0x7F) << shift
 13780  				if b < 0x80 {
 13781  					break
 13782  				}
 13783  			}
 13784  		default:
 13785  			iNdEx = preIndex
 13786  			skippy, err := skipTypes(dAtA[iNdEx:])
 13787  			if err != nil {
 13788  				return err
 13789  			}
 13790  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13791  				return ErrInvalidLengthTypes
 13792  			}
 13793  			if (iNdEx + skippy) > l {
 13794  				return io.ErrUnexpectedEOF
 13795  			}
 13796  			iNdEx += skippy
 13797  		}
 13798  	}
 13799  
 13800  	if iNdEx > l {
 13801  		return io.ErrUnexpectedEOF
 13802  	}
 13803  	return nil
 13804  }
 13805  func (m *ResponseLoadSnapshotChunk) Unmarshal(dAtA []byte) error {
 13806  	l := len(dAtA)
 13807  	iNdEx := 0
 13808  	for iNdEx < l {
 13809  		preIndex := iNdEx
 13810  		var wire uint64
 13811  		for shift := uint(0); ; shift += 7 {
 13812  			if shift >= 64 {
 13813  				return ErrIntOverflowTypes
 13814  			}
 13815  			if iNdEx >= l {
 13816  				return io.ErrUnexpectedEOF
 13817  			}
 13818  			b := dAtA[iNdEx]
 13819  			iNdEx++
 13820  			wire |= uint64(b&0x7F) << shift
 13821  			if b < 0x80 {
 13822  				break
 13823  			}
 13824  		}
 13825  		fieldNum := int32(wire >> 3)
 13826  		wireType := int(wire & 0x7)
 13827  		if wireType == 4 {
 13828  			return fmt.Errorf("proto: ResponseLoadSnapshotChunk: wiretype end group for non-group")
 13829  		}
 13830  		if fieldNum <= 0 {
 13831  			return fmt.Errorf("proto: ResponseLoadSnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire)
 13832  		}
 13833  		switch fieldNum {
 13834  		case 1:
 13835  			if wireType != 2 {
 13836  				return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType)
 13837  			}
 13838  			var byteLen int
 13839  			for shift := uint(0); ; shift += 7 {
 13840  				if shift >= 64 {
 13841  					return ErrIntOverflowTypes
 13842  				}
 13843  				if iNdEx >= l {
 13844  					return io.ErrUnexpectedEOF
 13845  				}
 13846  				b := dAtA[iNdEx]
 13847  				iNdEx++
 13848  				byteLen |= int(b&0x7F) << shift
 13849  				if b < 0x80 {
 13850  					break
 13851  				}
 13852  			}
 13853  			if byteLen < 0 {
 13854  				return ErrInvalidLengthTypes
 13855  			}
 13856  			postIndex := iNdEx + byteLen
 13857  			if postIndex < 0 {
 13858  				return ErrInvalidLengthTypes
 13859  			}
 13860  			if postIndex > l {
 13861  				return io.ErrUnexpectedEOF
 13862  			}
 13863  			m.Chunk = append(m.Chunk[:0], dAtA[iNdEx:postIndex]...)
 13864  			if m.Chunk == nil {
 13865  				m.Chunk = []byte{}
 13866  			}
 13867  			iNdEx = postIndex
 13868  		default:
 13869  			iNdEx = preIndex
 13870  			skippy, err := skipTypes(dAtA[iNdEx:])
 13871  			if err != nil {
 13872  				return err
 13873  			}
 13874  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13875  				return ErrInvalidLengthTypes
 13876  			}
 13877  			if (iNdEx + skippy) > l {
 13878  				return io.ErrUnexpectedEOF
 13879  			}
 13880  			iNdEx += skippy
 13881  		}
 13882  	}
 13883  
 13884  	if iNdEx > l {
 13885  		return io.ErrUnexpectedEOF
 13886  	}
 13887  	return nil
 13888  }
 13889  func (m *ResponseApplySnapshotChunk) Unmarshal(dAtA []byte) error {
 13890  	l := len(dAtA)
 13891  	iNdEx := 0
 13892  	for iNdEx < l {
 13893  		preIndex := iNdEx
 13894  		var wire uint64
 13895  		for shift := uint(0); ; shift += 7 {
 13896  			if shift >= 64 {
 13897  				return ErrIntOverflowTypes
 13898  			}
 13899  			if iNdEx >= l {
 13900  				return io.ErrUnexpectedEOF
 13901  			}
 13902  			b := dAtA[iNdEx]
 13903  			iNdEx++
 13904  			wire |= uint64(b&0x7F) << shift
 13905  			if b < 0x80 {
 13906  				break
 13907  			}
 13908  		}
 13909  		fieldNum := int32(wire >> 3)
 13910  		wireType := int(wire & 0x7)
 13911  		if wireType == 4 {
 13912  			return fmt.Errorf("proto: ResponseApplySnapshotChunk: wiretype end group for non-group")
 13913  		}
 13914  		if fieldNum <= 0 {
 13915  			return fmt.Errorf("proto: ResponseApplySnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire)
 13916  		}
 13917  		switch fieldNum {
 13918  		case 1:
 13919  			if wireType != 0 {
 13920  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
 13921  			}
 13922  			m.Result = 0
 13923  			for shift := uint(0); ; shift += 7 {
 13924  				if shift >= 64 {
 13925  					return ErrIntOverflowTypes
 13926  				}
 13927  				if iNdEx >= l {
 13928  					return io.ErrUnexpectedEOF
 13929  				}
 13930  				b := dAtA[iNdEx]
 13931  				iNdEx++
 13932  				m.Result |= ResponseApplySnapshotChunk_Result(b&0x7F) << shift
 13933  				if b < 0x80 {
 13934  					break
 13935  				}
 13936  			}
 13937  		case 2:
 13938  			if wireType == 0 {
 13939  				var v uint32
 13940  				for shift := uint(0); ; shift += 7 {
 13941  					if shift >= 64 {
 13942  						return ErrIntOverflowTypes
 13943  					}
 13944  					if iNdEx >= l {
 13945  						return io.ErrUnexpectedEOF
 13946  					}
 13947  					b := dAtA[iNdEx]
 13948  					iNdEx++
 13949  					v |= uint32(b&0x7F) << shift
 13950  					if b < 0x80 {
 13951  						break
 13952  					}
 13953  				}
 13954  				m.RefetchChunks = append(m.RefetchChunks, v)
 13955  			} else if wireType == 2 {
 13956  				var packedLen int
 13957  				for shift := uint(0); ; shift += 7 {
 13958  					if shift >= 64 {
 13959  						return ErrIntOverflowTypes
 13960  					}
 13961  					if iNdEx >= l {
 13962  						return io.ErrUnexpectedEOF
 13963  					}
 13964  					b := dAtA[iNdEx]
 13965  					iNdEx++
 13966  					packedLen |= int(b&0x7F) << shift
 13967  					if b < 0x80 {
 13968  						break
 13969  					}
 13970  				}
 13971  				if packedLen < 0 {
 13972  					return ErrInvalidLengthTypes
 13973  				}
 13974  				postIndex := iNdEx + packedLen
 13975  				if postIndex < 0 {
 13976  					return ErrInvalidLengthTypes
 13977  				}
 13978  				if postIndex > l {
 13979  					return io.ErrUnexpectedEOF
 13980  				}
 13981  				var elementCount int
 13982  				var count int
 13983  				for _, integer := range dAtA[iNdEx:postIndex] {
 13984  					if integer < 128 {
 13985  						count++
 13986  					}
 13987  				}
 13988  				elementCount = count
 13989  				if elementCount != 0 && len(m.RefetchChunks) == 0 {
 13990  					m.RefetchChunks = make([]uint32, 0, elementCount)
 13991  				}
 13992  				for iNdEx < postIndex {
 13993  					var v uint32
 13994  					for shift := uint(0); ; shift += 7 {
 13995  						if shift >= 64 {
 13996  							return ErrIntOverflowTypes
 13997  						}
 13998  						if iNdEx >= l {
 13999  							return io.ErrUnexpectedEOF
 14000  						}
 14001  						b := dAtA[iNdEx]
 14002  						iNdEx++
 14003  						v |= uint32(b&0x7F) << shift
 14004  						if b < 0x80 {
 14005  							break
 14006  						}
 14007  					}
 14008  					m.RefetchChunks = append(m.RefetchChunks, v)
 14009  				}
 14010  			} else {
 14011  				return fmt.Errorf("proto: wrong wireType = %d for field RefetchChunks", wireType)
 14012  			}
 14013  		case 3:
 14014  			if wireType != 2 {
 14015  				return fmt.Errorf("proto: wrong wireType = %d for field RejectSenders", wireType)
 14016  			}
 14017  			var stringLen uint64
 14018  			for shift := uint(0); ; shift += 7 {
 14019  				if shift >= 64 {
 14020  					return ErrIntOverflowTypes
 14021  				}
 14022  				if iNdEx >= l {
 14023  					return io.ErrUnexpectedEOF
 14024  				}
 14025  				b := dAtA[iNdEx]
 14026  				iNdEx++
 14027  				stringLen |= uint64(b&0x7F) << shift
 14028  				if b < 0x80 {
 14029  					break
 14030  				}
 14031  			}
 14032  			intStringLen := int(stringLen)
 14033  			if intStringLen < 0 {
 14034  				return ErrInvalidLengthTypes
 14035  			}
 14036  			postIndex := iNdEx + intStringLen
 14037  			if postIndex < 0 {
 14038  				return ErrInvalidLengthTypes
 14039  			}
 14040  			if postIndex > l {
 14041  				return io.ErrUnexpectedEOF
 14042  			}
 14043  			m.RejectSenders = append(m.RejectSenders, string(dAtA[iNdEx:postIndex]))
 14044  			iNdEx = postIndex
 14045  		default:
 14046  			iNdEx = preIndex
 14047  			skippy, err := skipTypes(dAtA[iNdEx:])
 14048  			if err != nil {
 14049  				return err
 14050  			}
 14051  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14052  				return ErrInvalidLengthTypes
 14053  			}
 14054  			if (iNdEx + skippy) > l {
 14055  				return io.ErrUnexpectedEOF
 14056  			}
 14057  			iNdEx += skippy
 14058  		}
 14059  	}
 14060  
 14061  	if iNdEx > l {
 14062  		return io.ErrUnexpectedEOF
 14063  	}
 14064  	return nil
 14065  }
 14066  func (m *ResponsePrepareProposal) Unmarshal(dAtA []byte) error {
 14067  	l := len(dAtA)
 14068  	iNdEx := 0
 14069  	for iNdEx < l {
 14070  		preIndex := iNdEx
 14071  		var wire uint64
 14072  		for shift := uint(0); ; shift += 7 {
 14073  			if shift >= 64 {
 14074  				return ErrIntOverflowTypes
 14075  			}
 14076  			if iNdEx >= l {
 14077  				return io.ErrUnexpectedEOF
 14078  			}
 14079  			b := dAtA[iNdEx]
 14080  			iNdEx++
 14081  			wire |= uint64(b&0x7F) << shift
 14082  			if b < 0x80 {
 14083  				break
 14084  			}
 14085  		}
 14086  		fieldNum := int32(wire >> 3)
 14087  		wireType := int(wire & 0x7)
 14088  		if wireType == 4 {
 14089  			return fmt.Errorf("proto: ResponsePrepareProposal: wiretype end group for non-group")
 14090  		}
 14091  		if fieldNum <= 0 {
 14092  			return fmt.Errorf("proto: ResponsePrepareProposal: illegal tag %d (wire type %d)", fieldNum, wire)
 14093  		}
 14094  		switch fieldNum {
 14095  		case 1:
 14096  			if wireType != 2 {
 14097  				return fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType)
 14098  			}
 14099  			var byteLen int
 14100  			for shift := uint(0); ; shift += 7 {
 14101  				if shift >= 64 {
 14102  					return ErrIntOverflowTypes
 14103  				}
 14104  				if iNdEx >= l {
 14105  					return io.ErrUnexpectedEOF
 14106  				}
 14107  				b := dAtA[iNdEx]
 14108  				iNdEx++
 14109  				byteLen |= int(b&0x7F) << shift
 14110  				if b < 0x80 {
 14111  					break
 14112  				}
 14113  			}
 14114  			if byteLen < 0 {
 14115  				return ErrInvalidLengthTypes
 14116  			}
 14117  			postIndex := iNdEx + byteLen
 14118  			if postIndex < 0 {
 14119  				return ErrInvalidLengthTypes
 14120  			}
 14121  			if postIndex > l {
 14122  				return io.ErrUnexpectedEOF
 14123  			}
 14124  			m.Txs = append(m.Txs, make([]byte, postIndex-iNdEx))
 14125  			copy(m.Txs[len(m.Txs)-1], dAtA[iNdEx:postIndex])
 14126  			iNdEx = postIndex
 14127  		default:
 14128  			iNdEx = preIndex
 14129  			skippy, err := skipTypes(dAtA[iNdEx:])
 14130  			if err != nil {
 14131  				return err
 14132  			}
 14133  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14134  				return ErrInvalidLengthTypes
 14135  			}
 14136  			if (iNdEx + skippy) > l {
 14137  				return io.ErrUnexpectedEOF
 14138  			}
 14139  			iNdEx += skippy
 14140  		}
 14141  	}
 14142  
 14143  	if iNdEx > l {
 14144  		return io.ErrUnexpectedEOF
 14145  	}
 14146  	return nil
 14147  }
 14148  func (m *ResponseProcessProposal) Unmarshal(dAtA []byte) error {
 14149  	l := len(dAtA)
 14150  	iNdEx := 0
 14151  	for iNdEx < l {
 14152  		preIndex := iNdEx
 14153  		var wire uint64
 14154  		for shift := uint(0); ; shift += 7 {
 14155  			if shift >= 64 {
 14156  				return ErrIntOverflowTypes
 14157  			}
 14158  			if iNdEx >= l {
 14159  				return io.ErrUnexpectedEOF
 14160  			}
 14161  			b := dAtA[iNdEx]
 14162  			iNdEx++
 14163  			wire |= uint64(b&0x7F) << shift
 14164  			if b < 0x80 {
 14165  				break
 14166  			}
 14167  		}
 14168  		fieldNum := int32(wire >> 3)
 14169  		wireType := int(wire & 0x7)
 14170  		if wireType == 4 {
 14171  			return fmt.Errorf("proto: ResponseProcessProposal: wiretype end group for non-group")
 14172  		}
 14173  		if fieldNum <= 0 {
 14174  			return fmt.Errorf("proto: ResponseProcessProposal: illegal tag %d (wire type %d)", fieldNum, wire)
 14175  		}
 14176  		switch fieldNum {
 14177  		case 1:
 14178  			if wireType != 0 {
 14179  				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
 14180  			}
 14181  			m.Status = 0
 14182  			for shift := uint(0); ; shift += 7 {
 14183  				if shift >= 64 {
 14184  					return ErrIntOverflowTypes
 14185  				}
 14186  				if iNdEx >= l {
 14187  					return io.ErrUnexpectedEOF
 14188  				}
 14189  				b := dAtA[iNdEx]
 14190  				iNdEx++
 14191  				m.Status |= ResponseProcessProposal_ProposalStatus(b&0x7F) << shift
 14192  				if b < 0x80 {
 14193  					break
 14194  				}
 14195  			}
 14196  		default:
 14197  			iNdEx = preIndex
 14198  			skippy, err := skipTypes(dAtA[iNdEx:])
 14199  			if err != nil {
 14200  				return err
 14201  			}
 14202  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14203  				return ErrInvalidLengthTypes
 14204  			}
 14205  			if (iNdEx + skippy) > l {
 14206  				return io.ErrUnexpectedEOF
 14207  			}
 14208  			iNdEx += skippy
 14209  		}
 14210  	}
 14211  
 14212  	if iNdEx > l {
 14213  		return io.ErrUnexpectedEOF
 14214  	}
 14215  	return nil
 14216  }
 14217  func (m *CommitInfo) Unmarshal(dAtA []byte) error {
 14218  	l := len(dAtA)
 14219  	iNdEx := 0
 14220  	for iNdEx < l {
 14221  		preIndex := iNdEx
 14222  		var wire uint64
 14223  		for shift := uint(0); ; shift += 7 {
 14224  			if shift >= 64 {
 14225  				return ErrIntOverflowTypes
 14226  			}
 14227  			if iNdEx >= l {
 14228  				return io.ErrUnexpectedEOF
 14229  			}
 14230  			b := dAtA[iNdEx]
 14231  			iNdEx++
 14232  			wire |= uint64(b&0x7F) << shift
 14233  			if b < 0x80 {
 14234  				break
 14235  			}
 14236  		}
 14237  		fieldNum := int32(wire >> 3)
 14238  		wireType := int(wire & 0x7)
 14239  		if wireType == 4 {
 14240  			return fmt.Errorf("proto: CommitInfo: wiretype end group for non-group")
 14241  		}
 14242  		if fieldNum <= 0 {
 14243  			return fmt.Errorf("proto: CommitInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 14244  		}
 14245  		switch fieldNum {
 14246  		case 1:
 14247  			if wireType != 0 {
 14248  				return fmt.Errorf("proto: wrong wireType = %d for field Round", wireType)
 14249  			}
 14250  			m.Round = 0
 14251  			for shift := uint(0); ; shift += 7 {
 14252  				if shift >= 64 {
 14253  					return ErrIntOverflowTypes
 14254  				}
 14255  				if iNdEx >= l {
 14256  					return io.ErrUnexpectedEOF
 14257  				}
 14258  				b := dAtA[iNdEx]
 14259  				iNdEx++
 14260  				m.Round |= int32(b&0x7F) << shift
 14261  				if b < 0x80 {
 14262  					break
 14263  				}
 14264  			}
 14265  		case 2:
 14266  			if wireType != 2 {
 14267  				return fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType)
 14268  			}
 14269  			var msglen int
 14270  			for shift := uint(0); ; shift += 7 {
 14271  				if shift >= 64 {
 14272  					return ErrIntOverflowTypes
 14273  				}
 14274  				if iNdEx >= l {
 14275  					return io.ErrUnexpectedEOF
 14276  				}
 14277  				b := dAtA[iNdEx]
 14278  				iNdEx++
 14279  				msglen |= int(b&0x7F) << shift
 14280  				if b < 0x80 {
 14281  					break
 14282  				}
 14283  			}
 14284  			if msglen < 0 {
 14285  				return ErrInvalidLengthTypes
 14286  			}
 14287  			postIndex := iNdEx + msglen
 14288  			if postIndex < 0 {
 14289  				return ErrInvalidLengthTypes
 14290  			}
 14291  			if postIndex > l {
 14292  				return io.ErrUnexpectedEOF
 14293  			}
 14294  			m.Votes = append(m.Votes, VoteInfo{})
 14295  			if err := m.Votes[len(m.Votes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14296  				return err
 14297  			}
 14298  			iNdEx = postIndex
 14299  		default:
 14300  			iNdEx = preIndex
 14301  			skippy, err := skipTypes(dAtA[iNdEx:])
 14302  			if err != nil {
 14303  				return err
 14304  			}
 14305  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14306  				return ErrInvalidLengthTypes
 14307  			}
 14308  			if (iNdEx + skippy) > l {
 14309  				return io.ErrUnexpectedEOF
 14310  			}
 14311  			iNdEx += skippy
 14312  		}
 14313  	}
 14314  
 14315  	if iNdEx > l {
 14316  		return io.ErrUnexpectedEOF
 14317  	}
 14318  	return nil
 14319  }
 14320  func (m *ExtendedCommitInfo) Unmarshal(dAtA []byte) error {
 14321  	l := len(dAtA)
 14322  	iNdEx := 0
 14323  	for iNdEx < l {
 14324  		preIndex := iNdEx
 14325  		var wire uint64
 14326  		for shift := uint(0); ; shift += 7 {
 14327  			if shift >= 64 {
 14328  				return ErrIntOverflowTypes
 14329  			}
 14330  			if iNdEx >= l {
 14331  				return io.ErrUnexpectedEOF
 14332  			}
 14333  			b := dAtA[iNdEx]
 14334  			iNdEx++
 14335  			wire |= uint64(b&0x7F) << shift
 14336  			if b < 0x80 {
 14337  				break
 14338  			}
 14339  		}
 14340  		fieldNum := int32(wire >> 3)
 14341  		wireType := int(wire & 0x7)
 14342  		if wireType == 4 {
 14343  			return fmt.Errorf("proto: ExtendedCommitInfo: wiretype end group for non-group")
 14344  		}
 14345  		if fieldNum <= 0 {
 14346  			return fmt.Errorf("proto: ExtendedCommitInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 14347  		}
 14348  		switch fieldNum {
 14349  		case 1:
 14350  			if wireType != 0 {
 14351  				return fmt.Errorf("proto: wrong wireType = %d for field Round", wireType)
 14352  			}
 14353  			m.Round = 0
 14354  			for shift := uint(0); ; shift += 7 {
 14355  				if shift >= 64 {
 14356  					return ErrIntOverflowTypes
 14357  				}
 14358  				if iNdEx >= l {
 14359  					return io.ErrUnexpectedEOF
 14360  				}
 14361  				b := dAtA[iNdEx]
 14362  				iNdEx++
 14363  				m.Round |= int32(b&0x7F) << shift
 14364  				if b < 0x80 {
 14365  					break
 14366  				}
 14367  			}
 14368  		case 2:
 14369  			if wireType != 2 {
 14370  				return fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType)
 14371  			}
 14372  			var msglen int
 14373  			for shift := uint(0); ; shift += 7 {
 14374  				if shift >= 64 {
 14375  					return ErrIntOverflowTypes
 14376  				}
 14377  				if iNdEx >= l {
 14378  					return io.ErrUnexpectedEOF
 14379  				}
 14380  				b := dAtA[iNdEx]
 14381  				iNdEx++
 14382  				msglen |= int(b&0x7F) << shift
 14383  				if b < 0x80 {
 14384  					break
 14385  				}
 14386  			}
 14387  			if msglen < 0 {
 14388  				return ErrInvalidLengthTypes
 14389  			}
 14390  			postIndex := iNdEx + msglen
 14391  			if postIndex < 0 {
 14392  				return ErrInvalidLengthTypes
 14393  			}
 14394  			if postIndex > l {
 14395  				return io.ErrUnexpectedEOF
 14396  			}
 14397  			m.Votes = append(m.Votes, ExtendedVoteInfo{})
 14398  			if err := m.Votes[len(m.Votes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14399  				return err
 14400  			}
 14401  			iNdEx = postIndex
 14402  		default:
 14403  			iNdEx = preIndex
 14404  			skippy, err := skipTypes(dAtA[iNdEx:])
 14405  			if err != nil {
 14406  				return err
 14407  			}
 14408  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14409  				return ErrInvalidLengthTypes
 14410  			}
 14411  			if (iNdEx + skippy) > l {
 14412  				return io.ErrUnexpectedEOF
 14413  			}
 14414  			iNdEx += skippy
 14415  		}
 14416  	}
 14417  
 14418  	if iNdEx > l {
 14419  		return io.ErrUnexpectedEOF
 14420  	}
 14421  	return nil
 14422  }
 14423  func (m *Event) Unmarshal(dAtA []byte) error {
 14424  	l := len(dAtA)
 14425  	iNdEx := 0
 14426  	for iNdEx < l {
 14427  		preIndex := iNdEx
 14428  		var wire uint64
 14429  		for shift := uint(0); ; shift += 7 {
 14430  			if shift >= 64 {
 14431  				return ErrIntOverflowTypes
 14432  			}
 14433  			if iNdEx >= l {
 14434  				return io.ErrUnexpectedEOF
 14435  			}
 14436  			b := dAtA[iNdEx]
 14437  			iNdEx++
 14438  			wire |= uint64(b&0x7F) << shift
 14439  			if b < 0x80 {
 14440  				break
 14441  			}
 14442  		}
 14443  		fieldNum := int32(wire >> 3)
 14444  		wireType := int(wire & 0x7)
 14445  		if wireType == 4 {
 14446  			return fmt.Errorf("proto: Event: wiretype end group for non-group")
 14447  		}
 14448  		if fieldNum <= 0 {
 14449  			return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire)
 14450  		}
 14451  		switch fieldNum {
 14452  		case 1:
 14453  			if wireType != 2 {
 14454  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 14455  			}
 14456  			var stringLen uint64
 14457  			for shift := uint(0); ; shift += 7 {
 14458  				if shift >= 64 {
 14459  					return ErrIntOverflowTypes
 14460  				}
 14461  				if iNdEx >= l {
 14462  					return io.ErrUnexpectedEOF
 14463  				}
 14464  				b := dAtA[iNdEx]
 14465  				iNdEx++
 14466  				stringLen |= uint64(b&0x7F) << shift
 14467  				if b < 0x80 {
 14468  					break
 14469  				}
 14470  			}
 14471  			intStringLen := int(stringLen)
 14472  			if intStringLen < 0 {
 14473  				return ErrInvalidLengthTypes
 14474  			}
 14475  			postIndex := iNdEx + intStringLen
 14476  			if postIndex < 0 {
 14477  				return ErrInvalidLengthTypes
 14478  			}
 14479  			if postIndex > l {
 14480  				return io.ErrUnexpectedEOF
 14481  			}
 14482  			m.Type = string(dAtA[iNdEx:postIndex])
 14483  			iNdEx = postIndex
 14484  		case 2:
 14485  			if wireType != 2 {
 14486  				return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
 14487  			}
 14488  			var msglen int
 14489  			for shift := uint(0); ; shift += 7 {
 14490  				if shift >= 64 {
 14491  					return ErrIntOverflowTypes
 14492  				}
 14493  				if iNdEx >= l {
 14494  					return io.ErrUnexpectedEOF
 14495  				}
 14496  				b := dAtA[iNdEx]
 14497  				iNdEx++
 14498  				msglen |= int(b&0x7F) << shift
 14499  				if b < 0x80 {
 14500  					break
 14501  				}
 14502  			}
 14503  			if msglen < 0 {
 14504  				return ErrInvalidLengthTypes
 14505  			}
 14506  			postIndex := iNdEx + msglen
 14507  			if postIndex < 0 {
 14508  				return ErrInvalidLengthTypes
 14509  			}
 14510  			if postIndex > l {
 14511  				return io.ErrUnexpectedEOF
 14512  			}
 14513  			m.Attributes = append(m.Attributes, EventAttribute{})
 14514  			if err := m.Attributes[len(m.Attributes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14515  				return err
 14516  			}
 14517  			iNdEx = postIndex
 14518  		default:
 14519  			iNdEx = preIndex
 14520  			skippy, err := skipTypes(dAtA[iNdEx:])
 14521  			if err != nil {
 14522  				return err
 14523  			}
 14524  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14525  				return ErrInvalidLengthTypes
 14526  			}
 14527  			if (iNdEx + skippy) > l {
 14528  				return io.ErrUnexpectedEOF
 14529  			}
 14530  			iNdEx += skippy
 14531  		}
 14532  	}
 14533  
 14534  	if iNdEx > l {
 14535  		return io.ErrUnexpectedEOF
 14536  	}
 14537  	return nil
 14538  }
 14539  func (m *EventAttribute) Unmarshal(dAtA []byte) error {
 14540  	l := len(dAtA)
 14541  	iNdEx := 0
 14542  	for iNdEx < l {
 14543  		preIndex := iNdEx
 14544  		var wire uint64
 14545  		for shift := uint(0); ; shift += 7 {
 14546  			if shift >= 64 {
 14547  				return ErrIntOverflowTypes
 14548  			}
 14549  			if iNdEx >= l {
 14550  				return io.ErrUnexpectedEOF
 14551  			}
 14552  			b := dAtA[iNdEx]
 14553  			iNdEx++
 14554  			wire |= uint64(b&0x7F) << shift
 14555  			if b < 0x80 {
 14556  				break
 14557  			}
 14558  		}
 14559  		fieldNum := int32(wire >> 3)
 14560  		wireType := int(wire & 0x7)
 14561  		if wireType == 4 {
 14562  			return fmt.Errorf("proto: EventAttribute: wiretype end group for non-group")
 14563  		}
 14564  		if fieldNum <= 0 {
 14565  			return fmt.Errorf("proto: EventAttribute: illegal tag %d (wire type %d)", fieldNum, wire)
 14566  		}
 14567  		switch fieldNum {
 14568  		case 1:
 14569  			if wireType != 2 {
 14570  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
 14571  			}
 14572  			var stringLen uint64
 14573  			for shift := uint(0); ; shift += 7 {
 14574  				if shift >= 64 {
 14575  					return ErrIntOverflowTypes
 14576  				}
 14577  				if iNdEx >= l {
 14578  					return io.ErrUnexpectedEOF
 14579  				}
 14580  				b := dAtA[iNdEx]
 14581  				iNdEx++
 14582  				stringLen |= uint64(b&0x7F) << shift
 14583  				if b < 0x80 {
 14584  					break
 14585  				}
 14586  			}
 14587  			intStringLen := int(stringLen)
 14588  			if intStringLen < 0 {
 14589  				return ErrInvalidLengthTypes
 14590  			}
 14591  			postIndex := iNdEx + intStringLen
 14592  			if postIndex < 0 {
 14593  				return ErrInvalidLengthTypes
 14594  			}
 14595  			if postIndex > l {
 14596  				return io.ErrUnexpectedEOF
 14597  			}
 14598  			m.Key = string(dAtA[iNdEx:postIndex])
 14599  			iNdEx = postIndex
 14600  		case 2:
 14601  			if wireType != 2 {
 14602  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 14603  			}
 14604  			var stringLen uint64
 14605  			for shift := uint(0); ; shift += 7 {
 14606  				if shift >= 64 {
 14607  					return ErrIntOverflowTypes
 14608  				}
 14609  				if iNdEx >= l {
 14610  					return io.ErrUnexpectedEOF
 14611  				}
 14612  				b := dAtA[iNdEx]
 14613  				iNdEx++
 14614  				stringLen |= uint64(b&0x7F) << shift
 14615  				if b < 0x80 {
 14616  					break
 14617  				}
 14618  			}
 14619  			intStringLen := int(stringLen)
 14620  			if intStringLen < 0 {
 14621  				return ErrInvalidLengthTypes
 14622  			}
 14623  			postIndex := iNdEx + intStringLen
 14624  			if postIndex < 0 {
 14625  				return ErrInvalidLengthTypes
 14626  			}
 14627  			if postIndex > l {
 14628  				return io.ErrUnexpectedEOF
 14629  			}
 14630  			m.Value = string(dAtA[iNdEx:postIndex])
 14631  			iNdEx = postIndex
 14632  		case 3:
 14633  			if wireType != 0 {
 14634  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 14635  			}
 14636  			var v int
 14637  			for shift := uint(0); ; shift += 7 {
 14638  				if shift >= 64 {
 14639  					return ErrIntOverflowTypes
 14640  				}
 14641  				if iNdEx >= l {
 14642  					return io.ErrUnexpectedEOF
 14643  				}
 14644  				b := dAtA[iNdEx]
 14645  				iNdEx++
 14646  				v |= int(b&0x7F) << shift
 14647  				if b < 0x80 {
 14648  					break
 14649  				}
 14650  			}
 14651  			m.Index = bool(v != 0)
 14652  		default:
 14653  			iNdEx = preIndex
 14654  			skippy, err := skipTypes(dAtA[iNdEx:])
 14655  			if err != nil {
 14656  				return err
 14657  			}
 14658  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14659  				return ErrInvalidLengthTypes
 14660  			}
 14661  			if (iNdEx + skippy) > l {
 14662  				return io.ErrUnexpectedEOF
 14663  			}
 14664  			iNdEx += skippy
 14665  		}
 14666  	}
 14667  
 14668  	if iNdEx > l {
 14669  		return io.ErrUnexpectedEOF
 14670  	}
 14671  	return nil
 14672  }
 14673  func (m *TxResult) Unmarshal(dAtA []byte) error {
 14674  	l := len(dAtA)
 14675  	iNdEx := 0
 14676  	for iNdEx < l {
 14677  		preIndex := iNdEx
 14678  		var wire uint64
 14679  		for shift := uint(0); ; shift += 7 {
 14680  			if shift >= 64 {
 14681  				return ErrIntOverflowTypes
 14682  			}
 14683  			if iNdEx >= l {
 14684  				return io.ErrUnexpectedEOF
 14685  			}
 14686  			b := dAtA[iNdEx]
 14687  			iNdEx++
 14688  			wire |= uint64(b&0x7F) << shift
 14689  			if b < 0x80 {
 14690  				break
 14691  			}
 14692  		}
 14693  		fieldNum := int32(wire >> 3)
 14694  		wireType := int(wire & 0x7)
 14695  		if wireType == 4 {
 14696  			return fmt.Errorf("proto: TxResult: wiretype end group for non-group")
 14697  		}
 14698  		if fieldNum <= 0 {
 14699  			return fmt.Errorf("proto: TxResult: illegal tag %d (wire type %d)", fieldNum, wire)
 14700  		}
 14701  		switch fieldNum {
 14702  		case 1:
 14703  			if wireType != 0 {
 14704  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 14705  			}
 14706  			m.Height = 0
 14707  			for shift := uint(0); ; shift += 7 {
 14708  				if shift >= 64 {
 14709  					return ErrIntOverflowTypes
 14710  				}
 14711  				if iNdEx >= l {
 14712  					return io.ErrUnexpectedEOF
 14713  				}
 14714  				b := dAtA[iNdEx]
 14715  				iNdEx++
 14716  				m.Height |= int64(b&0x7F) << shift
 14717  				if b < 0x80 {
 14718  					break
 14719  				}
 14720  			}
 14721  		case 2:
 14722  			if wireType != 0 {
 14723  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 14724  			}
 14725  			m.Index = 0
 14726  			for shift := uint(0); ; shift += 7 {
 14727  				if shift >= 64 {
 14728  					return ErrIntOverflowTypes
 14729  				}
 14730  				if iNdEx >= l {
 14731  					return io.ErrUnexpectedEOF
 14732  				}
 14733  				b := dAtA[iNdEx]
 14734  				iNdEx++
 14735  				m.Index |= uint32(b&0x7F) << shift
 14736  				if b < 0x80 {
 14737  					break
 14738  				}
 14739  			}
 14740  		case 3:
 14741  			if wireType != 2 {
 14742  				return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType)
 14743  			}
 14744  			var byteLen int
 14745  			for shift := uint(0); ; shift += 7 {
 14746  				if shift >= 64 {
 14747  					return ErrIntOverflowTypes
 14748  				}
 14749  				if iNdEx >= l {
 14750  					return io.ErrUnexpectedEOF
 14751  				}
 14752  				b := dAtA[iNdEx]
 14753  				iNdEx++
 14754  				byteLen |= int(b&0x7F) << shift
 14755  				if b < 0x80 {
 14756  					break
 14757  				}
 14758  			}
 14759  			if byteLen < 0 {
 14760  				return ErrInvalidLengthTypes
 14761  			}
 14762  			postIndex := iNdEx + byteLen
 14763  			if postIndex < 0 {
 14764  				return ErrInvalidLengthTypes
 14765  			}
 14766  			if postIndex > l {
 14767  				return io.ErrUnexpectedEOF
 14768  			}
 14769  			m.Tx = append(m.Tx[:0], dAtA[iNdEx:postIndex]...)
 14770  			if m.Tx == nil {
 14771  				m.Tx = []byte{}
 14772  			}
 14773  			iNdEx = postIndex
 14774  		case 4:
 14775  			if wireType != 2 {
 14776  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
 14777  			}
 14778  			var msglen int
 14779  			for shift := uint(0); ; shift += 7 {
 14780  				if shift >= 64 {
 14781  					return ErrIntOverflowTypes
 14782  				}
 14783  				if iNdEx >= l {
 14784  					return io.ErrUnexpectedEOF
 14785  				}
 14786  				b := dAtA[iNdEx]
 14787  				iNdEx++
 14788  				msglen |= int(b&0x7F) << shift
 14789  				if b < 0x80 {
 14790  					break
 14791  				}
 14792  			}
 14793  			if msglen < 0 {
 14794  				return ErrInvalidLengthTypes
 14795  			}
 14796  			postIndex := iNdEx + msglen
 14797  			if postIndex < 0 {
 14798  				return ErrInvalidLengthTypes
 14799  			}
 14800  			if postIndex > l {
 14801  				return io.ErrUnexpectedEOF
 14802  			}
 14803  			if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14804  				return err
 14805  			}
 14806  			iNdEx = postIndex
 14807  		default:
 14808  			iNdEx = preIndex
 14809  			skippy, err := skipTypes(dAtA[iNdEx:])
 14810  			if err != nil {
 14811  				return err
 14812  			}
 14813  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14814  				return ErrInvalidLengthTypes
 14815  			}
 14816  			if (iNdEx + skippy) > l {
 14817  				return io.ErrUnexpectedEOF
 14818  			}
 14819  			iNdEx += skippy
 14820  		}
 14821  	}
 14822  
 14823  	if iNdEx > l {
 14824  		return io.ErrUnexpectedEOF
 14825  	}
 14826  	return nil
 14827  }
 14828  func (m *Validator) Unmarshal(dAtA []byte) error {
 14829  	l := len(dAtA)
 14830  	iNdEx := 0
 14831  	for iNdEx < l {
 14832  		preIndex := iNdEx
 14833  		var wire uint64
 14834  		for shift := uint(0); ; shift += 7 {
 14835  			if shift >= 64 {
 14836  				return ErrIntOverflowTypes
 14837  			}
 14838  			if iNdEx >= l {
 14839  				return io.ErrUnexpectedEOF
 14840  			}
 14841  			b := dAtA[iNdEx]
 14842  			iNdEx++
 14843  			wire |= uint64(b&0x7F) << shift
 14844  			if b < 0x80 {
 14845  				break
 14846  			}
 14847  		}
 14848  		fieldNum := int32(wire >> 3)
 14849  		wireType := int(wire & 0x7)
 14850  		if wireType == 4 {
 14851  			return fmt.Errorf("proto: Validator: wiretype end group for non-group")
 14852  		}
 14853  		if fieldNum <= 0 {
 14854  			return fmt.Errorf("proto: Validator: illegal tag %d (wire type %d)", fieldNum, wire)
 14855  		}
 14856  		switch fieldNum {
 14857  		case 1:
 14858  			if wireType != 2 {
 14859  				return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
 14860  			}
 14861  			var byteLen int
 14862  			for shift := uint(0); ; shift += 7 {
 14863  				if shift >= 64 {
 14864  					return ErrIntOverflowTypes
 14865  				}
 14866  				if iNdEx >= l {
 14867  					return io.ErrUnexpectedEOF
 14868  				}
 14869  				b := dAtA[iNdEx]
 14870  				iNdEx++
 14871  				byteLen |= int(b&0x7F) << shift
 14872  				if b < 0x80 {
 14873  					break
 14874  				}
 14875  			}
 14876  			if byteLen < 0 {
 14877  				return ErrInvalidLengthTypes
 14878  			}
 14879  			postIndex := iNdEx + byteLen
 14880  			if postIndex < 0 {
 14881  				return ErrInvalidLengthTypes
 14882  			}
 14883  			if postIndex > l {
 14884  				return io.ErrUnexpectedEOF
 14885  			}
 14886  			m.Address = append(m.Address[:0], dAtA[iNdEx:postIndex]...)
 14887  			if m.Address == nil {
 14888  				m.Address = []byte{}
 14889  			}
 14890  			iNdEx = postIndex
 14891  		case 3:
 14892  			if wireType != 0 {
 14893  				return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType)
 14894  			}
 14895  			m.Power = 0
 14896  			for shift := uint(0); ; shift += 7 {
 14897  				if shift >= 64 {
 14898  					return ErrIntOverflowTypes
 14899  				}
 14900  				if iNdEx >= l {
 14901  					return io.ErrUnexpectedEOF
 14902  				}
 14903  				b := dAtA[iNdEx]
 14904  				iNdEx++
 14905  				m.Power |= int64(b&0x7F) << shift
 14906  				if b < 0x80 {
 14907  					break
 14908  				}
 14909  			}
 14910  		default:
 14911  			iNdEx = preIndex
 14912  			skippy, err := skipTypes(dAtA[iNdEx:])
 14913  			if err != nil {
 14914  				return err
 14915  			}
 14916  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14917  				return ErrInvalidLengthTypes
 14918  			}
 14919  			if (iNdEx + skippy) > l {
 14920  				return io.ErrUnexpectedEOF
 14921  			}
 14922  			iNdEx += skippy
 14923  		}
 14924  	}
 14925  
 14926  	if iNdEx > l {
 14927  		return io.ErrUnexpectedEOF
 14928  	}
 14929  	return nil
 14930  }
 14931  func (m *ValidatorUpdate) Unmarshal(dAtA []byte) error {
 14932  	l := len(dAtA)
 14933  	iNdEx := 0
 14934  	for iNdEx < l {
 14935  		preIndex := iNdEx
 14936  		var wire uint64
 14937  		for shift := uint(0); ; shift += 7 {
 14938  			if shift >= 64 {
 14939  				return ErrIntOverflowTypes
 14940  			}
 14941  			if iNdEx >= l {
 14942  				return io.ErrUnexpectedEOF
 14943  			}
 14944  			b := dAtA[iNdEx]
 14945  			iNdEx++
 14946  			wire |= uint64(b&0x7F) << shift
 14947  			if b < 0x80 {
 14948  				break
 14949  			}
 14950  		}
 14951  		fieldNum := int32(wire >> 3)
 14952  		wireType := int(wire & 0x7)
 14953  		if wireType == 4 {
 14954  			return fmt.Errorf("proto: ValidatorUpdate: wiretype end group for non-group")
 14955  		}
 14956  		if fieldNum <= 0 {
 14957  			return fmt.Errorf("proto: ValidatorUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
 14958  		}
 14959  		switch fieldNum {
 14960  		case 1:
 14961  			if wireType != 2 {
 14962  				return fmt.Errorf("proto: wrong wireType = %d for field PubKey", wireType)
 14963  			}
 14964  			var msglen int
 14965  			for shift := uint(0); ; shift += 7 {
 14966  				if shift >= 64 {
 14967  					return ErrIntOverflowTypes
 14968  				}
 14969  				if iNdEx >= l {
 14970  					return io.ErrUnexpectedEOF
 14971  				}
 14972  				b := dAtA[iNdEx]
 14973  				iNdEx++
 14974  				msglen |= int(b&0x7F) << shift
 14975  				if b < 0x80 {
 14976  					break
 14977  				}
 14978  			}
 14979  			if msglen < 0 {
 14980  				return ErrInvalidLengthTypes
 14981  			}
 14982  			postIndex := iNdEx + msglen
 14983  			if postIndex < 0 {
 14984  				return ErrInvalidLengthTypes
 14985  			}
 14986  			if postIndex > l {
 14987  				return io.ErrUnexpectedEOF
 14988  			}
 14989  			if err := m.PubKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14990  				return err
 14991  			}
 14992  			iNdEx = postIndex
 14993  		case 2:
 14994  			if wireType != 0 {
 14995  				return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType)
 14996  			}
 14997  			m.Power = 0
 14998  			for shift := uint(0); ; shift += 7 {
 14999  				if shift >= 64 {
 15000  					return ErrIntOverflowTypes
 15001  				}
 15002  				if iNdEx >= l {
 15003  					return io.ErrUnexpectedEOF
 15004  				}
 15005  				b := dAtA[iNdEx]
 15006  				iNdEx++
 15007  				m.Power |= int64(b&0x7F) << shift
 15008  				if b < 0x80 {
 15009  					break
 15010  				}
 15011  			}
 15012  		default:
 15013  			iNdEx = preIndex
 15014  			skippy, err := skipTypes(dAtA[iNdEx:])
 15015  			if err != nil {
 15016  				return err
 15017  			}
 15018  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15019  				return ErrInvalidLengthTypes
 15020  			}
 15021  			if (iNdEx + skippy) > l {
 15022  				return io.ErrUnexpectedEOF
 15023  			}
 15024  			iNdEx += skippy
 15025  		}
 15026  	}
 15027  
 15028  	if iNdEx > l {
 15029  		return io.ErrUnexpectedEOF
 15030  	}
 15031  	return nil
 15032  }
 15033  func (m *VoteInfo) Unmarshal(dAtA []byte) error {
 15034  	l := len(dAtA)
 15035  	iNdEx := 0
 15036  	for iNdEx < l {
 15037  		preIndex := iNdEx
 15038  		var wire uint64
 15039  		for shift := uint(0); ; shift += 7 {
 15040  			if shift >= 64 {
 15041  				return ErrIntOverflowTypes
 15042  			}
 15043  			if iNdEx >= l {
 15044  				return io.ErrUnexpectedEOF
 15045  			}
 15046  			b := dAtA[iNdEx]
 15047  			iNdEx++
 15048  			wire |= uint64(b&0x7F) << shift
 15049  			if b < 0x80 {
 15050  				break
 15051  			}
 15052  		}
 15053  		fieldNum := int32(wire >> 3)
 15054  		wireType := int(wire & 0x7)
 15055  		if wireType == 4 {
 15056  			return fmt.Errorf("proto: VoteInfo: wiretype end group for non-group")
 15057  		}
 15058  		if fieldNum <= 0 {
 15059  			return fmt.Errorf("proto: VoteInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 15060  		}
 15061  		switch fieldNum {
 15062  		case 1:
 15063  			if wireType != 2 {
 15064  				return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType)
 15065  			}
 15066  			var msglen int
 15067  			for shift := uint(0); ; shift += 7 {
 15068  				if shift >= 64 {
 15069  					return ErrIntOverflowTypes
 15070  				}
 15071  				if iNdEx >= l {
 15072  					return io.ErrUnexpectedEOF
 15073  				}
 15074  				b := dAtA[iNdEx]
 15075  				iNdEx++
 15076  				msglen |= int(b&0x7F) << shift
 15077  				if b < 0x80 {
 15078  					break
 15079  				}
 15080  			}
 15081  			if msglen < 0 {
 15082  				return ErrInvalidLengthTypes
 15083  			}
 15084  			postIndex := iNdEx + msglen
 15085  			if postIndex < 0 {
 15086  				return ErrInvalidLengthTypes
 15087  			}
 15088  			if postIndex > l {
 15089  				return io.ErrUnexpectedEOF
 15090  			}
 15091  			if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15092  				return err
 15093  			}
 15094  			iNdEx = postIndex
 15095  		case 2:
 15096  			if wireType != 0 {
 15097  				return fmt.Errorf("proto: wrong wireType = %d for field SignedLastBlock", wireType)
 15098  			}
 15099  			var v int
 15100  			for shift := uint(0); ; shift += 7 {
 15101  				if shift >= 64 {
 15102  					return ErrIntOverflowTypes
 15103  				}
 15104  				if iNdEx >= l {
 15105  					return io.ErrUnexpectedEOF
 15106  				}
 15107  				b := dAtA[iNdEx]
 15108  				iNdEx++
 15109  				v |= int(b&0x7F) << shift
 15110  				if b < 0x80 {
 15111  					break
 15112  				}
 15113  			}
 15114  			m.SignedLastBlock = bool(v != 0)
 15115  		default:
 15116  			iNdEx = preIndex
 15117  			skippy, err := skipTypes(dAtA[iNdEx:])
 15118  			if err != nil {
 15119  				return err
 15120  			}
 15121  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15122  				return ErrInvalidLengthTypes
 15123  			}
 15124  			if (iNdEx + skippy) > l {
 15125  				return io.ErrUnexpectedEOF
 15126  			}
 15127  			iNdEx += skippy
 15128  		}
 15129  	}
 15130  
 15131  	if iNdEx > l {
 15132  		return io.ErrUnexpectedEOF
 15133  	}
 15134  	return nil
 15135  }
 15136  func (m *ExtendedVoteInfo) Unmarshal(dAtA []byte) error {
 15137  	l := len(dAtA)
 15138  	iNdEx := 0
 15139  	for iNdEx < l {
 15140  		preIndex := iNdEx
 15141  		var wire uint64
 15142  		for shift := uint(0); ; shift += 7 {
 15143  			if shift >= 64 {
 15144  				return ErrIntOverflowTypes
 15145  			}
 15146  			if iNdEx >= l {
 15147  				return io.ErrUnexpectedEOF
 15148  			}
 15149  			b := dAtA[iNdEx]
 15150  			iNdEx++
 15151  			wire |= uint64(b&0x7F) << shift
 15152  			if b < 0x80 {
 15153  				break
 15154  			}
 15155  		}
 15156  		fieldNum := int32(wire >> 3)
 15157  		wireType := int(wire & 0x7)
 15158  		if wireType == 4 {
 15159  			return fmt.Errorf("proto: ExtendedVoteInfo: wiretype end group for non-group")
 15160  		}
 15161  		if fieldNum <= 0 {
 15162  			return fmt.Errorf("proto: ExtendedVoteInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 15163  		}
 15164  		switch fieldNum {
 15165  		case 1:
 15166  			if wireType != 2 {
 15167  				return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType)
 15168  			}
 15169  			var msglen int
 15170  			for shift := uint(0); ; shift += 7 {
 15171  				if shift >= 64 {
 15172  					return ErrIntOverflowTypes
 15173  				}
 15174  				if iNdEx >= l {
 15175  					return io.ErrUnexpectedEOF
 15176  				}
 15177  				b := dAtA[iNdEx]
 15178  				iNdEx++
 15179  				msglen |= int(b&0x7F) << shift
 15180  				if b < 0x80 {
 15181  					break
 15182  				}
 15183  			}
 15184  			if msglen < 0 {
 15185  				return ErrInvalidLengthTypes
 15186  			}
 15187  			postIndex := iNdEx + msglen
 15188  			if postIndex < 0 {
 15189  				return ErrInvalidLengthTypes
 15190  			}
 15191  			if postIndex > l {
 15192  				return io.ErrUnexpectedEOF
 15193  			}
 15194  			if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15195  				return err
 15196  			}
 15197  			iNdEx = postIndex
 15198  		case 2:
 15199  			if wireType != 0 {
 15200  				return fmt.Errorf("proto: wrong wireType = %d for field SignedLastBlock", wireType)
 15201  			}
 15202  			var v int
 15203  			for shift := uint(0); ; shift += 7 {
 15204  				if shift >= 64 {
 15205  					return ErrIntOverflowTypes
 15206  				}
 15207  				if iNdEx >= l {
 15208  					return io.ErrUnexpectedEOF
 15209  				}
 15210  				b := dAtA[iNdEx]
 15211  				iNdEx++
 15212  				v |= int(b&0x7F) << shift
 15213  				if b < 0x80 {
 15214  					break
 15215  				}
 15216  			}
 15217  			m.SignedLastBlock = bool(v != 0)
 15218  		case 3:
 15219  			if wireType != 2 {
 15220  				return fmt.Errorf("proto: wrong wireType = %d for field VoteExtension", wireType)
 15221  			}
 15222  			var byteLen int
 15223  			for shift := uint(0); ; shift += 7 {
 15224  				if shift >= 64 {
 15225  					return ErrIntOverflowTypes
 15226  				}
 15227  				if iNdEx >= l {
 15228  					return io.ErrUnexpectedEOF
 15229  				}
 15230  				b := dAtA[iNdEx]
 15231  				iNdEx++
 15232  				byteLen |= int(b&0x7F) << shift
 15233  				if b < 0x80 {
 15234  					break
 15235  				}
 15236  			}
 15237  			if byteLen < 0 {
 15238  				return ErrInvalidLengthTypes
 15239  			}
 15240  			postIndex := iNdEx + byteLen
 15241  			if postIndex < 0 {
 15242  				return ErrInvalidLengthTypes
 15243  			}
 15244  			if postIndex > l {
 15245  				return io.ErrUnexpectedEOF
 15246  			}
 15247  			m.VoteExtension = append(m.VoteExtension[:0], dAtA[iNdEx:postIndex]...)
 15248  			if m.VoteExtension == nil {
 15249  				m.VoteExtension = []byte{}
 15250  			}
 15251  			iNdEx = postIndex
 15252  		default:
 15253  			iNdEx = preIndex
 15254  			skippy, err := skipTypes(dAtA[iNdEx:])
 15255  			if err != nil {
 15256  				return err
 15257  			}
 15258  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15259  				return ErrInvalidLengthTypes
 15260  			}
 15261  			if (iNdEx + skippy) > l {
 15262  				return io.ErrUnexpectedEOF
 15263  			}
 15264  			iNdEx += skippy
 15265  		}
 15266  	}
 15267  
 15268  	if iNdEx > l {
 15269  		return io.ErrUnexpectedEOF
 15270  	}
 15271  	return nil
 15272  }
 15273  func (m *Misbehavior) Unmarshal(dAtA []byte) error {
 15274  	l := len(dAtA)
 15275  	iNdEx := 0
 15276  	for iNdEx < l {
 15277  		preIndex := iNdEx
 15278  		var wire uint64
 15279  		for shift := uint(0); ; shift += 7 {
 15280  			if shift >= 64 {
 15281  				return ErrIntOverflowTypes
 15282  			}
 15283  			if iNdEx >= l {
 15284  				return io.ErrUnexpectedEOF
 15285  			}
 15286  			b := dAtA[iNdEx]
 15287  			iNdEx++
 15288  			wire |= uint64(b&0x7F) << shift
 15289  			if b < 0x80 {
 15290  				break
 15291  			}
 15292  		}
 15293  		fieldNum := int32(wire >> 3)
 15294  		wireType := int(wire & 0x7)
 15295  		if wireType == 4 {
 15296  			return fmt.Errorf("proto: Misbehavior: wiretype end group for non-group")
 15297  		}
 15298  		if fieldNum <= 0 {
 15299  			return fmt.Errorf("proto: Misbehavior: illegal tag %d (wire type %d)", fieldNum, wire)
 15300  		}
 15301  		switch fieldNum {
 15302  		case 1:
 15303  			if wireType != 0 {
 15304  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 15305  			}
 15306  			m.Type = 0
 15307  			for shift := uint(0); ; shift += 7 {
 15308  				if shift >= 64 {
 15309  					return ErrIntOverflowTypes
 15310  				}
 15311  				if iNdEx >= l {
 15312  					return io.ErrUnexpectedEOF
 15313  				}
 15314  				b := dAtA[iNdEx]
 15315  				iNdEx++
 15316  				m.Type |= MisbehaviorType(b&0x7F) << shift
 15317  				if b < 0x80 {
 15318  					break
 15319  				}
 15320  			}
 15321  		case 2:
 15322  			if wireType != 2 {
 15323  				return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType)
 15324  			}
 15325  			var msglen int
 15326  			for shift := uint(0); ; shift += 7 {
 15327  				if shift >= 64 {
 15328  					return ErrIntOverflowTypes
 15329  				}
 15330  				if iNdEx >= l {
 15331  					return io.ErrUnexpectedEOF
 15332  				}
 15333  				b := dAtA[iNdEx]
 15334  				iNdEx++
 15335  				msglen |= int(b&0x7F) << shift
 15336  				if b < 0x80 {
 15337  					break
 15338  				}
 15339  			}
 15340  			if msglen < 0 {
 15341  				return ErrInvalidLengthTypes
 15342  			}
 15343  			postIndex := iNdEx + msglen
 15344  			if postIndex < 0 {
 15345  				return ErrInvalidLengthTypes
 15346  			}
 15347  			if postIndex > l {
 15348  				return io.ErrUnexpectedEOF
 15349  			}
 15350  			if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15351  				return err
 15352  			}
 15353  			iNdEx = postIndex
 15354  		case 3:
 15355  			if wireType != 0 {
 15356  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 15357  			}
 15358  			m.Height = 0
 15359  			for shift := uint(0); ; shift += 7 {
 15360  				if shift >= 64 {
 15361  					return ErrIntOverflowTypes
 15362  				}
 15363  				if iNdEx >= l {
 15364  					return io.ErrUnexpectedEOF
 15365  				}
 15366  				b := dAtA[iNdEx]
 15367  				iNdEx++
 15368  				m.Height |= int64(b&0x7F) << shift
 15369  				if b < 0x80 {
 15370  					break
 15371  				}
 15372  			}
 15373  		case 4:
 15374  			if wireType != 2 {
 15375  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 15376  			}
 15377  			var msglen int
 15378  			for shift := uint(0); ; shift += 7 {
 15379  				if shift >= 64 {
 15380  					return ErrIntOverflowTypes
 15381  				}
 15382  				if iNdEx >= l {
 15383  					return io.ErrUnexpectedEOF
 15384  				}
 15385  				b := dAtA[iNdEx]
 15386  				iNdEx++
 15387  				msglen |= int(b&0x7F) << shift
 15388  				if b < 0x80 {
 15389  					break
 15390  				}
 15391  			}
 15392  			if msglen < 0 {
 15393  				return ErrInvalidLengthTypes
 15394  			}
 15395  			postIndex := iNdEx + msglen
 15396  			if postIndex < 0 {
 15397  				return ErrInvalidLengthTypes
 15398  			}
 15399  			if postIndex > l {
 15400  				return io.ErrUnexpectedEOF
 15401  			}
 15402  			if err := github_com_cosmos_gogoproto_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 15403  				return err
 15404  			}
 15405  			iNdEx = postIndex
 15406  		case 5:
 15407  			if wireType != 0 {
 15408  				return fmt.Errorf("proto: wrong wireType = %d for field TotalVotingPower", wireType)
 15409  			}
 15410  			m.TotalVotingPower = 0
 15411  			for shift := uint(0); ; shift += 7 {
 15412  				if shift >= 64 {
 15413  					return ErrIntOverflowTypes
 15414  				}
 15415  				if iNdEx >= l {
 15416  					return io.ErrUnexpectedEOF
 15417  				}
 15418  				b := dAtA[iNdEx]
 15419  				iNdEx++
 15420  				m.TotalVotingPower |= int64(b&0x7F) << shift
 15421  				if b < 0x80 {
 15422  					break
 15423  				}
 15424  			}
 15425  		default:
 15426  			iNdEx = preIndex
 15427  			skippy, err := skipTypes(dAtA[iNdEx:])
 15428  			if err != nil {
 15429  				return err
 15430  			}
 15431  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15432  				return ErrInvalidLengthTypes
 15433  			}
 15434  			if (iNdEx + skippy) > l {
 15435  				return io.ErrUnexpectedEOF
 15436  			}
 15437  			iNdEx += skippy
 15438  		}
 15439  	}
 15440  
 15441  	if iNdEx > l {
 15442  		return io.ErrUnexpectedEOF
 15443  	}
 15444  	return nil
 15445  }
 15446  func (m *Snapshot) Unmarshal(dAtA []byte) error {
 15447  	l := len(dAtA)
 15448  	iNdEx := 0
 15449  	for iNdEx < l {
 15450  		preIndex := iNdEx
 15451  		var wire uint64
 15452  		for shift := uint(0); ; shift += 7 {
 15453  			if shift >= 64 {
 15454  				return ErrIntOverflowTypes
 15455  			}
 15456  			if iNdEx >= l {
 15457  				return io.ErrUnexpectedEOF
 15458  			}
 15459  			b := dAtA[iNdEx]
 15460  			iNdEx++
 15461  			wire |= uint64(b&0x7F) << shift
 15462  			if b < 0x80 {
 15463  				break
 15464  			}
 15465  		}
 15466  		fieldNum := int32(wire >> 3)
 15467  		wireType := int(wire & 0x7)
 15468  		if wireType == 4 {
 15469  			return fmt.Errorf("proto: Snapshot: wiretype end group for non-group")
 15470  		}
 15471  		if fieldNum <= 0 {
 15472  			return fmt.Errorf("proto: Snapshot: illegal tag %d (wire type %d)", fieldNum, wire)
 15473  		}
 15474  		switch fieldNum {
 15475  		case 1:
 15476  			if wireType != 0 {
 15477  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 15478  			}
 15479  			m.Height = 0
 15480  			for shift := uint(0); ; shift += 7 {
 15481  				if shift >= 64 {
 15482  					return ErrIntOverflowTypes
 15483  				}
 15484  				if iNdEx >= l {
 15485  					return io.ErrUnexpectedEOF
 15486  				}
 15487  				b := dAtA[iNdEx]
 15488  				iNdEx++
 15489  				m.Height |= uint64(b&0x7F) << shift
 15490  				if b < 0x80 {
 15491  					break
 15492  				}
 15493  			}
 15494  		case 2:
 15495  			if wireType != 0 {
 15496  				return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType)
 15497  			}
 15498  			m.Format = 0
 15499  			for shift := uint(0); ; shift += 7 {
 15500  				if shift >= 64 {
 15501  					return ErrIntOverflowTypes
 15502  				}
 15503  				if iNdEx >= l {
 15504  					return io.ErrUnexpectedEOF
 15505  				}
 15506  				b := dAtA[iNdEx]
 15507  				iNdEx++
 15508  				m.Format |= uint32(b&0x7F) << shift
 15509  				if b < 0x80 {
 15510  					break
 15511  				}
 15512  			}
 15513  		case 3:
 15514  			if wireType != 0 {
 15515  				return fmt.Errorf("proto: wrong wireType = %d for field Chunks", wireType)
 15516  			}
 15517  			m.Chunks = 0
 15518  			for shift := uint(0); ; shift += 7 {
 15519  				if shift >= 64 {
 15520  					return ErrIntOverflowTypes
 15521  				}
 15522  				if iNdEx >= l {
 15523  					return io.ErrUnexpectedEOF
 15524  				}
 15525  				b := dAtA[iNdEx]
 15526  				iNdEx++
 15527  				m.Chunks |= uint32(b&0x7F) << shift
 15528  				if b < 0x80 {
 15529  					break
 15530  				}
 15531  			}
 15532  		case 4:
 15533  			if wireType != 2 {
 15534  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
 15535  			}
 15536  			var byteLen int
 15537  			for shift := uint(0); ; shift += 7 {
 15538  				if shift >= 64 {
 15539  					return ErrIntOverflowTypes
 15540  				}
 15541  				if iNdEx >= l {
 15542  					return io.ErrUnexpectedEOF
 15543  				}
 15544  				b := dAtA[iNdEx]
 15545  				iNdEx++
 15546  				byteLen |= int(b&0x7F) << shift
 15547  				if b < 0x80 {
 15548  					break
 15549  				}
 15550  			}
 15551  			if byteLen < 0 {
 15552  				return ErrInvalidLengthTypes
 15553  			}
 15554  			postIndex := iNdEx + byteLen
 15555  			if postIndex < 0 {
 15556  				return ErrInvalidLengthTypes
 15557  			}
 15558  			if postIndex > l {
 15559  				return io.ErrUnexpectedEOF
 15560  			}
 15561  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
 15562  			if m.Hash == nil {
 15563  				m.Hash = []byte{}
 15564  			}
 15565  			iNdEx = postIndex
 15566  		case 5:
 15567  			if wireType != 2 {
 15568  				return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType)
 15569  			}
 15570  			var byteLen int
 15571  			for shift := uint(0); ; shift += 7 {
 15572  				if shift >= 64 {
 15573  					return ErrIntOverflowTypes
 15574  				}
 15575  				if iNdEx >= l {
 15576  					return io.ErrUnexpectedEOF
 15577  				}
 15578  				b := dAtA[iNdEx]
 15579  				iNdEx++
 15580  				byteLen |= int(b&0x7F) << shift
 15581  				if b < 0x80 {
 15582  					break
 15583  				}
 15584  			}
 15585  			if byteLen < 0 {
 15586  				return ErrInvalidLengthTypes
 15587  			}
 15588  			postIndex := iNdEx + byteLen
 15589  			if postIndex < 0 {
 15590  				return ErrInvalidLengthTypes
 15591  			}
 15592  			if postIndex > l {
 15593  				return io.ErrUnexpectedEOF
 15594  			}
 15595  			m.Metadata = append(m.Metadata[:0], dAtA[iNdEx:postIndex]...)
 15596  			if m.Metadata == nil {
 15597  				m.Metadata = []byte{}
 15598  			}
 15599  			iNdEx = postIndex
 15600  		default:
 15601  			iNdEx = preIndex
 15602  			skippy, err := skipTypes(dAtA[iNdEx:])
 15603  			if err != nil {
 15604  				return err
 15605  			}
 15606  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15607  				return ErrInvalidLengthTypes
 15608  			}
 15609  			if (iNdEx + skippy) > l {
 15610  				return io.ErrUnexpectedEOF
 15611  			}
 15612  			iNdEx += skippy
 15613  		}
 15614  	}
 15615  
 15616  	if iNdEx > l {
 15617  		return io.ErrUnexpectedEOF
 15618  	}
 15619  	return nil
 15620  }
 15621  func skipTypes(dAtA []byte) (n int, err error) {
 15622  	l := len(dAtA)
 15623  	iNdEx := 0
 15624  	depth := 0
 15625  	for iNdEx < l {
 15626  		var wire uint64
 15627  		for shift := uint(0); ; shift += 7 {
 15628  			if shift >= 64 {
 15629  				return 0, ErrIntOverflowTypes
 15630  			}
 15631  			if iNdEx >= l {
 15632  				return 0, io.ErrUnexpectedEOF
 15633  			}
 15634  			b := dAtA[iNdEx]
 15635  			iNdEx++
 15636  			wire |= (uint64(b) & 0x7F) << shift
 15637  			if b < 0x80 {
 15638  				break
 15639  			}
 15640  		}
 15641  		wireType := int(wire & 0x7)
 15642  		switch wireType {
 15643  		case 0:
 15644  			for shift := uint(0); ; shift += 7 {
 15645  				if shift >= 64 {
 15646  					return 0, ErrIntOverflowTypes
 15647  				}
 15648  				if iNdEx >= l {
 15649  					return 0, io.ErrUnexpectedEOF
 15650  				}
 15651  				iNdEx++
 15652  				if dAtA[iNdEx-1] < 0x80 {
 15653  					break
 15654  				}
 15655  			}
 15656  		case 1:
 15657  			iNdEx += 8
 15658  		case 2:
 15659  			var length int
 15660  			for shift := uint(0); ; shift += 7 {
 15661  				if shift >= 64 {
 15662  					return 0, ErrIntOverflowTypes
 15663  				}
 15664  				if iNdEx >= l {
 15665  					return 0, io.ErrUnexpectedEOF
 15666  				}
 15667  				b := dAtA[iNdEx]
 15668  				iNdEx++
 15669  				length |= (int(b) & 0x7F) << shift
 15670  				if b < 0x80 {
 15671  					break
 15672  				}
 15673  			}
 15674  			if length < 0 {
 15675  				return 0, ErrInvalidLengthTypes
 15676  			}
 15677  			iNdEx += length
 15678  		case 3:
 15679  			depth++
 15680  		case 4:
 15681  			if depth == 0 {
 15682  				return 0, ErrUnexpectedEndOfGroupTypes
 15683  			}
 15684  			depth--
 15685  		case 5:
 15686  			iNdEx += 4
 15687  		default:
 15688  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 15689  		}
 15690  		if iNdEx < 0 {
 15691  			return 0, ErrInvalidLengthTypes
 15692  		}
 15693  		if depth == 0 {
 15694  			return iNdEx, nil
 15695  		}
 15696  	}
 15697  	return 0, io.ErrUnexpectedEOF
 15698  }
 15699  
 15700  var (
 15701  	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
 15702  	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
 15703  	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
 15704  )